diff --git a/package.json b/package.json index 076b32c2..cd247bf7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1322171d..17f86c26 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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: diff --git a/src/selector.ts b/src/selector.ts index e7db349c..3d706363 100644 --- a/src/selector.ts +++ b/src/selector.ts @@ -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`); }