@tamagui/static 1.135.3 → 1.135.4-1761749240853
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/dist/check-dep-versions.mjs +268 -0
- package/dist/check-dep-versions.mjs.map +1 -0
- package/dist/checkDeps.mjs +33 -0
- package/dist/checkDeps.mjs.map +1 -0
- package/dist/constants.mjs +50 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/exports.mjs +42 -0
- package/dist/exports.mjs.map +1 -0
- package/dist/extractor/accessSafe.mjs +47 -0
- package/dist/extractor/accessSafe.mjs.map +1 -0
- package/dist/extractor/babelParse.mjs +55 -0
- package/dist/extractor/babelParse.mjs.map +1 -0
- package/dist/extractor/bundle.mjs +149 -0
- package/dist/extractor/bundle.mjs.map +1 -0
- package/dist/extractor/bundleConfig.mjs +331 -0
- package/dist/extractor/bundleConfig.mjs.map +1 -0
- package/dist/extractor/concatClassName.mjs +79 -0
- package/dist/extractor/concatClassName.mjs.map +1 -0
- package/dist/extractor/createEvaluator.mjs +76 -0
- package/dist/extractor/createEvaluator.mjs.map +1 -0
- package/dist/extractor/createExtractor.mjs +976 -0
- package/dist/extractor/createExtractor.mjs.map +1 -0
- package/dist/extractor/createLogger.mjs +46 -0
- package/dist/extractor/createLogger.mjs.map +1 -0
- package/dist/extractor/errors.mjs +27 -0
- package/dist/extractor/errors.mjs.map +1 -0
- package/dist/extractor/esbuildAliasPlugin.mjs +45 -0
- package/dist/extractor/esbuildAliasPlugin.mjs.map +1 -0
- package/dist/extractor/esbuildTsconfigPaths.mjs +85 -0
- package/dist/extractor/esbuildTsconfigPaths.mjs.map +1 -0
- package/dist/extractor/evaluateAstNode.mjs +84 -0
- package/dist/extractor/evaluateAstNode.mjs.map +1 -0
- package/dist/extractor/extractHelpers.mjs +121 -0
- package/dist/extractor/extractHelpers.mjs.map +1 -0
- package/dist/extractor/extractMediaStyle.mjs +129 -0
- package/dist/extractor/extractMediaStyle.mjs.map +1 -0
- package/dist/extractor/extractToClassNames.mjs +304 -0
- package/dist/extractor/extractToClassNames.mjs.map +1 -0
- package/dist/extractor/extractToNative.mjs +262 -0
- package/dist/extractor/extractToNative.mjs.map +1 -0
- package/dist/extractor/findTopmostFunction.mjs +35 -0
- package/dist/extractor/findTopmostFunction.mjs.map +1 -0
- package/dist/extractor/{generatedUid.native.js → generatedUid.mjs} +26 -23
- package/dist/extractor/generatedUid.mjs.map +1 -0
- package/dist/extractor/getPrefixLogs.mjs +30 -0
- package/dist/extractor/getPrefixLogs.mjs.map +1 -0
- package/dist/extractor/getPropValueFromAttributes.mjs +68 -0
- package/dist/extractor/getPropValueFromAttributes.mjs.map +1 -0
- package/dist/extractor/getSourceModule.mjs +65 -0
- package/dist/extractor/getSourceModule.mjs.map +1 -0
- package/dist/extractor/getStaticBindingsForScope.mjs +149 -0
- package/dist/extractor/getStaticBindingsForScope.mjs.map +1 -0
- package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.mjs +36 -0
- package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.mjs.map +1 -0
- package/dist/extractor/literalToAst.mjs +85 -0
- package/dist/extractor/literalToAst.mjs.map +1 -0
- package/dist/extractor/loadFile.mjs +12 -0
- package/dist/extractor/loadFile.mjs.map +1 -0
- package/dist/extractor/loadTamagui.mjs +296 -0
- package/dist/extractor/loadTamagui.mjs.map +1 -0
- package/dist/extractor/logLines.mjs +36 -0
- package/dist/extractor/logLines.mjs.map +1 -0
- package/dist/extractor/{normalizeTernaries.native.js → normalizeTernaries.mjs} +45 -31
- package/dist/extractor/normalizeTernaries.mjs.map +1 -0
- package/dist/extractor/propsToFontFamilyCache.mjs +39 -0
- package/dist/extractor/propsToFontFamilyCache.mjs.map +1 -0
- package/dist/extractor/regenerateConfig.mjs +145 -0
- package/dist/extractor/regenerateConfig.mjs.map +1 -0
- package/dist/extractor/removeUnusedHooks.mjs +77 -0
- package/dist/extractor/removeUnusedHooks.mjs.map +1 -0
- package/dist/extractor/timer.mjs +44 -0
- package/dist/extractor/timer.mjs.map +1 -0
- package/dist/extractor/{validHTMLAttributes.native.js → validHTMLAttributes.mjs} +17 -16
- package/dist/extractor/validHTMLAttributes.mjs.map +1 -0
- package/dist/extractor/watchTamaguiConfig.mjs +59 -0
- package/dist/extractor/watchTamaguiConfig.mjs.map +1 -0
- package/dist/getPragmaOptions.mjs +55 -0
- package/dist/getPragmaOptions.mjs.map +1 -0
- package/dist/helpers/memoize.mjs +38 -0
- package/dist/helpers/memoize.mjs.map +1 -0
- package/dist/helpers/requireTamaguiCore.mjs +34 -0
- package/dist/helpers/requireTamaguiCore.mjs.map +1 -0
- package/dist/index.mjs +41 -0
- package/dist/index.mjs.map +1 -0
- package/dist/registerRequire.mjs +107 -0
- package/dist/registerRequire.mjs.map +1 -0
- package/dist/server.mjs +76 -0
- package/dist/server.mjs.map +1 -0
- package/dist/setup.mjs +2 -0
- package/dist/setup.mjs.map +1 -0
- package/dist/{types.native.js → types.mjs} +8 -6
- package/dist/types.mjs.map +1 -0
- package/package.json +19 -21
- package/dist/check-dep-versions.native.js +0 -602
- package/dist/check-dep-versions.native.js.map +0 -6
- package/dist/checkDeps.native.js +0 -34
- package/dist/checkDeps.native.js.map +0 -6
- package/dist/constants.native.js +0 -45
- package/dist/constants.native.js.map +0 -6
- package/dist/exports.native.js +0 -52
- package/dist/exports.native.js.map +0 -6
- package/dist/extractor/accessSafe.native.js +0 -48
- package/dist/extractor/accessSafe.native.js.map +0 -6
- package/dist/extractor/babelParse.native.js +0 -62
- package/dist/extractor/babelParse.native.js.map +0 -6
- package/dist/extractor/bundle.native.js +0 -168
- package/dist/extractor/bundle.native.js.map +0 -6
- package/dist/extractor/bundleConfig.native.js +0 -394
- package/dist/extractor/bundleConfig.native.js.map +0 -6
- package/dist/extractor/concatClassName.native.js +0 -69
- package/dist/extractor/concatClassName.native.js.map +0 -6
- package/dist/extractor/createEvaluator.native.js +0 -63
- package/dist/extractor/createEvaluator.native.js.map +0 -6
- package/dist/extractor/createExtractor.native.js +0 -1229
- package/dist/extractor/createExtractor.native.js.map +0 -6
- package/dist/extractor/createLogger.native.js +0 -35
- package/dist/extractor/createLogger.native.js.map +0 -6
- package/dist/extractor/errors.native.js +0 -119
- package/dist/extractor/errors.native.js.map +0 -6
- package/dist/extractor/esbuildAliasPlugin.native.js +0 -52
- package/dist/extractor/esbuildAliasPlugin.native.js.map +0 -6
- package/dist/extractor/esbuildTsconfigPaths.native.js +0 -79
- package/dist/extractor/esbuildTsconfigPaths.native.js.map +0 -6
- package/dist/extractor/evaluateAstNode.native.js +0 -98
- package/dist/extractor/evaluateAstNode.native.js.map +0 -6
- package/dist/extractor/extractHelpers.native.js +0 -183
- package/dist/extractor/extractHelpers.native.js.map +0 -6
- package/dist/extractor/extractMediaStyle.native.js +0 -138
- package/dist/extractor/extractMediaStyle.native.js.map +0 -6
- package/dist/extractor/extractToClassNames.native.js +0 -332
- package/dist/extractor/extractToClassNames.native.js.map +0 -6
- package/dist/extractor/extractToNative.native.js +0 -276
- package/dist/extractor/extractToNative.native.js.map +0 -6
- package/dist/extractor/findTopmostFunction.native.js +0 -37
- package/dist/extractor/findTopmostFunction.native.js.map +0 -6
- package/dist/extractor/generatedUid.native.js.map +0 -6
- package/dist/extractor/getPrefixLogs.native.js +0 -30
- package/dist/extractor/getPrefixLogs.native.js.map +0 -6
- package/dist/extractor/getPropValueFromAttributes.native.js +0 -68
- package/dist/extractor/getPropValueFromAttributes.native.js.map +0 -6
- package/dist/extractor/getSourceModule.native.js +0 -80
- package/dist/extractor/getSourceModule.native.js.map +0 -6
- package/dist/extractor/getStaticBindingsForScope.native.js +0 -183
- package/dist/extractor/getStaticBindingsForScope.native.js.map +0 -6
- package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.native.js +0 -37
- package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +0 -6
- package/dist/extractor/literalToAst.native.js +0 -106
- package/dist/extractor/literalToAst.native.js.map +0 -6
- package/dist/extractor/loadFile.native.js +0 -21
- package/dist/extractor/loadFile.native.js.map +0 -6
- package/dist/extractor/loadTamagui.native.js +0 -314
- package/dist/extractor/loadTamagui.native.js.map +0 -6
- package/dist/extractor/logLines.native.js +0 -53
- package/dist/extractor/logLines.native.js.map +0 -6
- package/dist/extractor/normalizeTernaries.native.js.map +0 -6
- package/dist/extractor/propsToFontFamilyCache.native.js +0 -40
- package/dist/extractor/propsToFontFamilyCache.native.js.map +0 -6
- package/dist/extractor/regenerateConfig.native.js +0 -148
- package/dist/extractor/regenerateConfig.native.js.map +0 -6
- package/dist/extractor/removeUnusedHooks.native.js +0 -111
- package/dist/extractor/removeUnusedHooks.native.js.map +0 -6
- package/dist/extractor/timer.native.js +0 -44
- package/dist/extractor/timer.native.js.map +0 -6
- package/dist/extractor/validHTMLAttributes.native.js.map +0 -6
- package/dist/extractor/watchTamaguiConfig.native.js +0 -60
- package/dist/extractor/watchTamaguiConfig.native.js.map +0 -6
- package/dist/getPragmaOptions.native.js +0 -62
- package/dist/getPragmaOptions.native.js.map +0 -6
- package/dist/helpers/memoize.native.js +0 -40
- package/dist/helpers/memoize.native.js.map +0 -6
- package/dist/helpers/requireTamaguiCore.native.js +0 -34
- package/dist/helpers/requireTamaguiCore.native.js.map +0 -6
- package/dist/index.native.js +0 -35
- package/dist/index.native.js.map +0 -6
- package/dist/registerRequire.native.js +0 -124
- package/dist/registerRequire.native.js.map +0 -6
- package/dist/server.native.js +0 -70
- package/dist/server.native.js.map +0 -6
- package/dist/setup.native.js +0 -2
- package/dist/setup.native.js.map +0 -6
- package/dist/types.native.js.map +0 -6
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/extractor/createExtractor.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAqB,qCACrB,IAAmB,kCACnB,mBAAgC,+BAChC,0BAAyC,yDACzC,aAAwD,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AAAA,YACA;AAAA,UACJ,EAAE,KAAK,GAAG,CAAC,GAGf,KAAK,KAAK,OAAO,cACjB,IAAI,aACA,mBAEA,eAAe,KAAK,OAAO;AAAA,QAGvC,SAAS,KAAK;AACV,eAAK,aAAa,cACZ,eAAe,wCACjB,QAAQ,MAAM,qDAAqD,QAAQ,IAAI,WAAW,OAAO,gBAAgB,KAAK,IAAI,OAAO,mDAAmD,GAChL,QAAQ,IAAI,kBAAkB,OAC9B,QAAQ,MAAM,IAAI,KAAK;AAAA,QAGnC,UAAE;AACE,UAAI,mBACA,mBAAmB;AAAA,QAE3B;AAAA,MACJ;AAAA,IACJ,CAAC,GACD,GAAG,KAAK,YAAY,CAAC,CAAC,gBAAgB,GACtC,GAAG,KAAK,qBAAqB,SAAS,GAC/B;AAAA,EACX;AACJ;",
|
|
5
|
-
"names": ["projectInfo", "platform", "traverse", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "key", "attr", "evaluateAttribute", "isStaticObject", "flattenNestedTernaries", "ternary", "name", "ternaries", "value", "val", "operator", "alt", "cons", "mergeToEnd", "normalizeStyleWithoutVariants", "res", "expanded", "key1", "mergeStyles", "prev", "cur", "param", "value1", "outProps"]
|
|
6
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var createLogger_exports = {};
|
|
17
|
-
__export(createLogger_exports, {
|
|
18
|
-
createLogger: () => createLogger
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(createLogger_exports);
|
|
21
|
-
var import_node_path = require("node:path"), import_getPrefixLogs = require("./getPrefixLogs");
|
|
22
|
-
function createLogger(sourcePath, options) {
|
|
23
|
-
var _options_logTimings, shouldLogTiming = (_options_logTimings = options.logTimings) !== null && _options_logTimings !== void 0 ? _options_logTimings : !0, start = Date.now(), mem = process.env.TAMAGUI_SHOW_MEMORY_USAGE && shouldLogTiming ? process.memoryUsage() : null;
|
|
24
|
-
return function(res) {
|
|
25
|
-
if (shouldLogTiming) {
|
|
26
|
-
var memUsed = mem ? Math.round((process.memoryUsage().heapUsed - mem.heapUsed) / 1024 / 1204 * 10) / 10 : 0, path = (0, import_node_path.basename)(sourcePath || "").replace(/\.[jt]sx?$/, "").slice(0, 22).trim().padEnd(24), numOptimized = `${res.optimized + res.styled}`.padStart(3), numFound = `${res.found + res.styled}`.padStart(3), numFlattened = `${res.flattened}`.padStart(3), memory = memUsed ? ` ${memUsed}MB` : "", timing = Date.now() - start, timingStr = `${timing}ms`.padStart(6), pre = (0, import_getPrefixLogs.getPrefixLogs)(options), memStr = memory ? `(${memory})` : "";
|
|
27
|
-
console.info(`${pre} ${path} \xB7 ${numFound} found \xB7 ${numOptimized} opt \xB7 ${numFlattened} flat ${timingStr} ${memStr}`);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
-
0 && (module.exports = {
|
|
33
|
-
createLogger
|
|
34
|
-
});
|
|
35
|
-
//# sourceMappingURL=createLogger.js.map
|
|
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object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var errors_exports = {};
|
|
17
|
-
__export(errors_exports, {
|
|
18
|
-
BailOptimizationError: () => BailOptimizationError
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(errors_exports);
|
|
21
|
-
function _assert_this_initialized(self) {
|
|
22
|
-
if (self === void 0)
|
|
23
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
24
|
-
return self;
|
|
25
|
-
}
|
|
26
|
-
function _call_super(_this, derived, args) {
|
|
27
|
-
return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
28
|
-
}
|
|
29
|
-
function _class_call_check(instance, Constructor) {
|
|
30
|
-
if (!(instance instanceof Constructor))
|
|
31
|
-
throw new TypeError("Cannot call a class as a function");
|
|
32
|
-
}
|
|
33
|
-
function _construct(Parent, args, Class) {
|
|
34
|
-
return _is_native_reflect_construct() ? _construct = Reflect.construct : _construct = function(Parent2, args2, Class2) {
|
|
35
|
-
var a = [
|
|
36
|
-
null
|
|
37
|
-
];
|
|
38
|
-
a.push.apply(a, args2);
|
|
39
|
-
var Constructor = Function.bind.apply(Parent2, a), instance = new Constructor();
|
|
40
|
-
return Class2 && _set_prototype_of(instance, Class2.prototype), instance;
|
|
41
|
-
}, _construct.apply(null, arguments);
|
|
42
|
-
}
|
|
43
|
-
function _get_prototype_of(o) {
|
|
44
|
-
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
|
|
45
|
-
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
46
|
-
}, _get_prototype_of(o);
|
|
47
|
-
}
|
|
48
|
-
function _inherits(subClass, superClass) {
|
|
49
|
-
if (typeof superClass != "function" && superClass !== null)
|
|
50
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
51
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
52
|
-
constructor: {
|
|
53
|
-
value: subClass,
|
|
54
|
-
writable: !0,
|
|
55
|
-
configurable: !0
|
|
56
|
-
}
|
|
57
|
-
}), superClass && _set_prototype_of(subClass, superClass);
|
|
58
|
-
}
|
|
59
|
-
function _is_native_function(fn) {
|
|
60
|
-
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
61
|
-
}
|
|
62
|
-
function _possible_constructor_return(self, call) {
|
|
63
|
-
return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
|
|
64
|
-
}
|
|
65
|
-
function _set_prototype_of(o, p) {
|
|
66
|
-
return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
|
|
67
|
-
return o2.__proto__ = p2, o2;
|
|
68
|
-
}, _set_prototype_of(o, p);
|
|
69
|
-
}
|
|
70
|
-
function _type_of(obj) {
|
|
71
|
-
"@swc/helpers - typeof";
|
|
72
|
-
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
73
|
-
}
|
|
74
|
-
function _wrap_native_super(Class) {
|
|
75
|
-
var _cache = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
76
|
-
return _wrap_native_super = function(Class2) {
|
|
77
|
-
if (Class2 === null || !_is_native_function(Class2)) return Class2;
|
|
78
|
-
if (typeof Class2 != "function")
|
|
79
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
80
|
-
if (typeof _cache < "u") {
|
|
81
|
-
if (_cache.has(Class2)) return _cache.get(Class2);
|
|
82
|
-
_cache.set(Class2, Wrapper);
|
|
83
|
-
}
|
|
84
|
-
function Wrapper() {
|
|
85
|
-
return _construct(Class2, arguments, _get_prototype_of(this).constructor);
|
|
86
|
-
}
|
|
87
|
-
return Wrapper.prototype = Object.create(Class2.prototype, {
|
|
88
|
-
constructor: {
|
|
89
|
-
value: Wrapper,
|
|
90
|
-
enumerable: !1,
|
|
91
|
-
writable: !0,
|
|
92
|
-
configurable: !0
|
|
93
|
-
}
|
|
94
|
-
}), _set_prototype_of(Wrapper, Class2);
|
|
95
|
-
}, _wrap_native_super(Class);
|
|
96
|
-
}
|
|
97
|
-
function _is_native_reflect_construct() {
|
|
98
|
-
try {
|
|
99
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
100
|
-
}));
|
|
101
|
-
} catch {
|
|
102
|
-
}
|
|
103
|
-
return (_is_native_reflect_construct = function() {
|
|
104
|
-
return !!result;
|
|
105
|
-
})();
|
|
106
|
-
}
|
|
107
|
-
var BailOptimizationError = /* @__PURE__ */ function(Error1) {
|
|
108
|
-
"use strict";
|
|
109
|
-
_inherits(BailOptimizationError2, Error1);
|
|
110
|
-
function BailOptimizationError2() {
|
|
111
|
-
return _class_call_check(this, BailOptimizationError2), _call_super(this, BailOptimizationError2, arguments);
|
|
112
|
-
}
|
|
113
|
-
return BailOptimizationError2;
|
|
114
|
-
}(_wrap_native_super(Error));
|
|
115
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
116
|
-
0 && (module.exports = {
|
|
117
|
-
BailOptimizationError
|
|
118
|
-
});
|
|
119
|
-
//# sourceMappingURL=errors.js.map
|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MAClB;AAAA,IACJ,CAAC,GACM,kBAAkB,SAASA,MAAK;AAAA,EAC3C,GACO,mBAAmB,KAAK;AACnC;AACA,SAAS,+BAA+B;AACpC,MAAI;AACA,QAAI,SAAS,CAAC,QAAQ,UAAU,QAAQ,KAAK,QAAQ,UAAU,SAAS,CAAC,GAAG,WAAW;AAAA,IAAC,CAAC,CAAC;AAAA,EAC9F,QAAY;AAAA,EAAC;AACb,UAAQ,+BAA+B,WAAW;AAC9C,WAAO,CAAC,CAAC;AAAA,EACb,GAAG;AACP;AACO,IAAI,wBAAsC,yBAAS,QAAQ;AAC9D;AACA,YAAUG,wBAAuB,MAAM;AACvC,WAASA,yBAAwB;AAC7B,6BAAkB,MAAMA,sBAAqB,GACtC,YAAY,MAAMA,wBAAuB,SAAS;AAAA,EAC7D;AACA,SAAOA;AACX,EAAE,mBAAmB,KAAK,CAAC;",
|
|
5
|
-
"names": ["Parent", "args", "Class", "o", "p", "BailOptimizationError"]
|
|
6
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var esbuildAliasPlugin_exports = {};
|
|
17
|
-
__export(esbuildAliasPlugin_exports, {
|
|
18
|
-
esbuildAliasPlugin: () => esbuildAliasPlugin
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(esbuildAliasPlugin_exports);
|
|
21
|
-
var esbuildAliasPlugin = function(config) {
|
|
22
|
-
var alias = config && Object.keys(config);
|
|
23
|
-
return {
|
|
24
|
-
name: "path-alias",
|
|
25
|
-
setup(build) {
|
|
26
|
-
if (!(!alias || !alias.length)) {
|
|
27
|
-
var main = function(k, args) {
|
|
28
|
-
var targetPath = config[k].replace(/\/$/, "");
|
|
29
|
-
return {
|
|
30
|
-
path: targetPath
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
alias.forEach(function(k) {
|
|
34
|
-
build.onResolve({
|
|
35
|
-
filter: new RegExp(`^.*${k}$`)
|
|
36
|
-
}, function(args) {
|
|
37
|
-
return main(k, args);
|
|
38
|
-
}), build.onResolve({
|
|
39
|
-
filter: new RegExp(`^.*\\/${k}\\/.*$`)
|
|
40
|
-
}, function(args) {
|
|
41
|
-
return main(k, args);
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
-
0 && (module.exports = {
|
|
50
|
-
esbuildAliasPlugin
|
|
51
|
-
});
|
|
52
|
-
//# sourceMappingURL=esbuildAliasPlugin.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/extractor/esbuildAliasPlugin.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAYW,IAAI,qBAAqB,SAAS,QAAQ;AACjD,MAAI,QAAQ,UAAU,OAAO,KAAK,MAAM;AACxC,SAAO;AAAA,IACH,MAAM;AAAA,IACN,MAAO,OAAO;AACV,UAAI,GAAC,SAAS,CAAC,MAAM,SAGrB;AAAA,YAAI,OAAO,SAAS,GAAG,MAAM;AACzB,cAAI,aAAa,OAAO,CAAC,EAAE,QAAQ,OAAO,EAAE;AAC5C,iBAAO;AAAA,YACH,MAAM;AAAA,UACV;AAAA,QACJ;AACA,cAAM,QAAQ,SAAS,GAAG;AACtB,gBAAM,UAAU;AAAA,YACZ,QAAQ,IAAI,OAAO,MAAM,CAAC,GAAG;AAAA,UACjC,GAAG,SAAS,MAAM;AACd,mBAAO,KAAK,GAAG,IAAI;AAAA,UACvB,CAAC,GACD,MAAM,UAAU;AAAA,YACZ,QAAQ,IAAI,OAAO,SAAS,CAAC,QAAQ;AAAA,UACzC,GAAG,SAAS,MAAM;AACd,mBAAO,KAAK,GAAG,IAAI;AAAA,UACvB,CAAC;AAAA,QACL,CAAC;AAAA;AAAA,IACL;AAAA,EACJ;AACJ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name2 in all)
|
|
9
|
-
__defProp(target, name2, { get: all[name2], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var esbuildTsconfigPaths_exports = {};
|
|
25
|
-
__export(esbuildTsconfigPaths_exports, {
|
|
26
|
-
TsconfigPathsPlugin: () => TsconfigPathsPlugin
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(esbuildTsconfigPaths_exports);
|
|
29
|
-
var import_node_fs = __toESM(require("node:fs")), import_node_path = __toESM(require("node:path")), import_typescript = require("typescript"), name = "tsconfig-paths";
|
|
30
|
-
function TsconfigPathsPlugin() {
|
|
31
|
-
var compilerOptions = loadCompilerOptionsFromTsconfig();
|
|
32
|
-
return {
|
|
33
|
-
name,
|
|
34
|
-
setup(param) {
|
|
35
|
-
var { onResolve } = param;
|
|
36
|
-
onResolve({
|
|
37
|
-
filter: /.*/
|
|
38
|
-
}, function(args) {
|
|
39
|
-
var paths = compilerOptions.paths || {}, hasMatchingPath = Object.keys(paths).some(function(p) {
|
|
40
|
-
return new RegExp(p.replace("*", "\\w*")).test(args.path);
|
|
41
|
-
});
|
|
42
|
-
if (!hasMatchingPath)
|
|
43
|
-
return null;
|
|
44
|
-
var { resolvedModule } = (0, import_typescript.nodeModuleNameResolver)(args.path, args.importer, compilerOptions, import_typescript.sys);
|
|
45
|
-
if (!resolvedModule)
|
|
46
|
-
return null;
|
|
47
|
-
var { resolvedFileName } = resolvedModule;
|
|
48
|
-
return !resolvedFileName || resolvedFileName.endsWith(".d.ts") ? null : {
|
|
49
|
-
path: resolvedFileName
|
|
50
|
-
};
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function loadCompilerOptionsFromTsconfig(tsconfig) {
|
|
56
|
-
if (!tsconfig) {
|
|
57
|
-
var configPath = (0, import_typescript.findConfigFile)(process.cwd(), import_typescript.sys.fileExists, "tsconfig.json") || (0, import_typescript.findConfigFile)(process.cwd(), import_typescript.sys.fileExists, "jsconfig.json");
|
|
58
|
-
return configPath ? parseTsconfig(configPath) : {};
|
|
59
|
-
}
|
|
60
|
-
if (typeof tsconfig == "string") {
|
|
61
|
-
if (import_node_fs.default.existsSync(tsconfig))
|
|
62
|
-
return parseTsconfig(tsconfig);
|
|
63
|
-
throw new Error(`Specified tsconfig file not found: ${tsconfig}`);
|
|
64
|
-
}
|
|
65
|
-
var baseDir = process.cwd(), parsed = (0, import_typescript.parseJsonConfigFileContent)(tsconfig, import_typescript.sys, baseDir);
|
|
66
|
-
return parsed.options;
|
|
67
|
-
}
|
|
68
|
-
function parseTsconfig(configFilePath) {
|
|
69
|
-
var configFile = (0, import_typescript.readConfigFile)(configFilePath, import_typescript.sys.readFile);
|
|
70
|
-
if (configFile.error)
|
|
71
|
-
throw new Error(`Error reading tsconfig file '${configFilePath}': ${configFile.error.messageText}`);
|
|
72
|
-
var baseDir = import_node_path.default.dirname(configFilePath), parsed = (0, import_typescript.parseJsonConfigFileContent)(configFile.config, import_typescript.sys, baseDir);
|
|
73
|
-
return parsed.options;
|
|
74
|
-
}
|
|
75
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
76
|
-
0 && (module.exports = {
|
|
77
|
-
TsconfigPathsPlugin
|
|
78
|
-
});
|
|
79
|
-
//# sourceMappingURL=esbuildTsconfigPaths.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/extractor/esbuildTsconfigPaths.ts"],
|
|
4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8CAA2B,UAAU,uBAAK,OAAO;AAC9D,SAAO,OAAO;AAClB;AACA,SAAS,cAAc,gBAAgB;AACnC,MAAI,iBAAa,kCAAe,gBAAgB,sBAAI,QAAQ;AAC5D,MAAI,WAAW;AACX,UAAM,IAAI,MAAM,gCAAgC,cAAc,MAAM,WAAW,MAAM,WAAW,EAAE;AAEtG,MAAI,UAAU,iBAAAC,QAAK,QAAQ,cAAc,GACrC,aAAS,8CAA2B,WAAW,QAAQ,uBAAK,OAAO;AACvE,SAAO,OAAO;AAClB;",
|
|
5
|
-
"names": ["fs", "path"]
|
|
6
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var evaluateAstNode_exports = {};
|
|
25
|
-
__export(evaluateAstNode_exports, {
|
|
26
|
-
evaluateAstNode: () => evaluateAstNode
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(evaluateAstNode_exports);
|
|
29
|
-
var t = __toESM(require("@babel/types"));
|
|
30
|
-
function evaluateAstNode(exprNode, evalFn, shouldPrintDebug) {
|
|
31
|
-
if (exprNode !== void 0) {
|
|
32
|
-
if (exprNode === null)
|
|
33
|
-
return !0;
|
|
34
|
-
if (t.isJSXExpressionContainer(exprNode))
|
|
35
|
-
return evaluateAstNode(exprNode.expression);
|
|
36
|
-
if (t.isObjectExpression(exprNode)) {
|
|
37
|
-
for (var ret = {}, idx = -1, len = exprNode.properties.length; ++idx < len; ) {
|
|
38
|
-
var value = exprNode.properties[idx];
|
|
39
|
-
if (!t.isObjectProperty(value))
|
|
40
|
-
throw new Error("evaluateAstNode can only evaluate object properties");
|
|
41
|
-
var key = void 0;
|
|
42
|
-
if (value.computed) {
|
|
43
|
-
if (typeof evalFn != "function")
|
|
44
|
-
throw new Error("evaluateAstNode does not support computed keys unless an eval function is provided");
|
|
45
|
-
key = evaluateAstNode(value.key, evalFn);
|
|
46
|
-
} else if (t.isIdentifier(value.key))
|
|
47
|
-
key = value.key.name;
|
|
48
|
-
else if (t.isStringLiteral(value.key) || t.isNumericLiteral(value.key))
|
|
49
|
-
key = value.key.value;
|
|
50
|
-
else
|
|
51
|
-
throw new Error("Unsupported key type: " + value.key.type);
|
|
52
|
-
if (typeof key != "string" && typeof key != "number")
|
|
53
|
-
throw new Error("key must be either a string or a number");
|
|
54
|
-
ret[key] = evaluateAstNode(value.value, evalFn);
|
|
55
|
-
}
|
|
56
|
-
return ret;
|
|
57
|
-
}
|
|
58
|
-
if (t.isArrayExpression(exprNode))
|
|
59
|
-
return exprNode.elements.map(function(x) {
|
|
60
|
-
return evaluateAstNode(x, evalFn);
|
|
61
|
-
});
|
|
62
|
-
if (t.isUnaryExpression(exprNode) && exprNode.operator === "-") {
|
|
63
|
-
var ret1 = evaluateAstNode(exprNode.argument, evalFn);
|
|
64
|
-
return ret1 == null ? null : -ret1;
|
|
65
|
-
}
|
|
66
|
-
if (t.isTemplateLiteral(exprNode)) {
|
|
67
|
-
if (typeof evalFn != "function")
|
|
68
|
-
throw new Error("evaluateAstNode does not support template literals unless an eval function is provided");
|
|
69
|
-
for (var ret2 = "", idx1 = -1, len1 = exprNode.quasis.length; ++idx1 < len1; ) {
|
|
70
|
-
var quasi = exprNode.quasis[idx1], expr = exprNode.expressions[idx1];
|
|
71
|
-
ret2 += quasi.value.raw, expr && (ret2 += evaluateAstNode(expr, evalFn));
|
|
72
|
-
}
|
|
73
|
-
return ret2;
|
|
74
|
-
}
|
|
75
|
-
if (t.isNullLiteral(exprNode))
|
|
76
|
-
return null;
|
|
77
|
-
if (t.isNumericLiteral(exprNode) || t.isStringLiteral(exprNode) || t.isBooleanLiteral(exprNode))
|
|
78
|
-
return exprNode.value;
|
|
79
|
-
if (t.isBinaryExpression(exprNode)) {
|
|
80
|
-
if (exprNode.operator === "+")
|
|
81
|
-
return evaluateAstNode(exprNode.left, evalFn) + evaluateAstNode(exprNode.right, evalFn);
|
|
82
|
-
if (exprNode.operator === "-")
|
|
83
|
-
return evaluateAstNode(exprNode.left, evalFn) - evaluateAstNode(exprNode.right, evalFn);
|
|
84
|
-
if (exprNode.operator === "*")
|
|
85
|
-
return evaluateAstNode(exprNode.left, evalFn) * evaluateAstNode(exprNode.right, evalFn);
|
|
86
|
-
if (exprNode.operator === "/")
|
|
87
|
-
return evaluateAstNode(exprNode.left, evalFn) / evaluateAstNode(exprNode.right, evalFn);
|
|
88
|
-
}
|
|
89
|
-
if (typeof evalFn != "function")
|
|
90
|
-
throw new Error("evaluateAstNode does not support non-literal values unless an eval function is provided");
|
|
91
|
-
return evalFn(exprNode);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
-
0 && (module.exports = {
|
|
96
|
-
evaluateAstNode
|
|
97
|
-
});
|
|
98
|
-
//# sourceMappingURL=evaluateAstNode.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/extractor/evaluateAstNode.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAAmB;AACZ,SAAS,gBAAgB,UAAU,QAAQ,kBAAkB;AAChE,MAAI,aAAa,QAIjB;AAAA,QAAI,aAAa;AACb,aAAO;AAEX,QAAI,EAAE,yBAAyB,QAAQ;AACnC,aAAO,gBAAgB,SAAS,UAAU;AAG9C,QAAI,EAAE,mBAAmB,QAAQ,GAAG;AAEhC,eADI,MAAM,CAAC,GACH,MAAM,IAAI,MAAM,SAAS,WAAW,QAAQ,EAAE,MAAM,OAAK;AAC7D,YAAI,QAAQ,SAAS,WAAW,GAAG;AACnC,YAAI,CAAC,EAAE,iBAAiB,KAAK;AACzB,gBAAM,IAAI,MAAM,qDAAqD;AAEzE,YAAI,MAAM;AACV,YAAI,MAAM,UAAU;AAChB,cAAI,OAAO,UAAW;AAClB,kBAAM,IAAI,MAAM,oFAAoF;AAExG,gBAAM,gBAAgB,MAAM,KAAK,MAAM;AAAA,QAC3C,WAAW,EAAE,aAAa,MAAM,GAAG;AAC/B,gBAAM,MAAM,IAAI;AAAA,iBACT,EAAE,gBAAgB,MAAM,GAAG,KAAK,EAAE,iBAAiB,MAAM,GAAG;AACnE,gBAAM,MAAM,IAAI;AAAA;AAEhB,gBAAM,IAAI,MAAM,2BAA2B,MAAM,IAAI,IAAI;AAE7D,YAAI,OAAO,OAAQ,YAAY,OAAO,OAA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