@expo/config 58.0.11 → 58.0.13
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/paths/env.js
CHANGED
|
@@ -8,19 +8,12 @@ Object.defineProperty(exports, "env", {
|
|
|
8
8
|
return env;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
function _getenv() {
|
|
12
|
-
const data = require("getenv");
|
|
13
|
-
_getenv = function() {
|
|
14
|
-
return data;
|
|
15
|
-
};
|
|
16
|
-
return data;
|
|
17
|
-
}
|
|
18
11
|
class Env {
|
|
19
12
|
/** Disable auto server root detection for Metro. This will not change the server root to the workspace root. */ get EXPO_NO_METRO_WORKSPACE_ROOT() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
return [
|
|
14
|
+
'true',
|
|
15
|
+
'1'
|
|
16
|
+
].includes((process.env.EXPO_NO_METRO_WORKSPACE_ROOT ?? '').toLowerCase());
|
|
24
17
|
}
|
|
25
18
|
}
|
|
26
19
|
const env = new Env();
|
package/build/paths/env.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["paths/env.ts"],"sourcesContent":[null],"names":["env","Env","EXPO_NO_METRO_WORKSPACE_ROOT","
|
|
1
|
+
{"version":3,"sources":["paths/env.ts"],"sourcesContent":[null],"names":["env","Env","EXPO_NO_METRO_WORKSPACE_ROOT","includes","process","toLowerCase"],"mappings":";;;;+BAOaA;;;eAAAA;;;AAPb,MAAMC;IACJ,8GAA8G,GAC9G,IAAIC,+BAAwC;QAC1C,OAAO;YAAC;YAAQ;SAAI,CAACC,QAAQ,CAAC,AAACC,CAAAA,QAAQJ,GAAG,CAACE,4BAA4B,IAAI,EAAC,EAAGG,WAAW;IAC5F;AACF;AAEO,MAAML,MAAM,IAAIC"}
|
|
@@ -20,14 +20,10 @@ _export(exports, {
|
|
|
20
20
|
return withInternal;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
30
|
-
const EXPO_DEBUG = (0, _getenv().boolish)('EXPO_DEBUG', false);
|
|
23
|
+
const EXPO_DEBUG = [
|
|
24
|
+
'true',
|
|
25
|
+
'1'
|
|
26
|
+
].includes((process.env.EXPO_DEBUG ?? '').toLowerCase());
|
|
31
27
|
const withInternal = (config, internals)=>{
|
|
32
28
|
if (!config._internal) {
|
|
33
29
|
config._internal = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["plugins/withInternal.ts"],"sourcesContent":[null],"names":["EXPO_DEBUG","withInternal","
|
|
1
|
+
{"version":3,"sources":["plugins/withInternal.ts"],"sourcesContent":[null],"names":["EXPO_DEBUG","withInternal","includes","process","env","toLowerCase","config","internals","_internal","isDebug"],"mappings":";;;;;;;;;;;;;;;QAIaA;eAAAA;;QAQAC;eAAAA;;;AARN,MAAMD,aAAa;IAAC;IAAQ;CAAI,CAACE,QAAQ,CAAC,AAACC,CAAAA,QAAQC,GAAG,CAACJ,UAAU,IAAI,EAAC,EAAGK,WAAW;AAQpF,MAAMJ,eAET,CAACK,QAAQC;IACX,IAAI,CAACD,OAAOE,SAAS,EAAE;QACrBF,OAAOE,SAAS,GAAG,CAAC;IACtB;IAEAF,OAAOE,SAAS,GAAG;QACjBC,SAAST;QACT,GAAGM,OAAOE,SAAS;QACnB,GAAGD,SAAS;IACd;IAEA,OAAOD;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/config",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.13",
|
|
4
4
|
"description": "A library for interacting with the app.json",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -47,12 +47,11 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@expo/config-plugins": "~58.0.
|
|
50
|
+
"@expo/config-plugins": "~58.0.14",
|
|
51
51
|
"@expo/config-types": "^58.0.3",
|
|
52
52
|
"@expo/json-file": "^11.2.1",
|
|
53
53
|
"@expo/platforms": "^58.0.1",
|
|
54
|
-
"@expo/require-utils": "^58.0.
|
|
55
|
-
"getenv": "^2.0.0",
|
|
54
|
+
"@expo/require-utils": "^58.0.6",
|
|
56
55
|
"resolve-workspace-root": "^2.0.0",
|
|
57
56
|
"semver": "^7.7.4",
|
|
58
57
|
"slugify": "^1.3.4"
|
|
@@ -60,7 +59,6 @@
|
|
|
60
59
|
"devDependencies": {
|
|
61
60
|
"@expo/internal-scripts": "58.0.6",
|
|
62
61
|
"@types/babel__code-frame": "^7.27.0",
|
|
63
|
-
"@types/getenv": "^1.0.3",
|
|
64
62
|
"@types/semver": "^7.7.1",
|
|
65
63
|
"memfs": "^3.6.0"
|
|
66
64
|
},
|