mol_dump_lib 0.0.519 → 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
@@ -4146,7 +4146,7 @@ var $;
4146
4146
  'code-comment-block': /(?:\/\*[^]*?\*\/|\/\+[^]*?\+\/|<![^]*?>)/,
4147
4147
  'code-link': /(?:\w+:\/\/|#)\S+?(?=\s|\\\\|""|$)/,
4148
4148
  'code-comment-inline': /\/\/.*?(?:$|\/\/)|- \\.*/,
4149
- 'code-string': /(?:".*?"|'.*?'|`.*?`|\/.+?\/[dygimsu]*(?!\p{Letter})|[ \t]*\\[^\n]*)/u,
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+ )/,