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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 17 additions & 26 deletions
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

Lines changed: 3 additions & 6 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 33 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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
},

0 commit comments

Comments
 (0)