From 71d295100326d493177659080d2e2db9f98bd558 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Wed, 27 Nov 2024 08:56:39 +0800 Subject: [PATCH] bump: upgraded typescript version and re-build (#94) Signed-off-by: Patrick Zheng --- .github/licenserc.yml | 1 + dist/lib/checksum.js | 24 +++++++++++++++++------- dist/lib/checksum.js.map | 2 +- dist/lib/install.js | 24 +++++++++++++++++------- dist/lib/install.js.map | 2 +- dist/setup.js | 24 +++++++++++++++++------- dist/setup.js.map | 2 +- dist/sign.js | 24 +++++++++++++++++------- dist/sign.js.map | 2 +- dist/verify.js | 24 +++++++++++++++++------- dist/verify.js.map | 2 +- tsconfig.tsbuildinfo | 1 + 12 files changed, 92 insertions(+), 40 deletions(-) create mode 100644 tsconfig.tsbuildinfo diff --git a/.github/licenserc.yml b/.github/licenserc.yml index 635ba35..133b075 100644 --- a/.github/licenserc.yml +++ b/.github/licenserc.yml @@ -40,6 +40,7 @@ header: - '**/data/**' - 'dist' - 'tests' + - 'tsconfig.tsbuildinfo' comment: on-failure diff --git a/dist/lib/checksum.js b/dist/lib/checksum.js index b2de825..dd1e380 100644 --- a/dist/lib/checksum.js +++ b/dist/lib/checksum.js @@ -29,13 +29,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getNotationCheckSum = getNotationCheckSum; exports.hash = hash; diff --git a/dist/lib/checksum.js.map b/dist/lib/checksum.js.map index 15ac9fe..4065ff6 100644 --- a/dist/lib/checksum.js.map +++ b/dist/lib/checksum.js.map @@ -1 +1 @@ -{"version":3,"file":"checksum.js","sourceRoot":"","sources":["../../src/lib/checksum.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;AAQH,kDAGC;AAGD,oBAQC;AApBD,+CAAiC;AACjC,uCAAyB;AACzB,uCAA8C;AAE9C,+EAA+E;AAC/E,WAAW;AACX,SAAgB,mBAAmB,CAAC,OAAe;IAC/C,MAAM,QAAQ,GAAG,IAAA,6BAAmB,EAAC,OAAO,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAED,uCAAuC;AACvC,SAAgB,IAAI,CAAC,IAAY;IAC7B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACnC,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QACzC,MAAM,MAAM,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QACzC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;QACvC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC/C,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;AACP,CAAC"} \ No newline at end of file +{"version":3,"file":"checksum.js","sourceRoot":"","sources":["../../src/lib/checksum.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQH,kDAGC;AAGD,oBAQC;AApBD,+CAAiC;AACjC,uCAAyB;AACzB,uCAA8C;AAE9C,+EAA+E;AAC/E,WAAW;AACX,SAAgB,mBAAmB,CAAC,OAAe;IAC/C,MAAM,QAAQ,GAAG,IAAA,6BAAmB,EAAC,OAAO,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAED,uCAAuC;AACvC,SAAgB,IAAI,CAAC,IAAY;IAC7B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACnC,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QACzC,MAAM,MAAM,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;QACzC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;QACvC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC/C,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;AACP,CAAC"} \ No newline at end of file diff --git a/dist/lib/install.js b/dist/lib/install.js index d075cba..2eab36f 100644 --- a/dist/lib/install.js +++ b/dist/lib/install.js @@ -29,13 +29,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; diff --git a/dist/lib/install.js.map b/dist/lib/install.js.map index 7e4cde5..4ce3cb6 100644 --- a/dist/lib/install.js.map +++ b/dist/lib/install.js.map @@ -1 +1 @@ -{"version":3,"file":"install.js","sourceRoot":"","sources":["../../src/lib/install.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBH,wDAMC;AAID,kDAYC;AAID,sCAeC;AAGD,kCAYC;AAGD,0BAUC;AAED,gDAGC;AA3FD,uCAAyB;AACzB,2CAA6B;AAC7B,2FAAoD;AAcpD,uCAAuC;AACvC,SAAgB,sBAAsB,CAAC,OAAe,EAAE,GAAW;IAC/D,IAAI,GAAG,EAAE,CAAC;QACN,OAAO,GAAG,CAAC;IACf,CAAC;IACD,MAAM,QAAQ,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAC9C,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC;AAED,8EAA8E;AAC9E,iDAAiD;AACjD,SAAgB,mBAAmB,CAAC,OAAe;IAC/C,MAAM,eAAe,GAAG,gCAA2B,CAAC;IACpD,MAAM,QAA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AO,EAAE,EAAE,SAAS,CAAC,CAAC;QAC1G;YACI,MAAM,IAAI,KAAK,CAAC,qBAAqB,QAAQ,EAAE,CAAC,CAAC;IACzD,CAAC;AACL,CAAC;AAED,wEAAwE;AACxE,SAAgB,WAAW;IACvB,MAAM,QAAQ,GAAW,EAAE,CAAC,QAAQ,EAAE,CAAC;IACvC,QAAQ,QAAQ,EAAE,CAAC;QACf,KAAK,OAAO;YACR,OAAO,OAAO,CAAC;QACnB,KAAK,QAAQ;YACT,OAAO,QAAQ,CAAC;QACpB,KAAK,OAAO;YACR,OAAO,SAAS,CAAC;QACrB;YACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAC;IAC7D,CAAC;AACL,CAAC;AAED,gEAAgE;AAChE,SAAgB,OAAO;IACnB,MAAM,YAAY,GAAW,EAAE,CAAC,IAAI,EAAE,CAAC;IACvC,QAAQ,YAAY,EAAE,CAAC;QACnB,KAAK,KAAK;YACN,OAAO,OAAO,CAAC;QACnB,KAAK,OAAO;YACR,OAAO,OAAO,CAAC;QACnB;YACI,MAAM,IAAI,KAAK,CAAC,6BAA6B,YAAY,EAAE,CAAC,CAAC;IACrE,CAAC;AACL,CAAC;AAED,SAAgB,kBAAkB;IAC9B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,OAAO,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/dist/setup.js b/dist/setup.js index 30eb049..1c03c10 100644 --- a/dist/setup.js +++ b/dist/setup.js @@ -29,13 +29,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/dist/setup.js.map b/dist/setup.js.map index 3ee54b6..b047208 100644 --- a/dist/setup.js.map +++ b/dist/setup.js.map @@ -1 +1 @@ -{"version":3,"file":"setup.js","sourceRoot":"","sources":["../src/setup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUH,sBAqCC;AA7CD,oDAAsC;AACtC,oDAAsC;AACtC,wDAA0C;AAC1C,+CAAiC;AACjC,6CAAyD;AACzD,2CAAuD;AAEvD,kCAAkC;AAClC,SAAsB,KAAK;;QACvB,IAAI,CAAC;YACD,mBAAmB;YACnB,MAAM,OAAO,GAAW,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;YACjD,MAAM,YAAY,GAAW,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAClD,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,CAAC;YAElE,eAAe;YACf,IAAI,YAAY,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACrC,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;YACxG,CAAC;YAED,8CAA8C;YAC9C,MAAM,WAAW,GAAG,IAAA,gCA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,sBAmB9B;AAGD,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC1B,KAAK,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/dist/sign.js b/dist/sign.js index 35c0bb7..448540c 100644 --- a/dist/sign.js +++ b/dist/sign.js @@ -29,13 +29,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/dist/sign.js.map b/dist/sign.js.map index 1d15fa3..c7e7778 100644 --- a/dist/sign.js.map +++ b/dist/sign.js.map @@ -1 +1 @@ -{"version":3,"file":"sign.js","sourceRoot":"","sources":["../src/sign.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AACtC,oDAAsC;AACtC,wDAA0C;AAC1C,2CAA6B;AAC7B,uCAAyB;AACzB,+CAAiC;AACjC,6CAAoC;AACpC,2CAAgE;AAChE,mCAA6C;AAE7C,0BAA0B;AA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AAC,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;IACD,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AAID,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC1B,IAAI,EAAE,CAAC;AACX,CAAC;AAJD,iBAAS,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/verify.js b/dist/verify.js index 1a504b4..cc26ac6 100644 --- a/dist/verify.js +++ b/dist/verify.js @@ -29,13 +29,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/dist/verify.js.map b/dist/verify.js.map index 282076a..fa752ba 100644 --- a/dist/verify.js.map +++ b/dist/verify.js.map @@ -1 +1 @@ -{"version":3,"file":"verify.js","sourceRoot":"","sources":["../src/verify.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AACtC,oDAAsC;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,CAAC,CAAC,4GAA4G;gBACvJ,MAAM,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC;YACnH,CAAC;QACL,CAAC;IACL,CAAC;CAAA;AAED,0DAA0D;AAC1D,SAAS,SAAS,CAAC,GAAW;IAC1B,OAAO,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,EAAC,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAC,CAAC;SAC9D,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;SAClC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAChD,CAAC;AAED,4DAA4D;AAC5D,SAAS,cAAc,CAAC,GAAW;IAC/B,OAAO,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,EAAC,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAC,CAAC;SAC9D,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;SACnC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAChD,CAAC;AAID,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,CAAC;AACb,CAAC;AAJD,iBAAS,MAAM,CAAC"} \ No newline at end of file diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo new file mode 100644 index 0000000..3d2d4ca --- /dev/null +++ b/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"root":["./src/setup.ts","./src/sign.ts","./src/verify.ts","./src/lib/checksum.ts","./src/lib/install.ts"],"version":"5.7.2"} \ No newline at end of file