@expo/metro-config 58.0.8 → 58.0.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.
package/build/customizeFrame.js
CHANGED
|
@@ -44,7 +44,6 @@ function _interop_require_default(obj) {
|
|
|
44
44
|
const INTERNAL_CALLSITES_REGEX = new RegExp([
|
|
45
45
|
'/Libraries/Renderer/implementations/.+\\.js$',
|
|
46
46
|
'/Libraries/BatchedBridge/MessageQueue\\.js$',
|
|
47
|
-
'/Libraries/YellowBox/.+\\.js$',
|
|
48
47
|
'/Libraries/LogBox/.+\\.js$',
|
|
49
48
|
'/Libraries/Core/.+\\.js$',
|
|
50
49
|
'/Libraries/Network/.+\\.js$',
|
|
@@ -58,12 +57,6 @@ const INTERNAL_CALLSITES_REGEX = new RegExp([
|
|
|
58
57
|
'node_modules/react-devtools-core/.+\\.js$',
|
|
59
58
|
'node_modules/react-refresh/.+\\.js$',
|
|
60
59
|
'node_modules/scheduler/.+\\.js$',
|
|
61
|
-
// Metro replaces `require()` with a different method,
|
|
62
|
-
// we want to omit this method from the stack trace.
|
|
63
|
-
// This is akin to most React tooling.
|
|
64
|
-
'/metro/.*/polyfills/require.js$',
|
|
65
|
-
// Hide frames related to a fast refresh.
|
|
66
|
-
'/metro/.*/lib/bundle-modules/.+\\.js$',
|
|
67
60
|
'node_modules/eventemitter3/index.js',
|
|
68
61
|
'node_modules/event-target-shim/dist/.+\\.js$',
|
|
69
62
|
// Improve errors thrown by invariant (ex: `Invariant Violation: "main" has not been registered`).
|
|
@@ -82,14 +75,8 @@ const INTERNAL_CALLSITES_REGEX = new RegExp([
|
|
|
82
75
|
'node_modules/react-dom/.+\\.js$',
|
|
83
76
|
// Hide node.js evaluation code
|
|
84
77
|
'node_modules/require-from-string/.+\\.js$',
|
|
85
|
-
// Block expo's metro-runtime
|
|
86
|
-
'@expo/metro-runtime/.+\\.ts',
|
|
87
|
-
'@expo/server/.+\\.ts',
|
|
88
|
-
'expo-server/.+\\.ts',
|
|
89
78
|
// Block upstream metro-runtime
|
|
90
79
|
'/metro-runtime/.+\\.js$',
|
|
91
|
-
// Expo's metro-runtime require patch:
|
|
92
|
-
'@expo/metro-config/require/.+',
|
|
93
80
|
// Block all whatwg polyfills
|
|
94
81
|
'node_modules/whatwg-.+\\.js$',
|
|
95
82
|
// Hide expo-router warnings which are often wrapping all routes and imports.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["customizeFrame.ts"],"sourcesContent":[null],"names":["INTERNAL_CALLSITES_REGEX","getDefaultCustomizeFrame","RegExp","join","isUrl","value","path","isAbsolute","URL","frame","file","lineNumber","column","collapse","Boolean","test","toPosixPath","methodName","includes","match"],"mappings":"AAAA,qEAAqE;;;;;;;;;;;;;;;;QAUxDA;eAAAA;;
|
|
1
|
+
{"version":3,"sources":["customizeFrame.ts"],"sourcesContent":[null],"names":["INTERNAL_CALLSITES_REGEX","getDefaultCustomizeFrame","RegExp","join","isUrl","value","path","isAbsolute","URL","frame","file","lineNumber","column","collapse","Boolean","test","toPosixPath","methodName","includes","match"],"mappings":"AAAA,qEAAqE;;;;;;;;;;;;;;;;QAUxDA;eAAAA;;QA8EGC;eAAAA;;;;gEAtFC;;;;;;;yBACG;;;;;;0BAEQ;;;;;;AAKrB,MAAMD,2BAA2B,IAAIE,OAC1C;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,kGAAkG;IAClG;IACA,iCAAiC;IACjC;IACA,4CAA4C;IAC5C;IACA,iDAAiD;IACjD;IACA,gCAAgC;IAChC;IACA,gCAAgC;IAChC,CAAC,iBAAiB,CAAC;IACnB,uBAAuB;IACvB;IACA,+BAA+B;IAC/B;IACA,+BAA+B;IAC/B;IAEA,6BAA6B;IAC7B;IACA,6EAA6E;IAC7E;IACA,mBAAmB;IACnB;IACA,0CAA0C;IAC1C;IACA,+FAA+F;IAC/F;IACA,8GAA8G;IAC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Ae;gBACf;gBACA;gBACA;gBACA,uBAAuB;gBACvB;gBACA;gBACA;aACD,CAACC,QAAQ,CAACT,MAAMQ,UAAU,GAC3B;gBACAJ,WAAW;YACb;QACF;QAEA,OAAO;YAAE,GAAIJ,SAAS,CAAC,CAAC;YAAGI;QAAS;IACtC;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/metro-config",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.9",
|
|
4
4
|
"description": "A Metro config for running React Native projects with the Metro bundler",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"@babel/code-frame": "^7.20.0",
|
|
66
66
|
"@babel/core": "^7.20.0",
|
|
67
67
|
"@babel/generator": "^7.20.5",
|
|
68
|
-
"@expo/config": "~58.0.
|
|
68
|
+
"@expo/config": "~58.0.3",
|
|
69
69
|
"@expo/env": "~2.5.1",
|
|
70
70
|
"@expo/json-file": "~11.2.1",
|
|
71
71
|
"@expo/metro": "~58.0.0-rc.0",
|
|
72
|
-
"@expo/require-utils": "^58.0.
|
|
72
|
+
"@expo/require-utils": "^58.0.3",
|
|
73
73
|
"@expo/spawn-async": "^1.8.0",
|
|
74
74
|
"@jridgewell/gen-mapping": "^0.3.13",
|
|
75
75
|
"@jridgewell/remapping": "^2.3.5",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@types/getenv": "^1.0.3",
|
|
100
100
|
"@types/picomatch": "^4.0.2",
|
|
101
101
|
"dedent": "^1.5.3",
|
|
102
|
-
"expo-module-scripts": "56.0.
|
|
102
|
+
"expo-module-scripts": "56.0.7",
|
|
103
103
|
"memfs": "^3.6.0",
|
|
104
104
|
"metro-minify-terser": "^0.84.2",
|
|
105
105
|
"sass": "^1.60.0"
|