@markuplint/svelte-parser 4.7.13 → 4.18.3

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/lib/parser.js +9 -8
  2. package/package.json +6 -6
package/lib/parser.js CHANGED
@@ -440,14 +440,15 @@ originBlockNode) {
440
440
  }
441
441
  catchToken = this.sliceFragment(token.startOffset + catchExpStart, catchExpEndCharOffset);
442
442
  }
443
- const expressions = [];
444
- expressions.push(this.visitPsBlock({
445
- ...awaitExpToken,
446
- depth: token.depth,
447
- parentNode: token.parentNode,
448
- nodeName: 'await',
449
- isFragment: false,
450
- }, originBlockNode.pending?.nodes, 'await')[0]);
443
+ const expressions = [
444
+ this.visitPsBlock({
445
+ ...awaitExpToken,
446
+ depth: token.depth,
447
+ parentNode: token.parentNode,
448
+ nodeName: 'await',
449
+ isFragment: false,
450
+ }, originBlockNode.pending?.nodes, 'await')[0],
451
+ ];
451
452
  if (thenToken) {
452
453
  expressions.push(this.visitPsBlock({
453
454
  ...thenToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/svelte-parser",
3
- "version": "4.7.13",
3
+ "version": "4.18.3",
4
4
  "description": "Svelte parser for markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -29,10 +29,10 @@
29
29
  "clean": "tsc --build --clean tsconfig.build.json"
30
30
  },
31
31
  "dependencies": {
32
- "@markuplint/html-parser": "4.6.23",
33
- "@markuplint/ml-ast": "4.4.11",
34
- "@markuplint/parser-utils": "4.8.11",
35
- "svelte": "5.50.0"
32
+ "@markuplint/html-parser": "4.18.3",
33
+ "@markuplint/ml-ast": "4.18.0",
34
+ "@markuplint/parser-utils": "4.18.3",
35
+ "svelte": "5.55.4"
36
36
  },
37
- "gitHead": "193ee7c1262bbed95424e38efdf1a8e56ff049f4"
37
+ "gitHead": "c53026c2c600bb304f2088589f67303479e92e62"
38
38
  }