react-test-renderer 15.5.4 → 15.7.0
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.
- package/LICENSE +16 -26
- package/lib/CallbackQueue.js +3 -5
- package/lib/EventConstants.js +3 -5
- package/lib/EventPluginHub.js +3 -9
- package/lib/EventPluginRegistry.js +3 -7
- package/lib/EventPluginUtils.js +3 -5
- package/lib/EventPropagators.js +3 -5
- package/lib/KeyEscapeUtils.js +3 -5
- package/lib/PluginModuleType.js +3 -5
- package/lib/PooledClass.js +3 -5
- package/lib/ReactChildFiber.js +3 -6
- package/lib/ReactChildReconciler.js +7 -10
- package/lib/ReactComponentEnvironment.js +3 -7
- package/lib/ReactCompositeComponent.js +5 -9
- package/lib/ReactCoroutine.js +3 -5
- package/lib/ReactDebugTool.js +6 -6
- package/lib/ReactDefaultBatchingStrategy.js +3 -5
- package/lib/ReactElementSymbol.js +3 -5
- package/lib/ReactEmptyComponent.js +3 -5
- package/lib/ReactErrorUtils.js +6 -6
- package/lib/ReactEventEmitterMixin.js +3 -6
- package/lib/ReactFeatureFlags.js +3 -5
- package/lib/ReactFiber.js +3 -7
- package/lib/ReactFiberBeginWork.js +3 -6
- package/lib/ReactFiberCommitWork.js +3 -6
- package/lib/ReactFiberCompleteWork.js +3 -7
- package/lib/ReactFiberReconciler.js +3 -5
- package/lib/ReactFiberRoot.js +3 -5
- package/lib/ReactFiberScheduler.js +3 -5
- package/lib/ReactFiberUpdateQueue.js +3 -5
- package/lib/ReactHostComponent.js +3 -5
- package/lib/ReactHostOperationHistoryHook.js +3 -5
- package/lib/ReactInstanceMap.js +3 -7
- package/lib/ReactInstanceType.js +3 -5
- package/lib/ReactInstrumentation.js +3 -5
- package/lib/ReactInvalidSetStateWarningHook.js +3 -5
- package/lib/ReactMultiChild.js +3 -9
- package/lib/ReactMultiChildUpdateTypes.js +3 -5
- package/lib/ReactNodeTypes.js +3 -5
- package/lib/ReactOwner.js +3 -6
- package/lib/ReactPerf.js +9 -11
- package/lib/ReactPriorityLevel.js +5 -6
- package/lib/ReactPropTypeLocationNames.js +3 -5
- package/lib/ReactPropTypeLocations.js +3 -5
- package/lib/ReactPropTypesSecret.js +3 -5
- package/lib/ReactReconciler.js +5 -9
- package/lib/ReactRef.js +3 -5
- package/lib/ReactReifiedYield.js +3 -5
- package/lib/ReactShallowRenderer.js +3 -5
- package/lib/ReactSimpleEmptyComponent.js +5 -7
- package/lib/ReactSyntheticEventType.js +3 -5
- package/lib/ReactTestEmptyComponent.js +3 -5
- package/lib/ReactTestMount.js +8 -8
- package/lib/ReactTestReconcileTransaction.js +2 -4
- package/lib/ReactTestRenderer.js +4 -5
- package/lib/ReactTestTextComponent.js +3 -5
- package/lib/ReactTypeOfWork.js +3 -5
- package/lib/ReactTypes.js +3 -5
- package/lib/ReactUpdateQueue.js +4 -8
- package/lib/ReactUpdates.js +4 -6
- package/lib/ReactVersion.js +4 -6
- package/lib/ResponderEventPlugin.js +3 -7
- package/lib/ResponderSyntheticEvent.js +3 -5
- package/lib/ResponderTouchHistoryStore.js +3 -5
- package/lib/SyntheticEvent.js +34 -33
- package/lib/Transaction.js +6 -5
- package/lib/accumulate.js +3 -5
- package/lib/accumulateInto.js +3 -5
- package/lib/adler32.js +3 -5
- package/lib/canDefineProperty.js +3 -5
- package/lib/checkReactTypeSpec.js +3 -5
- package/lib/deprecated.js +6 -8
- package/lib/flattenChildren.js +3 -5
- package/lib/forEachAccumulated.js +3 -5
- package/lib/getHostComponentFromComposite.js +3 -5
- package/lib/getIteratorFn.js +3 -5
- package/lib/instantiateReactComponent.js +4 -6
- package/lib/isTextInputElement.js +17 -19
- package/lib/lowPriorityWarning.js +62 -0
- package/lib/reactProdInvariant.js +2 -4
- package/lib/shallow/ARIADOMPropertyConfig.js +3 -5
- package/lib/shallow/AutoFocusUtils.js +3 -5
- package/lib/shallow/BeforeInputEventPlugin.js +3 -6
- package/lib/shallow/CSSProperty.js +10 -5
- package/lib/shallow/CSSPropertyOperations.js +17 -13
- package/lib/shallow/CallbackQueue.js +3 -5
- package/lib/shallow/ChangeEventPlugin.js +52 -88
- package/lib/shallow/DOMChildrenOperations.js +7 -8
- package/lib/shallow/DOMLazyTree.js +3 -5
- package/lib/shallow/DOMNamespaces.js +3 -5
- package/lib/shallow/DOMProperty.js +3 -6
- package/lib/shallow/DOMPropertyOperations.js +3 -7
- package/lib/shallow/Danger.js +3 -7
- package/lib/shallow/DefaultEventPluginOrder.js +3 -5
- package/lib/shallow/EnterLeaveEventPlugin.js +3 -7
- package/lib/shallow/EventConstants.js +3 -5
- package/lib/shallow/EventPluginHub.js +3 -9
- package/lib/shallow/EventPluginRegistry.js +3 -7
- package/lib/shallow/EventPluginUtils.js +3 -5
- package/lib/shallow/EventPropagators.js +3 -5
- package/lib/shallow/FallbackCompositionState.js +3 -5
- package/lib/shallow/HTMLDOMPropertyConfig.js +4 -5
- package/lib/shallow/KeyEscapeUtils.js +3 -5
- package/lib/shallow/LinkedValueUtils.js +10 -12
- package/lib/shallow/PluginModuleType.js +3 -5
- package/lib/shallow/PooledClass.js +3 -5
- package/lib/shallow/ReactBrowserEventEmitter.js +3 -9
- package/lib/shallow/ReactChildFiber.js +3 -6
- package/lib/shallow/ReactChildReconciler.js +7 -10
- package/lib/shallow/ReactComponentBrowserEnvironment.js +3 -7
- package/lib/shallow/ReactComponentEnvironment.js +3 -7
- package/lib/shallow/ReactCompositeComponent.js +5 -9
- package/lib/shallow/ReactCoroutine.js +3 -5
- package/lib/shallow/ReactDOM.js +5 -7
- package/lib/shallow/ReactDOMComponent.js +40 -29
- package/lib/shallow/ReactDOMComponentFlags.js +3 -5
- package/lib/shallow/ReactDOMComponentTree.js +3 -5
- package/lib/shallow/ReactDOMContainerInfo.js +3 -5
- package/lib/shallow/ReactDOMEmptyComponent.js +3 -5
- package/lib/shallow/ReactDOMFeatureFlags.js +3 -5
- package/lib/shallow/ReactDOMFiber.js +3 -6
- package/lib/shallow/ReactDOMIDOperations.js +3 -6
- package/lib/shallow/ReactDOMInput.js +8 -8
- package/lib/shallow/ReactDOMInvalidARIAHook.js +3 -5
- package/lib/shallow/ReactDOMNullInputValuePropHook.js +3 -5
- package/lib/shallow/ReactDOMOption.js +3 -6
- package/lib/shallow/ReactDOMSelect.js +3 -5
- package/lib/shallow/ReactDOMSelection.js +3 -5
- package/lib/shallow/ReactDOMServer.js +3 -5
- package/lib/shallow/ReactDOMTextComponent.js +3 -7
- package/lib/shallow/ReactDOMTextarea.js +3 -5
- package/lib/shallow/ReactDOMTreeTraversal.js +3 -5
- package/lib/shallow/ReactDOMUnknownPropertyHook.js +3 -5
- package/lib/shallow/ReactDebugTool.js +6 -6
- package/lib/shallow/ReactDefaultBatchingStrategy.js +3 -5
- package/lib/shallow/ReactDefaultInjection.js +3 -5
- package/lib/shallow/ReactElementSymbol.js +3 -5
- package/lib/shallow/ReactEmptyComponent.js +3 -5
- package/lib/shallow/ReactErrorUtils.js +6 -6
- package/lib/shallow/ReactEventEmitterMixin.js +3 -6
- package/lib/shallow/ReactEventListener.js +3 -5
- package/lib/shallow/ReactFeatureFlags.js +3 -5
- package/lib/shallow/ReactFiber.js +3 -7
- package/lib/shallow/ReactFiberBeginWork.js +3 -6
- package/lib/shallow/ReactFiberCommitWork.js +3 -6
- package/lib/shallow/ReactFiberCompleteWork.js +3 -7
- package/lib/shallow/ReactFiberReconciler.js +3 -5
- package/lib/shallow/ReactFiberRoot.js +3 -5
- package/lib/shallow/ReactFiberScheduler.js +3 -5
- package/lib/shallow/ReactFiberUpdateQueue.js +3 -5
- package/lib/shallow/ReactHostComponent.js +3 -5
- package/lib/shallow/ReactHostOperationHistoryHook.js +3 -5
- package/lib/shallow/ReactInjection.js +3 -5
- package/lib/shallow/ReactInputSelection.js +3 -6
- package/lib/shallow/ReactInstanceMap.js +3 -7
- package/lib/shallow/ReactInstanceType.js +3 -5
- package/lib/shallow/ReactInstrumentation.js +3 -5
- package/lib/shallow/ReactInvalidSetStateWarningHook.js +3 -5
- package/lib/shallow/ReactMarkupChecksum.js +3 -5
- package/lib/shallow/ReactMount.js +10 -12
- package/lib/shallow/ReactMultiChild.js +3 -9
- package/lib/shallow/ReactMultiChildUpdateTypes.js +3 -5
- package/lib/shallow/ReactNodeTypes.js +3 -5
- package/lib/shallow/ReactOwner.js +3 -6
- package/lib/shallow/ReactPerf.js +9 -11
- package/lib/shallow/ReactPriorityLevel.js +5 -6
- package/lib/shallow/ReactPropTypeLocationNames.js +3 -5
- package/lib/shallow/ReactPropTypeLocations.js +3 -5
- package/lib/shallow/ReactPropTypesSecret.js +3 -5
- package/lib/shallow/ReactReconcileTransaction.js +3 -5
- package/lib/shallow/ReactReconciler.js +5 -9
- package/lib/shallow/ReactRef.js +3 -5
- package/lib/shallow/ReactReifiedYield.js +3 -5
- package/lib/shallow/ReactServerBatchingStrategy.js +3 -5
- package/lib/shallow/ReactServerRendering.js +3 -5
- package/lib/shallow/ReactServerRenderingTransaction.js +3 -5
- package/lib/shallow/ReactServerUpdateQueue.js +3 -5
- package/lib/shallow/ReactShallowRenderer.js +3 -5
- package/lib/shallow/ReactSimpleEmptyComponent.js +5 -7
- package/lib/shallow/ReactSyntheticEventType.js +3 -5
- package/lib/shallow/ReactTestEmptyComponent.js +3 -5
- package/lib/shallow/ReactTestMount.js +8 -8
- package/lib/shallow/ReactTestReconcileTransaction.js +2 -4
- package/lib/shallow/ReactTestRenderer.js +4 -5
- package/lib/shallow/ReactTestTextComponent.js +3 -5
- package/lib/shallow/ReactTypeOfWork.js +3 -5
- package/lib/shallow/ReactTypes.js +3 -5
- package/lib/shallow/ReactUpdateQueue.js +4 -8
- package/lib/shallow/ReactUpdates.js +4 -6
- package/lib/shallow/ReactVersion.js +4 -6
- package/lib/shallow/ResponderEventPlugin.js +3 -7
- package/lib/shallow/ResponderSyntheticEvent.js +3 -5
- package/lib/shallow/ResponderTouchHistoryStore.js +3 -5
- package/lib/shallow/SVGDOMPropertyConfig.js +3 -5
- package/lib/shallow/SelectEventPlugin.js +3 -8
- package/lib/shallow/SimpleEventPlugin.js +3 -7
- package/lib/shallow/SyntheticAnimationEvent.js +3 -5
- package/lib/shallow/SyntheticClipboardEvent.js +3 -5
- package/lib/shallow/SyntheticCompositionEvent.js +3 -5
- package/lib/shallow/SyntheticDragEvent.js +3 -5
- package/lib/shallow/SyntheticEvent.js +34 -33
- package/lib/shallow/SyntheticFocusEvent.js +3 -5
- package/lib/shallow/SyntheticInputEvent.js +3 -5
- package/lib/shallow/SyntheticKeyboardEvent.js +3 -5
- package/lib/shallow/SyntheticMouseEvent.js +3 -5
- package/lib/shallow/SyntheticTouchEvent.js +3 -5
- package/lib/shallow/SyntheticTransitionEvent.js +3 -5
- package/lib/shallow/SyntheticUIEvent.js +3 -5
- package/lib/shallow/SyntheticWheelEvent.js +6 -11
- package/lib/shallow/TapEventPlugin.js +3 -7
- package/lib/shallow/Transaction.js +6 -5
- package/lib/shallow/ViewportMetrics.js +3 -7
- package/lib/shallow/accumulate.js +3 -5
- package/lib/shallow/accumulateInto.js +3 -5
- package/lib/shallow/adler32.js +3 -5
- package/lib/shallow/canDefineProperty.js +3 -5
- package/lib/shallow/checkReactTypeSpec.js +3 -5
- package/lib/shallow/createMicrosoftUnsafeLocalFunction.js +3 -5
- package/lib/shallow/dangerousStyleValue.js +5 -7
- package/lib/shallow/deprecated.js +6 -8
- package/lib/shallow/escapeTextContentForBrowser.js +3 -6
- package/lib/shallow/findDOMNode.js +3 -5
- package/lib/shallow/flattenChildren.js +3 -5
- package/lib/shallow/forEachAccumulated.js +3 -5
- package/lib/shallow/getEventCharCode.js +3 -5
- package/lib/shallow/getEventKey.js +27 -19
- package/lib/shallow/getEventModifierState.js +7 -9
- package/lib/shallow/getEventTarget.js +3 -5
- package/lib/shallow/getHostComponentFromComposite.js +3 -5
- package/lib/shallow/getIteratorFn.js +3 -5
- package/lib/shallow/getNodeForCharacterOffset.js +3 -5
- package/lib/shallow/getTextContentAccessor.js +3 -5
- package/lib/shallow/getVendorPrefixedEventName.js +3 -5
- package/lib/shallow/inputValueTracking.js +120 -0
- package/lib/shallow/instantiateReactComponent.js +4 -6
- package/lib/shallow/isEventSupported.js +3 -5
- package/lib/shallow/isTextInputElement.js +17 -19
- package/lib/shallow/lowPriorityWarning.js +62 -0
- package/lib/shallow/quoteAttributeValueForBrowser.js +3 -5
- package/lib/shallow/reactProdInvariant.js +2 -4
- package/lib/shallow/renderSubtreeIntoContainer.js +3 -5
- package/lib/shallow/setInnerHTML.js +4 -6
- package/lib/shallow/setTextContent.js +3 -5
- package/lib/shallow/shouldUpdateReactComponent.js +3 -5
- package/lib/shallow/traverseAllChildren.js +4 -6
- package/lib/shallow/validateDOMNesting.js +4 -12
- package/lib/shouldUpdateReactComponent.js +3 -5
- package/lib/traverseAllChildren.js +4 -6
- package/package.json +21 -17
- 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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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 2016-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactInstanceMap.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
|
@@ -20,7 +18,6 @@
|
|
|
20
18
|
// TODO: Replace this with ES6: var ReactInstanceMap = new Map();
|
|
21
19
|
|
|
22
20
|
var ReactInstanceMap = {
|
|
23
|
-
|
|
24
21
|
/**
|
|
25
22
|
* This API should be called `delete` but we'd have to make sure to always
|
|
26
23
|
* transform these to strings for IE support. When this transform is fully
|
|
@@ -41,7 +38,6 @@ var ReactInstanceMap = {
|
|
|
41
38
|
set: function (key, value) {
|
|
42
39
|
key._reactInternalInstance = value;
|
|
43
40
|
}
|
|
44
|
-
|
|
45
41
|
};
|
|
46
42
|
|
|
47
43
|
module.exports = ReactInstanceMap;
|
package/lib/ReactInstanceType.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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 2016-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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 2016-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactMultiChild.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
|
@@ -168,7 +166,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
168
166
|
* @internal
|
|
169
167
|
*/
|
|
170
168
|
var ReactMultiChild = {
|
|
171
|
-
|
|
172
169
|
/**
|
|
173
170
|
* Provides common functionality for components that must reconcile multiple
|
|
174
171
|
* children. This is used by `ReactDOMComponent` to mount, update, and
|
|
@@ -177,7 +174,6 @@ var ReactMultiChild = {
|
|
|
177
174
|
* @lends {ReactMultiChild.prototype}
|
|
178
175
|
*/
|
|
179
176
|
Mixin: {
|
|
180
|
-
|
|
181
177
|
_reconcilerInstantiateChildren: function (nestedChildren, transaction, context) {
|
|
182
178
|
if (process.env.NODE_ENV !== 'production') {
|
|
183
179
|
var selfDebugID = getDebugID(this);
|
|
@@ -441,9 +437,7 @@ var ReactMultiChild = {
|
|
|
441
437
|
child._mountIndex = null;
|
|
442
438
|
return update;
|
|
443
439
|
}
|
|
444
|
-
|
|
445
440
|
}
|
|
446
|
-
|
|
447
441
|
};
|
|
448
442
|
|
|
449
443
|
module.exports = ReactMultiChild;
|
|
@@ -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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactNodeTypes.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactOwner.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
*/
|
|
@@ -87,7 +85,6 @@ var ReactOwner = {
|
|
|
87
85
|
owner.detachRef(ref);
|
|
88
86
|
}
|
|
89
87
|
}
|
|
90
|
-
|
|
91
88
|
};
|
|
92
89
|
|
|
93
90
|
module.exports = ReactOwner;
|
package/lib/ReactPerf.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
*/
|
|
@@ -16,7 +14,7 @@ var _assign = require('object-assign');
|
|
|
16
14
|
var _extends = _assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
17
15
|
|
|
18
16
|
var ReactDebugTool = require('./ReactDebugTool');
|
|
19
|
-
var
|
|
17
|
+
var lowPriorityWarning = require('./lowPriorityWarning');
|
|
20
18
|
var alreadyWarned = false;
|
|
21
19
|
|
|
22
20
|
function roundFloat(val) {
|
|
@@ -360,7 +358,7 @@ function printExclusive(flushHistory) {
|
|
|
360
358
|
var renderCount = item.counts.render || 0;
|
|
361
359
|
var renderDuration = item.durations.render || 0;
|
|
362
360
|
return {
|
|
363
|
-
|
|
361
|
+
Component: key,
|
|
364
362
|
'Total time (ms)': roundFloat(totalDuration),
|
|
365
363
|
'Instance count': instanceCount,
|
|
366
364
|
'Total render time (ms)': roundFloat(renderDuration),
|
|
@@ -428,8 +426,8 @@ function printOperations(flushHistory) {
|
|
|
428
426
|
var table = stats.map(function (stat) {
|
|
429
427
|
return {
|
|
430
428
|
'Owner > Node': stat.key,
|
|
431
|
-
|
|
432
|
-
|
|
429
|
+
Operation: stat.type,
|
|
430
|
+
Payload: typeof stat.payload === 'object' ? JSON.stringify(stat.payload) : stat.payload,
|
|
433
431
|
'Flush index': stat.flushIndex,
|
|
434
432
|
'Owner Component ID': stat.ownerID,
|
|
435
433
|
'DOM Component ID': stat.instanceID
|
|
@@ -440,14 +438,14 @@ function printOperations(flushHistory) {
|
|
|
440
438
|
|
|
441
439
|
var warnedAboutPrintDOM = false;
|
|
442
440
|
function printDOM(measurements) {
|
|
443
|
-
|
|
441
|
+
lowPriorityWarning(warnedAboutPrintDOM, '`ReactPerf.printDOM(...)` is deprecated. Use ' + '`ReactPerf.printOperations(...)` instead.');
|
|
444
442
|
warnedAboutPrintDOM = true;
|
|
445
443
|
return printOperations(measurements);
|
|
446
444
|
}
|
|
447
445
|
|
|
448
446
|
var warnedAboutGetMeasurementsSummaryMap = false;
|
|
449
447
|
function getMeasurementsSummaryMap(measurements) {
|
|
450
|
-
|
|
448
|
+
lowPriorityWarning(warnedAboutGetMeasurementsSummaryMap, '`ReactPerf.getMeasurementsSummaryMap(...)` is deprecated. Use ' + '`ReactPerf.getWasted(...)` instead.');
|
|
451
449
|
warnedAboutGetMeasurementsSummaryMap = true;
|
|
452
450
|
return getWasted(measurements);
|
|
453
451
|
}
|
|
@@ -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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
*/
|
|
@@ -17,4 +15,5 @@ module.exports = {
|
|
|
17
15
|
AnimationPriority: 2, // Needs to complete before the next frame.
|
|
18
16
|
HighPriority: 3, // Interaction that needs to complete pretty soon to feel responsive.
|
|
19
17
|
LowPriority: 4, // Data fetching, or result from updating stores.
|
|
20
|
-
OffscreenPriority: 5
|
|
18
|
+
OffscreenPriority: 5 // Won't be visible but do the work in case it becomes visible.
|
|
19
|
+
};
|
|
@@ -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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactReconciler.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
|
@@ -24,7 +22,6 @@ function attachRefs() {
|
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
var ReactReconciler = {
|
|
27
|
-
|
|
28
25
|
/**
|
|
29
26
|
* Initializes the component, renders markup, and registers event listeners.
|
|
30
27
|
*
|
|
@@ -36,8 +33,8 @@ var ReactReconciler = {
|
|
|
36
33
|
* @final
|
|
37
34
|
* @internal
|
|
38
35
|
*/
|
|
39
|
-
mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots
|
|
40
|
-
|
|
36
|
+
mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID) // 0 in production and for roots
|
|
37
|
+
{
|
|
41
38
|
if (process.env.NODE_ENV !== 'production') {
|
|
42
39
|
if (internalInstance._debugID !== 0) {
|
|
43
40
|
ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID);
|
|
@@ -161,7 +158,6 @@ var ReactReconciler = {
|
|
|
161
158
|
}
|
|
162
159
|
}
|
|
163
160
|
}
|
|
164
|
-
|
|
165
161
|
};
|
|
166
162
|
|
|
167
163
|
module.exports = ReactReconciler;
|
package/lib/ReactRef.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactReifiedYield.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
|
|
@@ -19,8 +17,8 @@ var ReactSimpleEmptyComponent = function (placeholderElement, instantiate) {
|
|
|
19
17
|
this._renderedComponent = instantiate(placeholderElement);
|
|
20
18
|
};
|
|
21
19
|
_assign(ReactSimpleEmptyComponent.prototype, {
|
|
22
|
-
mountComponent: function (transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots
|
|
23
|
-
|
|
20
|
+
mountComponent: function (transaction, hostParent, hostContainerInfo, context, parentDebugID) // 0 in production and for roots
|
|
21
|
+
{
|
|
24
22
|
return ReactReconciler.mountComponent(this._renderedComponent, transaction, hostParent, hostContainerInfo, context, parentDebugID);
|
|
25
23
|
},
|
|
26
24
|
receiveComponent: function () {},
|
|
@@ -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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
* Flow type for SyntheticEvent class that includes private properties
|
|
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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactTestMount.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
*/
|
|
@@ -79,7 +77,9 @@ ReactTestInstance.prototype.getInstance = function () {
|
|
|
79
77
|
};
|
|
80
78
|
ReactTestInstance.prototype.update = function (nextElement) {
|
|
81
79
|
!this._component ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactTestRenderer: .update() can\'t be called after unmount.') : _prodInvariant('139') : void 0;
|
|
82
|
-
var nextWrappedElement = React.createElement(TopLevelWrapper, {
|
|
80
|
+
var nextWrappedElement = React.createElement(TopLevelWrapper, {
|
|
81
|
+
child: nextElement
|
|
82
|
+
});
|
|
83
83
|
var component = this._component;
|
|
84
84
|
ReactUpdates.batchedUpdates(function () {
|
|
85
85
|
var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(true);
|
|
@@ -113,9 +113,10 @@ ReactTestInstance.prototype.toJSON = function () {
|
|
|
113
113
|
* code between the two. For now, we'll hard code the ID logic.
|
|
114
114
|
*/
|
|
115
115
|
var ReactTestMount = {
|
|
116
|
-
|
|
117
116
|
render: function (nextElement, options) {
|
|
118
|
-
var nextWrappedElement = React.createElement(TopLevelWrapper, {
|
|
117
|
+
var nextWrappedElement = React.createElement(TopLevelWrapper, {
|
|
118
|
+
child: nextElement
|
|
119
|
+
});
|
|
119
120
|
|
|
120
121
|
var instance = instantiateReactComponent(nextWrappedElement, false);
|
|
121
122
|
|
|
@@ -125,7 +126,6 @@ var ReactTestMount = {
|
|
|
125
126
|
ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, instance, _assign({}, defaultTestOptions, options));
|
|
126
127
|
return new ReactTestInstance(instance);
|
|
127
128
|
}
|
|
128
|
-
|
|
129
129
|
};
|
|
130
130
|
|
|
131
131
|
module.exports = ReactTestMount;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactTestRenderer.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
*/
|
|
@@ -134,6 +132,7 @@ var ReactTestRenderer = {
|
|
|
134
132
|
create: ReactTestMount.render,
|
|
135
133
|
/* eslint-disable camelcase */
|
|
136
134
|
unstable_batchedUpdates: ReactUpdates.batchedUpdates
|
|
135
|
+
/* eslint-enable camelcase */
|
|
137
136
|
};
|
|
138
137
|
|
|
139
138
|
module.exports = ReactTestRenderer;
|
|
@@ -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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactTypeOfWork.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
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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/ReactTypes.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2014-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
*/
|