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/node.d.ts CHANGED
@@ -913,7 +913,7 @@ declare namespace $ {
913
913
  }
914
914
 
915
915
  declare namespace $ {
916
- type $mol_view_content = $mol_view | Node | string | number | boolean;
916
+ type $mol_view_content = $mol_view | Node | string | number | boolean | null;
917
917
  function $mol_view_visible_width(): number;
918
918
  function $mol_view_visible_height(): number;
919
919
  function $mol_view_state_key(suffix: string): string;
@@ -927,8 +927,8 @@ declare namespace $ {
927
927
  state_key(suffix?: string): string;
928
928
  dom_name(): string;
929
929
  dom_name_space(): string;
930
- sub(): readonly ($mol_view | Node | string | number | boolean)[];
931
- sub_visible(): readonly (string | number | boolean | $mol_view | Node)[];
930
+ sub(): readonly $mol_view_content[];
931
+ sub_visible(): readonly $mol_view_content[];
932
932
  minimal_width(): number;
933
933
  maximal_width(): number;
934
934
  minimal_height(): number;
package/node.js CHANGED
@@ -4145,8 +4145,8 @@ var $;
4145
4145
  'code-docs': /\/\/\/.*?$/,
4146
4146
  'code-comment-block': /(?:\/\*[^]*?\*\/|\/\+[^]*?\+\/|<![^]*?>)/,
4147
4147
  'code-link': /(?:\w+:\/\/|#)\S+?(?=\s|\\\\|""|$)/,
4148
- 'code-comment-inline': /\/\/.*?(?:$|\/\/)/,
4149
- 'code-string': /(?:".*?"|'.*?'|`.*?`|\/.+?\/[dygimsu]*(?!\p{Letter})|(?:^|[ \t])\\[^\n]*\n)/u,
4148
+ 'code-comment-inline': /\/\/.*?(?:$|\/\/)|- \\.*/,
4149
+ 'code-string': /(?:".*?"|'.*?'|`.*?`| ?\\\\.+?\\\\|\/.+?\/[dygimsu]*(?!\p{Letter})|[ \t]*\\[^\n]*)/u,
4150
4150
  'code-number': /[+-]?(?:\d*\.)?\d+\w*/,
4151
4151
  'code-call': /\.?\w+ *(?=\()/,
4152
4152
  'code-sexpr': /\((\w+ )/,
@@ -4154,7 +4154,7 @@ var $;
4154
4154
  '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/,
4155
4155
  'code-global': /[$]+\w*|\b[A-Z][a-z0-9]+[A-Z]\w*/,
4156
4156
  'code-word': /\w+/,
4157
- 'code-decorator': /@\s*\S+/,
4157
+ 'code-decorator': /@.+/,
4158
4158
  'code-tag': /<\/?[\w-]+\/?>?|&\w+;/,
4159
4159
  'code-punctuation': /[\-\[\]\{\}\(\)<=>~!\?@#%&\*_\+\\\/\|;:\.,\^]+?/,
4160
4160
  });