@expo/cli 54.0.8-canary-20250919-7a31b96 → 54.0.8
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/bin/cli
CHANGED
|
@@ -123,7 +123,7 @@ const args = (0, _arg().default)({
|
|
|
123
123
|
});
|
|
124
124
|
if (args['--version']) {
|
|
125
125
|
// Version is added in the build script.
|
|
126
|
-
console.log("54.0.8
|
|
126
|
+
console.log("54.0.8");
|
|
127
127
|
process.exit(0);
|
|
128
128
|
}
|
|
129
129
|
if (args['--non-interactive']) {
|
|
@@ -67,6 +67,7 @@ const NODE_STDLIB_MODULES = [
|
|
|
67
67
|
'stream/consumers',
|
|
68
68
|
'timers/promises',
|
|
69
69
|
'util/types',
|
|
70
|
+
'sqlite',
|
|
70
71
|
// Collect all builtin modules...
|
|
71
72
|
...(_module().builtinModules || // @ts-expect-error
|
|
72
73
|
(process.binding ? Object.keys(process.binding('natives')) : []) || []).filter((x)=>!/^(internal|v8|node-inspect)\/|\//.test(x) && ![
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/start/server/metro/externals.ts"],"sourcesContent":["/**\n * Copyright © 2023 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport fs from 'fs';\nimport { builtinModules } from 'module';\nimport path from 'path';\n\n// A list of the Node.js standard library modules that are currently\n// available,\nexport const NODE_STDLIB_MODULES: string[] = [\n // Add all nested imports...\n 'assert/strict',\n 'dns/promises',\n 'inspector/promises',\n 'fs/promises',\n 'stream/web',\n 'stream/promises',\n 'path/posix',\n 'path/win32',\n 'readline/promises',\n 'stream/consumers',\n 'timers/promises',\n 'util/types',\n\n // Collect all builtin modules...\n ...(\n builtinModules ||\n // @ts-expect-error\n (process.binding ? Object.keys(process.binding('natives')) : []) ||\n []\n ).filter((x) => !/^(internal|v8|node-inspect)\\/|\\//.test(x) && !['sys'].includes(x)),\n].sort();\n\nconst shimsFolder = path.join(require.resolve('@expo/cli/package.json'), '../static/shims');\nconst canaryFolder = path.join(require.resolve('@expo/cli/package.json'), '../static/canary');\n\nexport function shouldCreateVirtualShim(normalName: string) {\n const shimPath = path.join(shimsFolder, normalName);\n if (fs.existsSync(shimPath)) {\n return shimPath;\n }\n return null;\n}\nexport function shouldCreateVirtualCanary(normalName: string): string | null {\n const canaryPath = path.join(canaryFolder, normalName);\n if (fs.existsSync(canaryPath)) {\n return canaryPath;\n }\n return null;\n}\n\nexport function isNodeExternal(moduleName: string): string | null {\n const moduleId = moduleName.replace(/^node:/, '');\n if (NODE_STDLIB_MODULES.includes(moduleId)) {\n return moduleId;\n }\n return null;\n}\n"],"names":["NODE_STDLIB_MODULES","isNodeExternal","shouldCreateVirtualCanary","shouldCreateVirtualShim","builtinModules","process","binding","Object","keys","filter","x","test","includes","sort","shimsFolder","path","join","require","resolve","canaryFolder","normalName","shimPath","fs","existsSync","canaryPath","moduleName","moduleId","replace"],"mappings":"AAAA;;;;;CAKC;;;;;;;;;;;IAOYA,mBAAmB;eAAnBA;;
|
|
1
|
+
{"version":3,"sources":["../../../../../src/start/server/metro/externals.ts"],"sourcesContent":["/**\n * Copyright © 2023 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport fs from 'fs';\nimport { builtinModules } from 'module';\nimport path from 'path';\n\n// A list of the Node.js standard library modules that are currently\n// available,\nexport const NODE_STDLIB_MODULES: string[] = [\n // Add all nested imports...\n 'assert/strict',\n 'dns/promises',\n 'inspector/promises',\n 'fs/promises',\n 'stream/web',\n 'stream/promises',\n 'path/posix',\n 'path/win32',\n 'readline/promises',\n 'stream/consumers',\n 'timers/promises',\n 'util/types',\n 'sqlite',\n\n // Collect all builtin modules...\n ...(\n builtinModules ||\n // @ts-expect-error\n (process.binding ? Object.keys(process.binding('natives')) : []) ||\n []\n ).filter((x) => !/^(internal|v8|node-inspect)\\/|\\//.test(x) && !['sys'].includes(x)),\n].sort();\n\nconst shimsFolder = path.join(require.resolve('@expo/cli/package.json'), '../static/shims');\nconst canaryFolder = path.join(require.resolve('@expo/cli/package.json'), '../static/canary');\n\nexport function shouldCreateVirtualShim(normalName: string) {\n const shimPath = path.join(shimsFolder, normalName);\n if (fs.existsSync(shimPath)) {\n return shimPath;\n }\n return null;\n}\nexport function shouldCreateVirtualCanary(normalName: string): string | null {\n const canaryPath = path.join(canaryFolder, normalName);\n if (fs.existsSync(canaryPath)) {\n return canaryPath;\n }\n return null;\n}\n\nexport function isNodeExternal(moduleName: string): string | null {\n const moduleId = moduleName.replace(/^node:/, '');\n if (NODE_STDLIB_MODULES.includes(moduleId)) {\n return moduleId;\n }\n return null;\n}\n"],"names":["NODE_STDLIB_MODULES","isNodeExternal","shouldCreateVirtualCanary","shouldCreateVirtualShim","builtinModules","process","binding","Object","keys","filter","x","test","includes","sort","shimsFolder","path","join","require","resolve","canaryFolder","normalName","shimPath","fs","existsSync","canaryPath","moduleName","moduleId","replace"],"mappings":"AAAA;;;;;CAKC;;;;;;;;;;;IAOYA,mBAAmB;eAAnBA;;IA2CGC,cAAc;eAAdA;;IARAC,yBAAyB;eAAzBA;;IAPAC,uBAAuB;eAAvBA;;;;gEAlCD;;;;;;;yBACgB;;;;;;;gEACd;;;;;;;;;;;AAIV,MAAMH,sBAAgC;IAC3C,4BAA4B;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA,iCAAiC;OAC9B,AACDI,CAAAA,wBAAc,IACd,mBAAmB;IAClBC,CAAAA,QAAQC,OAAO,GAAGC,OAAOC,IAAI,CAACH,QAAQC,OAAO,CAAC,cAAc,EAAE,AAAD,KAC9D,EAAE,AAAD,EACDG,MAAM,CAAC,CAACC,IAAM,CAAC,mCAAmCC,IAAI,CAACD,MAAM,CAAC;YAAC;SAAM,CAACE,QAAQ,CAACF;CAClF,CAACG,IAAI;AAEN,MAAMC,cAAcC,eAAI,CAACC,IAAI,CAACC,QAAQC,OAAO,CAAC,2BAA2B;AACzE,MAAMC,eAAeJ,eAAI,CAACC,IAAI,CAACC,QAAQC,OAAO,CAAC,2BAA2B;AAEnE,SAASf,wBAAwBiB,UAAkB;IACxD,MAAMC,WAAWN,eAAI,CAACC,IAAI,CAACF,aAAaM;IACxC,IAAIE,aAAE,CAACC,UAAU,CAACF,WAAW;QAC3B,OAAOA;IACT;IACA,OAAO;AACT;AACO,SAASnB,0BAA0BkB,UAAkB;IAC1D,MAAMI,aAAaT,eAAI,CAACC,IAAI,CAACG,cAAcC;IAC3C,IAAIE,aAAE,CAACC,UAAU,CAACC,aAAa;QAC7B,OAAOA;IACT;IACA,OAAO;AACT;AAEO,SAASvB,eAAewB,UAAkB;IAC/C,MAAMC,WAAWD,WAAWE,OAAO,CAAC,UAAU;IAC9C,IAAI3B,oBAAoBY,QAAQ,CAACc,WAAW;QAC1C,OAAOA;IACT;IACA,OAAO;AACT"}
|
|
@@ -33,7 +33,7 @@ class FetchClient {
|
|
|
33
33
|
this.headers = {
|
|
34
34
|
accept: 'application/json',
|
|
35
35
|
'content-type': 'application/json',
|
|
36
|
-
'user-agent': `expo-cli/${"54.0.8
|
|
36
|
+
'user-agent': `expo-cli/${"54.0.8"}`,
|
|
37
37
|
authorization: 'Basic ' + _nodebuffer().Buffer.from(`${target}:`).toString('base64')
|
|
38
38
|
};
|
|
39
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/cli",
|
|
3
|
-
"version": "54.0.8
|
|
3
|
+
"version": "54.0.8",
|
|
4
4
|
"description": "The Expo CLI",
|
|
5
5
|
"main": "build/bin/cli",
|
|
6
6
|
"bin": {
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@0no-co/graphql.web": "^1.0.8",
|
|
45
45
|
"@expo/code-signing-certificates": "^0.0.5",
|
|
46
|
-
"@expo/config": "12.0.
|
|
47
|
-
"@expo/config-plugins": "54.0.
|
|
46
|
+
"@expo/config": "~12.0.9",
|
|
47
|
+
"@expo/config-plugins": "~54.0.1",
|
|
48
48
|
"@expo/devcert": "^1.1.2",
|
|
49
|
-
"@expo/env": "2.0.
|
|
50
|
-
"@expo/image-utils": "0.8.
|
|
51
|
-
"@expo/json-file": "10.0.
|
|
49
|
+
"@expo/env": "~2.0.7",
|
|
50
|
+
"@expo/image-utils": "^0.8.7",
|
|
51
|
+
"@expo/json-file": "^10.0.7",
|
|
52
52
|
"@expo/mcp-tunnel": "~0.0.7",
|
|
53
53
|
"@expo/metro": "~54.0.0",
|
|
54
|
-
"@expo/metro-config": "54.0.5
|
|
55
|
-
"@expo/osascript": "2.3.
|
|
56
|
-
"@expo/package-manager": "1.9.
|
|
57
|
-
"@expo/plist": "0.4.
|
|
58
|
-
"@expo/prebuild-config": "54.0.
|
|
59
|
-
"@expo/schema-utils": "0.1.
|
|
60
|
-
"@expo/server": "0.7.5
|
|
54
|
+
"@expo/metro-config": "~54.0.5",
|
|
55
|
+
"@expo/osascript": "^2.3.7",
|
|
56
|
+
"@expo/package-manager": "^1.9.8",
|
|
57
|
+
"@expo/plist": "^0.4.7",
|
|
58
|
+
"@expo/prebuild-config": "^54.0.3",
|
|
59
|
+
"@expo/schema-utils": "^0.1.7",
|
|
60
|
+
"@expo/server": "^0.7.5",
|
|
61
61
|
"@expo/spawn-async": "^1.7.2",
|
|
62
62
|
"@expo/ws-tunnel": "^1.0.1",
|
|
63
63
|
"@expo/xcpretty": "^4.3.0",
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
]
|
|
113
113
|
},
|
|
114
114
|
"peerDependencies": {
|
|
115
|
-
"expo": "
|
|
116
|
-
"expo-router": "
|
|
115
|
+
"expo": "*",
|
|
116
|
+
"expo-router": "*",
|
|
117
117
|
"react-native": "*"
|
|
118
118
|
},
|
|
119
119
|
"peerDependenciesMeta": {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"@types/ws": "^8.5.4",
|
|
157
157
|
"devtools-protocol": "^0.0.1113120",
|
|
158
158
|
"expo-atlas": "^0.4.1",
|
|
159
|
-
"expo-module-scripts": "5.0.
|
|
159
|
+
"expo-module-scripts": "^5.0.7",
|
|
160
160
|
"find-process": "^1.4.7",
|
|
161
161
|
"jest-runner-tsd": "^6.0.0",
|
|
162
162
|
"klaw-sync": "^6.0.0",
|
|
@@ -168,5 +168,6 @@
|
|
|
168
168
|
"taskr": "^1.1.0",
|
|
169
169
|
"tree-kill": "^1.2.2",
|
|
170
170
|
"tsd": "^0.28.1"
|
|
171
|
-
}
|
|
171
|
+
},
|
|
172
|
+
"gitHead": "6523053d0d997d2a21f580d2752b2f873c122038"
|
|
172
173
|
}
|