@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/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@ Given a version number MAJOR.MINOR.PATCH, increment the:
|
|
|
6
6
|
2. MINOR version when you add functionality in a backwards compatible manner, and
|
|
7
7
|
3. PATCH version when you make backwards compatible bug fixes.
|
|
8
8
|
|
|
9
|
+
# 4.2.2
|
|
10
|
+
|
|
11
|
+
* PATCH: Fixes bug where pug files will not build if they have a `script` element with no attributes.
|
|
12
|
+
* PATCH: Prints errors from the TS build.
|
|
13
|
+
* PATCH: Updates some dependencies.
|
|
14
|
+
* PATCH: Corrects internal collection SetMap to support the Disposable interface.
|
|
15
|
+
|
|
9
16
|
# 4.2.1
|
|
10
17
|
|
|
11
18
|
* PATCH: Fixes missing path in load_less.
|
package/bundles/SetMap.d.ts
CHANGED
|
@@ -13,11 +13,12 @@ export declare class SetMap<KT, V, K extends Set<KT> = Set<KT>> implements Map<K
|
|
|
13
13
|
delete(key: K): boolean;
|
|
14
14
|
get(key: K): V | undefined;
|
|
15
15
|
has(key: K): boolean;
|
|
16
|
-
keys():
|
|
17
|
-
values():
|
|
18
|
-
entries():
|
|
19
|
-
[Symbol.iterator]():
|
|
16
|
+
keys(): MapIterator<K>;
|
|
17
|
+
values(): MapIterator<V>;
|
|
18
|
+
entries(): MapIterator<[K, V]>;
|
|
19
|
+
[Symbol.iterator](): MapIterator<[K, V]>;
|
|
20
20
|
[Symbol.toStringTag]: string;
|
|
21
|
+
[Symbol.dispose](): void;
|
|
21
22
|
forEach(callbackfn: (value: V, key: K, map: SetMap<KT, V, K>) => void, thisArg?: any): void;
|
|
22
23
|
/** Array likes */
|
|
23
24
|
every(callbackfn: (value: V, key: K, map: SetMap<KT, V, K>) => boolean, thisArg?: any): boolean;
|
package/bundles/bin/cli.js
CHANGED
|
@@ -69154,7 +69154,7 @@ function pugTransformer(test, onFound) {
|
|
|
69154
69154
|
};
|
|
69155
69155
|
}
|
|
69156
69156
|
function isScriptNodeWithSrcAttr(node) {
|
|
69157
|
-
return node.name === "script" && node.attrs
|
|
69157
|
+
return node.name === "script" && node.attrs?.some((attr) => attr.name === "src");
|
|
69158
69158
|
}
|
|
69159
69159
|
async function loadAsText2(_filepath) {
|
|
69160
69160
|
return {
|
|
@@ -69544,6 +69544,8 @@ var esbuilder = {
|
|
|
69544
69544
|
log_default.error(
|
|
69545
69545
|
`Build failed with ${errors.length} errors and ${warnings.length} warnings.`
|
|
69546
69546
|
);
|
|
69547
|
+
log_default.error(`Errors:`, errors);
|
|
69548
|
+
log_default.warn(`Warnings:`, warnings);
|
|
69547
69549
|
throw [...errors, ...warnings];
|
|
69548
69550
|
}
|
|
69549
69551
|
});
|
|
@@ -69974,6 +69976,9 @@ var SetMap = class _SetMap {
|
|
|
69974
69976
|
return this.entries();
|
|
69975
69977
|
}
|
|
69976
69978
|
[Symbol.toStringTag] = "SetMap";
|
|
69979
|
+
[Symbol.dispose]() {
|
|
69980
|
+
this.clear();
|
|
69981
|
+
}
|
|
69977
69982
|
forEach(callbackfn, thisArg) {
|
|
69978
69983
|
for (const [key, value] of this.entries()) {
|
|
69979
69984
|
callbackfn.call(thisArg, value, key, this);
|