Change license and remove references to PATENTS
Only remaining references: ``` docs/_posts/2014-10-28-react-v0.12.md 51:You can read the full text of the [LICENSE](https://github.com/facebook/react/blob/master/LICENSE) and [`PATENTS`](https://github.com/facebook/react/blob/master/PATENTS) files on GitHub. docs/_posts/2015-04-17-react-native-v0.4.md 20:* **Patent Grant**: Many of you had concerns and questions around the PATENTS file. We pushed [a new version of the grant](https://code.facebook.com/posts/1639473982937255/updating-our-open-source-patent-grant/). src/__mocks__/vendor/third_party/WebComponents.js 8: * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt ```
Sophie Alpert committed
Sep 24, 2017 at 13:49 UTC
b765fb25ebc6e53bb8de2496d2828d9d01c2774b
13 files changed
+27
-78
LICENSE
+16
-26
@@ -1,31 +1,21 @@
1
-BSD License
2
-
3
-For React software
1
+MIT License
2
3
Copyright (c) 2013-present, 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.
4
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.
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
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.
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
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.
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.
PATENTS
deleted
-33
@@ -1,33 +0,0 @@
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.
README.md
+1
-1
@@ -59,7 +59,7 @@ To help you get your feet wet and get you familiar with our contribution process
59
60
### License
61
62
-React is [BSD licensed](./LICENSE). We also provide an additional [patent grant](./PATENTS).
62
+React is [MIT licensed](./LICENSE).
63
64
React documentation is [Creative Commons licensed](./LICENSE-docs).
65
docs/contributing/how-to-contribute.md
+1
-1
@@ -156,7 +156,7 @@ React team meets once a week to discuss the development of React, future plans,
156
157
### License
158
159
-By contributing to React, you agree that your contributions will be licensed under its BSD license.
159
+By contributing to React, you agree that your contributions will be licensed under its MIT license.
160
161
### What Next?
162
packages/react-art/package.json
+1
-2
@@ -12,7 +12,7 @@
12
"canvas",
13
"jsx"
14
],
15
- "license": "BSD-3-Clause",
15
+ "license": "MIT",
16
"bugs": {
17
"url": "https://github.com/facebook/react/issues"
18
},
@@ -29,7 +29,6 @@
29
},
30
"files": [
31
"LICENSE",
32
- "PATENTS",
32
"README.md",
33
"index.js",
34
"cjs/",
packages/react-dom/package.json
+1
-2
@@ -7,7 +7,7 @@
7
"keywords": [
8
"react"
9
],
10
- "license": "BSD-3-Clause",
10
+ "license": "MIT",
11
"bugs": {
12
"url": "https://github.com/facebook/react/issues"
13
},
@@ -23,7 +23,6 @@
23
},
24
"files": [
25
"LICENSE",
26
- "PATENTS",
26
"README.md",
27
"index.js",
28
"server.js",
packages/react-noop-renderer/package.json
+1
-2
@@ -5,14 +5,13 @@
5
"description": "React package for testing the Fiber reconciler.",
6
"main": "index.js",
7
"repository": "facebook/react",
8
- "license": "BSD-3-Clause",
8
+ "license": "MIT",
9
"dependencies": {
10
"fbjs": "^0.8.9",
11
"object-assign": "^4.1.0"
12
},
13
"files": [
14
"LICENSE",
15
- "PATENTS",
15
"README.md",
16
"index.js",
17
"cjs/"
packages/react-test-renderer/package.json
+1
-2
@@ -9,7 +9,7 @@
9
"react-native",
10
"react-testing"
11
],
12
- "license": "BSD-3-Clause",
12
+ "license": "MIT",
13
"bugs": {
14
"url": "https://github.com/facebook/react/issues"
15
},
@@ -23,7 +23,6 @@
23
},
24
"files": [
25
"LICENSE",
26
- "PATENTS",
26
"README.md",
27
"index.js",
28
"shallow.js",
packages/react/package.json
+1
-2
@@ -7,10 +7,9 @@
7
],
8
"homepage": "https://facebook.github.io/react/",
9
"bugs": "https://github.com/facebook/react/issues",
10
- "license": "BSD-3-Clause",
10
+ "license": "MIT",
11
"files": [
12
"LICENSE",
13
- "PATENTS",
13
"README.md",
14
"index.js",
15
"cjs/",
scripts/perf-counters/package.json
+1
-1
@@ -3,7 +3,7 @@
3
"version": "0.1.2",
4
"description": "Lightweight bindings to Linux perf event counters.",
5
"main": "index.js",
6
- "license": "BSD-3-Clause",
6
+ "license": "MIT",
7
"dependencies": {
8
"bindings": "^1.2.1"
9
}
scripts/release-manager/package.json
+1
-1
@@ -20,5 +20,5 @@
20
"test": "echo \"Error: no test specified\" && exit 1"
21
},
22
"author": "Paul O'Shannessy <paul@oshannessy.com>",
23
- "license": "BSD-3-Clause"
23
+ "license": "MIT"
24
}
scripts/rollup/packaging.js
+1
-4
@@ -128,10 +128,7 @@ function copyNodePackageTemplate(packageName) {
128
// if the package directory already exists, we skip copying to it
129
if (!fs.existsSync(to) && fs.existsSync(from)) {
130
return asyncCopyTo(from, to).then(() =>
131
- Promise.all([
132
- asyncCopyTo(resolve('./LICENSE'), `${to}/LICENSE`),
133
- asyncCopyTo(resolve('./PATENTS'), `${to}/PATENTS`),
134
- ])
131
+ asyncCopyTo(resolve('./LICENSE'), `${to}/LICENSE`)
132
);
133
} else {
134
return Promise.resolve();
src/package.json
+1
-1
@@ -1,5 +1,5 @@
1
{
2
"name": "react-haste",
3
"version": "16.0.0-alpha",
4
- "license": "BSD-3-Clause"
4
+ "license": "MIT"
5
}