Skip to content

Commit 1522716

Browse files
committed
Switch to MIT license (same as React) (reactjs#621)
Fixes reactjs#524 Ref facebook/react#10804 Ref facebook/react#13593
1 parent 50737e7 commit 1522716

File tree

121 files changed

+378
-664
lines changed

Some content is hidden

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

121 files changed

+378
-664
lines changed

LICENSE

+17-24
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
1-
BSD License for ReactJS.NET
1+
MIT License for ReactJS.NET
22

3-
Copyright (c) 2014, Facebook, Inc. All rights reserved.
3+
Copyright (c) Facebook, Inc. and its affiliates.
44

5-
Redistribution and use in source and binary forms, with or without modification,
6-
are permitted provided that the following conditions are met:
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:
711

8-
* Redistributions of source code must retain the above copyright notice, this
9-
list of conditions and the following disclaimer.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1014

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

-33
This file was deleted.

src/Cassette.React/AssemblyRegistration.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using React;

src/Cassette.React/BabelBundleProcessor.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using Cassette.BundleProcessing;

src/Cassette.React/BabelCompiler.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using System.IO;

src/Cassette.React/CassetteMSBuildStartup.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using JavaScriptEngineSwitcher.Core;

src/Cassette.React/InsertIntoPipelineJsxBundleProcessor.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using Cassette.BundleProcessing;

src/Cassette.React/JsxFileSearchModifier.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using Cassette.Scripts;

src/Cassette.React/MSBuildUtils.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using System;

src/Cassette.React/Properties/AssemblyInfo.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using System.Reflection;

src/Cassette.React/ReactContainerConfiguration.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using CassetteTinyIoCContainer = Cassette.TinyIoC.TinyIoCContainer;

src/React.AspNet.Middleware/AspNetFileSystem.cs

+3-5
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
using System.IO;

src/React.AspNet.Middleware/AssemblyRegistration.cs

+3-5
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
using React.TinyIoC;

src/React.AspNet.Middleware/BabelFileMiddleware.cs

+3-5
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
using System;

src/React.AspNet.Middleware/BabelFileOptions.cs

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
*/
9-
107
using System.Collections.Generic;
118
#if OWIN
129
using Microsoft.Owin.StaticFiles;

src/React.AspNet.Middleware/BabelFileSystem.cs

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
*/
9-
107
using System;
118
using System.Collections.Generic;
129
using System.IO;

src/React.AspNet.Middleware/HttpContextLifetimeProvider.cs

+3-5
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
using System;

src/React.AspNet.Middleware/MemoryFileCacheCore.cs

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/*
2-
* Copyright (c) 2016-Present, 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
*/
9-
107
using System;
118
using System.Collections.Generic;
129
using Microsoft.Extensions.Caching.Memory;

src/React.AspNet.Middleware/ReactBuilderExtensions.cs

+3-5
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
using System;

src/React.AspNet.Middleware/ReactServiceCollectionExtensions.cs

+3-5
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
using Microsoft.Extensions.DependencyInjection;

src/React.AspNet/ActionHtmlString.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using System;

src/React.AspNet/HtmlHelperExtensions.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using System;

src/React.Core/AssemblyRegistration.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using JavaScriptEngineSwitcher.Core;

src/React.Core/Babel.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) 2014-Present, 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
using System;

0 commit comments

Comments
 (0)