react-is 16.6.3 → 16.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/build-info.json
ADDED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react-is.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -97,7 +97,6 @@ var lowPriorityWarning$1 = lowPriorityWarning;
|
|
|
97
97
|
function typeOf(object) {
|
|
98
98
|
if (typeof object === 'object' && object !== null) {
|
|
99
99
|
var $$typeof = object.$$typeof;
|
|
100
|
-
|
|
101
100
|
switch ($$typeof) {
|
|
102
101
|
case REACT_ELEMENT_TYPE:
|
|
103
102
|
var type = object.type;
|
|
@@ -108,6 +107,7 @@ function typeOf(object) {
|
|
|
108
107
|
case REACT_FRAGMENT_TYPE:
|
|
109
108
|
case REACT_PROFILER_TYPE:
|
|
110
109
|
case REACT_STRICT_MODE_TYPE:
|
|
110
|
+
case REACT_SUSPENSE_TYPE:
|
|
111
111
|
return type;
|
|
112
112
|
default:
|
|
113
113
|
var $$typeofType = type && type.$$typeof;
|
|
@@ -121,6 +121,8 @@ function typeOf(object) {
|
|
|
121
121
|
return $$typeof;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
+
case REACT_LAZY_TYPE:
|
|
125
|
+
case REACT_MEMO_TYPE:
|
|
124
126
|
case REACT_PORTAL_TYPE:
|
|
125
127
|
return $$typeof;
|
|
126
128
|
}
|
|
@@ -137,9 +139,12 @@ var ContextProvider = REACT_PROVIDER_TYPE;
|
|
|
137
139
|
var Element = REACT_ELEMENT_TYPE;
|
|
138
140
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
139
141
|
var Fragment = REACT_FRAGMENT_TYPE;
|
|
140
|
-
var
|
|
142
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
143
|
+
var Memo = REACT_MEMO_TYPE;
|
|
141
144
|
var Portal = REACT_PORTAL_TYPE;
|
|
145
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
142
146
|
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
147
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
143
148
|
|
|
144
149
|
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
145
150
|
|
|
@@ -171,15 +176,24 @@ function isForwardRef(object) {
|
|
|
171
176
|
function isFragment(object) {
|
|
172
177
|
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
173
178
|
}
|
|
174
|
-
function
|
|
175
|
-
return typeOf(object) ===
|
|
179
|
+
function isLazy(object) {
|
|
180
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
181
|
+
}
|
|
182
|
+
function isMemo(object) {
|
|
183
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
176
184
|
}
|
|
177
185
|
function isPortal(object) {
|
|
178
186
|
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
179
187
|
}
|
|
188
|
+
function isProfiler(object) {
|
|
189
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
190
|
+
}
|
|
180
191
|
function isStrictMode(object) {
|
|
181
192
|
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
182
193
|
}
|
|
194
|
+
function isSuspense(object) {
|
|
195
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
196
|
+
}
|
|
183
197
|
|
|
184
198
|
exports.typeOf = typeOf;
|
|
185
199
|
exports.AsyncMode = AsyncMode;
|
|
@@ -189,9 +203,12 @@ exports.ContextProvider = ContextProvider;
|
|
|
189
203
|
exports.Element = Element;
|
|
190
204
|
exports.ForwardRef = ForwardRef;
|
|
191
205
|
exports.Fragment = Fragment;
|
|
192
|
-
exports.
|
|
206
|
+
exports.Lazy = Lazy;
|
|
207
|
+
exports.Memo = Memo;
|
|
193
208
|
exports.Portal = Portal;
|
|
209
|
+
exports.Profiler = Profiler;
|
|
194
210
|
exports.StrictMode = StrictMode;
|
|
211
|
+
exports.Suspense = Suspense;
|
|
195
212
|
exports.isValidElementType = isValidElementType;
|
|
196
213
|
exports.isAsyncMode = isAsyncMode;
|
|
197
214
|
exports.isConcurrentMode = isConcurrentMode;
|
|
@@ -200,8 +217,11 @@ exports.isContextProvider = isContextProvider;
|
|
|
200
217
|
exports.isElement = isElement;
|
|
201
218
|
exports.isForwardRef = isForwardRef;
|
|
202
219
|
exports.isFragment = isFragment;
|
|
203
|
-
exports.
|
|
220
|
+
exports.isLazy = isLazy;
|
|
221
|
+
exports.isMemo = isMemo;
|
|
204
222
|
exports.isPortal = isPortal;
|
|
223
|
+
exports.isProfiler = isProfiler;
|
|
205
224
|
exports.isStrictMode = isStrictMode;
|
|
225
|
+
exports.isSuspense = isSuspense;
|
|
206
226
|
})();
|
|
207
227
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
'use strict';Object.defineProperty(exports,"__esModule",{value:!0});
|
|
11
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,
|
|
12
|
-
60115,
|
|
13
|
-
exports.
|
|
14
|
-
exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return
|
|
11
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.memo"):
|
|
12
|
+
60115,r=b?Symbol.for("react.lazy"):60116;function t(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case h:return a;default:return u}}case r:case q:case d:return u}}}function v(a){return t(a)===m}exports.typeOf=t;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;
|
|
13
|
+
exports.Fragment=e;exports.Lazy=r;exports.Memo=q;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||"object"===typeof a&&null!==a&&(a.$$typeof===r||a.$$typeof===q||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n)};exports.isAsyncMode=function(a){return v(a)||t(a)===l};exports.isConcurrentMode=v;exports.isContextConsumer=function(a){return t(a)===k};
|
|
14
|
+
exports.isContextProvider=function(a){return t(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return t(a)===n};exports.isFragment=function(a){return t(a)===e};exports.isLazy=function(a){return t(a)===r};exports.isMemo=function(a){return t(a)===q};exports.isPortal=function(a){return t(a)===d};exports.isProfiler=function(a){return t(a)===g};exports.isStrictMode=function(a){return t(a)===f};
|
|
15
|
+
exports.isSuspense=function(a){return t(a)===p};
|
package/package.json
CHANGED
|
@@ -1,39 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
2
|
+
"_from": "react-is@0.0.0-4a1072194",
|
|
3
|
+
"_id": "react-is@0.0.0-4a1072194",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-FbThLNGlcFMndzaw8Vfvu/Nyqd4QB38Xqont9tzN6/7B/9/d97o4KNciSFmKIRgL50kS6wEuaWCkAJr6Qa+xDQ==",
|
|
6
|
+
"_location": "/react-is",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "version",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "react-is@0.0.0-4a1072194",
|
|
12
|
+
"name": "react-is",
|
|
13
|
+
"escapedName": "react-is",
|
|
14
|
+
"rawSpec": "0.0.0-4a1072194",
|
|
15
|
+
"saveSpec": null,
|
|
16
|
+
"fetchSpec": "0.0.0-4a1072194"
|
|
17
|
+
},
|
|
18
|
+
"_requiredBy": [
|
|
19
|
+
"#USER",
|
|
20
|
+
"/"
|
|
9
21
|
],
|
|
10
|
-
"
|
|
22
|
+
"_resolved": "https://registry.npmjs.org/react-is/-/react-is-0.0.0-4a1072194.tgz",
|
|
23
|
+
"_shasum": "fa55ad1108b807d11d006a1144499a26ce2a6306",
|
|
24
|
+
"_spec": "react-is@0.0.0-4a1072194",
|
|
25
|
+
"_where": "/Users/acdlite/Code/react/build/node_modules",
|
|
11
26
|
"bugs": {
|
|
12
27
|
"url": "https://github.com/facebook/react/issues"
|
|
13
28
|
},
|
|
14
|
-
"
|
|
29
|
+
"bundleDependencies": false,
|
|
30
|
+
"deprecated": false,
|
|
31
|
+
"description": "Brand checking of React Elements.",
|
|
15
32
|
"files": [
|
|
16
33
|
"LICENSE",
|
|
17
34
|
"README.md",
|
|
35
|
+
"build-info.json",
|
|
18
36
|
"index.js",
|
|
19
37
|
"cjs/",
|
|
20
38
|
"umd/"
|
|
21
39
|
],
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"react-test-renderer",
|
|
36
|
-
"scheduler"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
+
"homepage": "https://reactjs.org/",
|
|
41
|
+
"keywords": [
|
|
42
|
+
"react"
|
|
43
|
+
],
|
|
44
|
+
"license": "MIT",
|
|
45
|
+
"main": "index.js",
|
|
46
|
+
"name": "react-is",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/facebook/react.git"
|
|
50
|
+
},
|
|
51
|
+
"version": "16.7.0"
|
|
52
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react-is.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -95,7 +95,6 @@ var lowPriorityWarning$1 = lowPriorityWarning;
|
|
|
95
95
|
function typeOf(object) {
|
|
96
96
|
if (typeof object === 'object' && object !== null) {
|
|
97
97
|
var $$typeof = object.$$typeof;
|
|
98
|
-
|
|
99
98
|
switch ($$typeof) {
|
|
100
99
|
case REACT_ELEMENT_TYPE:
|
|
101
100
|
var type = object.type;
|
|
@@ -106,6 +105,7 @@ function typeOf(object) {
|
|
|
106
105
|
case REACT_FRAGMENT_TYPE:
|
|
107
106
|
case REACT_PROFILER_TYPE:
|
|
108
107
|
case REACT_STRICT_MODE_TYPE:
|
|
108
|
+
case REACT_SUSPENSE_TYPE:
|
|
109
109
|
return type;
|
|
110
110
|
default:
|
|
111
111
|
var $$typeofType = type && type.$$typeof;
|
|
@@ -119,6 +119,8 @@ function typeOf(object) {
|
|
|
119
119
|
return $$typeof;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
+
case REACT_LAZY_TYPE:
|
|
123
|
+
case REACT_MEMO_TYPE:
|
|
122
124
|
case REACT_PORTAL_TYPE:
|
|
123
125
|
return $$typeof;
|
|
124
126
|
}
|
|
@@ -135,9 +137,12 @@ var ContextProvider = REACT_PROVIDER_TYPE;
|
|
|
135
137
|
var Element = REACT_ELEMENT_TYPE;
|
|
136
138
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
137
139
|
var Fragment = REACT_FRAGMENT_TYPE;
|
|
138
|
-
var
|
|
140
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
141
|
+
var Memo = REACT_MEMO_TYPE;
|
|
139
142
|
var Portal = REACT_PORTAL_TYPE;
|
|
143
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
140
144
|
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
145
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
141
146
|
|
|
142
147
|
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
143
148
|
|
|
@@ -169,15 +174,24 @@ function isForwardRef(object) {
|
|
|
169
174
|
function isFragment(object) {
|
|
170
175
|
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
171
176
|
}
|
|
172
|
-
function
|
|
173
|
-
return typeOf(object) ===
|
|
177
|
+
function isLazy(object) {
|
|
178
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
179
|
+
}
|
|
180
|
+
function isMemo(object) {
|
|
181
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
174
182
|
}
|
|
175
183
|
function isPortal(object) {
|
|
176
184
|
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
177
185
|
}
|
|
186
|
+
function isProfiler(object) {
|
|
187
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
188
|
+
}
|
|
178
189
|
function isStrictMode(object) {
|
|
179
190
|
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
180
191
|
}
|
|
192
|
+
function isSuspense(object) {
|
|
193
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
194
|
+
}
|
|
181
195
|
|
|
182
196
|
exports.typeOf = typeOf;
|
|
183
197
|
exports.AsyncMode = AsyncMode;
|
|
@@ -187,9 +201,12 @@ exports.ContextProvider = ContextProvider;
|
|
|
187
201
|
exports.Element = Element;
|
|
188
202
|
exports.ForwardRef = ForwardRef;
|
|
189
203
|
exports.Fragment = Fragment;
|
|
190
|
-
exports.
|
|
204
|
+
exports.Lazy = Lazy;
|
|
205
|
+
exports.Memo = Memo;
|
|
191
206
|
exports.Portal = Portal;
|
|
207
|
+
exports.Profiler = Profiler;
|
|
192
208
|
exports.StrictMode = StrictMode;
|
|
209
|
+
exports.Suspense = Suspense;
|
|
193
210
|
exports.isValidElementType = isValidElementType;
|
|
194
211
|
exports.isAsyncMode = isAsyncMode;
|
|
195
212
|
exports.isConcurrentMode = isConcurrentMode;
|
|
@@ -198,9 +215,12 @@ exports.isContextProvider = isContextProvider;
|
|
|
198
215
|
exports.isElement = isElement;
|
|
199
216
|
exports.isForwardRef = isForwardRef;
|
|
200
217
|
exports.isFragment = isFragment;
|
|
201
|
-
exports.
|
|
218
|
+
exports.isLazy = isLazy;
|
|
219
|
+
exports.isMemo = isMemo;
|
|
202
220
|
exports.isPortal = isPortal;
|
|
221
|
+
exports.isProfiler = isProfiler;
|
|
203
222
|
exports.isStrictMode = isStrictMode;
|
|
223
|
+
exports.isSuspense = isSuspense;
|
|
204
224
|
|
|
205
225
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
206
226
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(b,c){"object"===typeof exports&&"undefined"!==typeof module?c(exports):"function"===typeof define&&define.amd?define(["exports"],c):c(b.ReactIs={})})(this,function(b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case
|
|
10
|
-
|
|
11
|
-
60116;b.typeOf=c;b.AsyncMode=
|
|
12
|
-
|
|
9
|
+
'use strict';(function(b,c){"object"===typeof exports&&"undefined"!==typeof module?c(exports):"function"===typeof define&&define.amd?define(["exports"],c):c(b.ReactIs={})})(this,function(b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case r:switch(a=a.type,a){case t:case e:case f:case g:case h:case k:return a;default:switch(a=a&&a.$$typeof,a){case l:case m:case n:return a;default:return b}}case p:case q:case u:return b}}}function v(a){return c(a)===e}var d="function"===
|
|
10
|
+
typeof Symbol&&Symbol.for,r=d?Symbol.for("react.element"):60103,u=d?Symbol.for("react.portal"):60106,f=d?Symbol.for("react.fragment"):60107,h=d?Symbol.for("react.strict_mode"):60108,g=d?Symbol.for("react.profiler"):60114,n=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,t=d?Symbol.for("react.async_mode"):60111,e=d?Symbol.for("react.concurrent_mode"):60111,m=d?Symbol.for("react.forward_ref"):60112,k=d?Symbol.for("react.suspense"):60113,q=d?Symbol.for("react.memo"):60115,
|
|
11
|
+
p=d?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=t;b.ConcurrentMode=e;b.ContextConsumer=l;b.ContextProvider=n;b.Element=r;b.ForwardRef=m;b.Fragment=f;b.Lazy=p;b.Memo=q;b.Portal=u;b.Profiler=g;b.StrictMode=h;b.Suspense=k;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===f||a===e||a===g||a===h||a===k||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===q||a.$$typeof===n||a.$$typeof===l||a.$$typeof===m)};b.isAsyncMode=function(a){return v(a)||c(a)===
|
|
12
|
+
t};b.isConcurrentMode=v;b.isContextConsumer=function(a){return c(a)===l};b.isContextProvider=function(a){return c(a)===n};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===r};b.isForwardRef=function(a){return c(a)===m};b.isFragment=function(a){return c(a)===f};b.isLazy=function(a){return c(a)===p};b.isMemo=function(a){return c(a)===q};b.isPortal=function(a){return c(a)===u};b.isProfiler=function(a){return c(a)===g};b.isStrictMode=function(a){return c(a)===h};b.isSuspense=function(a){return c(a)===
|
|
13
|
+
k};Object.defineProperty(b,"__esModule",{value:!0})});
|