@normed/bundle 4.2.1 → 4.2.2
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 +7 -0
- package/bundles/SetMap.d.ts +5 -4
- package/bundles/bin/cli.js +6 -1
- package/bundles/bin/cli.js.map +2 -2
- package/bundles/index.js +6 -1
- package/bundles/index.js.map +2 -2
- package/package.json +3 -3
package/bundles/index.js
CHANGED
|
@@ -69168,7 +69168,7 @@ function pugTransformer(test, onFound) {
|
|
|
69168
69168
|
};
|
|
69169
69169
|
}
|
|
69170
69170
|
function isScriptNodeWithSrcAttr(node) {
|
|
69171
|
-
return node.name === "script" && node.attrs
|
|
69171
|
+
return node.name === "script" && node.attrs?.some((attr) => attr.name === "src");
|
|
69172
69172
|
}
|
|
69173
69173
|
async function loadAsText2(_filepath) {
|
|
69174
69174
|
return {
|
|
@@ -69558,6 +69558,8 @@ var esbuilder = {
|
|
|
69558
69558
|
log_default.error(
|
|
69559
69559
|
`Build failed with ${errors.length} errors and ${warnings.length} warnings.`
|
|
69560
69560
|
);
|
|
69561
|
+
log_default.error(`Errors:`, errors);
|
|
69562
|
+
log_default.warn(`Warnings:`, warnings);
|
|
69561
69563
|
throw [...errors, ...warnings];
|
|
69562
69564
|
}
|
|
69563
69565
|
});
|
|
@@ -70012,6 +70014,9 @@ var SetMap = class _SetMap {
|
|
|
70012
70014
|
return this.entries();
|
|
70013
70015
|
}
|
|
70014
70016
|
[Symbol.toStringTag] = "SetMap";
|
|
70017
|
+
[Symbol.dispose]() {
|
|
70018
|
+
this.clear();
|
|
70019
|
+
}
|
|
70015
70020
|
forEach(callbackfn, thisArg) {
|
|
70016
70021
|
for (const [key, value] of this.entries()) {
|
|
70017
70022
|
callbackfn.call(thisArg, value, key, this);
|