mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-18 15:55:29 +08:00
chore: update dependencies
This commit is contained in:
14
package.json
14
package.json
@@ -21,24 +21,24 @@
|
||||
"updateSubs": "tsx ./scripts/updateSubs.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^18.6.1",
|
||||
"@commitlint/config-conventional": "^18.6.2",
|
||||
"@commitlint/types": "^18.6.1",
|
||||
"@commitlint/cli": "^19.0.3",
|
||||
"@commitlint/config-conventional": "^19.0.3",
|
||||
"@commitlint/types": "^19.0.3",
|
||||
"@gkd-kit/selector": "0.0.21",
|
||||
"@types/lodash": "^4.14.202",
|
||||
"@types/node": "^20.11.24",
|
||||
"@typescript-eslint/eslint-plugin": "6.19.0",
|
||||
"@typescript-eslint/parser": "6.19.0",
|
||||
"@typescript-eslint/eslint-plugin": "7.1.0",
|
||||
"@typescript-eslint/parser": "7.1.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-define-config": "2.1.0",
|
||||
"husky": "^8.0.3",
|
||||
"husky": "^9.0.11",
|
||||
"json5": "^2.2.3",
|
||||
"lint-staged": "^15.2.2",
|
||||
"lodash": "^4.17.21",
|
||||
"picocolors": "^1.0.0",
|
||||
"pinyin-pro": "3.19.2",
|
||||
"pinyin-pro": "3.19.6",
|
||||
"prettier": "^3.2.5",
|
||||
"tsx": "^4.7.1",
|
||||
"typescript": "^5.3.3"
|
||||
|
||||
727
pnpm-lock.yaml
generated
727
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
import { CommonSelector } from '@gkd-kit/selector';
|
||||
import { MultiplatformSelector } from '@gkd-kit/selector';
|
||||
|
||||
export const parseSelector = (source: string) => {
|
||||
const selector = CommonSelector.Companion.parse(source);
|
||||
const selector = MultiplatformSelector.Companion.parse(source);
|
||||
selector.propertyNames.forEach((name: string) => {
|
||||
if (!allowPropertyNames.has(name)) {
|
||||
throw new Error(`Property ${name} is not allowed in selector`);
|
||||
|
||||
Reference in New Issue
Block a user