@expo/cli 0.18.8 → 0.18.9

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 (19) hide show
  1. package/build/bin/cli +1 -1
  2. package/build/src/utils/telemetry/getContext.js +1 -1
  3. package/package.json +2 -2
  4. package/static/canary/react-is/cjs/react-is.development.js +200 -0
  5. package/static/canary/react-is/cjs/react-is.production.js +130 -0
  6. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js +22899 -24003
  7. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js +5190 -4270
  8. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js +5206 -4094
  9. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +23165 -24313
  10. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +5298 -4377
  11. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +11347 -0
  12. package/static/canary/scheduler/cjs/scheduler-unstable_mock.development.js +711 -0
  13. package/static/canary/scheduler/cjs/scheduler-unstable_mock.production.js +415 -0
  14. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.development.js +208 -0
  15. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.production.js +145 -0
  16. package/static/canary/scheduler/cjs/scheduler.development.js +625 -0
  17. package/static/canary/scheduler/cjs/scheduler.native.development.js +538 -0
  18. package/static/canary/scheduler/cjs/scheduler.native.production.js +329 -0
  19. package/static/canary/scheduler/cjs/scheduler.production.js +341 -0
package/build/bin/cli CHANGED
@@ -120,7 +120,7 @@ const args = (0, _arg().default)({
120
120
  });
121
121
  if (args["--version"]) {
122
122
  // Version is added in the build script.
123
- console.log("0.18.8");
123
+ console.log("0.18.9");
124
124
  process.exit(0);
125
125
  }
