@skirbi/sugar 0.0.13 → 0.0.15

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/Changes CHANGED
@@ -1,5 +1,14 @@
1
1
  Revision history for @skirbi/sugar
2
2
 
3
+
4
+ 0.0.15 2026-04-18 18:38:19Z
5
+
6
+ * Maintenance release: node version dep removed
7
+
8
+ 0.0.14 2026-04-16 14:01:35Z
9
+
10
+ * assertQuerySelector for this (if you know, you know)
11
+
3
12
  0.0.13 2026-04-16 13:27:59Z
4
13
 
5
14
  * Fix jsdoc build issue
@@ -333,5 +333,9 @@ export class HTMLElementSugar extends HTMLElement {
333
333
  if (!item) throw new Error(msg);
334
334
  return item;
335
335
  }
336
+
337
+ assertQuerySelector(haystack, needle, msg) {
338
+ return this.constructor.assertQuerySelector(haystack, needle, msg);
339
+ }
336
340
  }
337
341
 
package/lib/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
- const VERSION = "0.0.13";
5
+ const VERSION = "0.0.15";
6
6
 
7
7
  export { HTMLElementSugar } from './htmlelement.mjs';
8
8
  export { HTMLElementSugarInput } from './htmlelement-input.mjs';
package/package.json CHANGED
@@ -15,9 +15,6 @@
15
15
  "jsdom": "latest",
16
16
  "tap": "<21.6.0 || >21.6.1"
17
17
  },
18
- "engines": {
19
- "node": ">24.10"
20
- },
21
18
  "exports": {
22
19
  ".": "./lib/index.mjs",
23
20
  "./aliases": "./lib/aliases.mjs",
@@ -53,5 +50,5 @@
53
50
  },
54
51
  "sideEffects": false,
55
52
  "type": "module",
56
- "version": "0.0.13"
53
+ "version": "0.0.15"
57
54
  }