functionalscript 0.0.552 → 0.0.553

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.
Files changed (2) hide show
  1. package/html/module.f.cjs +21 -9
  2. package/package.json +1 -1
package/html/module.f.cjs CHANGED
@@ -35,23 +35,35 @@ const { entries } = Object
35
35
  */
36
36
 
37
37
  /**
38
- * @typedef {|
39
- * 'img' |
40
- * 'input' |
41
- * 'link' |
42
- * 'meta'
43
- * } ShortTag
38
+ * https://developer.mozilla.org/en-US/docs/Glossary/Void_element
39
+ *
40
+ * @typedef {
41
+ * | 'area'
42
+ * | 'base'
43
+ * | 'br'
44
+ * | 'col'
45
+ * | 'embed'
46
+ * | 'hr'
47
+ * | 'img'
48
+ * | 'input'
49
+ * | 'link'
50
+ * | 'meta'
51
+ * | 'param'
52
+ * | 'source'
53
+ * | 'track'
54
+ * | 'wbr'
55
+ * } VoidTag
44
56
  */
45
57
 
46
- /** @typedef {readonly[ShortTag]} ShortElement1*/
58
+ /** @typedef {readonly[VoidTag]} VoidElement1*/
47
59
 
48
- /** @typedef {readonly[ShortTag, Attributes]} ShortElement2 */
60
+ /** @typedef {readonly[VoidTag, Attributes]} VoidElement2 */
49
61
 
50
62
  /** @typedef {readonly[Tag, readonly Node[]]} Element2 */
51
63
 
52
64
  /** @typedef {readonly[Tag, Attributes, Nodes]} Element3*/
53
65
 
54
- /** @typedef {ShortElement1 | ShortElement2 | Element2 | Element3} Element */
66
+ /** @typedef {VoidElement1 | VoidElement2 | Element2 | Element3} Element */
55
67
 
56
68
  /**
57
69
  * @typedef {{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "functionalscript",
3
- "version": "0.0.552",
3
+ "version": "0.0.553",
4
4
  "description": "FunctionalScript is a functional subset of JavaScript",
5
5
  "main": "module.f.cjs",
6
6
  "scripts": {