@absolutejs/absolute 0.19.0-beta.731 → 0.19.0-beta.733

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.
@@ -0,0 +1,10 @@
1
+ /** Heuristic check for whether a module exposes a default export.
2
+ *
3
+ * Required because `export *` (per ECMA spec) re-exports only NAMED exports,
4
+ * dropping the default. Without this, vendor files for packages whose surface
5
+ * is primarily a default (e.g. `firebase/compat/app`, classic CJS modules)
6
+ * ship empty, breaking `import x from "/vendor/pkg.js"` consumers.
7
+ *
8
+ * Conversely, blindly emitting `export { default } from 'X'` for a package
9
+ * with no default makes Bun.build fail. We must detect from the entry source. */
10
+ export declare const hasDefaultExport: (specifier: string) => Promise<boolean>;
@@ -5,3 +5,12 @@
5
5
  * Uses native Zig scanner (15x faster) when available, falls back
6
6
  * to JS regex on Windows or when the native addon is missing. */
7
7
  export declare const rewriteImports: (outputPaths: string[], vendorPaths: Record<string, string>) => Promise<void>;
8
+ /** Post-process every .js in one or more vendor directories using the
9
+ * combined cross-framework path map. Required because each vendor build
10
+ * externalizes packages owned by other vendor pipelines (e.g. a dep-vendor
11
+ * wrapper around `@sentry/angular` externalizes `@angular/core` so it isn't
12
+ * duplicated, leaving a bare `from "@angular/core"` in the output). Without
13
+ * this rewrite the browser fetches the vendor file at runtime and chokes
14
+ * on the bare specifier. Run AFTER all vendor builds complete so every
15
+ * framework's path map is included in `vendorPaths`. */
16
+ export declare const rewriteVendorDirectories: (vendorDirs: string[], vendorPaths: Record<string, string>) => Promise<void>;
package/package.json CHANGED
@@ -336,5 +336,5 @@
336
336
  ]
337
337
  }
338
338
  },
339
- "version": "0.19.0-beta.731"
339
+ "version": "0.19.0-beta.733"
340
340
  }