Skip to content

Commit a314d5b

Browse files
committed
[change] MIT license
Now possible to license under MIT following the change to React Native's license. facebook/react-native@26684cf Fix #828
1 parent fb845eb commit a314d5b

File tree

138 files changed

+563
-915
lines changed

Some content is hidden

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

138 files changed

+563
-915
lines changed

LICENSE

+18-27
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,22 @@
1-
BSD License
1+
MIT License
22

3-
For React Native software
3+
Copyright (c) 2015-present, Nicolas Gallagher.
4+
Copyright (c) 2015-present, Facebook, Inc.
45

5-
Copyright (c) 2015-present, Nicolas Gallagher. All rights reserved.
6-
Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
712

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

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.
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ relatively limited scope. This is a great place to get started.
126126

127127
## License
128128

129-
React Native for Web is [BSD licensed](./LICENSE).
129+
React Native for Web is [MIT licensed](./LICENSE). By contributing to React
130+
Native for Web, you agree that your contributions will be licensed under its
131+
MIT license.
130132

131133
[package-badge]: https://img.shields.io/npm/v/react-native-web.svg?style=flat
132134
[package-url]: https://yarnpkg.com/en/package/react-native-web

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@
6969
"singleQuote": true
7070
},
7171
"author": "Nicolas Gallagher",
72-
"license": "BSD-3-Clause"
72+
"license": "MIT"
7373
}

packages/react-native-web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"react-dom": "16.x.x"
2828
},
2929
"author": "Nicolas Gallagher",
30-
"license": "BSD-3-Clause",
30+
"license": "MIT",
3131
"repository": {
3232
"type": "git",
3333
"url": "git://github.com/necolas/react-native-web.git"

packages/react-native-web/src/exports/ActivityIndicator/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule ActivityIndicator

packages/react-native-web/src/exports/Animated/index.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
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
* @providesModule Animated
108
* @flow

packages/react-native-web/src/exports/AppRegistry/AppContainer.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @flow

packages/react-native-web/src/exports/AppRegistry/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule AppRegistry

packages/react-native-web/src/exports/AppRegistry/renderApplication.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @flow

packages/react-native-web/src/exports/AppState/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule AppState

packages/react-native-web/src/exports/AsyncStorage/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule AsyncStorage

packages/react-native-web/src/exports/BackHandler/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule BackHandler

packages/react-native-web/src/exports/Button/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
3-
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
53
*
6-
* This source code is licensed under the BSD-style license found in the
4+
* This source code is licensed under the MIT license found in the
75
* LICENSE file in the root directory of this source tree.
86
*
97
* @providesModule Button

packages/react-native-web/src/exports/CheckBox/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2017-present, Nicolas Gallagher.
33
* Copyright (c) 2017-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule CheckBox

packages/react-native-web/src/exports/Clipboard/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Clipboard

packages/react-native-web/src/exports/ColorPropType/index.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
* @providesModule ColorPropType
108
* @noflow

packages/react-native-web/src/exports/Dimensions/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Dimensions

packages/react-native-web/src/exports/Easing/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
3-
* All rights reserved.
43
*
5-
* This source code is licensed under the BSD-style license found in the
4+
* This source code is licensed under the MIT license found in the
65
* LICENSE file in the root directory of this source tree.
76
*
87
* @flow

packages/react-native-web/src/exports/EdgeInsetsPropType/index.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
* @providesModule EdgeInsetsPropType
108
* @flow

packages/react-native-web/src/exports/I18nManager/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule I18nManager

packages/react-native-web/src/exports/Image/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Image

packages/react-native-web/src/exports/ImageBackground/index.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
* @flow
108
*/

packages/react-native-web/src/exports/InteractionManager/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule InteractionManager

packages/react-native-web/src/exports/Keyboard/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Keyboard

packages/react-native-web/src/exports/KeyboardAvoidingView/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2017-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule KeyboardAvoidingView

packages/react-native-web/src/exports/Linking/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Linking

packages/react-native-web/src/exports/NetInfo/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule NetInfo

packages/react-native-web/src/exports/Picker/PickerItemPropType.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2017-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @flow

packages/react-native-web/src/exports/Picker/PickerStylePropTypes.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2017-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @flow

packages/react-native-web/src/exports/Picker/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2017-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Picker

packages/react-native-web/src/exports/PixelRatio/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2015-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule PixelRatio

packages/react-native-web/src/exports/Platform/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
22
* Copyright (c) 2016-present, Nicolas Gallagher.
33
* Copyright (c) 2015-present, Facebook, Inc.
4-
* All rights reserved.
54
*
6-
* This source code is licensed under the BSD-style license found in the
5+
* This source code is licensed under the MIT license found in the
76
* LICENSE file in the root directory of this source tree.
87
*
98
* @providesModule Platform

0 commit comments

Comments
 (0)