@rspack-canary/browser 1.6.5-canary-480f74ac-20251120174032 → 1.6.5-canary-5c09e49d-20251121173820
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.mjs +8 -4
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -56803,6 +56803,10 @@ class SubresourceIntegrityPlugin extends NativeSubresourceIntegrityPlugin {
|
|
|
56803
56803
|
if (tag.attributes && "integrity" in tag.attributes) return;
|
|
56804
56804
|
const tagSrc = getTagSrc(tag);
|
|
56805
56805
|
if (!tagSrc) return;
|
|
56806
|
+
try {
|
|
56807
|
+
const url = new URL(tagSrc);
|
|
56808
|
+
if (("http:" === url.protocol || "https:" === url.protocol) && (!publicPath || !tagSrc.startsWith(publicPath))) return;
|
|
56809
|
+
} catch (_) {}
|
|
56806
56810
|
const src = (0, path_browserify.relative)(publicPath, decodeURIComponent(tagSrc));
|
|
56807
56811
|
tag.attributes.integrity = this.getIntegrityChecksumForAsset(src) || computeIntegrity(this.options.hashFuncNames, (0, browser_fs.readFileSync)((0, path_browserify.join)(outputPath, src)));
|
|
56808
56812
|
tag.attributes.crossorigin = crossOriginLoading || "anonymous";
|
|
@@ -58137,7 +58141,7 @@ const applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
|
58137
58141
|
if ("object" == typeof rspackFuture) {
|
|
58138
58142
|
D(rspackFuture, "bundlerInfo", {});
|
|
58139
58143
|
if ("object" == typeof rspackFuture.bundlerInfo) {
|
|
58140
|
-
D(rspackFuture.bundlerInfo, "version", "1.6.5-canary-
|
|
58144
|
+
D(rspackFuture.bundlerInfo, "version", "1.6.5-canary-5c09e49d-20251121173820");
|
|
58141
58145
|
D(rspackFuture.bundlerInfo, "bundler", "rspack");
|
|
58142
58146
|
D(rspackFuture.bundlerInfo, "force", !library);
|
|
58143
58147
|
}
|
|
@@ -62086,7 +62090,7 @@ class MultiStats {
|
|
|
62086
62090
|
return obj;
|
|
62087
62091
|
});
|
|
62088
62092
|
if (childOptions.version) {
|
|
62089
|
-
obj.rspackVersion = "1.6.5-canary-
|
|
62093
|
+
obj.rspackVersion = "1.6.5-canary-5c09e49d-20251121173820";
|
|
62090
62094
|
obj.version = "5.75.0";
|
|
62091
62095
|
}
|
|
62092
62096
|
if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join("");
|
|
@@ -63391,7 +63395,7 @@ const SIMPLE_EXTRACTORS = {
|
|
|
63391
63395
|
},
|
|
63392
63396
|
version: (object)=>{
|
|
63393
63397
|
object.version = "5.75.0";
|
|
63394
|
-
object.rspackVersion = "1.6.5-canary-
|
|
63398
|
+
object.rspackVersion = "1.6.5-canary-5c09e49d-20251121173820";
|
|
63395
63399
|
},
|
|
63396
63400
|
env: (object, _compilation, _context, { _env })=>{
|
|
63397
63401
|
object.env = _env;
|
|
@@ -66528,7 +66532,7 @@ function transformSync(source, options) {
|
|
|
66528
66532
|
const _options = JSON.stringify(options || {});
|
|
66529
66533
|
return external_rspack_wasi_browser_js_["default"].transformSync(source, _options);
|
|
66530
66534
|
}
|
|
66531
|
-
const exports_rspackVersion = "1.6.5-canary-
|
|
66535
|
+
const exports_rspackVersion = "1.6.5-canary-5c09e49d-20251121173820";
|
|
66532
66536
|
const exports_version = "5.75.0";
|
|
66533
66537
|
const exports_WebpackError = Error;
|
|
66534
66538
|
const sources = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.3_patch_hash=b2a26650f08a2359d0a3cd81fa6fa272aa7441a28dd7e601792da5ed5d2b4aee/node_modules/webpack-sources/lib/index.js");
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/browser",
|
|
3
|
-
"version": "1.6.5-canary-
|
|
3
|
+
"version": "1.6.5-canary-5c09e49d-20251121173820",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|