Skip to content

Commit 26684cf

Browse files
sophiebitsfacebook-github-bot
authored andcommitted
Update to MIT license
Summary: Manual changes. Reviewed By: TheSavior, yungsters Differential Revision: D7012152 fbshipit-source-id: de7459be3db13c687868b45059856f125c4f2eb1
1 parent 1490ab1 commit 26684cf

File tree

16 files changed

+36
-85
lines changed

16 files changed

+36
-85
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,5 @@ However, there are still some styles that the linter cannot pick up.
208208

209209
## License
210210

211-
By contributing to React Native, you agree that your contributions will be licensed under its BSD license.
211+
By contributing to React Native, you agree that your contributions will be licensed under its MIT license.
212212
<!-- generated_contributing_end -->

LICENSE

+17-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
1-
BSD License
1+
MIT License
22

3-
For React Native software
3+
Copyright (c) 2015-present, Facebook, Inc.
44

5-
Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
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:
611

7-
Redistribution and use in source and binary forms, with or without modification,
8-
are permitted provided that the following conditions are met:
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
914

10-
* Redistributions of source code must retain the above copyright notice, this
11-
list of conditions and the following disclaimer.
12-
13-
* Redistributions in binary form must reproduce the above copyright notice,
14-
this list of conditions and the following disclaimer in the documentation
15-
and/or other materials provided with the distribution.
16-
17-
* Neither the name Facebook nor the names of its contributors may be used to
18-
endorse or promote products derived from this software without specific
19-
prior written permission.
20-
21-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
25-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30-
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.

Libraries/Animated/release/gulpfile.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,10 @@ var PRODUCTION_HEADER = [
3030
'/**',
3131
' * Animated v<%= version %>',
3232
' *',
33-
' * Copyright 2013-2015, Facebook, Inc.',
34-
' * All rights reserved.',
35-
' *',
36-
' * This source code is licensed under the BSD-style license found in the',
37-
' * LICENSE file in the root directory of this source tree. An additional grant',
38-
' * of patent rights can be found in the PATENTS file in the same directory.',
33+
' * Copyright (c) 2013-present, Facebook, Inc.',
3934
' *',
35+
' * This source code is licensed under the MIT license found in the',
36+
' * LICENSE file in the root directory of this source tree.',
4037
' */'
4138
].join('\n') + '\n';
4239

Libraries/Animated/release/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"animated",
88
"animation"
99
],
10-
"license": "BSD-3-Clause",
10+
"license": "MIT",
1111
"main": "Animated.js",
1212
"dependencies": {
1313
"fbjs": "^0.2.1"

PATENTS

-33
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ We have a list of [beginner friendly issues](https://github.com/facebook/react-n
7171

7272
## License
7373

74-
React Native is [BSD licensed](./LICENSE). We also provide an additional [patent grant](./PATENTS).
74+
React Native is [MIT licensed](./LICENSE).
7575

7676
React Native documentation is [Creative Commons licensed](./LICENSE-docs).
7777

React.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939
s.requires_arc = true
4040
s.platforms = { :ios => "8.0", :tvos => "9.2" }
4141
s.pod_target_xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++14" }
42-
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs", "PATENTS"
42+
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
4343
s.cocoapods_version = ">= 1.2.0"
4444

4545
s.subspec "Core" do |ss|

ReactAndroid/release.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def configureReactNativePom(def pom) {
3939

4040
licenses {
4141
license {
42-
name 'BSD License'
42+
name 'MIT License'
4343
url 'https://github.com/facebook/react-native/blob/master/LICENSE'
4444
distribution 'repo'
4545
}

ReactCommon/yoga/yoga.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ end
1212
Pod::Spec.new do |spec|
1313
spec.name = 'yoga'
1414
spec.version = "#{version}.React"
15-
spec.license = { :type => 'BSD' }
15+
spec.license = { :type => 'MIT' }
1616
spec.homepage = 'https://facebook.github.io/yoga/'
1717
spec.documentation_url = 'https://facebook.github.io/yoga/docs/api/c/'
1818

babel-preset/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preset",
1010
"react-native"
1111
],
12-
"license": "BSD-3-Clause",
12+
"license": "MIT",
1313
"bugs": {
1414
"url": "https://github.com/facebook/react-native/issues"
1515
},

local-cli/runIOS/findMatchingSimulator.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Facebook, Inc.
3-
* All rights reserved.
43
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
86
*/
97
'use strict';
108

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-native",
33
"version": "1000.0.0",
44
"description": "A framework for building native apps using React",
5-
"license": "BSD-3-Clause",
5+
"license": "MIT",
66
"repository": {
77
"type": "git",
88
"url": "git@github.com:facebook/react-native.git"
@@ -112,7 +112,6 @@
112112
"LICENSE",
113113
"local-cli",
114114
"packager",
115-
"PATENTS",
116115
"react.gradle",
117116
"React.podspec",
118117
"React",

react-native-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-cli",
33
"version": "2.0.1",
4-
"license": "BSD-3-Clause",
4+
"license": "MIT",
55
"description": "The React Native CLI tools",
66
"main": "index.js",
77
"engines": {

react-native-git-upgrade/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-git-upgrade",
33
"version": "0.2.7",
4-
"license": "BSD-3-Clause",
4+
"license": "MIT",
55
"description": "The React Native upgrade tool",
66
"main": "cli.js",
77
"bin": {

scripts/sync-css-layout.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ function patchfile {
88
# Add React Native copyright
99
printf "/**\n" > /tmp/yogasync.tmp
1010
printf " * Copyright (c) 2014-present, Facebook, Inc.\n" >> /tmp/yogasync.tmp
11-
printf " * All rights reserved.\n" >> /tmp/yogasync.tmp
12-
printf " * This source code is licensed under the BSD-style license found in the\n" >> /tmp/yogasync.tmp
13-
printf " * LICENSE file in the root directory of this source tree. An additional grant\n" >> /tmp/yogasync.tmp
14-
printf " * of patent rights can be found in the PATENTS file in the same directory.\n" >> /tmp/yogasync.tmp
11+
printf " *\n" >> /tmp/yogasync.tmp
12+
printf " * This source code is licensed under the MIT license found in the\n" >> /tmp/yogasync.tmp
13+
printf " * LICENSE file in the root directory of this source tree.\n" >> /tmp/yogasync.tmp
1514
printf " */\n\n" >> /tmp/yogasync.tmp
1615
printf "// NOTE: this file is auto-copied from https://github.com/facebook/css-layout\n" >> /tmp/yogasync.tmp
1716
# The following is split over four lines so Phabricator doesn't think this file is generated

third-party-podspecs/DoubleConversion.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'DoubleConversion'
33
spec.version = '1.1.5'
4-
spec.license = { :type => 'BSD' }
4+
spec.license = { :type => 'MIT' }
55
spec.homepage = 'https://github.com/google/double-conversion'
66
spec.summary = 'Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles'
77
spec.authors = 'Google'

0 commit comments

Comments
 (0)