chore: update dependencies

This commit is contained in:
AIsouler
2024-03-04 23:26:06 +08:00
parent c3f907f6d8
commit 86a5588238
3 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@commitlint/types": "^18.6.1",
"@gkd-kit/selector": "0.0.18",
"@gkd-kit/selector": "0.0.21",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "6.19.0",

8
pnpm-lock.yaml generated
View File

@@ -20,8 +20,8 @@ devDependencies:
specifier: ^18.6.1
version: 18.6.1
'@gkd-kit/selector':
specifier: 0.0.18
version: 0.0.18
specifier: 0.0.21
version: 0.0.21
'@types/lodash':
specifier: ^4.14.202
version: 4.14.202
@@ -516,8 +516,8 @@ packages:
resolution: {integrity: sha512-ZOJsdx8LmW+sltfAveXW9IGd5g/2L3m4+yVlR//iVJ5rp01Tv8L/m0KCOHk8DgAl+iEivDk1razsOlY4hm+jSA==}
dev: false
/@gkd-kit/selector@0.0.18:
resolution: {integrity: sha512-5aDHh45pkRLd82d+TLE5vbaz64PkcYZABOuqCXhsEQW8PtNMT05sTTW6WQeM+RH/IjGvULz/p9Hl8vpVm2bPCg==}
/@gkd-kit/selector@0.0.21:
resolution: {integrity: sha512-In52kudHjWvsSumj1mnZ99LHqDgSbQiChg6D0OEMWTK00K4loqnUn79zzV+ChGTn20uwfrSDgJYQVUTKY1xbfA==}
dev: true
/@humanwhocodes/config-array@0.11.14:

View File

@@ -2,7 +2,7 @@ import { CommonSelector } from '@gkd-kit/selector';
export const parseSelector = (source: string) => {
const selector = CommonSelector.Companion.parse(source);
selector.propertyNames.forEach((name) => {
selector.propertyNames.forEach((name: string) => {
if (!allowPropertyNames.has(name)) {
throw new Error(`Property ${name} is not allowed in selector`);
}