@tamagui/static 1.89.26 → 1.89.27-1708113113238
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/constants.native.js +4 -4
- package/dist/cjs/constants.native.js.map +3 -3
- package/dist/cjs/extractor/accessSafe.native.js +1 -5
- package/dist/cjs/extractor/accessSafe.native.js.map +3 -3
- package/dist/cjs/extractor/babelParse.native.js +5 -8
- package/dist/cjs/extractor/babelParse.native.js.map +3 -3
- package/dist/cjs/extractor/buildClassName.native.js +31 -42
- package/dist/cjs/extractor/buildClassName.native.js.map +3 -3
- package/dist/cjs/extractor/bundle.js +6 -4
- package/dist/cjs/extractor/bundle.js.map +1 -1
- package/dist/cjs/extractor/bundle.native.js +321 -56
- package/dist/cjs/extractor/bundle.native.js.map +3 -3
- package/dist/cjs/extractor/bundleConfig.native.js +499 -187
- package/dist/cjs/extractor/bundleConfig.native.js.map +3 -3
- package/dist/cjs/extractor/createEvaluator.native.js +9 -11
- package/dist/cjs/extractor/createEvaluator.native.js.map +3 -3
- package/dist/cjs/extractor/createExtractor.native.js +1240 -906
- package/dist/cjs/extractor/createExtractor.native.js.map +3 -3
- package/dist/cjs/extractor/ensureImportingConcat.native.js +11 -17
- package/dist/cjs/extractor/ensureImportingConcat.native.js.map +3 -3
- package/dist/cjs/extractor/esbuildAliasPlugin.native.js +22 -11
- package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +3 -3
- package/dist/cjs/extractor/evaluateAstNode.native.js +15 -21
- package/dist/cjs/extractor/evaluateAstNode.native.js.map +3 -3
- package/dist/cjs/extractor/extractHelpers.native.js +146 -38
- package/dist/cjs/extractor/extractHelpers.native.js.map +3 -3
- package/dist/cjs/extractor/extractMediaStyle.native.js +127 -54
- package/dist/cjs/extractor/extractMediaStyle.native.js.map +3 -3
- package/dist/cjs/extractor/extractToClassNames.native.js +449 -252
- package/dist/cjs/extractor/extractToClassNames.native.js.map +3 -3
- package/dist/cjs/extractor/findTopmostFunction.native.js +4 -4
- package/dist/cjs/extractor/findTopmostFunction.native.js.map +3 -3
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +415 -54
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
- package/dist/cjs/extractor/generatedUid.native.js +2 -2
- package/dist/cjs/extractor/generatedUid.native.js.map +3 -3
- package/dist/cjs/extractor/getPrefixLogs.native.js +2 -1
- package/dist/cjs/extractor/getPrefixLogs.native.js.map +3 -3
- package/dist/cjs/extractor/getPropValueFromAttributes.native.js +16 -19
- package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +3 -3
- package/dist/cjs/extractor/getSourceModule.native.js +20 -7
- package/dist/cjs/extractor/getSourceModule.native.js.map +3 -3
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js +336 -94
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +3 -3
- package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
- package/dist/cjs/extractor/hoistClassNames.native.js +8 -10
- package/dist/cjs/extractor/hoistClassNames.native.js.map +3 -3
- package/dist/cjs/extractor/literalToAst.native.js +89 -19
- package/dist/cjs/extractor/literalToAst.native.js.map +3 -3
- package/dist/cjs/extractor/loadFile.native.js +16 -8
- package/dist/cjs/extractor/loadFile.native.js.map +3 -3
- package/dist/cjs/extractor/loadTamagui.js +3 -3
- package/dist/cjs/extractor/loadTamagui.js.map +1 -1
- package/dist/cjs/extractor/loadTamagui.native.js +667 -192
- package/dist/cjs/extractor/loadTamagui.native.js.map +3 -3
- package/dist/cjs/extractor/logLines.native.js +24 -6
- package/dist/cjs/extractor/logLines.native.js.map +3 -3
- package/dist/cjs/extractor/normalizeTernaries.native.js +71 -20
- package/dist/cjs/extractor/normalizeTernaries.native.js.map +3 -3
- package/dist/cjs/extractor/propsToFontFamilyCache.native.js +3 -3
- package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +3 -3
- package/dist/cjs/extractor/removeUnusedHooks.native.js +69 -36
- package/dist/cjs/extractor/removeUnusedHooks.native.js.map +3 -3
- package/dist/cjs/extractor/timer.native.js +10 -9
- package/dist/cjs/extractor/timer.native.js.map +3 -3
- package/dist/cjs/extractor/validHTMLAttributes.native.js +1 -1
- package/dist/cjs/extractor/validHTMLAttributes.native.js.map +3 -3
- package/dist/cjs/getPragmaOptions.native.js +4 -9
- package/dist/cjs/getPragmaOptions.native.js.map +3 -3
- package/dist/cjs/helpers/memoize.native.js +5 -3
- package/dist/cjs/helpers/memoize.native.js.map +3 -3
- package/dist/cjs/helpers/requireTamaguiCore.native.js +2 -1
- package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
- package/dist/cjs/index.native.js.map +2 -2
- package/dist/cjs/minifyCSS.native.js.map +3 -3
- package/dist/cjs/registerRequire.native.js +56 -28
- package/dist/cjs/registerRequire.native.js.map +3 -3
- package/dist/cjs/server.native.js +175 -21
- package/dist/cjs/server.native.js.map +3 -3
- package/dist/cjs/setup.native.js.map +3 -3
- package/dist/cjs/static.native.js.map +2 -2
- package/dist/cjs/types.native.js.map +2 -2
- package/dist/cjs/webpackPlugin.native.js +26 -5
- package/dist/cjs/webpackPlugin.native.js.map +3 -3
- package/dist/esm/constants.native.js +4 -3
- package/dist/esm/constants.native.js.map +3 -3
- package/dist/esm/extractor/accessSafe.native.js +1 -5
- package/dist/esm/extractor/accessSafe.native.js.map +3 -3
- package/dist/esm/extractor/babelParse.native.js +5 -7
- package/dist/esm/extractor/babelParse.native.js.map +3 -3
- package/dist/esm/extractor/buildClassName.native.js +31 -41
- package/dist/esm/extractor/buildClassName.native.js.map +3 -3
- package/dist/esm/extractor/bundle.js +6 -4
- package/dist/esm/extractor/bundle.js.map +1 -1
- package/dist/esm/extractor/bundle.mjs +7 -5
- package/dist/esm/extractor/bundle.native.js +321 -56
- package/dist/esm/extractor/bundle.native.js.map +3 -3
- package/dist/esm/extractor/bundleConfig.native.js +499 -187
- package/dist/esm/extractor/bundleConfig.native.js.map +3 -3
- package/dist/esm/extractor/createEvaluator.native.js +9 -11
- package/dist/esm/extractor/createEvaluator.native.js.map +3 -3
- package/dist/esm/extractor/createExtractor.native.js +1241 -916
- package/dist/esm/extractor/createExtractor.native.js.map +3 -3
- package/dist/esm/extractor/ensureImportingConcat.native.js +11 -16
- package/dist/esm/extractor/ensureImportingConcat.native.js.map +3 -3
- package/dist/esm/extractor/esbuildAliasPlugin.native.js +22 -11
- package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +3 -3
- package/dist/esm/extractor/evaluateAstNode.native.js +15 -21
- package/dist/esm/extractor/evaluateAstNode.native.js.map +3 -3
- package/dist/esm/extractor/extractHelpers.native.js +146 -38
- package/dist/esm/extractor/extractHelpers.native.js.map +3 -3
- package/dist/esm/extractor/extractMediaStyle.native.js +127 -54
- package/dist/esm/extractor/extractMediaStyle.native.js.map +3 -3
- package/dist/esm/extractor/extractToClassNames.native.js +449 -252
- package/dist/esm/extractor/extractToClassNames.native.js.map +3 -3
- package/dist/esm/extractor/findTopmostFunction.native.js +4 -4
- package/dist/esm/extractor/findTopmostFunction.native.js.map +3 -3
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +415 -54
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
- package/dist/esm/extractor/generatedUid.native.js +2 -2
- package/dist/esm/extractor/generatedUid.native.js.map +3 -3
- package/dist/esm/extractor/getPrefixLogs.native.js +2 -1
- package/dist/esm/extractor/getPrefixLogs.native.js.map +3 -3
- package/dist/esm/extractor/getPropValueFromAttributes.native.js +16 -19
- package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +3 -3
- package/dist/esm/extractor/getSourceModule.native.js +20 -7
- package/dist/esm/extractor/getSourceModule.native.js.map +3 -3
- package/dist/esm/extractor/getStaticBindingsForScope.native.js +336 -94
- package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +3 -3
- package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
- package/dist/esm/extractor/hoistClassNames.native.js +8 -10
- package/dist/esm/extractor/hoistClassNames.native.js.map +3 -3
- package/dist/esm/extractor/literalToAst.native.js +89 -19
- package/dist/esm/extractor/literalToAst.native.js.map +3 -3
- package/dist/esm/extractor/loadFile.native.js +16 -8
- package/dist/esm/extractor/loadFile.native.js.map +3 -3
- package/dist/esm/extractor/loadTamagui.js +1 -2
- package/dist/esm/extractor/loadTamagui.js.map +1 -1
- package/dist/esm/extractor/loadTamagui.mjs +5 -3
- package/dist/esm/extractor/loadTamagui.native.js +668 -203
- package/dist/esm/extractor/loadTamagui.native.js.map +3 -3
- package/dist/esm/extractor/logLines.native.js +24 -6
- package/dist/esm/extractor/logLines.native.js.map +3 -3
- package/dist/esm/extractor/normalizeTernaries.native.js +71 -20
- package/dist/esm/extractor/normalizeTernaries.native.js.map +3 -3
- package/dist/esm/extractor/propsToFontFamilyCache.native.js +3 -3
- package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +3 -3
- package/dist/esm/extractor/removeUnusedHooks.native.js +69 -35
- package/dist/esm/extractor/removeUnusedHooks.native.js.map +3 -3
- package/dist/esm/extractor/timer.native.js +10 -9
- package/dist/esm/extractor/timer.native.js.map +3 -3
- package/dist/esm/extractor/validHTMLAttributes.native.js +1 -1
- package/dist/esm/extractor/validHTMLAttributes.native.js.map +3 -3
- package/dist/esm/getPragmaOptions.native.js +4 -9
- package/dist/esm/getPragmaOptions.native.js.map +3 -3
- package/dist/esm/helpers/memoize.native.js +5 -3
- package/dist/esm/helpers/memoize.native.js.map +3 -3
- package/dist/esm/helpers/requireTamaguiCore.native.js +2 -1
- package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/minifyCSS.native.js.map +3 -3
- package/dist/esm/registerRequire.native.js +56 -28
- package/dist/esm/registerRequire.native.js.map +3 -3
- package/dist/esm/server.native.js +175 -21
- package/dist/esm/server.native.js.map +3 -3
- package/dist/esm/setup.native.js.map +3 -3
- package/dist/esm/static.native.js.map +3 -3
- package/dist/esm/webpackPlugin.native.js +26 -5
- package/dist/esm/webpackPlugin.native.js.map +3 -3
- package/package.json +14 -15
- package/src/extractor/bundle.ts +5 -2
- package/src/extractor/loadTamagui.ts +3 -2
- package/types/extractor/bundle.d.ts.map +1 -1
- package/types/extractor/loadTamagui.d.ts.map +1 -1
- package/tamagui.tsconfig.json +0 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../../src/helpers/memoize.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../../src/helpers/Users/n8/tamagui/packages/static/src/helpers/memoize.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AACO,SAASA,QAAQC,MAAiBC,UAAc;AACrD,MACE,OAAOD,QAAS,cACfC,YAAY,QAAQ,OAAOA,YAAa;AAEzC,UAAM,IAAIC,UAAU,qBAAA;AAEtB,MAAMC,WAAW,WAAA;AAAU,aAAA,OAAA,UAAA,QAAGC,OAAH,IAAA,MAAA,IAAA,GAAA,OAAA,GAAA,OAAA,MAAA;AAAGA,WAAH,IAAA,IAAA,UAAA,IAAA;AACzB,QAAMC,MAAMJ,WAAWA,SAASK,MAAM,MAAMF,IAAAA,IAAQA,KAAK,CAAA,GACnDG,QAAQJ,SAASI;AAEvB,QAAIA,MAAMC,IAAIH,GAAAA;AACZ,aAAOE,MAAME,IAAIJ,GAAAA;AAEnB,QAAMK,SAASV,KAAKM,MAAM,MAAMF,IAAAA;AAChCD,oBAASI,QAAQA,MAAMI,IAAIN,KAAKK,MAAAA,KAAWH,OACpCG;EACT;AACAP,kBAASI,QAAQ,KAAKR,QAAQa,SAASC,KAAE,GAClCV;AACT;AAEAJ,QAAQa,QAAQC;",
|
5
|
+
"names": ["memoize", "func", "resolver", "TypeError", "memoized", "args", "key", "apply", "cache", "has", "get", "result", "set", "Cache", "Map"]
|
6
6
|
}
|
@@ -18,7 +18,8 @@ __export(requireTamaguiCore_exports, {
|
|
18
18
|
requireTamaguiCore: () => requireTamaguiCore
|
19
19
|
});
|
20
20
|
module.exports = __toCommonJS(requireTamaguiCore_exports);
|
21
|
-
function requireTamaguiCore(platform
|
21
|
+
function requireTamaguiCore(platform) {
|
22
|
+
var ogRequire = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : require;
|
22
23
|
if (!platform)
|
23
24
|
throw new Error("No platform given to requireTamaguiCore");
|
24
25
|
return ogRequire(platform === "native" ? "@tamagui/core/native" : "@tamagui/core");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../../src/helpers/requireTamaguiCore.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../../src/helpers/Users/n8/tamagui/packages/static/src/helpers/requireTamaguiCore.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAIO,SAASA,mBACdC,UAAyB;MACzBC,YAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAsBC;AAEtB,MAAI,CAACF;AACH,UAAM,IAAIG,MAAO,yCAAA;AAEnB,SAAOF,UAAUD,aAAa,WAAW,yBAAyB,eAAA;AACpE;",
|
5
|
+
"names": ["requireTamaguiCore", "platform", "ogRequire", "require", "Error"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/index.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;AAAA
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/index.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;AAAA;;mBAAO;AACP,wBAAc,qBADd;AAEA,wBAAc,wBAFd;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/minifyCSS.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA
|
5
|
-
"names": ["browserslist"]
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/minifyCSS.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;0BAAyB,kCACzB,sBAAiD;AAE1C,SAASA,UAAUC,OAAa;AACrC,aAAOC,+BAAU;IACfC,UAAU;IACVC,MAAMC,OAAOC,KAAKL,KAAAA;IAClBM,QAAQ;IACRC,aAASC,+CAAsBC,oBAAAA,SAAa,SAAA,CAAA;IAC5CC,WAAW;EACb,CAAA;AACF;",
|
5
|
+
"names": ["minifyCSS", "input", "transform", "filename", "code", "Buffer", "from", "minify", "targets", "browserslistToTargets", "browserslist", "sourceMap"]
|
6
6
|
}
|
@@ -21,32 +21,59 @@ __export(registerRequire_exports, {
|
|
21
21
|
});
|
22
22
|
module.exports = __toCommonJS(registerRequire_exports);
|
23
23
|
var import_node = require("esbuild-register/dist/node"), import_requireTamaguiCore = require("./helpers/requireTamaguiCore"), import_bundle = require("./extractor/bundle");
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
function _define_property(obj, key, value) {
|
25
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
26
|
+
value,
|
27
|
+
enumerable: !0,
|
28
|
+
configurable: !0,
|
29
|
+
writable: !0
|
30
|
+
}) : obj[key] = value, obj;
|
31
|
+
}
|
32
|
+
function _object_spread(target) {
|
33
|
+
for (var i = 1; i < arguments.length; i++) {
|
34
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
35
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
36
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
37
|
+
}))), ownKeys.forEach(function(key) {
|
38
|
+
_define_property(target, key, source[key]);
|
39
|
+
});
|
40
|
+
}
|
41
|
+
return target;
|
42
|
+
}
|
43
|
+
var _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS, nameToPaths = {}, Module = require("module"), getNameToPaths = function() {
|
44
|
+
return nameToPaths;
|
45
|
+
}, proxyWorm = require("@tamagui/proxy-worm"), rnw = require("react-native-web"), isRegistered = !1, og, whitelisted = {
|
27
46
|
react: !0
|
28
47
|
}, compiled = {};
|
29
48
|
function setRequireResult(name, result) {
|
30
49
|
compiled[name] = result;
|
31
50
|
}
|
32
|
-
function registerRequire(platform
|
33
|
-
proxyWormImports:
|
34
|
-
|
51
|
+
function registerRequire(platform) {
|
52
|
+
var proxyWormImports = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
53
|
+
proxyWormImports: !1
|
54
|
+
}).proxyWormImports;
|
35
55
|
if (isRegistered)
|
36
56
|
return {
|
37
57
|
tamaguiRequire: require,
|
38
|
-
unregister: ()
|
58
|
+
unregister: function() {
|
39
59
|
}
|
40
60
|
};
|
41
|
-
|
61
|
+
var unregister = (0, import_node.register)({
|
42
62
|
hookIgnoreNodeModules: !1
|
43
|
-
});
|
63
|
+
}).unregister;
|
44
64
|
og || (og = Module.prototype.require), isRegistered = !0, Module.prototype.require = tamaguiRequire;
|
45
65
|
function tamaguiRequire(path) {
|
66
|
+
var _this = this;
|
46
67
|
if (path === "tamagui" && platform === "native")
|
47
|
-
return og.apply(this, [
|
68
|
+
return og.apply(this, [
|
69
|
+
"tamagui/native"
|
70
|
+
]);
|
48
71
|
if (path === "@tamagui/core" || path === "@tamagui/web")
|
49
|
-
return (0, import_requireTamaguiCore.requireTamaguiCore)(platform, (path2)
|
72
|
+
return (0, import_requireTamaguiCore.requireTamaguiCore)(platform, function(path2) {
|
73
|
+
return og.apply(_this, [
|
74
|
+
path2
|
75
|
+
]);
|
76
|
+
});
|
50
77
|
if (path in compiled)
|
51
78
|
return compiled[path];
|
52
79
|
if (import_bundle.esbuildIgnoreFilesRegex.test(path))
|
@@ -60,36 +87,37 @@ function registerRequire(platform, { proxyWormImports } = {
|
|
60
87
|
if (path in knownIgnorableModules)
|
61
88
|
return proxyWorm;
|
62
89
|
if (!whitelisted[path] && proxyWormImports && !path.includes(".tamagui-dynamic-eval"))
|
63
|
-
return path === "tamagui" ? og.apply(this, [
|
90
|
+
return path === "tamagui" ? og.apply(this, [
|
91
|
+
path
|
92
|
+
]) : proxyWorm;
|
64
93
|
try {
|
65
|
-
|
94
|
+
var out = og.apply(this, arguments);
|
95
|
+
return out;
|
66
96
|
} catch (err) {
|
67
|
-
return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || (hasWarnedForModules.add(path), console.info(
|
68
|
-
` tamagui: skipping ${path} tamagui.dev/docs/intro/errors#warning-001`
|
69
|
-
)) : console.error(
|
70
|
-
`Tamagui failed loading "${path}"
|
97
|
+
return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || (hasWarnedForModules.add(path), console.info(" tamagui: skipping ".concat(path, " tamagui.dev/docs/intro/errors#warning-001"))) : console.error('Tamagui failed loading "'.concat(path, `"
|
71
98
|
|
72
|
-
|
73
|
-
|
99
|
+
`).concat(err.message, `
|
100
|
+
`).concat(err.stack, `
|
74
101
|
|
75
|
-
`
|
76
|
-
)), proxyWorm);
|
102
|
+
`))), proxyWorm);
|
77
103
|
}
|
78
104
|
}
|
79
105
|
return {
|
80
106
|
tamaguiRequire,
|
81
|
-
unregister: ()
|
107
|
+
unregister: function() {
|
82
108
|
unregister(), isRegistered = !1, Module.prototype.require = og;
|
83
109
|
}
|
84
110
|
};
|
85
111
|
}
|
86
|
-
|
87
|
-
var _a;
|
88
|
-
const extraIgnores = IGNORES === "true" ? [] : (_a = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS) == null ? void 0 : _a.split(","), knownIgnorableModules = {
|
112
|
+
var packageJson = require("react-native-web/package.json"), IGNORES = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS, extraIgnores = IGNORES === "true" ? [] : (_process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS) === null || _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS === void 0 ? void 0 : _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS.split(","), knownIgnorableModules = _object_spread({
|
89
113
|
"expo-modules": !0,
|
90
|
-
solito: !0
|
91
|
-
|
92
|
-
|
114
|
+
solito: !0
|
115
|
+
}, Object.fromEntries((extraIgnores == null ? void 0 : extraIgnores.map(function(k) {
|
116
|
+
return [
|
117
|
+
k,
|
118
|
+
!0
|
119
|
+
];
|
120
|
+
})) || [])), hasWarnedForModules = /* @__PURE__ */ new Set(), allowedIgnores = {
|
93
121
|
"expo-constants": !0,
|
94
122
|
"./ExpoHaptics": !0,
|
95
123
|
"./js/MaskedView": !0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/registerRequire.ts"],
|
4
|
-
"mappings": "
|
5
|
-
"names": ["path"]
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/registerRequire.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAyB,uCAEzB,4BAAmC,yCAEnC,gBAAwC;;;;;;;;;;;;;;;;;;;;IAiLZA,2CA/KtBC,cAAc,CAAC,GACfC,SAASC,QAAQ,QAAA,GAEVC,iBAAiB,WAAA;SAAMH;GAE9BI,YAAYF,QAAQ,qBAAA,GAEpBG,MAAMH,QAAQ,kBAAA,GAEhBI,eAAe,IACfC,IAEEC,cAAc;EAClBC,OAAO;AACT,GAEMC,WAAW,CAAC;AACX,SAASC,iBAAiBC,MAAcC,QAAW;AACxDH,WAASE,IAAAA,IAAQC;AACnB;AAEO,SAASC,gBACdC,UAAyB;MACvBC,oBAAF,UAAA,SAAA,KAAA,UAAA,CAAA,MAAA,SAAA,UAAA,CAAA,IAAuB;IACrBA,kBAAkB;EACpB,GAFEA;AAKF,MAAIV;AACF,WAAO;MACLW,gBAAgBf;MAChBgB,YAAY,WAAA;MAAO;IACrB;AAGF,MAAQA,iBAAeC,sBAAS;IAC9BC,uBAAuB;EACzB,CAAA,EAFQF;AAIR,EAAKX,OACHA,KAAKN,OAAOoB,UAAUnB,UAGxBI,eAAe,IAEfL,OAAOoB,UAAUnB,UAAUe;AAE3B,WAASA,eAA0BK,MAAY;;AAC7C,QAAIA,SAAS,aAAaP,aAAa;AACrC,aAAOR,GAAGgB,MAAM,MAAM;QAAC;OAAiB;AAG1C,QAAID,SAAS,mBAAmBA,SAAS;AACvC,iBAAOE,8CAAmBT,UAAU,SAACO,OAAAA;AACnC,eAAOf,GAAGgB,MAAK,OAAO;UAACD;SAAK;MAC9B,CAAA;AAGF,QAAIA,QAAQZ;AACV,aAAOA,SAASY,IAAAA;AAGlB,QAAIG,sCAAwBC,KAAKJ,IAAAA;AAC/B,aAAO,CAAC;AAGV,QACEA,SAAS,0BACTA,KAAKK,WAAW,yBAAA,KAChBL,SAAS,0BACTA,SAAS,wBACTA,SAAS,6BACTA,SAAS;AAET,aAAOlB;AAET,QAAIkB,SAAS;AACX,aAAOM;AAGT,QAAIN,SAAS,2BAA2BA,KAAKK,WAAW,cAAA;AACtD,aAAOtB;AAGT,QAAIiB,QAAQO;AACV,aAAOzB;AAGT,QAAI,CAACI,YAAYc,IAAAA,KACXN,oBAAoB,CAACM,KAAKQ,SAAS,uBAAA;AACrC,aAAIR,SAAS,YACJf,GAAGgB,MAAM,MAAM;QAACD;OAAK,IAEvBlB;AAIX,QAAI;AACF,UAAM2B,MAAMxB,GAAGgB,MAAM,MAAMS,SAAAA;AAwB3B,aAAOD;IACT,SAASE,KAAU;AACjB,aACE,CAAClC,QAAQmC,IAAIC,oCACbb,KAAKQ,SAAS,sBAAA,IAGd,UAEEM,eAAed,IAAAA,KAASe,YAAY,WAE7B,CAACtC,QAAQmC,IAAII,mCAAmC,CAACvC,QAAQmC,IAAIK,QAClEC,oBAAoBC,IAAInB,IAAAA,MAG1BkB,oBAAoBE,IAAIpB,IAAAA,GACxBqB,QAAQC,KACL,uBAA2B,OAALtB,MAAK,4CAAA,CAAA,KAShCqB,QAAQE,MACL,2BAEPZ,OAFiCX,MAAK;;GAAA,EAGtCW,OADAA,IAAIa,SAAQ;GAAA,EACF,OAAVb,IAAIc,OAAM;;GAAA,CAAA,IAMD3C;IACT;EACF;AAEA,SAAO;IACLa;IACAC,YAAY,WAAA;AACVA,iBAAAA,GACAZ,eAAe,IACfL,OAAOoB,UAAUnB,UAAUK;IAC7B;EACF;AACF;AAEA,IAAMqB,cAAc1B,QAAQ,+BAAA,GACtBmC,UAAUtC,QAAQmC,IAAIc,8BACtBC,eACJZ,YAAY,SAAS,CAAA,KAAKtC,4CAAAA,QAAQmC,IAAIc,kCAA4B,QAAxCjD,8CAAAA,SAAAA,SAAAA,0CAA0CmD,MAAM,GAAA,GACtErB,wBAAwB,eAAA;EAC5B,gBAAgB;EAChBsB,QAAQ;GACLC,OAAOC,aAAYJ,gBAAAA,OAAAA,SAAAA,aAAcK,IAAI,SAACC,GAAAA;SAAM;IAACA;IAAG;;OAAU,CAAA,CAAE,CAAA,GAG3Df,sBAAsB,oBAAIgB,IAAAA,GAE1BpB,iBAAiB;EACrB,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;AACrB;",
|
5
|
+
"names": ["process", "nameToPaths", "Module", "require", "getNameToPaths", "proxyWorm", "rnw", "isRegistered", "og", "whitelisted", "react", "compiled", "setRequireResult", "name", "result", "registerRequire", "platform", "proxyWormImports", "tamaguiRequire", "unregister", "register", "hookIgnoreNodeModules", "prototype", "path", "apply", "requireTamaguiCore", "esbuildIgnoreFilesRegex", "test", "startsWith", "packageJson", "knownIgnorableModules", "includes", "out", "arguments", "err", "env", "TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD", "allowedIgnores", "IGNORES", "TAMAGUI_SHOW_FULL_BUNDLE_ERRORS", "DEBUG", "hasWarnedForModules", "has", "add", "console", "info", "error", "message", "stack", "TAMAGUI_IGNORE_BUNDLE_ERRORS", "extraIgnores", "split", "solito", "Object", "fromEntries", "map", "k", "Set"]
|
6
6
|
}
|
@@ -27,31 +27,185 @@ __export(server_exports, {
|
|
27
27
|
});
|
28
28
|
module.exports = __toCommonJS(server_exports);
|
29
29
|
var import_node_net = __toESM(require("node:net"));
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
30
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
31
|
+
try {
|
32
|
+
var info = gen[key](arg), value = info.value;
|
33
|
+
} catch (error) {
|
34
|
+
reject(error);
|
35
|
+
return;
|
36
|
+
}
|
37
|
+
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
38
|
+
}
|
39
|
+
function _async_to_generator(fn) {
|
40
|
+
return function() {
|
41
|
+
var self = this, args = arguments;
|
42
|
+
return new Promise(function(resolve, reject) {
|
43
|
+
var gen = fn.apply(self, args);
|
44
|
+
function _next(value) {
|
45
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
46
|
+
}
|
47
|
+
function _throw(err) {
|
48
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
49
|
+
}
|
50
|
+
_next(void 0);
|
42
51
|
});
|
43
|
-
}
|
52
|
+
};
|
53
|
+
}
|
54
|
+
function _ts_generator(thisArg, body) {
|
55
|
+
var f, y, t, g, _ = {
|
56
|
+
label: 0,
|
57
|
+
sent: function() {
|
58
|
+
if (t[0] & 1)
|
59
|
+
throw t[1];
|
60
|
+
return t[1];
|
61
|
+
},
|
62
|
+
trys: [],
|
63
|
+
ops: []
|
64
|
+
};
|
65
|
+
return g = {
|
66
|
+
next: verb(0),
|
67
|
+
throw: verb(1),
|
68
|
+
return: verb(2)
|
69
|
+
}, typeof Symbol == "function" && (g[Symbol.iterator] = function() {
|
70
|
+
return this;
|
71
|
+
}), g;
|
72
|
+
function verb(n) {
|
73
|
+
return function(v) {
|
74
|
+
return step([
|
75
|
+
n,
|
76
|
+
v
|
77
|
+
]);
|
78
|
+
};
|
79
|
+
}
|
80
|
+
function step(op) {
|
81
|
+
if (f)
|
82
|
+
throw new TypeError("Generator is already executing.");
|
83
|
+
for (; _; )
|
84
|
+
try {
|
85
|
+
if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
86
|
+
return t;
|
87
|
+
switch (y = 0, t && (op = [
|
88
|
+
op[0] & 2,
|
89
|
+
t.value
|
90
|
+
]), op[0]) {
|
91
|
+
case 0:
|
92
|
+
case 1:
|
93
|
+
t = op;
|
94
|
+
break;
|
95
|
+
case 4:
|
96
|
+
return _.label++, {
|
97
|
+
value: op[1],
|
98
|
+
done: !1
|
99
|
+
};
|
100
|
+
case 5:
|
101
|
+
_.label++, y = op[1], op = [
|
102
|
+
0
|
103
|
+
];
|
104
|
+
continue;
|
105
|
+
case 7:
|
106
|
+
op = _.ops.pop(), _.trys.pop();
|
107
|
+
continue;
|
108
|
+
default:
|
109
|
+
if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
110
|
+
_ = 0;
|
111
|
+
continue;
|
112
|
+
}
|
113
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
114
|
+
_.label = op[1];
|
115
|
+
break;
|
116
|
+
}
|
117
|
+
if (op[0] === 6 && _.label < t[1]) {
|
118
|
+
_.label = t[1], t = op;
|
119
|
+
break;
|
120
|
+
}
|
121
|
+
if (t && _.label < t[2]) {
|
122
|
+
_.label = t[2], _.ops.push(op);
|
123
|
+
break;
|
124
|
+
}
|
125
|
+
t[2] && _.ops.pop(), _.trys.pop();
|
126
|
+
continue;
|
127
|
+
}
|
128
|
+
op = body.call(thisArg, _);
|
129
|
+
} catch (e) {
|
130
|
+
op = [
|
131
|
+
6,
|
132
|
+
e
|
133
|
+
], y = 0;
|
134
|
+
} finally {
|
135
|
+
f = t = 0;
|
136
|
+
}
|
137
|
+
if (op[0] & 5)
|
138
|
+
throw op[1];
|
139
|
+
return {
|
140
|
+
value: op[0] ? op[1] : void 0,
|
141
|
+
done: !0
|
142
|
+
};
|
143
|
+
}
|
44
144
|
}
|
45
|
-
|
46
|
-
return
|
145
|
+
function startServer(options) {
|
146
|
+
return _startServer.apply(this, arguments);
|
147
|
+
}
|
148
|
+
function _startServer() {
|
149
|
+
return _startServer = _async_to_generator(function(options) {
|
150
|
+
var port, server;
|
151
|
+
return _ts_generator(this, function(_state) {
|
152
|
+
switch (_state.label) {
|
153
|
+
case 0:
|
154
|
+
return [
|
155
|
+
4,
|
156
|
+
getAvailablePort()
|
157
|
+
];
|
158
|
+
case 1:
|
159
|
+
return port = _state.sent(), server = import_node_net.default.createServer(), server.unref(), [
|
160
|
+
4,
|
161
|
+
new Promise(function(resolve, reject) {
|
162
|
+
server.on("error", reject), server.on("connection", function(conn) {
|
163
|
+
conn.on("data", function(data) {
|
164
|
+
console.info("got", data.toString());
|
165
|
+
});
|
166
|
+
}), server.listen({
|
167
|
+
port
|
168
|
+
}, function() {
|
169
|
+
var port2 = server.address().port;
|
170
|
+
server.close(function() {
|
171
|
+
resolve(port2);
|
172
|
+
});
|
173
|
+
});
|
174
|
+
})
|
175
|
+
];
|
176
|
+
case 2:
|
177
|
+
return _state.sent(), [
|
178
|
+
2
|
179
|
+
];
|
180
|
+
}
|
181
|
+
});
|
182
|
+
}), _startServer.apply(this, arguments);
|
183
|
+
}
|
184
|
+
function getAvailablePort() {
|
185
|
+
return _getAvailablePort.apply(this, arguments);
|
186
|
+
}
|
187
|
+
function _getAvailablePort() {
|
188
|
+
return _getAvailablePort = _async_to_generator(function() {
|
189
|
+
var port, _arguments = arguments;
|
190
|
+
return _ts_generator(this, function(_state) {
|
191
|
+
return port = _arguments.length > 0 && _arguments[0] !== void 0 ? _arguments[0] : 8089, [
|
192
|
+
2,
|
193
|
+
checkAvailablePort(port).catch(function() {
|
194
|
+
return getAvailablePort(port + 1);
|
195
|
+
})
|
196
|
+
];
|
197
|
+
});
|
198
|
+
}), _getAvailablePort.apply(this, arguments);
|
47
199
|
}
|
48
200
|
function checkAvailablePort(port) {
|
49
|
-
return new Promise((resolve, reject)
|
50
|
-
|
51
|
-
server.unref(), server.on("error", reject), server.listen({
|
52
|
-
|
53
|
-
|
54
|
-
|
201
|
+
return new Promise(function(resolve, reject) {
|
202
|
+
var server = import_node_net.default.createServer();
|
203
|
+
server.unref(), server.on("error", reject), server.listen({
|
204
|
+
port
|
205
|
+
}, function() {
|
206
|
+
var _$port = server.address().port;
|
207
|
+
server.close(function() {
|
208
|
+
resolve(_$port);
|
55
209
|
});
|
56
210
|
});
|
57
211
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/server.ts"],
|
4
|
-
"mappings": "
|
5
|
-
"names": ["
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/server.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhB,SAAsBA,YAAYC,SAAuB;SAAnCD,aAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,eAAAA;AAAAA,wBAAf,oBAAA,SAA2BC,SAAuB;QACjDC,MACAC;;;;AADO,iBAAA;;YAAMC,iBAAAA;;;AAAbF,wBAAO,OAAA,KAAA,GACPC,SAASE,gBAAAA,QAAIC,aAAY,GAC/BH,OAAOI,MAAK,GAEZ;;YAAM,IAAIC,QAAQ,SAACC,SAASC,QAAAA;AAC1BP,qBAAOQ,GAAG,SAASD,MAAAA,GACnBP,OAAOQ,GAAG,cAAc,SAACC,MAAAA;AACvBA,qBAAKD,GAAG,QAAQ,SAACE,MAAAA;AACfC,0BAAQC,KAAK,OAAOF,KAAKG,SAAQ,CAAA;gBACnC,CAAA;cACF,CAAA,GACAb,OAAOc,OAAO;gBAAEf;cAAK,GAAG,WAAA;AACtB,oBAAQA,QAASC,OAAOe,QAAO,EAAvBhB;AACRC,uBAAOgB,MAAM,WAAA;AACXV,0BAAQP,KAAAA;gBACV,CAAA;cACF,CAAA;YACF,CAAA;;;AAbA,wBAAA,KAAA;;;;;EAcF,CAAA,GAnBsBF,aAAAA,MAAAA,MAAAA,SAAAA;;SAqBPI,mBAAAA;SAAAA,kBAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,oBAAAA;AAAAA,6BAAf,oBAAA,WAAA;QAAgCF;;AAAAA,oBAAAA,WAAAA,SAAAA,KAAAA,WAAAA,CAAAA,MAAAA,SAAAA,WAAAA,CAAAA,IAAO,MACrC;;QAAOkB,mBAAmBlB,IAAAA,EAAMmB,MAAM,WAAA;iBAAMjB,iBAAiBF,OAAO,CAAA;;;;EACtE,CAAA,GAFeE,kBAAAA,MAAAA,MAAAA,SAAAA;;AAIf,SAASgB,mBAAmBlB,MAAY;AACtC,SAAO,IAAIM,QAAgB,SAACC,SAASC,QAAAA;AACnC,QAAMP,SAASE,gBAAAA,QAAIC,aAAY;AAC/BH,WAAOI,MAAK,GACZJ,OAAOQ,GAAG,SAASD,MAAAA,GAEnBP,OAAOc,OAAO;MAAEf;IAAK,GAAG,WAAA;AACtB,UAAQA,SAASC,OAAOe,QAAO,EAAvBhB;AACRC,aAAOgB,MAAM,WAAA;AACXV,gBAAQP,MAAAA;MACV,CAAA;IACF,CAAA;EACF,CAAA;AACF;",
|
5
|
+
"names": ["startServer", "options", "port", "server", "getAvailablePort", "net", "createServer", "unref", "Promise", "resolve", "reject", "on", "conn", "data", "console", "info", "toString", "listen", "address", "close", "checkAvailablePort", "catch"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/setup.ts"],
|
4
|
-
"mappings": ";
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/setup.ts"],
|
4
|
+
"mappings": ";AAAAA,QAAQC,IAAIC,YAAY;",
|
5
|
+
"names": ["process", "env", "IS_STATIC"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/static.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/static.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;2BAAc,oBAAd;AACA,6BAAgC,wCAChC,sBAA6B;AAC7B,2BAAc,wBAHd;AAIA,2BAAc,4CAJd;AAKA,2BAAc,uCALd;AAMA,2BAAc,oCANd;AAOA,2BAAc,8BAPd;AAQA,2BAAc,+BARd;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -18,13 +18,34 @@ __export(webpackPlugin_exports, {
|
|
18
18
|
TamaguiWebpackPlugin: () => TamaguiWebpackPlugin
|
19
19
|
});
|
20
20
|
module.exports = __toCommonJS(webpackPlugin_exports);
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
function _class_call_check(instance, Constructor) {
|
22
|
+
if (!(instance instanceof Constructor))
|
23
|
+
throw new TypeError("Cannot call a class as a function");
|
24
|
+
}
|
25
|
+
function _defineProperties(target, props) {
|
26
|
+
for (var i = 0; i < props.length; i++) {
|
27
|
+
var descriptor = props[i];
|
28
|
+
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
26
29
|
}
|
27
30
|
}
|
31
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
32
|
+
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
33
|
+
}
|
34
|
+
var pluginName = "TamaguiWebpackPlugin", TamaguiWebpackPlugin = /* @__PURE__ */ function() {
|
35
|
+
"use strict";
|
36
|
+
function TamaguiWebpackPlugin2() {
|
37
|
+
_class_call_check(this, TamaguiWebpackPlugin2);
|
38
|
+
}
|
39
|
+
return _create_class(TamaguiWebpackPlugin2, [
|
40
|
+
{
|
41
|
+
key: "apply",
|
42
|
+
value: function(compiler) {
|
43
|
+
compiler.hooks.run.tap(pluginName, function(compilation) {
|
44
|
+
});
|
45
|
+
}
|
46
|
+
}
|
47
|
+
]), TamaguiWebpackPlugin2;
|
48
|
+
}();
|
28
49
|
// Annotate the CommonJS export names for ESM import in node:
|
29
50
|
0 && (module.exports = {
|
30
51
|
TamaguiWebpackPlugin
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/webpackPlugin.ts"],
|
4
|
-
"mappings": "
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/webpackPlugin.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAMA,aAAa,wBAENC,uBAAN,2BAAA;;WAAMA,wBAAAA;4BAAAA,qBAAAA;;uBAAAA,uBAAAA;;MACXC,KAAAA;aAAAA,SAAMC,UAAQ;AACZA,iBAASC,MAAMC,IAAIC,IAAIN,YAAY,SAACO,aAAAA;QAEpC,CAAA;MACF;;MALWN;;",
|
5
|
+
"names": ["pluginName", "TamaguiWebpackPlugin", "apply", "compiler", "hooks", "run", "tap", "compilation"]
|
6
6
|
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import findCacheDir from "find-cache-dir";
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
var _process_env_DEBUG, CSS_FILE_NAME = "__snack.css", MEDIA_SEP = "_", cacheDir = findCacheDir({
|
3
|
+
name: "tamagui",
|
4
|
+
create: !0
|
5
|
+
}), FAILED_EVAL = Symbol("failed_style_eval"), SHOULD_DEBUG = process.env.DEBUG === "*" || ((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0 ? void 0 : _process_env_DEBUG.startsWith("tamagui"));
|
5
6
|
export {
|
6
7
|
CSS_FILE_NAME,
|
7
8
|
FAILED_EVAL,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/constants.ts"],
|
4
|
-
"mappings": "AAAA,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/constants.ts"],
|
4
|
+
"mappings": "AAAA,OAAOA,kBAAkB;IAaMC,oBAXlBC,gBAAgB,eAGhBC,YAAY,KAGZC,WAAWJ,aAAa;EAAEK,MAAM;EAAWC,QAAQ;AAAK,CAAA,GAExDC,cAAcC,OAAO,mBAAA,GAErBC,eACXR,QAAQS,IAAIC,UAAU,SAAOV,qBAAAA,QAAQS,IAAIC,WAAK,QAAjBV,uBAAAA,SAAAA,SAAAA,mBAAmBW,WAAW,SAAA;",
|
5
|
+
"names": ["findCacheDir", "process", "CSS_FILE_NAME", "MEDIA_SEP", "cacheDir", "name", "create", "FAILED_EVAL", "Symbol", "SHOULD_DEBUG", "env", "DEBUG", "startsWith"]
|
6
6
|
}
|
@@ -5,11 +5,7 @@ function accessSafe(obj, member) {
|
|
5
5
|
t.logicalExpression(
|
6
6
|
"&&",
|
7
7
|
// typeof obj === 'object
|
8
|
-
t.binaryExpression(
|
9
|
-
"===",
|
10
|
-
t.unaryExpression("typeof", obj),
|
11
|
-
t.stringLiteral("object")
|
12
|
-
),
|
8
|
+
t.binaryExpression("===", t.unaryExpression("typeof", obj), t.stringLiteral("object")),
|
13
9
|
// obj !== null
|
14
10
|
t.binaryExpression("!==", obj, t.nullLiteral())
|
15
11
|
),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../../src/extractor/accessSafe.ts"],
|
4
|
-
"mappings": "AAAA,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/accessSafe.ts"],
|
4
|
+
"mappings": "AAAA,YAAYA,OAAO;AAIZ,SAASC,WAAWC,KAAmBC,QAAc;AAC1D,SAAOH,EAAEI;IACP;IACAJ,EAAEI;MACA;;MAEAJ,EAAEK,iBACA,OACAL,EAAEM,gBAAgB,UAAUJ,GAAAA,GAC5BF,EAAEO,cAAc,QAAA,CAAA;;MAGlBP,EAAEK,iBAAiB,OAAOH,KAAKF,EAAEQ,YAAW,CAAA;IAAA;;IAG9CR,EAAES,iBAAiBP,KAAKF,EAAEU,WAAWP,MAAAA,GAAS,EAAA;EAAA;AAElD;",
|
5
|
+
"names": ["t", "accessSafe", "obj", "member", "logicalExpression", "binaryExpression", "unaryExpression", "stringLiteral", "nullLiteral", "memberExpression", "identifier"]
|
6
6
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as babelParser from "@babel/parser";
|
2
|
-
|
2
|
+
var plugins = [
|
3
3
|
"asyncGenerators",
|
4
4
|
"classProperties",
|
5
5
|
"dynamicImport",
|
@@ -17,15 +17,13 @@ const plugins = [
|
|
17
17
|
sourceType: "module"
|
18
18
|
}), parser = babelParser.parse.bind(babelParser);
|
19
19
|
function babelParse(code, fileName) {
|
20
|
-
|
20
|
+
var codeString = code.toString();
|
21
21
|
try {
|
22
22
|
return parser(codeString, parserOptions);
|
23
23
|
} catch (err) {
|
24
|
-
throw new Error(
|
25
|
-
|
26
|
-
|
27
|
-
${err.stack}`
|
28
|
-
);
|
24
|
+
throw new Error("Error parsing babel: ".concat(err, " in ").concat(fileName, `, code:
|
25
|
+
`).concat(codeString, `
|
26
|
+
`).concat(err.stack));
|
29
27
|
}
|
30
28
|
}
|
31
29
|
export {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../../src/extractor/babelParse.ts"],
|
4
|
-
"mappings": "AAAA,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/babelParse.ts"],
|
4
|
+
"mappings": "AAAA,YAAYA,iBAAiB;AAG7B,IAAMC,UAAsC;EAC1C;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GAGWC,gBAA2CC,OAAOC,OAAO;EACpEH;EACAI,YAAY;AACd,CAAA,GAEMC,SAASN,YAAYO,MAAMC,KAAKR,WAAAA;AAE/B,SAASS,WAAWC,MAAuBC,UAAiB;AACjE,MAAMC,aAAaF,KAAKG,SAAQ;AAChC,MAAI;AACF,WAAOP,OAAOM,YAAYV,aAAAA;EAC5B,SAASY,KAAK;AACZ,UAAM,IAAIC,MACP,wBAAiCJ,OAAVG,KAAI,MAAA,EAA0BF,OAApBD,UAAS;CAAA,EACzC,OADoDC,YAAW;EAAA,EAEhE,OADEE,IAAYE,KAAK,CAAA;EAGxB;AACF;",
|
5
|
+
"names": ["babelParser", "plugins", "parserOptions", "Object", "freeze", "sourceType", "parser", "parse", "bind", "babelParse", "code", "fileName", "codeString", "toString", "err", "Error", "stack"]
|
6
6
|
}
|