Skip to content

Commit 0377176

Browse files
committed
Check in old major packages
1 parent 6d50a9d commit 0377176

File tree

736 files changed

+277893
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

736 files changed

+277893
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
BSD License
2+
3+
For React software
4+
5+
Copyright (c) 2013-2015, Facebook, Inc.
6+
All rights reserved.
7+
8+
Redistribution and use in source and binary forms, with or without modification,
9+
are permitted provided that the following conditions are met:
10+
11+
* Redistributions of source code must retain the above copyright notice, this
12+
list of conditions and the following disclaimer.
13+
14+
* Redistributions in binary form must reproduce the above copyright notice,
15+
this list of conditions and the following disclaimer in the documentation
16+
and/or other materials provided with the distribution.
17+
18+
* Neither the name Facebook nor the names of its contributors may be used to
19+
endorse or promote products derived from this software without specific
20+
prior written permission.
21+
22+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
23+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
26+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
29+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Additional Grant of Patent Rights Version 2
2+
3+
"Software" means the React software distributed by Facebook, Inc.
4+
5+
Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
6+
("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
7+
(subject to the termination provision below) license under any Necessary
8+
Claims, to make, have made, use, sell, offer to sell, import, and otherwise
9+
transfer the Software. For avoidance of doubt, no license is granted under
10+
Facebook's rights in any patent claims that are infringed by (i) modifications
11+
to the Software made by you or any third party or (ii) the Software in
12+
combination with any software or other technology.
13+
14+
The license granted hereunder will terminate, automatically and without notice,
15+
if you (or any of your subsidiaries, corporate affiliates or agents) initiate
16+
directly or indirectly, or take a direct financial interest in, any Patent
17+
Assertion: (i) against Facebook or any of its subsidiaries or corporate
18+
affiliates, (ii) against any party if such Patent Assertion arises in whole or
19+
in part from any software, technology, product or service of Facebook or any of
20+
its subsidiaries or corporate affiliates, or (iii) against any party relating
21+
to the Software. Notwithstanding the foregoing, if Facebook or any of its
22+
subsidiaries or corporate affiliates files a lawsuit alleging patent
23+
infringement against you in the first instance, and you respond by filing a
24+
patent infringement counterclaim in that lawsuit against that party that is
25+
unrelated to the Software, the license granted hereunder will not terminate
26+
under section (i) of this paragraph due to such counterclaim.
27+
28+
A "Necessary Claim" is a claim of a patent owned by Facebook that is
29+
necessarily infringed by the Software standing alone.
30+
31+
A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
32+
or contributory infringement or inducement to infringe any patent, including a
33+
cross-claim or counterclaim.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# `react-dom`
2+
3+
This package serves as the entry point of the DOM-related rendering paths. It is intended to be paired with the isomorphic React, which will be shipped as `react` to npm.
4+
5+
## Installation
6+
7+
```sh
8+
npm install react react-dom
9+
```
10+
11+
## Usage
12+
13+
### In the browser
14+
15+
```js
16+
var React = require('react');
17+
var ReactDOM = require('react-dom');
18+
19+
class MyComponent extends React.Component {
20+
render() {
21+
return <div>Hello World</div>;
22+
}
23+
}
24+
25+
ReactDOM.render(<MyComponent />, node);
26+
```
27+
28+
### On the server
29+
30+
```js
31+
var React = require('react');
32+
var ReactDOMServer = require('react-dom/server');
33+
34+
class MyComponent extends React.Component {
35+
render() {
36+
return <div>Hello World</div>;
37+
}
38+
}
39+
40+
ReactDOMServer.renderToString(<MyComponent />);
41+
```
42+
43+
## API
44+
45+
### `react-dom`
46+
47+
- `findDOMNode`
48+
- `render`
49+
- `unmountComponentAtNode`
50+
51+
### `react-dom/server`
52+
53+
- `renderToString`
54+
- `renderToStaticMarkup`
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/**
2+
* ReactDOMServer v0.14.9
3+
*
4+
* Copyright 2013-2015, Facebook, Inc.
5+
* All rights reserved.
6+
*
7+
* This source code is licensed under the BSD-style license found in the
8+
* LICENSE file in the root directory of this source tree. An additional grant
9+
* of patent rights can be found in the PATENTS file in the same directory.
10+
*
11+
*/
12+
// Based off https://github.com/ForbesLindesay/umd/blob/master/template.js
13+
;(function(f) {
14+
// CommonJS
15+
if (typeof exports === "object" && typeof module !== "undefined") {
16+
module.exports = f(require('react'));
17+
18+
// RequireJS
19+
} else if (typeof define === "function" && define.amd) {
20+
define(['react'], f);
21+
22+
// <script>
23+
} else {
24+
var g;
25+
if (typeof window !== "undefined") {
26+
g = window;
27+
} else if (typeof global !== "undefined") {
28+
g = global;
29+
} else if (typeof self !== "undefined") {
30+
g = self;
31+
} else {
32+
// works providing we're not in "use strict";
33+
// needed for Java 8 Nashorn
34+
// see https://github.com/facebook/react/issues/3037
35+
g = this;
36+
}
37+
g.ReactDOMServer = f(g.React);
38+
}
39+
40+
})(function(React) {
41+
return React.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
42+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* ReactDOMServer v0.14.9
3+
*
4+
* Copyright 2013-2015, Facebook, Inc.
5+
* All rights reserved.
6+
*
7+
* This source code is licensed under the BSD-style license found in the
8+
* LICENSE file in the root directory of this source tree. An additional grant
9+
* of patent rights can be found in the PATENTS file in the same directory.
10+
*
11+
*/
12+
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(require("react"));else if("function"==typeof define&&define.amd)define(["react"],e);else{var f;f="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,f.ReactDOMServer=e(f.React)}}(function(e){return e.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED});
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/**
2+
* ReactDOM v0.14.9
3+
*
4+
* Copyright 2013-2015, Facebook, Inc.
5+
* All rights reserved.
6+
*
7+
* This source code is licensed under the BSD-style license found in the
8+
* LICENSE file in the root directory of this source tree. An additional grant
9+
* of patent rights can be found in the PATENTS file in the same directory.
10+
*
11+
*/
12+
// Based off https://github.com/ForbesLindesay/umd/blob/master/template.js
13+
;(function(f) {
14+
// CommonJS
15+
if (typeof exports === "object" && typeof module !== "undefined") {
16+
module.exports = f(require('react'));
17+
18+
// RequireJS
19+
} else if (typeof define === "function" && define.amd) {
20+
define(['react'], f);
21+
22+
// <script>
23+
} else {
24+
var g;
25+
if (typeof window !== "undefined") {
26+
g = window;
27+
} else if (typeof global !== "undefined") {
28+
g = global;
29+
} else if (typeof self !== "undefined") {
30+
g = self;
31+
} else {
32+
// works providing we're not in "use strict";
33+
// needed for Java 8 Nashorn
34+
// see https://github.com/facebook/react/issues/3037
35+
g = this;
36+
}
37+
g.ReactDOM = f(g.React);
38+
}
39+
40+
})(function(React) {
41+
return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
42+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* ReactDOM v0.14.9
3+
*
4+
* Copyright 2013-2015, Facebook, Inc.
5+
* All rights reserved.
6+
*
7+
* This source code is licensed under the BSD-style license found in the
8+
* LICENSE file in the root directory of this source tree. An additional grant
9+
* of patent rights can be found in the PATENTS file in the same directory.
10+
*
11+
*/
12+
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(require("react"));else if("function"==typeof define&&define.amd)define(["react"],e);else{var f;f="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,f.ReactDOM=e(f.React)}}(function(e){return e.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED});
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
'use strict';
2+
3+
module.exports = require('react/lib/ReactDOM');
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"_from": "react-dom@0.14",
3+
"_id": "react-dom@0.14.9",
4+
"_inBundle": false,
5+
"_integrity": "sha1-BQZKPc8PsYgKOyv8nVjFXY2fYpM=",
6+
"_location": "/react-dom",
7+
"_phantomChildren": {},
8+
"_requested": {
9+
"type": "range",
10+
"registry": true,
11+
"raw": "react-dom@0.14",
12+
"name": "react-dom",
13+
"escapedName": "react-dom",
14+
"rawSpec": "0.14",
15+
"saveSpec": null,
16+
"fetchSpec": "0.14"
17+
},
18+
"_requiredBy": [
19+
"#USER",
20+
"/"
21+
],
22+
"_resolved": "https://registry.npmjs.org/react-dom/-/react-dom-0.14.9.tgz",
23+
"_shasum": "05064a3dcf0fb1880a3b2bfc9d58c55d8d9f6293",
24+
"_spec": "react-dom@0.14",
25+
"_where": "/Users/gaearon/p/old",
26+
"bugs": {
27+
"url": "https://github.com/facebook/react/issues"
28+
},
29+
"bundleDependencies": false,
30+
"dependencies": {},
31+
"deprecated": false,
32+
"description": "React package for working with the DOM.",
33+
"homepage": "https://facebook.github.io/react/",
34+
"keywords": [
35+
"react"
36+
],
37+
"license": "BSD-3-Clause",
38+
"main": "index.js",
39+
"name": "react-dom",
40+
"peerDependencies": {
41+
"react": "^0.14.9"
42+
},
43+
"repository": {
44+
"type": "git",
45+
"url": "git+https://github.com/facebook/react.git"
46+
},
47+
"scripts": {
48+
"start": "node server.js"
49+
},
50+
"version": "0.14.9"
51+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
'use strict';
2+
3+
module.exports = require('react/lib/ReactDOMServer');

old_major_packages/14/react/LICENSE

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
BSD License
2+
3+
For React software
4+
5+
Copyright (c) 2013-2015, Facebook, Inc.
6+
All rights reserved.
7+
8+
Redistribution and use in source and binary forms, with or without modification,
9+
are permitted provided that the following conditions are met:
10+
11+
* Redistributions of source code must retain the above copyright notice, this
12+
list of conditions and the following disclaimer.
13+
14+
* Redistributions in binary form must reproduce the above copyright notice,
15+
this list of conditions and the following disclaimer in the documentation
16+
and/or other materials provided with the distribution.
17+
18+
* Neither the name Facebook nor the names of its contributors may be used to
19+
endorse or promote products derived from this software without specific
20+
prior written permission.
21+
22+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
23+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
26+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
29+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

old_major_packages/14/react/PATENTS

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Additional Grant of Patent Rights Version 2
2+
3+
"Software" means the React software distributed by Facebook, Inc.
4+
5+
Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
6+
("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
7+
(subject to the termination provision below) license under any Necessary
8+
Claims, to make, have made, use, sell, offer to sell, import, and otherwise
9+
transfer the Software. For avoidance of doubt, no license is granted under
10+
Facebook's rights in any patent claims that are infringed by (i) modifications
11+
to the Software made by you or any third party or (ii) the Software in
12+
combination with any software or other technology.
13+
14+
The license granted hereunder will terminate, automatically and without notice,
15+
if you (or any of your subsidiaries, corporate affiliates or agents) initiate
16+
directly or indirectly, or take a direct financial interest in, any Patent
17+
Assertion: (i) against Facebook or any of its subsidiaries or corporate
18+
affiliates, (ii) against any party if such Patent Assertion arises in whole or
19+
in part from any software, technology, product or service of Facebook or any of
20+
its subsidiaries or corporate affiliates, or (iii) against any party relating
21+
to the Software. Notwithstanding the foregoing, if Facebook or any of its
22+
subsidiaries or corporate affiliates files a lawsuit alleging patent
23+
infringement against you in the first instance, and you respond by filing a
24+
patent infringement counterclaim in that lawsuit against that party that is
25+
unrelated to the Software, the license granted hereunder will not terminate
26+
under section (i) of this paragraph due to such counterclaim.
27+
28+
A "Necessary Claim" is a claim of a patent owned by Facebook that is
29+
necessarily infringed by the Software standing alone.
30+
31+
A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
32+
or contributory infringement or inducement to infringe any patent, including a
33+
cross-claim or counterclaim.

old_major_packages/14/react/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# react
2+
3+
An npm package to get you immediate access to [React](https://facebook.github.io/react/),
4+
without also requiring the JSX transformer. This is especially useful for cases where you
5+
want to [`browserify`](https://github.com/substack/node-browserify) your module using
6+
`React`.
7+
8+
**Note:** by default, React will be in development mode. The development version includes extra warnings about common mistakes, whereas the production version includes extra performance optimizations and strips all error messages.
9+
10+
To use React in production mode, set the environment variable `NODE_ENV` to `production`. A minifier that performs dead-code elimination such as [UglifyJS](https://github.com/mishoo/UglifyJS2) is recommended to completely remove the extra code present in development mode.
11+
12+
## Example Usage
13+
14+
```js
15+
var React = require('react');
16+
17+
// Addons are in separate packages:
18+
var createFragment = require('react-addons-create-fragment');
19+
var immutabilityHelpers = require('react-addons-update');
20+
var CSSTransitionGroup = require('react-addons-css-transition-group');
21+
```
22+
23+
For a complete list of addons visit the [addons documentation page](https://facebook.github.io/react/docs/addons.html).

old_major_packages/14/react/addons.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
var warning = require('fbjs/lib/warning');
4+
warning(
5+
false,
6+
// Require examples in this string must be split to prevent React's
7+
// build tools from mistaking them for real requires.
8+
// Otherwise the build tools will attempt to build a 'react-addons-{addon}' module.
9+
'require' + "('react/addons') is deprecated. " +
10+
'Access using require' + "('react-addons-{addon}') instead."
11+
);
12+
13+
module.exports = require('./lib/ReactWithAddons');

0 commit comments

Comments
 (0)