From 97eafbc804b874017ee1d84102b3e11f794d948c Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Mon, 10 Aug 2020 12:34:11 +0100 Subject: [PATCH] Store the default CodeQL bundle version in a JSON file. --- lib/codeql.js | 3 ++- lib/codeql.js.map | 2 +- lib/defaults.json | 3 +++ src/codeql.ts | 3 ++- src/defaults.json | 3 +++ tsconfig.json | 3 ++- 6 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 lib/defaults.json create mode 100644 src/defaults.json diff --git a/lib/codeql.js b/lib/codeql.js index fc442005a..70ce6a011 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -22,6 +22,7 @@ const stream = __importStar(require("stream")); const globalutil = __importStar(require("util")); const v4_1 = __importDefault(require("uuid/v4")); const api = __importStar(require("./api-client")); +const defaults = __importStar(require("./defaults.json")); // Referenced from codeql-action-sync-tool! const util = __importStar(require("./util")); /** * Stores the CodeQL object, and is populated by `setupCodeQL` or `getCodeQL`. @@ -33,7 +34,7 @@ let cachedCodeQL = undefined; * Value is set by setupCodeQL and read by getCodeQL. */ const CODEQL_ACTION_CMD = "CODEQL_ACTION_CMD"; -const CODEQL_BUNDLE_VERSION = "codeql-bundle-20200630"; +const CODEQL_BUNDLE_VERSION = defaults.bundleVersion; const CODEQL_BUNDLE_NAME = "codeql-bundle.tar.gz"; const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; function getCodeQLActionRepository() { diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 15f650a3b..ebac5d2a4 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAsC;AACtC,oDAAsC;AACtC,2DAA6C;AAE7C,gDAAkC;AAClC,+DAAiD;AACjD,uCAAyB;AACzB,2CAA6B;AAC7B,+CAAiC;AACjC,+CAAiC;AACjC,iDAAmC;AACnC,iDAA6B;A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,IAAI;gBACJ,YAAY;aACb,CAAC,CAAC;QACL,CAAC;QACD,gBAAgB,EAAE,KAAK,WAAU,YAAoB;YACnD,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnB,UAAU;gBACV,UAAU;gBACV,YAAY;aACb,CAAC,CAAC;QACL,CAAC;QACD,cAAc,EAAE,KAAK,WAAU,OAAiB,EAAE,eAAmC;YACnF,MAAM,UAAU,GAAG;gBACjB,SAAS;gBACT,SAAS;gBACT,GAAG,OAAO;gBACV,qBAAqB;aACtB,CAAC;YACF,IAAI,eAAe,KAAK,SAAS,EAAE;gBACjC,UAAU,CAAC,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;aACnD;YACD,IAAI,MAAM,GAAG,EAAE,CAAC;YAChB,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE;gBAC/B,SAAS,EAAE;oBACT,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;wBACvB,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;oBAC5B,CAAC;iBACF;aACF,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC5B,CAAC;QACD,eAAe,EAAE,KAAK,WAAU,YAAoB,EAAE,SAAiB,EAAE,UAAkB;YACzF,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnB,UAAU;gBACV,SAAS;gBACT,IAAI,CAAC,aAAa,EAAE;gBACpB,IAAI,CAAC,cAAc,EAAE;gBACrB,YAAY;gBACZ,uBAAuB;gBACvB,WAAW,GAAG,SAAS;gBACvB,yBAAyB;gBACzB,UAAU;aACX,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAsC;AACtC,oDAAsC;AACtC,2DAA6C;AAE7C,gDA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CAAC"} \ No newline at end of file diff --git a/lib/defaults.json b/lib/defaults.json new file mode 100644 index 000000000..29f83dfb6 --- /dev/null +++ b/lib/defaults.json @@ -0,0 +1,3 @@ +{ + "bundleVersion": "codeql-bundle-20200630" +} diff --git a/src/codeql.ts b/src/codeql.ts index 0bfbd07f8..73cf42886 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -12,6 +12,7 @@ import * as globalutil from 'util'; import uuidV4 from 'uuid/v4'; import * as api from './api-client'; +import * as defaults from './defaults.json'; // Referenced from codeql-action-sync-tool! import * as util from './util'; export interface CodeQL { @@ -81,7 +82,7 @@ let cachedCodeQL: CodeQL | undefined = undefined; */ const CODEQL_ACTION_CMD = "CODEQL_ACTION_CMD"; -const CODEQL_BUNDLE_VERSION = "codeql-bundle-20200630"; +const CODEQL_BUNDLE_VERSION = defaults.bundleVersion; const CODEQL_BUNDLE_NAME = "codeql-bundle.tar.gz"; const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; diff --git a/src/defaults.json b/src/defaults.json new file mode 100644 index 000000000..8006ed8e5 --- /dev/null +++ b/src/defaults.json @@ -0,0 +1,3 @@ +{ + "bundleVersion": "codeql-bundle-20200630" +} diff --git a/tsconfig.json b/tsconfig.json index eedbf4258..a955ad12e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,9 +45,10 @@ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ + "resolveJsonModule": true, /* Source Map Options */ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */