@absolutejs/absolute 0.19.0-beta.842 → 0.19.0-beta.843
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/index.js
CHANGED
|
@@ -13333,11 +13333,13 @@ var init_buildReactVendor = __esm(() => {
|
|
|
13333
13333
|
var RESERVED_KEYS, VALID_IDENTIFIER, generateVendorEntrySource = async (specifier) => {
|
|
13334
13334
|
const mod = await import(specifier);
|
|
13335
13335
|
const exportKeys = Object.keys(mod).filter((key) => !RESERVED_KEYS.has(key) && VALID_IDENTIFIER.test(key));
|
|
13336
|
-
const
|
|
13336
|
+
const localBindings = exportKeys.map((key, i) => `const __abs_${i} = __abs_ns[${JSON.stringify(key)}];`).join(`
|
|
13337
|
+
`);
|
|
13338
|
+
const reExportClause = exportKeys.length > 0 ? `export { ${exportKeys.map((key, i) => `__abs_${i} as ${key}`).join(", ")} };
|
|
13337
13339
|
` : "";
|
|
13338
13340
|
return `import * as __abs_ns from '${specifier}';
|
|
13339
|
-
|
|
13340
|
-
` +
|
|
13341
|
+
` + (localBindings ? `${localBindings}
|
|
13342
|
+
` : "") + reExportClause + `export default __abs_ns.default;
|
|
13341
13343
|
export const __ABSOLUTE_VENDOR_NAMESPACE__ = __abs_ns;
|
|
13342
13344
|
`;
|
|
13343
13345
|
};
|
|
@@ -13347,7 +13349,7 @@ var init_vendorEntrySource = __esm(() => {
|
|
|
13347
13349
|
"__esModule",
|
|
13348
13350
|
"__ABSOLUTE_VENDOR_NAMESPACE__"
|
|
13349
13351
|
]);
|
|
13350
|
-
VALID_IDENTIFIER = /^[$
|
|
13352
|
+
VALID_IDENTIFIER = /^[$_\p{L}][$_\p{L}\p{N}]*$/u;
|
|
13351
13353
|
});
|
|
13352
13354
|
|
|
13353
13355
|
// src/build/buildAngularVendor.ts
|
|
@@ -27945,5 +27947,5 @@ export {
|
|
|
27945
27947
|
ANGULAR_INIT_TIMEOUT_MS
|
|
27946
27948
|
};
|
|
27947
27949
|
|
|
27948
|
-
//# debugId=
|
|
27950
|
+
//# debugId=C86F0B52E78282DE64756E2164756E21
|
|
27949
27951
|
//# sourceMappingURL=index.js.map
|