Skip to content

Commit 5582f91

Browse files
danezfkling
authored andcommitted
Change license to MIT (#341)
1 parent 2fd59a6 commit 5582f91

File tree

126 files changed

+517
-846
lines changed

Some content is hidden

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

126 files changed

+517
-846
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ the process for contributing will follow standard GitHub protocol.
88

99
## Pull Requests
1010
We actively welcome your pull requests.
11-
1. Fork the repo and create your branch from `master`.
11+
1. Fork the repo and create your branch from `master`.
1212
2. If you've added code that should be tested, add tests
13-
3. If you've changed APIs, update the documentation.
14-
4. Ensure the test suite passes.
13+
3. If you've changed APIs, update the documentation.
14+
4. Ensure the test suite passes.
1515
5. Make sure your code lints and typechecks.
1616
6. If you haven't already, complete the Contributor License Agreement ("CLA").
1717

@@ -21,15 +21,15 @@ to do this once to work on any of Facebook's open source projects.
2121

2222
Complete your CLA here: <https://code.facebook.com/cla>
2323

24-
## Issues
24+
## Issues
2525
We use GitHub issues to track public bugs. Please ensure your description is
2626
clear and has sufficient instructions to be able to reproduce the issue.
2727

2828
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
2929
disclosure of security bugs. In those cases, please go through the process
3030
outlined on that page and do not file a public issue.
3131

32-
## Coding Style
32+
## Coding Style
3333
* Use semicolons;
3434
* Commas last,
3535
* 2 spaces for indentation (no tabs)
@@ -39,5 +39,7 @@ outlined on that page and do not file a public issue.
3939
* "Attractive"
4040

4141
## License
42+
react-docgen is [MIT licensed](https://github.com/reactjs/react-docgen/blob/master/LICENSE).
43+
4244
By contributing to react-docgen, you agree that your contributions will be licensed
43-
under its BSD license.
45+
under its MIT license.

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 docs generator software
3+
Copyright (c) Facebook, Inc. and its affiliates.
44

5-
Copyright (c) 2015, 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.

PATENTS

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

bin/__tests__/example/MultipleComponents.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
/*
2-
* Copyright (c) 2015, Facebook, Inc.
3-
* All rights reserved.
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
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
*/
108

bin/__tests__/example/customResolver.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
/*
2-
* Copyright (c) 2015, Facebook, Inc.
3-
* All rights reserved.
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
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
*/
108

bin/__tests__/react-docgen-test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
/*
2-
* Copyright (c) 2015, Facebook, Inc.
3-
* All rights reserved.
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
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
*/
108

bin/react-docgen.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
#!/usr/bin/env node
2-
/*
3-
* Copyright (c) 2015, Facebook, Inc.
4-
* All rights reserved.
2+
/**
3+
* Copyright (c) Facebook, Inc. and its affiliates.
54
*
6-
* This source code is licensed under the BSD-style license found in the
7-
* LICENSE file in the root directory of this source tree. An additional grant
8-
* of patent rights can be found in the PATENTS file in the same directory.
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
97
*
108
*/
119

example/generateMarkdown.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/**
2-
* Copyright (c) 2015, Facebook, Inc.
3-
* All rights reserved.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
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

108
function stringOfLength(string, length) {

flow-typed/recast.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
/*
2-
* Copyright (c) 2015, Facebook, Inc.
3-
* All rights reserved.
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
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
*/
108

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
},
1313
"files": [
1414
"bin",
15-
"dist",
16-
"PATENTS"
15+
"dist"
1716
],
1817
"engines": {
1918
"node": ">=6"
@@ -36,7 +35,7 @@
3635
"documentation-generation"
3736
],
3837
"author": "Felix Kling",
39-
"license": "BSD-3-Clause",
38+
"license": "MIT",
4039
"dependencies": {
4140
"@babel/core": "^7.0.0",
4241
"@babel/runtime": "^7.0.0",

0 commit comments

Comments
 (0)