@plasius/gpu-shared 0.1.6 → 0.1.7

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/CHANGELOG.md CHANGED
@@ -16,6 +16,22 @@ All notable changes to this project will be documented in this file.
16
16
  - **Security**
17
17
  - (placeholder)
18
18
 
19
+ ## [0.1.7] - 2026-05-08
20
+
21
+ - **Added**
22
+ - (placeholder)
23
+
24
+ - **Changed**
25
+ - (placeholder)
26
+
27
+ - **Fixed**
28
+ - Rebuilt the bundled showcase runtime against the bundle-safe
29
+ `@plasius/gpu-lighting` module URL implementation so hosted GPU demos do
30
+ not construct lighting technique URLs from generated `data:` module bases.
31
+
32
+ - **Security**
33
+ - (placeholder)
34
+
19
35
  ## [0.1.6] - 2026-04-02
20
36
 
21
37
  - **Added**
@@ -119,3 +135,4 @@ All notable changes to this project will be documented in this file.
119
135
  [0.1.3]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.3
120
136
  [0.1.4]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.4
121
137
  [0.1.6]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.6
138
+ [0.1.7]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.7
package/dist/index.cjs CHANGED
@@ -2220,6 +2220,9 @@ var init_dist2 = __esm({
2220
2220
  });
2221
2221
 
2222
2222
  // node_modules/@plasius/gpu-lighting/dist/index.js
2223
+ function createModuleBaseUrl(metaUrl) {
2224
+ return Reflect.construct(URL, [String(metaUrl)]);
2225
+ }
2223
2226
  function buildTechnique(name, spec) {
2224
2227
  const preludeUrl = new URL(`./techniques/${name}/${spec.prelude}`, baseUrl);
2225
2228
  const jobs = Object.entries(spec.jobs).map(([key, file]) => {
@@ -2528,7 +2531,7 @@ var init_dist3 = __esm({
2528
2531
  });
2529
2532
  baseUrl = (() => {
2530
2533
  if (typeof import_meta2.url !== "undefined") {
2531
- return new URL("./index.js", import_meta2.url);
2534
+ return createModuleBaseUrl(import_meta2.url);
2532
2535
  }
2533
2536
  if (typeof __filename !== "undefined" && typeof __require !== "undefined") {
2534
2537
  const { pathToFileURL } = __require("url");