Skip to content

Commit 9b58217

Browse files
authored
Upgrade yaml-eslint-parser (#145)
1 parent c2ff619 commit 9b58217

File tree

4 files changed

+6
-104
lines changed

4 files changed

+6
-104
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"jsonc-eslint-parser": "^0.6.0",
3434
"loader-utils": "^2.0.0",
3535
"prettier": "^2.2.1",
36-
"yaml-eslint-parser": "^0.0.8"
36+
"yaml-eslint-parser": "^0.1.0"
3737
},
3838
"devDependencies": {
3939
"@intlify/runtime": "^9.0.0-beta.14",

src/generator/utils.ts

Lines changed: 0 additions & 98 deletions
This file was deleted.

src/generator/yaml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
generateMessageFunction,
99
mapColumns
1010
} from './codegen'
11-
import { parseYAML, traverseNodes } from './utils'
11+
import { parseYAML, traverseNodes } from 'yaml-eslint-parser'
1212
import { RawSourceMap } from 'source-map'
1313

1414
import type { YAMLProgram, YAMLNode } from 'yaml-eslint-parser/lib/ast'

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9408,10 +9408,10 @@ yallist@^4.0.0:
94089408
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
94099409
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
94109410

9411-
yaml-eslint-parser@^0.0.8:
9412-
version "0.0.8"
9413-
resolved "https://registry.yarnpkg.com/yaml-eslint-parser/-/yaml-eslint-parser-0.0.8.tgz#9bf30c1433e27fe47524509f087df1501f6d55ea"
9414-
integrity sha512-VefMCl1P4St+PUBaGPRtZEwZowOGaALufuOuQs+3hUaut5X6ReTfUqIXQY3TJ/L3WkuugpnvzNdpCVu0WbgeeQ==
9411+
yaml-eslint-parser@^0.1.0:
9412+
version "0.1.0"
9413+
resolved "https://registry.yarnpkg.com/yaml-eslint-parser/-/yaml-eslint-parser-0.1.0.tgz#37e7281b6bd20186c76c4d3b6f87f21ffe5db827"
9414+
integrity sha512-JhDwzS/zlgxdOuzFG50sMZ4bDo3xbU5TjLyfW+Br7laIh/zaa//lRhHPVOQm6FanMvveS9DG+z6OkCVefyw5QA==
94159415
dependencies:
94169416
eslint-visitor-keys "^1.3.0"
94179417
yaml "^1.10.0"

0 commit comments

Comments
 (0)