mol_dump_lib 0.0.381 → 0.0.383

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/web.mjs CHANGED
@@ -3484,7 +3484,7 @@ var $;
3484
3484
  'code-comment-block': /(?:\/\*[^]*?\*\/|\/\+[^]*?\+\/|<![^]*?>)/,
3485
3485
  'code-link': /(?:\w+:\/\/|#)\S+?(?=\s|\\\\|""|$)/,
3486
3486
  'code-comment-inline': /\/\/.*?(?:$|\/\/)/,
3487
- 'code-string': /(?:".*?"|'.*?'|`.*?`|\/.+?\/[dygimsu]*(?!\p{Letter})|(?:^|[ \t])\\[^\n]*\n)/,
3487
+ 'code-string': /(?:".*?"|'.*?'|`.*?`|\/.+?\/[dygimsu]*(?!\p{Letter})|(?:^|[ \t])\\[^\n]*\n)/u,
3488
3488
  'code-number': /[+-]?(?:\d*\.)?\d+\w*/,
3489
3489
  'code-call': /\.?\w+ *(?=\()/,
3490
3490
  'code-sexpr': /\((\w+ )/,
package/web.test.js CHANGED
@@ -2907,7 +2907,7 @@ var $;
2907
2907
  const check = (input, right) => {
2908
2908
  const tokens = [];
2909
2909
  $mol_syntax2_md_flow.tokenize(input, (...token) => tokens.push(token));
2910
- $mol_assert_like(tokens, right);
2910
+ $mol_assert_equal(tokens, right);
2911
2911
  };
2912
2912
  check('Hello,\nWorld..\r\n\r\n\nof Love!', [
2913
2913
  ['block', 'Hello,\n', ['Hello,', '\n'], 0],