react 15.6.1 → 15.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +16 -26
  2. package/dist/react-with-addons.js +127 -211
  3. package/dist/react-with-addons.min.js +5 -7
  4. package/dist/react.js +79 -131
  5. package/dist/react.min.js +5 -7
  6. package/lib/KeyEscapeUtils.js +3 -5
  7. package/lib/LinkedStateMixin.js +3 -5
  8. package/lib/PooledClass.js +3 -5
  9. package/lib/React.js +3 -5
  10. package/lib/ReactAddonsDOMDependencies.js +3 -5
  11. package/lib/ReactAddonsDOMDependenciesUMDShim.js +3 -5
  12. package/lib/ReactBaseClasses.js +3 -5
  13. package/lib/ReactCSSTransitionGroup.js +3 -5
  14. package/lib/ReactCSSTransitionGroupChild.js +3 -5
  15. package/lib/ReactChildren.js +3 -5
  16. package/lib/ReactComponentTreeDevtool.js +3 -5
  17. package/lib/ReactComponentTreeHook.js +3 -5
  18. package/lib/ReactComponentTreeHookUMDShim.js +3 -5
  19. package/lib/ReactComponentWithPureRenderMixin.js +3 -5
  20. package/lib/ReactCurrentOwner.js +3 -5
  21. package/lib/ReactCurrentOwnerUMDShim.js +3 -5
  22. package/lib/ReactDOMFactories.js +3 -5
  23. package/lib/ReactElement.js +3 -5
  24. package/lib/ReactElementSymbol.js +3 -5
  25. package/lib/ReactElementType.js +3 -5
  26. package/lib/ReactElementValidator.js +3 -5
  27. package/lib/ReactFragment.js +3 -5
  28. package/lib/ReactLink.js +3 -5
  29. package/lib/ReactNoopUpdateQueue.js +3 -5
  30. package/lib/ReactPropTypeLocationNames.js +3 -5
  31. package/lib/ReactPropTypeLocations.js +3 -5
  32. package/lib/ReactPropTypes.js +3 -5
  33. package/lib/ReactPropTypesSecret.js +3 -5
  34. package/lib/ReactStateSetters.js +3 -5
  35. package/lib/ReactTransitionChildMapping.js +3 -5
  36. package/lib/ReactTransitionEvents.js +3 -5
  37. package/lib/ReactTransitionGroup.js +3 -5
  38. package/lib/ReactUMDEntry.js +3 -5
  39. package/lib/ReactUMDShim.js +3 -5
  40. package/lib/ReactVersion.js +4 -6
  41. package/lib/ReactWithAddons.js +3 -5
  42. package/lib/ReactWithAddonsUMDEntry.js +3 -5
  43. package/lib/canDefineProperty.js +3 -5
  44. package/lib/checkReactTypeSpec.js +3 -5
  45. package/lib/createClass.js +3 -5
  46. package/lib/deprecated.js +3 -5
  47. package/lib/flattenChildren.js +3 -5
  48. package/lib/getIteratorFn.js +3 -5
  49. package/lib/getNextDebugID.js +3 -5
  50. package/lib/getNextDebugIDUMDShim.js +3 -5
  51. package/lib/lowPriorityWarning.js +3 -5
  52. package/lib/onlyChild.js +3 -5
  53. package/lib/reactProdInvariant.js +2 -4
  54. package/lib/shallowCompare.js +3 -5
  55. package/lib/sliceChildren.js +3 -5
  56. package/lib/traverseAllChildren.js +3 -5
  57. package/lib/update.js +3 -5
  58. package/package.json +2 -3
  59. package/PATENTS +0 -33
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,13 +1,11 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
11
9
  'use strict';
12
10
 
13
- module.exports = '15.6.1';
11
+ module.exports = '15.6.2';
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  *
10
8
  */
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
package/lib/deprecated.js CHANGED
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  *
10
8
  */
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  *
10
8
  */
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  *
10
8
  */
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  *
10
8
  */
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2014-2015, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2014-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
package/lib/onlyChild.js CHANGED
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
  'use strict';
@@ -1,10 +1,8 @@
1
1
  /**
2
2
  * Copyright (c) 2013-present, Facebook, Inc.
3
- * All rights reserved.
4
3
  *
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.
8
6
  *
9
7
  *
10
8
  */
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
package/lib/update.js CHANGED
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2013-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2013-present, Facebook, Inc.
4
3
  *
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.
8
6
  *
9
7
  */
10
8
 
package/package.json CHANGED
@@ -1,16 +1,15 @@
1
1
  {
2
2
  "name": "react",
3
3
  "description": "React is a JavaScript library for building user interfaces.",
4
- "version": "15.6.1",
4
+ "version": "15.6.2",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
8
8
  "homepage": "https://facebook.github.io/react/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
- "license": "BSD-3-Clause",
10
+ "license": "MIT",
11
11
  "files": [
12
12
  "LICENSE",
13
- "PATENTS",
14
13
  "addons.js",
15
14
  "react.js",
16
15
  "addons/",
package/PATENTS DELETED
@@ -1,33 +0,0 @@
1
- Additional Grant of Patent Rights Version 2
2
-
3
- "Software" means the React software distributed by Facebook, Inc.
4
-
5
- Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
6
- ("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
7
- (subject to the termination provision below) license under any Necessary
8
- Claims, to make, have made, use, sell, offer to sell, import, and otherwise
9
- transfer the Software. For avoidance of doubt, no license is granted under
10
- Facebook's rights in any patent claims that are infringed by (i) modifications
11
- to the Software made by you or any third party or (ii) the Software in
12
- combination with any software or other technology.
13
-
14
- The license granted hereunder will terminate, automatically and without notice,
15
- if you (or any of your subsidiaries, corporate affiliates or agents) initiate
16
- directly or indirectly, or take a direct financial interest in, any Patent
17
- Assertion: (i) against Facebook or any of its subsidiaries or corporate
18
- affiliates, (ii) against any party if such Patent Assertion arises in whole or
19
- in part from any software, technology, product or service of Facebook or any of
20
- its subsidiaries or corporate affiliates, or (iii) against any party relating
21
- to the Software. Notwithstanding the foregoing, if Facebook or any of its
22
- subsidiaries or corporate affiliates files a lawsuit alleging patent
23
- infringement against you in the first instance, and you respond by filing a
24
- patent infringement counterclaim in that lawsuit against that party that is
25
- unrelated to the Software, the license granted hereunder will not terminate
26
- under section (i) of this paragraph due to such counterclaim.
27
-
28
- A "Necessary Claim" is a claim of a patent owned by Facebook that is
29
- necessarily infringed by the Software standing alone.
30
-
31
- A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
32
- or contributory infringement or inducement to infringe any patent, including a
33
- cross-claim or counterclaim.