Skip to content

Commit

Permalink
chore(deps): update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Sep 13, 2024
1 parent b0be0f9 commit 4085ea4
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 29 deletions.
3 changes: 1 addition & 2 deletions .knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignore": ["condition-parser.d.ts"],
"ignoreDependencies": ["@types/mocha"]
"ignore": ["condition-parser.d.ts"]
}
26 changes: 13 additions & 13 deletions condition-parser.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export type Condition = TruthyCondition | ValueCondition | DuoCondition | NotCondition;
export type ConditionValue = string | number | boolean;

export type BasicValueOperator = "===" | "!==" | "==" | "!=";
export type NumericValueOperator = "<=" | ">=" | "<" | ">";
export type BasicValueOperator = '===' | '!==' | '==' | '!=';
export type NumericValueOperator = '<=' | '>=' | '<' | '>';
export type ValueOperator = BasicValueOperator | NumericValueOperator;
export type BoolOperator = "AND" | "OR";
export type BoolOperator = 'AND' | 'OR';
export type Property = (string | ArrayProperty)[];
export type ArrayProperty = {
type: 'array';
property?: Property | undefined;
type: 'array';
property?: Property | undefined;
};
export type TruthyCondition = {
property: Property;
Expand All @@ -27,14 +27,14 @@ export type NumericValueCondition = {
};
export type ValueCondition = BasicValueCondition | NumericValueCondition;
export type DuoCondition = {
property?: undefined;
operator: BoolOperator;
left: Condition;
right: Condition;
property?: undefined;
operator: BoolOperator;
left: Condition;
right: Condition;
};
export type NotCondition = {
property?: undefined;
operator?: undefined;
not: Condition;
property?: undefined;
operator?: undefined;
not: Condition;
};
export declare function parse(input: string): Condition;
export declare function parse (input: string): Condition;
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,23 @@
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/node": "^18.19.34",
"@voxpelli/eslint-config": "^20.0.0-alpha8",
"@voxpelli/tsconfig": "^12.0.1",
"@types/chai": "^4.3.19",
"@types/mocha": "^10.0.8",
"@types/node": "^18.19.50",
"@voxpelli/eslint-config": "^21.0.0",
"@voxpelli/tsconfig": "^14.0.0",
"c8": "^10.1.2",
"chai": "^4.4.1",
"eslint": "^9.5.0",
"husky": "^9.1.1",
"chai": "^4.5.0",
"eslint": "^9.10.0",
"husky": "^9.1.6",
"installed-check": "^9.3.0",
"knip": "^5.18.0",
"mocha": "^10.7.0",
"knip": "^5.30.2",
"mocha": "^10.7.3",
"nodemon": "^3.1.4",
"npm-run-all2": "^6.2.2",
"pegjs": "^0.9.0",
"type-coverage": "^2.29.0",
"typescript": "^5.4.5",
"validate-conventional-commit": "^1.0.3"
"type-coverage": "^2.29.1",
"typescript": "~5.5.4",
"validate-conventional-commit": "^1.0.4"
}
}
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
],
"include": [
"test/**/*.js",
]
],
"compilerOptions": {
"types": ["node", "mocha"]
}
}

0 comments on commit 4085ea4

Please sign in to comment.