File tree Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 2424 - name : Setup Node.js
2525 uses : actions/setup-node@v4
2626 with :
27- node-version : ' 18 '
27+ node-version : ' 20 '
2828 cache : ' npm'
2929 cache-dependency-path : ' extractors/cds/tools/package-lock.json'
3030
Original file line number Diff line number Diff line change 1+ 20.15.0
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { statSync } from 'fs';
22
33import { build as esbuildFunc } from 'esbuild' ;
44
5- const NODE_VERSION_TARGET = 'node18 ' ;
5+ const NODE_VERSION_TARGET = 'node20 ' ;
66
77const buildOptions = {
88 banner : {
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "description" : " CodeQL extractor for DB indexing of .cds.json files produced by the 'cds' compiler." ,
55 "main" : " dist/cds-extractor.bundle.js" ,
6+ "engines" : {
7+ "node" : " >=20.0.0" ,
8+ "npm" : " >=10.0.0"
9+ },
610 "scripts" : {
711 "build" : " node esbuild.config.mjs" ,
812 "build:all" : " npm run lint:fix && npm run test:coverage && npm run build:validate" ,
1822 "test:coverage" : " jest --coverage --collectCoverageFrom='src/**/*.ts'"
1923 },
2024 "dependencies" : {
21- "@types/tmp" : " ^0.2.6" ,
2225 "child_process" : " ^1.0.2" ,
2326 "fs" : " ^0.0.1-security" ,
2427 "glob" : " ^11.0.3" ,
3437 "@types/jest" : " ^30.0.0" ,
3538 "@types/mock-fs" : " ^4.13.4" ,
3639 "@types/node" : " ^24.0.7" ,
40+ "@types/tmp" : " ^0.2.6" ,
3741 "@typescript-eslint/eslint-plugin" : " ^8.35.1" ,
3842 "@typescript-eslint/parser" : " ^8.35.1" ,
3943 "esbuild" : " ^0.19.0" ,
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "target" : " ES2018 " ,
3+ "target" : " ES2020 " ,
44 "module" : " commonjs" ,
5- "lib" : [" ES2018" ],
5+ "lib" : [" ES2020" ],
6+ "strict" : true ,
67 "allowSyntheticDefaultImports" : true ,
7- "declaration" : false ,
88 "esModuleInterop" : true ,
99 "forceConsistentCasingInFileNames" : true ,
10- "isolatedModules " : true ,
10+ "moduleResolution " : " node " ,
1111 "noImplicitAny" : true ,
1212 "noImplicitThis" : true ,
1313 "noUnusedLocals" : true ,
1414 "noUnusedParameters" : true ,
1515 "noImplicitReturns" : true ,
1616 "noFallthroughCasesInSwitch" : true ,
17- "outDir" : " ./dist" ,
1817 "resolveJsonModule" : true ,
19- "rootDir" : " ." ,
20- "skipLibCheck" : true ,
21- "sourceMap" : true ,
22- "strict" : true
18+ "skipLibCheck" : true
2319 },
2420 "include" : [
2521 " *.ts" ,
26- " *.js" ,
27- " esbuild.config.mjs" ,
28- " eslint.config.mjs" ,
29- " jest.config.js" ,
30- " validate-bundle.js" ,
3122 " src/**/*.ts" ,
3223 " test/**/*.ts"
3324 ],
You can’t perform that action at this time.
0 commit comments