Skip to content

Commit e762921

Browse files
committed
deps
1 parent 99d87f6 commit e762921

15 files changed

+335
-337
lines changed

dist/debug.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/grammar.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jsonic.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lexer.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare class PointImpl implements Point {
1111
toString(): string;
1212
[INSPECT](): string;
1313
}
14-
declare const makePoint: (len: number, sI?: number | undefined, rI?: number | undefined, cI?: number | undefined) => PointImpl;
14+
declare const makePoint: (...params: ConstructorParameters<typeof PointImpl>) => PointImpl;
1515
declare class TokenImpl implements Token {
1616
isToken: boolean;
1717
name: string;
@@ -31,7 +31,7 @@ declare class TokenImpl implements Token {
3131
toString(): string;
3232
[INSPECT](): string;
3333
}
34-
declare const makeToken: (name: string, tin: number, val: any, src: string, pnt: Point, use?: any, why?: string | undefined) => TokenImpl;
34+
declare const makeToken: (...params: ConstructorParameters<typeof TokenImpl>) => TokenImpl;
3535
declare const makeNoToken: () => TokenImpl;
3636
declare let makeFixedMatcher: MakeLexMatcher;
3737
declare let makeMatchMatcher: MakeLexMatcher;
@@ -52,5 +52,5 @@ declare class LexImpl implements Lex {
5252
tokenize<R extends string | Tin, T extends R extends Tin ? string : Tin>(ref: R): T;
5353
bad(why: string, pstart: number, pend: number): Token;
5454
}
55-
declare const makeLex: (ctx: Context) => LexImpl;
55+
declare const makeLex: (...params: ConstructorParameters<typeof LexImpl>) => LexImpl;
5656
export { makeNoToken, makeLex, makePoint, makeToken, makeMatchMatcher, makeFixedMatcher, makeSpaceMatcher, makeLineMatcher, makeStringMatcher, makeCommentMatcher, makeNumberMatcher, makeTextMatcher, };

dist/parser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ declare class ParserImpl implements Parser {
1010
clone(options: Options, config: Config): ParserImpl;
1111
norm(): void;
1212
}
13-
declare const makeParser: (options: Options, cfg: Config) => ParserImpl;
13+
declare const makeParser: (...params: ConstructorParameters<typeof ParserImpl>) => ParserImpl;
1414
export { makeRule, makeRuleSpec, makeParser };

dist/rules.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare class RuleImpl implements Rule {
3232
gte(counter: string, limit?: number): boolean;
3333
toString(): string;
3434
}
35-
declare const makeRule: (spec: RuleSpec, ctx: Context, node?: any) => RuleImpl;
35+
declare const makeRule: (...params: ConstructorParameters<typeof RuleImpl>) => RuleImpl;
3636
declare const makeNoRule: (ctx: Context) => RuleImpl;
3737
declare class RuleSpecImpl implements RuleSpec {
3838
name: string;
@@ -64,5 +64,5 @@ declare class RuleSpecImpl implements RuleSpec {
6464
}): Rule;
6565
unknownRule(tkn: Token, name: string): Token;
6666
}
67-
declare const makeRuleSpec: (cfg: Config, def: any) => RuleSpecImpl;
67+
declare const makeRuleSpec: (...params: ConstructorParameters<typeof RuleSpecImpl>) => RuleSpecImpl;
6868
export { makeRule, makeNoRule, makeRuleSpec };

dist/rules.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@
2929
"build": "tsc -d",
3030
"diagrams": "docs-src/.vuepress/diagrams/generate.sh",
3131
"coveralls": "lab -s -P test -r lcov | coveralls",
32-
"prettier": "prettier --write --no-semi --single-quote src/*.ts test/*.js",
3332
"docs-dev": "vuepress dev docs-src",
3433
"docs-build": "vuepress build docs-src",
3534
"clean": "rm -rf node_modules dist yarn.lock package-lock.json",
3635
"reset": "npm run clean && npm i && npm run build && npm test",
3736
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
3837
"repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
39-
"repo-publish-quick": "npm run prettier && npm run build && npm run test && npm run repo-tag && npm publish --registry https://registry.npmjs.org --access=public"
38+
"repo-publish-quick": "npm run build && npm run test && npm run repo-tag && npm publish --registry https://registry.npmjs.org --access=public"
4039
},
4140
"license": "MIT",
4241
"files": [
@@ -52,13 +51,12 @@
5251
"./debug": "./dist/debug.js"
5352
},
5453
"devDependencies": {
55-
"@jsonic/directive": "^1.0.1",
56-
"@types/jest": "^29.5.14",
54+
"@jsonic/directive": "^1.1.0",
55+
"@types/jest": "^30.0.0",
5756
"es-jest": "^2.1.0",
58-
"esbuild": "^0.24.2",
59-
"jest": "^29.7.0",
60-
"prettier": "^3.4.2",
61-
"typescript": "^5.7.3",
57+
"esbuild": "^0.25.10",
58+
"jest": "^30.2.0",
59+
"typescript": "^5.9.3",
6260
"@jsonic/csv": "^0.7.0"
6361
}
6462
}

0 commit comments

Comments
 (0)