File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed
Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 99 "registry" : " https://registry.npmjs.org"
1010 },
1111 "scripts" : {
12- "build" : " esbuild src/index.ts --sourcemap=external --bundle --platform=node --outdir=dist --format=cjs " ,
12+ "build" : " tsc " ,
1313 "test" : " tap" ,
1414 "coverage" : " tap --coverage-report=html" ,
1515 "prepare" : " $CI || husky"
4848 "@types/tap" : " ^15.0.11" ,
4949 "@typescript-eslint/eslint-plugin" : " ^7.6.0" ,
5050 "@typescript-eslint/parser" : " ^7.7.0" ,
51- "esbuild" : " ^0.20.2" ,
5251 "eslint" : " ^8.57.0" ,
5352 "eslint-config-prettier" : " ^9.1.0" ,
5453 "eslint-plugin-node" : " ^11.1.0" ,
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "target" : " ES6" ,
4+ "esModuleInterop" : true ,
5+ "module" : " commonjs" ,
6+ "outDir" : " dist" ,
7+ "declaration" : true ,
8+ "declarationDir" : " types/"
9+ },
10+ "exclude" : [" test/**" ],
11+ "include" : [" src" ]
12+ }
Original file line number Diff line number Diff line change 1+ export declare const ALLOWED_OPERATORS : string [ ] ;
Original file line number Diff line number Diff line change 1+ export declare function validateQuery (
2+ obj : Record < string , unknown > ,
3+ maxDepth ?: number
4+ ) : {
5+ isValidQuery : boolean ;
6+ invalidFields : string [ ] ;
7+ } ;
8+ export default validateQuery ;
You can’t perform that action at this time.
0 commit comments