mol_dump_lib 0.0.518 → 0.0.520

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_dump_lib",
3
- "version": "0.0.518",
3
+ "version": "0.0.520",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.d.ts CHANGED
@@ -738,7 +738,7 @@ declare namespace $ {
738
738
  }
739
739
 
740
740
  declare namespace $ {
741
- type $mol_view_content = $mol_view | Node | string | number | boolean;
741
+ type $mol_view_content = $mol_view | Node | string | number | boolean | null;
742
742
  function $mol_view_visible_width(): number;
743
743
  function $mol_view_visible_height(): number;
744
744
  function $mol_view_state_key(suffix: string): string;
@@ -752,8 +752,8 @@ declare namespace $ {
752
752
  state_key(suffix?: string): string;
753
753
  dom_name(): string;
754
754
  dom_name_space(): string;
755
- sub(): readonly ($mol_view | Node | string | number | boolean)[];
756
- sub_visible(): readonly (string | number | boolean | $mol_view | Node)[];
755
+ sub(): readonly $mol_view_content[];
756
+ sub_visible(): readonly $mol_view_content[];
757
757
  minimal_width(): number;
758
758
  maximal_width(): number;
759
759
  minimal_height(): number;
package/web.js CHANGED
@@ -3472,8 +3472,8 @@ var $;
3472
3472
  'code-docs': /\/\/\/.*?$/,
3473
3473
  'code-comment-block': /(?:\/\*[^]*?\*\/|\/\+[^]*?\+\/|<![^]*?>)/,
3474
3474
  'code-link': /(?:\w+:\/\/|#)\S+?(?=\s|\\\\|""|$)/,
3475
- 'code-comment-inline': /\/\/.*?(?:$|\/\/)/,
3476
- 'code-string': /(?:".*?"|'.*?'|`.*?`|\/.+?\/[dygimsu]*(?!\p{Letter})|(?:^|[ \t])\\[^\n]*\n)/u,
3475
+ 'code-comment-inline': /\/\/.*?(?:$|\/\/)|- \\.*/,
3476
+ 'code-string': /(?:".*?"|'.*?'|`.*?`| ?\\\\.+?\\\\|\/.+?\/[dygimsu]*(?!\p{Letter})|[ \t]*\\[^\n]*)/u,
3477
3477
  'code-number': /[+-]?(?:\d*\.)?\d+\w*/,
3478
3478
  'code-call': /\.?\w+ *(?=\()/,
3479
3479
  'code-sexpr': /\((\w+ )/,
@@ -3481,7 +3481,7 @@ var $;
3481
3481
  'code-keyword': /\b(throw|readonly|unknown|keyof|typeof|never|from|class|struct|interface|type|function|extends|implements|module|namespace|import|export|include|require|var|val|let|const|for|do|while|until|in|out|of|new|if|then|else|switch|case|this|return|async|await|yield|try|catch|break|continue|get|set|public|private|protected|string|boolean|number|null|undefined|true|false|void|int|float|ref)\b/,
3482
3482
  'code-global': /[$]+\w*|\b[A-Z][a-z0-9]+[A-Z]\w*/,
3483
3483
  'code-word': /\w+/,
3484
- 'code-decorator': /@\s*\S+/,
3484
+ 'code-decorator': /@.+/,
3485
3485
  'code-tag': /<\/?[\w-]+\/?>?|&\w+;/,
3486
3486
  'code-punctuation': /[\-\[\]\{\}\(\)<=>~!\?@#%&\*_\+\\\/\|;:\.,\^]+?/,
3487
3487
  });