126
126
  if (args["--non-interactive"]) {
@@ -79,7 +79,7 @@ function getContext() {
79
79
  cpu: summarizeCpuInfo(),
80
80
  app: {
81
81
  name: "expo/cli",
82
- version: "0.18.8"
82
+ version: "0.18.9"
83
83
  },
84
84
  ci: _ciInfo().isCI ? {
85
85
  name: _ciInfo().name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/cli",
3
- "version": "0.18.8",
3
+ "version": "0.18.9",
4
4
  "description": "The Expo CLI",
5
5
  "main": "build/bin/cli",
6
6
  "bin": {
@@ -168,5 +168,5 @@
168
168
  "tree-kill": "^1.2.2",
169
169
  "tsd": "^0.28.1"
170
170
  },
171
- "gitHead": "71b2f4339ef7b5b42ce87c1d8c17fe41c60355e0"
171
+ "gitHead": "7995f30a8d2af4836f3aef9fe322e9403fc23d34"
172
172
  }
@@ -0,0 +1,200 @@
1
+ /**
2
+ * @license React
3
+ * react-is.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ 'use strict';
12
+
13
+ if (process.env.NODE_ENV !== "production") {
14
+ (function() {
15
+ 'use strict';
16
+
17
+ // -----------------------------------------------------------------------------
18
+
19
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
20
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
21
+
22
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
23
+
24
+ var enableRenderableContext = true; // Enables the `initialValue` option for `useDeferredValue`
25
+ // stuff. Intended to enable React core members to more easily debug scheduling
26
+ // issues in DEV builds.
27
+
28
+ var enableDebugTracing = false;
29
+
30
+ var REACT_ELEMENT_TYPE = Symbol.for('react.transitional.element') ;
31
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
32
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
33
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
34
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
35
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); // TODO: Delete with enableRenderableContext
36
+
37
+ var REACT_CONSUMER_TYPE = Symbol.for('react.consumer');
38
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
39
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
40
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
41
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
42
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
43
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
44
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
45
+
46
+ var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');
47
+ function isValidElementType(type) {
48
+ if (typeof type === 'string' || typeof type === 'function') {
49
+ return true;
50
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
51
+
52
+
53
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableTransitionTracing ) {
54
+ return true;
55
+ }
56
+
57
+ if (typeof type === 'object' && type !== null) {
58
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || !enableRenderableContext || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
59
+ // types supported by any Flight configuration anywhere since
60
+ // we don't know which Flight build this will end up being used
61
+ // with.
62
+ type.$$typeof === REACT_CLIENT_REFERENCE || type.getModuleId !== undefined) {
63
+ return true;
64
+ }
65
+ }
66
+
67
+ return false;
68
+ }
69
+
70
+ function typeOf(object) {
71
+ if (typeof object === 'object' && object !== null) {
72
+ var $$typeof = object.$$typeof;
73
+
74
+ switch ($$typeof) {
75
+ case REACT_ELEMENT_TYPE:
76
+ var type = object.type;
77
+
78
+ switch (type) {
79
+ case REACT_FRAGMENT_TYPE:
80
+ case REACT_PROFILER_TYPE:
81
+ case REACT_STRICT_MODE_TYPE:
82
+ case REACT_SUSPENSE_TYPE:
83
+ case REACT_SUSPENSE_LIST_TYPE:
84
+ return type;
85
+
86
+ default:
87
+ var $$typeofType = type && type.$$typeof;
88
+
89
+ switch ($$typeofType) {
90
+ case REACT_CONTEXT_TYPE:
91
+ case REACT_FORWARD_REF_TYPE:
92
+ case REACT_LAZY_TYPE:
93
+ case REACT_MEMO_TYPE:
94
+ return $$typeofType;
95
+
96
+ case REACT_CONSUMER_TYPE:
97
+ {
98
+ return $$typeofType;
99
+ }
100
+
101
+ // Fall through
102
+
103
+ case REACT_PROVIDER_TYPE:
104
+
105
+ // Fall through
106
+
107
+ default:
108
+ return $$typeof;
109
+ }
110
+
111
+ }
112
+
113
+ case REACT_PORTAL_TYPE:
114
+ return $$typeof;
115
+ }
116
+ }
117
+
118
+ return undefined;
119
+ }
120
+ var ContextConsumer = REACT_CONSUMER_TYPE ;
121
+ var ContextProvider = REACT_CONTEXT_TYPE ;
122
+ var Element = REACT_ELEMENT_TYPE;
123
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
124
+ var Fragment = REACT_FRAGMENT_TYPE;
125
+ var Lazy = REACT_LAZY_TYPE;
126
+ var Memo = REACT_MEMO_TYPE;
127
+ var Portal = REACT_PORTAL_TYPE;
128
+ var Profiler = REACT_PROFILER_TYPE;
129
+ var StrictMode = REACT_STRICT_MODE_TYPE;
130
+ var Suspense = REACT_SUSPENSE_TYPE;
131
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
132
+ function isContextConsumer(object) {
133
+ {
134
+ return typeOf(object) === REACT_CONSUMER_TYPE;
135
+ }
136
+ }
137
+ function isContextProvider(object) {
138
+ {
139
+ return typeOf(object) === REACT_CONTEXT_TYPE;
140
+ }
141
+ }
142
+ function isElement(object) {
143
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
144
+ }
145
+ function isForwardRef(object) {
146
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
147
+ }
148
+ function isFragment(object) {
149
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
150
+ }
151
+ function isLazy(object) {
152
+ return typeOf(object) === REACT_LAZY_TYPE;
153
+ }
154
+ function isMemo(object) {
155
+ return typeOf(object) === REACT_MEMO_TYPE;
156
+ }
157
+ function isPortal(object) {
158
+ return typeOf(object) === REACT_PORTAL_TYPE;
159
+ }
160
+ function isProfiler(object) {
161
+ return typeOf(object) === REACT_PROFILER_TYPE;
162
+ }
163
+ function isStrictMode(object) {
164
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
165
+ }
166
+ function isSuspense(object) {
167
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
168
+ }
169
+ function isSuspenseList(object) {
170
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
171
+ }
172
+
173
+ exports.ContextConsumer = ContextConsumer;
174
+ exports.ContextProvider = ContextProvider;
175
+ exports.Element = Element;
176
+ exports.ForwardRef = ForwardRef;
177
+ exports.Fragment = Fragment;
178
+ exports.Lazy = Lazy;
179
+ exports.Memo = Memo;
180
+ exports.Portal = Portal;
181
+ exports.Profiler = Profiler;
182
+ exports.StrictMode = StrictMode;
183
+ exports.Suspense = Suspense;
184
+ exports.SuspenseList = SuspenseList;
185
+ exports.isContextConsumer = isContextConsumer;
186
+ exports.isContextProvider = isContextProvider;
187
+ exports.isElement = isElement;
188
+ exports.isForwardRef = isForwardRef;
189
+ exports.isFragment = isFragment;
190
+ exports.isLazy = isLazy;
191
+ exports.isMemo = isMemo;
192
+ exports.isPortal = isPortal;
193
+ exports.isProfiler = isProfiler;
194
+ exports.isStrictMode = isStrictMode;
195
+ exports.isSuspense = isSuspense;
196
+ exports.isSuspenseList = isSuspenseList;
197
+ exports.isValidElementType = isValidElementType;
198
+ exports.typeOf = typeOf;
199
+ })();
200
+ }
@@ -0,0 +1,130 @@
1
+ /**
2
+ * @license React
3
+ * react-is.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
13
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
14
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
15
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
16
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
17
+ Symbol.for("react.provider");
18
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
19
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
20
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
21
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
22
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
23
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
24
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
25
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
26
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
27
+ function typeOf(object) {
28
+ if ("object" === typeof object && null !== object) {
29
+ var $$typeof = object.$$typeof;
30
+ switch ($$typeof) {
31
+ case REACT_ELEMENT_TYPE:
32
+ switch (((object = object.type), object)) {
33
+ case REACT_FRAGMENT_TYPE:
34
+ case REACT_PROFILER_TYPE:
35
+ case REACT_STRICT_MODE_TYPE:
36
+ case REACT_SUSPENSE_TYPE:
37
+ case REACT_SUSPENSE_LIST_TYPE:
38
+ return object;
39
+ default:
40
+ switch (((object = object && object.$$typeof), object)) {
41
+ case REACT_CONTEXT_TYPE:
42
+ case REACT_FORWARD_REF_TYPE:
43
+ case REACT_LAZY_TYPE:
44
+ case REACT_MEMO_TYPE:
45
+ return object;
46
+ case REACT_CONSUMER_TYPE:
47
+ return object;
48
+ default:
49
+ return $$typeof;
50
+ }
51
+ }
52
+ case REACT_PORTAL_TYPE:
53
+ return $$typeof;
54
+ }
55
+ }
56
+ }
57
+ exports.ContextConsumer = REACT_CONSUMER_TYPE;
58
+ exports.ContextProvider = REACT_CONTEXT_TYPE;
59
+ exports.Element = REACT_ELEMENT_TYPE;
60
+ exports.ForwardRef = REACT_FORWARD_REF_TYPE;
61
+ exports.Fragment = REACT_FRAGMENT_TYPE;
62
+ exports.Lazy = REACT_LAZY_TYPE;
63
+ exports.Memo = REACT_MEMO_TYPE;
64
+ exports.Portal = REACT_PORTAL_TYPE;
65
+ exports.Profiler = REACT_PROFILER_TYPE;
66
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
67
+ exports.Suspense = REACT_SUSPENSE_TYPE;
68
+ exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
69
+ exports.isContextConsumer = function (object) {
70
+ return typeOf(object) === REACT_CONSUMER_TYPE;
71
+ };
72
+ exports.isContextProvider = function (object) {
73
+ return typeOf(object) === REACT_CONTEXT_TYPE;
74
+ };
75
+ exports.isElement = function (object) {
76
+ return (
77
+ "object" === typeof object &&
78
+ null !== object &&
79
+ object.$$typeof === REACT_ELEMENT_TYPE
80
+ );
81
+ };
82
+ exports.isForwardRef = function (object) {
83
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
84
+ };
85
+ exports.isFragment = function (object) {
86
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
87
+ };
88
+ exports.isLazy = function (object) {
89
+ return typeOf(object) === REACT_LAZY_TYPE;
90
+ };
91
+ exports.isMemo = function (object) {
92
+ return typeOf(object) === REACT_MEMO_TYPE;
93
+ };
94
+ exports.isPortal = function (object) {
95
+ return typeOf(object) === REACT_PORTAL_TYPE;
96
+ };
97
+ exports.isProfiler = function (object) {
98
+ return typeOf(object) === REACT_PROFILER_TYPE;
99
+ };
100
+ exports.isStrictMode = function (object) {
101
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
102
+ };
103
+ exports.isSuspense = function (object) {
104
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
105
+ };
106
+ exports.isSuspenseList = function (object) {
107
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
108
+ };
109
+ exports.isValidElementType = function (type) {
110
+ return "string" === typeof type ||
111
+ "function" === typeof type ||
112
+ type === REACT_FRAGMENT_TYPE ||
113
+ type === REACT_PROFILER_TYPE ||
114
+ type === REACT_STRICT_MODE_TYPE ||
115
+ type === REACT_SUSPENSE_TYPE ||
116
+ type === REACT_SUSPENSE_LIST_TYPE ||
117
+ type === REACT_OFFSCREEN_TYPE ||
118
+ ("object" === typeof type &&
119
+ null !== type &&
120
+ (type.$$typeof === REACT_LAZY_TYPE ||
121
+ type.$$typeof === REACT_MEMO_TYPE ||
122
+ type.$$typeof === REACT_CONTEXT_TYPE ||
123
+ type.$$typeof === REACT_CONSUMER_TYPE ||
124
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
125
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
126
+ void 0 !== type.getModuleId))
127
+ ? !0
128
+ : !1;
129
+ };
130
+ exports.typeOf = typeOf;