Skip to content

Commit

Permalink
chore(deps): pin @intlify dependencies to tag beta (#413)
Browse files Browse the repository at this point in the history
* chore(deps): pin `@intlify` dependencies to tag `beta`

* chore: upgrade to vue-i18n-next beta.22

* chore(deps): upgrade
  • Loading branch information
dargmuesli authored Jul 26, 2023
1 parent 5216f65 commit 0fadd81
Show file tree
Hide file tree
Showing 5 changed files with 359 additions and 380 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-chairs-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@intlify/eslint-plugin-vue-i18n': patch
---

Pin `@intlify` dependencies to tag `beta` to try to prevent renovate from downgrading.
2 changes: 1 addition & 1 deletion lib/utils/collect-linked-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function extractUsedKeysFromAST(ast: ResourceNode): Set<string> {
if (node.type === NodeTypes.Linked) {
if (node.key.type === NodeTypes.LinkedKey) {
keys.add(node.key.value)
} else if (node.key.type === NodeTypes.Literal) {
} else if (node.key.type === NodeTypes.Literal && node.key.value) {
keys.add(node.key.value)
} else if (node.key.type === NodeTypes.List) {
keys.add(String(node.key.index))
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/message-compiler/parser-v8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CodeContext {
}
setEndLoc(
node: {
end: number
end?: number
loc?: SourceLocation
},
end: number
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
},
"dependencies": {
"@eslint/eslintrc": "^2.1.0",
"@intlify/core-base": "9.3.0-beta.14-77e850b",
"@intlify/message-compiler": "9.3.0-beta.14-77e850b",
"@intlify/core-base": "beta",
"@intlify/message-compiler": "beta",
"debug": "^4.3.4",
"glob": "^10.3.3",
"ignore": "^5.2.4",
Expand All @@ -74,24 +74,24 @@
"yaml-eslint-parser": "^1.2.2"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.2",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@types/debug": "^4.1.8",
"@types/eslint": "^8.44.0",
"@types/eslint": "^8.44.1",
"@types/eslint-scope": "^3.7.4",
"@types/glob": "^8.1.0",
"@types/js-yaml": "^4.0.5",
"@types/json-schema": "^7.0.12",
"@types/lodash": "^4.14.195",
"@types/lodash": "^4.14.196",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.1",
"@types/node": "^20.4.5",
"@types/prettier": "^2.7.3",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"entities": "^4.5.0",
"env-cmd": "^10.1.0",
"eslint": "^8.44.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
Expand Down
Loading

0 comments on commit 0fadd81

Please sign in to comment.