diff --git a/.github/actions/did-custom-action-code-change/dist/index.js b/.github/actions/did-custom-action-code-change/dist/index.js index 2df5417..fc25d2e 100644 --- a/.github/actions/did-custom-action-code-change/dist/index.js +++ b/.github/actions/did-custom-action-code-change/dist/index.js @@ -1,7 +1,40 @@ +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __esm = (fn, res) => + function __init() { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])((fn = 0))), res; + }; var __commonJS = (cb, mod) => function __require() { - return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; +var __export = (target, all) => { + for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if ((from && typeof from === 'object') || typeof from === 'function') { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => ( + (target = mod != null ? __create(__getProtoOf(mod)) : {}), + __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, 'default', { value: mod, enumerable: true }) : target, + mod + ) +); +var __toCommonJS = mod => __copyProps(__defProp({}, '__esModule', { value: true }), mod); // node_modules/@actions/core/lib/utils.js var require_utils = __commonJS({ @@ -136,515 +169,357 @@ var require_command = __commonJS({ } }); -// node_modules/uuid/dist/rng.js -var require_rng = __commonJS({ - 'node_modules/uuid/dist/rng.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = rng; - var _crypto = _interopRequireDefault(require('crypto')); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var rnds8Pool = new Uint8Array(256); - var poolPtr = rnds8Pool.length; - function rng() { - if (poolPtr > rnds8Pool.length - 16) { - _crypto.default.randomFillSync(rnds8Pool); - poolPtr = 0; - } - return rnds8Pool.slice(poolPtr, (poolPtr += 16)); - } +// node_modules/uuid/dist/esm-node/rng.js +function rng() { + if (poolPtr > rnds8Pool.length - 16) { + import_crypto.default.randomFillSync(rnds8Pool); + poolPtr = 0; + } + return rnds8Pool.slice(poolPtr, (poolPtr += 16)); +} +var import_crypto, rnds8Pool, poolPtr; +var init_rng = __esm({ + 'node_modules/uuid/dist/esm-node/rng.js'() { + import_crypto = __toESM(require('crypto')); + rnds8Pool = new Uint8Array(256); + poolPtr = rnds8Pool.length; } }); -// node_modules/uuid/dist/regex.js -var require_regex = __commonJS({ - 'node_modules/uuid/dist/regex.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _default = +// node_modules/uuid/dist/esm-node/regex.js +var regex_default; +var init_regex = __esm({ + 'node_modules/uuid/dist/esm-node/regex.js'() { + regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; - exports2.default = _default; } }); -// node_modules/uuid/dist/validate.js -var require_validate = __commonJS({ - 'node_modules/uuid/dist/validate.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _regex = _interopRequireDefault(require_regex()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function validate(uuid) { - return typeof uuid === 'string' && _regex.default.test(uuid); - } - var _default = validate; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/validate.js +function validate(uuid) { + return typeof uuid === 'string' && regex_default.test(uuid); +} +var validate_default; +var init_validate = __esm({ + 'node_modules/uuid/dist/esm-node/validate.js'() { + init_regex(); + validate_default = validate; } }); -// node_modules/uuid/dist/stringify.js -var require_stringify = __commonJS({ - 'node_modules/uuid/dist/stringify.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _validate = _interopRequireDefault(require_validate()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var byteToHex = []; +// node_modules/uuid/dist/esm-node/stringify.js +function stringify(arr, offset = 0) { + const uuid = ( + byteToHex[arr[offset + 0]] + + byteToHex[arr[offset + 1]] + + byteToHex[arr[offset + 2]] + + byteToHex[arr[offset + 3]] + + '-' + + byteToHex[arr[offset + 4]] + + byteToHex[arr[offset + 5]] + + '-' + + byteToHex[arr[offset + 6]] + + byteToHex[arr[offset + 7]] + + '-' + + byteToHex[arr[offset + 8]] + + byteToHex[arr[offset + 9]] + + '-' + + byteToHex[arr[offset + 10]] + + byteToHex[arr[offset + 11]] + + byteToHex[arr[offset + 12]] + + byteToHex[arr[offset + 13]] + + byteToHex[arr[offset + 14]] + + byteToHex[arr[offset + 15]] + ).toLowerCase(); + if (!validate_default(uuid)) { + throw TypeError('Stringified UUID is invalid'); + } + return uuid; +} +var byteToHex, stringify_default; +var init_stringify = __esm({ + 'node_modules/uuid/dist/esm-node/stringify.js'() { + init_validate(); + byteToHex = []; for (let i = 0; i < 256; ++i) { byteToHex.push((i + 256).toString(16).substr(1)); } - function stringify(arr, offset = 0) { - const uuid = ( - byteToHex[arr[offset + 0]] + - byteToHex[arr[offset + 1]] + - byteToHex[arr[offset + 2]] + - byteToHex[arr[offset + 3]] + - '-' + - byteToHex[arr[offset + 4]] + - byteToHex[arr[offset + 5]] + - '-' + - byteToHex[arr[offset + 6]] + - byteToHex[arr[offset + 7]] + - '-' + - byteToHex[arr[offset + 8]] + - byteToHex[arr[offset + 9]] + - '-' + - byteToHex[arr[offset + 10]] + - byteToHex[arr[offset + 11]] + - byteToHex[arr[offset + 12]] + - byteToHex[arr[offset + 13]] + - byteToHex[arr[offset + 14]] + - byteToHex[arr[offset + 15]] - ).toLowerCase(); - if (!(0, _validate.default)(uuid)) { - throw TypeError('Stringified UUID is invalid'); - } - return uuid; - } - var _default = stringify; - exports2.default = _default; + stringify_default = stringify; } }); -// node_modules/uuid/dist/v1.js -var require_v1 = __commonJS({ - 'node_modules/uuid/dist/v1.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _rng = _interopRequireDefault(require_rng()); - var _stringify = _interopRequireDefault(require_stringify()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; +// node_modules/uuid/dist/esm-node/v1.js +function v1(options, buf, offset) { + let i = (buf && offset) || 0; + const b = buf || new Array(16); + options = options || {}; + let node = options.node || _nodeId; + let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq; + if (node == null || clockseq == null) { + const seedBytes = options.random || (options.rng || rng)(); + if (node == null) { + node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]]; } - var _nodeId; - var _clockseq; - var _lastMSecs = 0; - var _lastNSecs = 0; - function v1(options, buf, offset) { - let i = (buf && offset) || 0; - const b = buf || new Array(16); - options = options || {}; - let node = options.node || _nodeId; - let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq; - if (node == null || clockseq == null) { - const seedBytes = options.random || (options.rng || _rng.default)(); - if (node == null) { - node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]]; - } - if (clockseq == null) { - clockseq = _clockseq = ((seedBytes[6] << 8) | seedBytes[7]) & 16383; - } - } - let msecs = options.msecs !== void 0 ? options.msecs : Date.now(); - let nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1; - const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4; - if (dt < 0 && options.clockseq === void 0) { - clockseq = (clockseq + 1) & 16383; - } - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) { - nsecs = 0; - } - if (nsecs >= 1e4) { - throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - } - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - msecs += 122192928e5; - const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296; - b[i++] = (tl >>> 24) & 255; - b[i++] = (tl >>> 16) & 255; - b[i++] = (tl >>> 8) & 255; - b[i++] = tl & 255; - const tmh = ((msecs / 4294967296) * 1e4) & 268435455; - b[i++] = (tmh >>> 8) & 255; - b[i++] = tmh & 255; - b[i++] = ((tmh >>> 24) & 15) | 16; - b[i++] = (tmh >>> 16) & 255; - b[i++] = (clockseq >>> 8) | 128; - b[i++] = clockseq & 255; - for (let n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - return buf || (0, _stringify.default)(b); + if (clockseq == null) { + clockseq = _clockseq = ((seedBytes[6] << 8) | seedBytes[7]) & 16383; } - var _default = v1; - exports2.default = _default; + } + let msecs = options.msecs !== void 0 ? options.msecs : Date.now(); + let nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1; + const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4; + if (dt < 0 && options.clockseq === void 0) { + clockseq = (clockseq + 1) & 16383; + } + if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) { + nsecs = 0; + } + if (nsecs >= 1e4) { + throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); + } + _lastMSecs = msecs; + _lastNSecs = nsecs; + _clockseq = clockseq; + msecs += 122192928e5; + const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296; + b[i++] = (tl >>> 24) & 255; + b[i++] = (tl >>> 16) & 255; + b[i++] = (tl >>> 8) & 255; + b[i++] = tl & 255; + const tmh = ((msecs / 4294967296) * 1e4) & 268435455; + b[i++] = (tmh >>> 8) & 255; + b[i++] = tmh & 255; + b[i++] = ((tmh >>> 24) & 15) | 16; + b[i++] = (tmh >>> 16) & 255; + b[i++] = (clockseq >>> 8) | 128; + b[i++] = clockseq & 255; + for (let n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } + return buf || stringify_default(b); +} +var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default; +var init_v1 = __esm({ + 'node_modules/uuid/dist/esm-node/v1.js'() { + init_rng(); + init_stringify(); + _lastMSecs = 0; + _lastNSecs = 0; + v1_default = v1; } }); -// node_modules/uuid/dist/parse.js -var require_parse = __commonJS({ - 'node_modules/uuid/dist/parse.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _validate = _interopRequireDefault(require_validate()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function parse(uuid) { - if (!(0, _validate.default)(uuid)) { - throw TypeError('Invalid UUID'); - } - let v; - const arr = new Uint8Array(16); - arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; - arr[1] = (v >>> 16) & 255; - arr[2] = (v >>> 8) & 255; - arr[3] = v & 255; - arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; - arr[5] = v & 255; - arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; - arr[7] = v & 255; - arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; - arr[9] = v & 255; - arr[10] = ((v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776) & 255; - arr[11] = (v / 4294967296) & 255; - arr[12] = (v >>> 24) & 255; - arr[13] = (v >>> 16) & 255; - arr[14] = (v >>> 8) & 255; - arr[15] = v & 255; - return arr; - } - var _default = parse; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/parse.js +function parse(uuid) { + if (!validate_default(uuid)) { + throw TypeError('Invalid UUID'); + } + let v; + const arr = new Uint8Array(16); + arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; + arr[1] = (v >>> 16) & 255; + arr[2] = (v >>> 8) & 255; + arr[3] = v & 255; + arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; + arr[5] = v & 255; + arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; + arr[7] = v & 255; + arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; + arr[9] = v & 255; + arr[10] = ((v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776) & 255; + arr[11] = (v / 4294967296) & 255; + arr[12] = (v >>> 24) & 255; + arr[13] = (v >>> 16) & 255; + arr[14] = (v >>> 8) & 255; + arr[15] = v & 255; + return arr; +} +var parse_default; +var init_parse = __esm({ + 'node_modules/uuid/dist/esm-node/parse.js'() { + init_validate(); + parse_default = parse; } }); -// node_modules/uuid/dist/v35.js -var require_v35 = __commonJS({ - 'node_modules/uuid/dist/v35.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = _default; - exports2.URL = exports2.DNS = void 0; - var _stringify = _interopRequireDefault(require_stringify()); - var _parse = _interopRequireDefault(require_parse()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; +// node_modules/uuid/dist/esm-node/v35.js +function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); + const bytes = []; + for (let i = 0; i < str.length; ++i) { + bytes.push(str.charCodeAt(i)); + } + return bytes; +} +function v35_default(name, version2, hashfunc) { + function generateUUID(value, namespace, buf, offset) { + if (typeof value === 'string') { + value = stringToBytes(value); } - function stringToBytes(str) { - str = unescape(encodeURIComponent(str)); - const bytes = []; - for (let i = 0; i < str.length; ++i) { - bytes.push(str.charCodeAt(i)); - } - return bytes; + if (typeof namespace === 'string') { + namespace = parse_default(namespace); } - var DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; - exports2.DNS = DNS; - var URL2 = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; - exports2.URL = URL2; - function _default(name, version, hashfunc) { - function generateUUID(value, namespace, buf, offset) { - if (typeof value === 'string') { - value = stringToBytes(value); - } - if (typeof namespace === 'string') { - namespace = (0, _parse.default)(namespace); - } - if (namespace.length !== 16) { - throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)'); - } - let bytes = new Uint8Array(16 + value.length); - bytes.set(namespace); - bytes.set(value, namespace.length); - bytes = hashfunc(bytes); - bytes[6] = (bytes[6] & 15) | version; - bytes[8] = (bytes[8] & 63) | 128; - if (buf) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) { - buf[offset + i] = bytes[i]; - } - return buf; - } - return (0, _stringify.default)(bytes); - } - try { - generateUUID.name = name; - } catch (err) {} - generateUUID.DNS = DNS; - generateUUID.URL = URL2; - return generateUUID; + if (namespace.length !== 16) { + throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)'); + } + let bytes = new Uint8Array(16 + value.length); + bytes.set(namespace); + bytes.set(value, namespace.length); + bytes = hashfunc(bytes); + bytes[6] = (bytes[6] & 15) | version2; + bytes[8] = (bytes[8] & 63) | 128; + if (buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) { + buf[offset + i] = bytes[i]; + } + return buf; } + return stringify_default(bytes); + } + try { + generateUUID.name = name; + } catch (err) {} + generateUUID.DNS = DNS; + generateUUID.URL = URL2; + return generateUUID; +} +var DNS, URL2; +var init_v35 = __esm({ + 'node_modules/uuid/dist/esm-node/v35.js'() { + init_stringify(); + init_parse(); + DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; + URL2 = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; } }); -// node_modules/uuid/dist/md5.js -var require_md5 = __commonJS({ - 'node_modules/uuid/dist/md5.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _crypto = _interopRequireDefault(require('crypto')); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function md5(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } - return _crypto.default.createHash('md5').update(bytes).digest(); - } - var _default = md5; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/md5.js +function md5(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + return import_crypto2.default.createHash('md5').update(bytes).digest(); +} +var import_crypto2, md5_default; +var init_md5 = __esm({ + 'node_modules/uuid/dist/esm-node/md5.js'() { + import_crypto2 = __toESM(require('crypto')); + md5_default = md5; } }); -// node_modules/uuid/dist/v3.js -var require_v3 = __commonJS({ - 'node_modules/uuid/dist/v3.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _v = _interopRequireDefault(require_v35()); - var _md = _interopRequireDefault(require_md5()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var v3 = (0, _v.default)('v3', 48, _md.default); - var _default = v3; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/v3.js +var v3, v3_default; +var init_v3 = __esm({ + 'node_modules/uuid/dist/esm-node/v3.js'() { + init_v35(); + init_md5(); + v3 = v35_default('v3', 48, md5_default); + v3_default = v3; } }); -// node_modules/uuid/dist/v4.js -var require_v4 = __commonJS({ - 'node_modules/uuid/dist/v4.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _rng = _interopRequireDefault(require_rng()); - var _stringify = _interopRequireDefault(require_stringify()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; +// node_modules/uuid/dist/esm-node/v4.js +function v4(options, buf, offset) { + options = options || {}; + const rnds = options.random || (options.rng || rng)(); + rnds[6] = (rnds[6] & 15) | 64; + rnds[8] = (rnds[8] & 63) | 128; + if (buf) { + offset = offset || 0; + for (let i = 0; i < 16; ++i) { + buf[offset + i] = rnds[i]; } - function v4(options, buf, offset) { - options = options || {}; - const rnds = options.random || (options.rng || _rng.default)(); - rnds[6] = (rnds[6] & 15) | 64; - rnds[8] = (rnds[8] & 63) | 128; - if (buf) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) { - buf[offset + i] = rnds[i]; - } - return buf; - } - return (0, _stringify.default)(rnds); - } - var _default = v4; - exports2.default = _default; + return buf; + } + return stringify_default(rnds); +} +var v4_default; +var init_v4 = __esm({ + 'node_modules/uuid/dist/esm-node/v4.js'() { + init_rng(); + init_stringify(); + v4_default = v4; } }); -// node_modules/uuid/dist/sha1.js -var require_sha1 = __commonJS({ - 'node_modules/uuid/dist/sha1.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _crypto = _interopRequireDefault(require('crypto')); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function sha1(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } - return _crypto.default.createHash('sha1').update(bytes).digest(); - } - var _default = sha1; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/sha1.js +function sha1(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + return import_crypto3.default.createHash('sha1').update(bytes).digest(); +} +var import_crypto3, sha1_default; +var init_sha1 = __esm({ + 'node_modules/uuid/dist/esm-node/sha1.js'() { + import_crypto3 = __toESM(require('crypto')); + sha1_default = sha1; } }); -// node_modules/uuid/dist/v5.js -var require_v5 = __commonJS({ - 'node_modules/uuid/dist/v5.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _v = _interopRequireDefault(require_v35()); - var _sha = _interopRequireDefault(require_sha1()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var v5 = (0, _v.default)('v5', 80, _sha.default); - var _default = v5; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/v5.js +var v5, v5_default; +var init_v5 = __esm({ + 'node_modules/uuid/dist/esm-node/v5.js'() { + init_v35(); + init_sha1(); + v5 = v35_default('v5', 80, sha1_default); + v5_default = v5; } }); -// node_modules/uuid/dist/nil.js -var require_nil = __commonJS({ - 'node_modules/uuid/dist/nil.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _default = '00000000-0000-0000-0000-000000000000'; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/nil.js +var nil_default; +var init_nil = __esm({ + 'node_modules/uuid/dist/esm-node/nil.js'() { + nil_default = '00000000-0000-0000-0000-000000000000'; } }); -// node_modules/uuid/dist/version.js -var require_version = __commonJS({ - 'node_modules/uuid/dist/version.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - exports2.default = void 0; - var _validate = _interopRequireDefault(require_validate()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function version(uuid) { - if (!(0, _validate.default)(uuid)) { - throw TypeError('Invalid UUID'); - } - return parseInt(uuid.substr(14, 1), 16); - } - var _default = version; - exports2.default = _default; +// node_modules/uuid/dist/esm-node/version.js +function version(uuid) { + if (!validate_default(uuid)) { + throw TypeError('Invalid UUID'); + } + return parseInt(uuid.substr(14, 1), 16); +} +var version_default; +var init_version = __esm({ + 'node_modules/uuid/dist/esm-node/version.js'() { + init_validate(); + version_default = version; } }); -// node_modules/uuid/dist/index.js -var require_dist = __commonJS({ - 'node_modules/uuid/dist/index.js'(exports2) { - 'use strict'; - Object.defineProperty(exports2, '__esModule', { - value: true - }); - Object.defineProperty(exports2, 'v1', { - enumerable: true, - get: function () { - return _v.default; - } - }); - Object.defineProperty(exports2, 'v3', { - enumerable: true, - get: function () { - return _v2.default; - } - }); - Object.defineProperty(exports2, 'v4', { - enumerable: true, - get: function () { - return _v3.default; - } - }); - Object.defineProperty(exports2, 'v5', { - enumerable: true, - get: function () { - return _v4.default; - } - }); - Object.defineProperty(exports2, 'NIL', { - enumerable: true, - get: function () { - return _nil.default; - } - }); - Object.defineProperty(exports2, 'version', { - enumerable: true, - get: function () { - return _version.default; - } - }); - Object.defineProperty(exports2, 'validate', { - enumerable: true, - get: function () { - return _validate.default; - } - }); - Object.defineProperty(exports2, 'stringify', { - enumerable: true, - get: function () { - return _stringify.default; - } - }); - Object.defineProperty(exports2, 'parse', { - enumerable: true, - get: function () { - return _parse.default; - } - }); - var _v = _interopRequireDefault(require_v1()); - var _v2 = _interopRequireDefault(require_v3()); - var _v3 = _interopRequireDefault(require_v4()); - var _v4 = _interopRequireDefault(require_v5()); - var _nil = _interopRequireDefault(require_nil()); - var _version = _interopRequireDefault(require_version()); - var _validate = _interopRequireDefault(require_validate()); - var _stringify = _interopRequireDefault(require_stringify()); - var _parse = _interopRequireDefault(require_parse()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } +// node_modules/uuid/dist/esm-node/index.js +var esm_node_exports = {}; +__export(esm_node_exports, { + NIL: () => nil_default, + parse: () => parse_default, + stringify: () => stringify_default, + v1: () => v1_default, + v3: () => v3_default, + v4: () => v4_default, + v5: () => v5_default, + validate: () => validate_default, + version: () => version_default +}); +var init_esm_node = __esm({ + 'node_modules/uuid/dist/esm-node/index.js'() { + init_v1(); + init_v3(); + init_v4(); + init_v5(); + init_nil(); + init_version(); + init_validate(); + init_stringify(); + init_parse(); } }); @@ -692,7 +567,7 @@ var require_file_command = __commonJS({ exports2.prepareKeyValueMessage = exports2.issueFileCommand = void 0; var fs = __importStar(require('fs')); var os = __importStar(require('os')); - var uuid_1 = require_dist(); + var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports)); var utils_1 = require_utils(); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; @@ -1150,12 +1025,12 @@ var require_lib = __commonJS({ var RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; var ExponentialBackoffCeiling = 10; var ExponentialBackoffTimeSlice = 5; - var HttpClientError = class extends Error { + var HttpClientError = class _HttpClientError extends Error { constructor(message, statusCode) { super(message); this.name = 'HttpClientError'; this.statusCode = statusCode; - Object.setPrototypeOf(this, HttpClientError.prototype); + Object.setPrototypeOf(this, _HttpClientError.prototype); } }; exports2.HttpClientError = HttpClientError; @@ -1263,6 +1138,10 @@ var require_lib = __commonJS({ return this.request(verb, requestUrl, stream, additionalHeaders); }); } + /** + * Gets a typed object from an endpoint + * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise + */ getJson(requestUrl, additionalHeaders = {}) { return __awaiter(this, void 0, void 0, function* () { additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader( @@ -1325,6 +1204,11 @@ var require_lib = __commonJS({ return this._processResponse(res, this.requestOptions); }); } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ request(verb, requestUrl, data, headers) { return __awaiter(this, void 0, void 0, function* () { if (this._disposed) { @@ -1396,12 +1280,20 @@ var require_lib = __commonJS({ return response; }); } + /** + * Needs to be called if keepAlive is set to true in request options. + */ dispose() { if (this._agent) { this._agent.destroy(); } this._disposed = true; } + /** + * Raw request. + * @param info + * @param data + */ requestRaw(info, data) { return __awaiter(this, void 0, void 0, function* () { return new Promise((resolve, reject) => { @@ -1418,6 +1310,12 @@ var require_lib = __commonJS({ }); }); } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ requestRawWithCallback(info, data, onResult) { if (typeof data === 'string') { if (!info.options.headers) { @@ -1461,6 +1359,11 @@ var require_lib = __commonJS({ req.end(); } } + /** + * Gets an http agent. This function is useful when you need an http agent that handles + * routing through a proxy server - depending upon the url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ getAgent(serverUrl) { const parsedUrl = new URL(serverUrl); return this._getAgent(parsedUrl); @@ -1677,6 +1580,7 @@ var require_auth = __commonJS({ } options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`; } + // This handler cannot handle 401 canHandleAuthentication() { return false; } @@ -1691,12 +1595,15 @@ var require_auth = __commonJS({ constructor(token2) { this.token = token2; } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 prepareRequest(options) { if (!options.headers) { throw Error('The request has no headers'); } options.headers['Authorization'] = `Bearer ${this.token}`; } + // This handler cannot handle 401 canHandleAuthentication() { return false; } @@ -1711,12 +1618,15 @@ var require_auth = __commonJS({ constructor(token2) { this.token = token2; } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 prepareRequest(options) { if (!options.headers) { throw Error('The request has no headers'); } options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`; } + // This handler cannot handle 401 canHandleAuthentication() { return false; } @@ -1770,7 +1680,7 @@ var require_oidc_utils = __commonJS({ var http_client_1 = require_lib(); var auth_1 = require_auth(); var core_1 = require_core(); - var OidcClient = class { + var OidcClient = class _OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { allowRetries: allowRetry, @@ -1778,7 +1688,7 @@ var require_oidc_utils = __commonJS({ }; return new http_client_1.HttpClient( 'actions/oidc-client', - [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], + [new auth_1.BearerCredentialHandler(_OidcClient.getRequestToken())], requestOptions ); } @@ -1799,7 +1709,7 @@ var require_oidc_utils = __commonJS({ static getCall(id_token_url) { var _a; return __awaiter(this, void 0, void 0, function* () { - const httpclient = OidcClient.createHttpClient(); + const httpclient = _OidcClient.createHttpClient(); const res = yield httpclient.getJson(id_token_url).catch(error => { throw new Error(`Failed to get ID Token. @@ -1817,13 +1727,13 @@ var require_oidc_utils = __commonJS({ static getIDToken(audience) { return __awaiter(this, void 0, void 0, function* () { try { - let id_token_url = OidcClient.getIDTokenUrl(); + let id_token_url = _OidcClient.getIDTokenUrl(); if (audience) { const encodedAudience = encodeURIComponent(audience); id_token_url = `${id_token_url}&audience=${encodedAudience}`; } core_1.debug(`ID token url is ${id_token_url}`); - const id_token = yield OidcClient.getCall(id_token_url); + const id_token = yield _OidcClient.getCall(id_token_url); core_1.setSecret(id_token); return id_token; } catch (error) { @@ -1883,6 +1793,12 @@ var require_summary = __commonJS({ constructor() { this._buffer = ''; } + /** + * Finds the summary file path from the environment, rejects if env var is not found or file does not exist + * Also checks r/w permissions. + * + * @returns step summary file path + */ filePath() { return __awaiter(this, void 0, void 0, function* () { if (this._filePath) { @@ -1905,6 +1821,15 @@ var require_summary = __commonJS({ return this._filePath; }); } + /** + * Wraps content in an HTML tag, adding any HTML attributes + * + * @param {string} tag HTML tag to wrap + * @param {string | null} content content within the tag + * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add + * + * @returns {string} content wrapped in HTML element + */ wrap(tag, content, attrs = {}) { const htmlAttrs = Object.entries(attrs) .map(([key, value]) => ` ${key}="${value}"`) @@ -1914,6 +1839,13 @@ var require_summary = __commonJS({ } return `<${tag}${htmlAttrs}>${content}`; } + /** + * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default. + * + * @param {SummaryWriteOptions} [options] (optional) options for write operation + * + * @returns {Promise} summary instance + */ write(options) { return __awaiter(this, void 0, void 0, function* () { const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite); @@ -1923,39 +1855,95 @@ var require_summary = __commonJS({ return this.emptyBuffer(); }); } + /** + * Clears the summary buffer and wipes the summary file + * + * @returns {Summary} summary instance + */ clear() { return __awaiter(this, void 0, void 0, function* () { return this.emptyBuffer().write({ overwrite: true }); }); } + /** + * Returns the current summary buffer as a string + * + * @returns {string} string of summary buffer + */ stringify() { return this._buffer; } + /** + * If the summary buffer is empty + * + * @returns {boolen} true if the buffer is empty + */ isEmptyBuffer() { return this._buffer.length === 0; } + /** + * Resets the summary buffer without writing to summary file + * + * @returns {Summary} summary instance + */ emptyBuffer() { this._buffer = ''; return this; } + /** + * Adds raw text to the summary buffer + * + * @param {string} text content to add + * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) + * + * @returns {Summary} summary instance + */ addRaw(text, addEOL = false) { this._buffer += text; return addEOL ? this.addEOL() : this; } + /** + * Adds the operating system-specific end-of-line marker to the buffer + * + * @returns {Summary} summary instance + */ addEOL() { return this.addRaw(os_1.EOL); } + /** + * Adds an HTML codeblock to the summary buffer + * + * @param {string} code content to render within fenced code block + * @param {string} lang (optional) language to syntax highlight code + * + * @returns {Summary} summary instance + */ addCodeBlock(code, lang) { const attrs = Object.assign({}, lang && { lang }); const element = this.wrap('pre', this.wrap('code', code), attrs); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML list to the summary buffer + * + * @param {string[]} items list of items to render + * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false) + * + * @returns {Summary} summary instance + */ addList(items, ordered = false) { const tag = ordered ? 'ol' : 'ul'; const listItems = items.map(item => this.wrap('li', item)).join(''); const element = this.wrap(tag, listItems); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML table to the summary buffer + * + * @param {SummaryTableCell[]} rows table rows + * + * @returns {Summary} summary instance + */ addTable(rows) { const tableBody = rows .map(row => { @@ -1976,35 +1964,86 @@ var require_summary = __commonJS({ const element = this.wrap('table', tableBody); return this.addRaw(element).addEOL(); } + /** + * Adds a collapsable HTML details element to the summary buffer + * + * @param {string} label text for the closed state + * @param {string} content collapsable content + * + * @returns {Summary} summary instance + */ addDetails(label, content) { const element = this.wrap('details', this.wrap('summary', label) + content); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML image tag to the summary buffer + * + * @param {string} src path to the image you to embed + * @param {string} alt text description of the image + * @param {SummaryImageOptions} options (optional) addition image attributes + * + * @returns {Summary} summary instance + */ addImage(src, alt, options) { const { width, height } = options || {}; const attrs = Object.assign(Object.assign({}, width && { width }), height && { height }); const element = this.wrap('img', null, Object.assign({ src, alt }, attrs)); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML section heading element + * + * @param {string} text heading text + * @param {number | string} [level=1] (optional) the heading level, default: 1 + * + * @returns {Summary} summary instance + */ addHeading(text, level) { const tag = `h${level}`; const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag) ? tag : 'h1'; const element = this.wrap(allowedTag, text); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML thematic break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ addSeparator() { const element = this.wrap('hr', null); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML line break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ addBreak() { const element = this.wrap('br', null); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML blockquote to the summary buffer + * + * @param {string} text quote text + * @param {string} cite (optional) citation url + * + * @returns {Summary} summary instance + */ addQuote(text, cite) { const attrs = Object.assign({}, cite && { cite }); const element = this.wrap('blockquote', text, attrs); return this.addRaw(element).addEOL(); } + /** + * Adds an HTML anchor tag to the summary buffer + * + * @param {string} text link text/content + * @param {string} href hyperlink + * + * @returns {Summary} summary instance + */ addLink(text, href) { const element = this.wrap('a', text, { href }); return this.addRaw(element).addEOL(); @@ -2373,6 +2412,9 @@ var require_context = __commonJS({ var fs_1 = require('fs'); var os_1 = require('os'); var Context = class { + /** + * Hydrate the context from the environment + */ constructor() { var _a, _b, _c; this.payload = {}; @@ -2905,7 +2947,7 @@ var require_dist_node2 = __commonJS({ } }); } - function parse(options) { + function parse2(options) { let method = options.method.toUpperCase(); let url = (options.url || '/').replace(/:([a-z]\w+)/g, '{$1}'); let headers = Object.assign({}, options.headers); @@ -2982,7 +3024,7 @@ var require_dist_node2 = __commonJS({ ); } function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); + return parse2(merge(defaults, route, options)); } function withDefaults(oldDefaults, newDefaults) { const DEFAULTS2 = merge(oldDefaults, newDefaults); @@ -2991,7 +3033,7 @@ var require_dist_node2 = __commonJS({ DEFAULTS: DEFAULTS2, defaults: withDefaults.bind(null, DEFAULTS2), merge: merge.bind(null, DEFAULTS2), - parse + parse: parse2 }); } var VERSION = '6.0.12'; @@ -11652,11 +11694,11 @@ var require_url_state_machine = __commonJS({ function isC0ControlPercentEncode(c) { return c <= 31 || c > 126; } - var extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); + var extraPathPercentEncodeSet = /* @__PURE__ */ new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); function isPathPercentEncode(c) { return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); } - var extraUserinfoPercentEncodeSet = new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); + var extraUserinfoPercentEncodeSet = /* @__PURE__ */ new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); function isUserinfoPercentEncode(c) { return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); } @@ -12300,7 +12342,7 @@ var require_url_state_machine = __commonJS({ } return true; }; - var fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + var fileOtherwiseCodePoints = /* @__PURE__ */ new Set([47, 92, 63, 35]); URLStateMachine.prototype['parse file'] = function parseFile(c) { this.url.scheme = 'file'; if (c === 47 || c === 92) { @@ -12326,9 +12368,10 @@ var require_url_state_machine = __commonJS({ this.state = 'fragment'; } else { if ( - this.input.length - this.pointer - 1 === 0 || + this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || - (this.input.length - this.pointer - 1 >= 2 && !fileOtherwiseCodePoints.has(this.input[this.pointer + 2])) + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2])) ) { this.url.host = this.base.host; this.url.path = this.base.path.slice(); @@ -12799,8 +12842,8 @@ var require_URL = __commonJS({ var utils = require_utils3(); var Impl = require_URL_impl(); var impl = utils.implSymbol; - function URL2(url) { - if (!this || this[impl] || !(this instanceof URL2)) { + function URL3(url) { + if (!this || this[impl] || !(this instanceof URL3)) { throw new TypeError( "Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function." ); @@ -12818,7 +12861,7 @@ var require_URL = __commonJS({ } module2.exports.setup(this, args); } - URL2.prototype.toJSON = function toJSON() { + URL3.prototype.toJSON = function toJSON() { if (!this || !module2.exports.is(this)) { throw new TypeError('Illegal invocation'); } @@ -12828,7 +12871,7 @@ var require_URL = __commonJS({ } return this[impl].toJSON.apply(this[impl], args); }; - Object.defineProperty(URL2.prototype, 'href', { + Object.defineProperty(URL3.prototype, 'href', { get() { return this[impl].href; }, @@ -12839,20 +12882,20 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - URL2.prototype.toString = function () { + URL3.prototype.toString = function () { if (!this || !module2.exports.is(this)) { throw new TypeError('Illegal invocation'); } return this.href; }; - Object.defineProperty(URL2.prototype, 'origin', { + Object.defineProperty(URL3.prototype, 'origin', { get() { return this[impl].origin; }, enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'protocol', { + Object.defineProperty(URL3.prototype, 'protocol', { get() { return this[impl].protocol; }, @@ -12863,7 +12906,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'username', { + Object.defineProperty(URL3.prototype, 'username', { get() { return this[impl].username; }, @@ -12874,7 +12917,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'password', { + Object.defineProperty(URL3.prototype, 'password', { get() { return this[impl].password; }, @@ -12885,7 +12928,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'host', { + Object.defineProperty(URL3.prototype, 'host', { get() { return this[impl].host; }, @@ -12896,7 +12939,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'hostname', { + Object.defineProperty(URL3.prototype, 'hostname', { get() { return this[impl].hostname; }, @@ -12907,7 +12950,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'port', { + Object.defineProperty(URL3.prototype, 'port', { get() { return this[impl].port; }, @@ -12918,7 +12961,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'pathname', { + Object.defineProperty(URL3.prototype, 'pathname', { get() { return this[impl].pathname; }, @@ -12929,7 +12972,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'search', { + Object.defineProperty(URL3.prototype, 'search', { get() { return this[impl].search; }, @@ -12940,7 +12983,7 @@ var require_URL = __commonJS({ enumerable: true, configurable: true }); - Object.defineProperty(URL2.prototype, 'hash', { + Object.defineProperty(URL3.prototype, 'hash', { get() { return this[impl].hash; }, @@ -12956,7 +12999,7 @@ var require_URL = __commonJS({ return !!obj && obj[impl] instanceof Impl.implementation; }, create(constructorArgs, privateData) { - let obj = Object.create(URL2.prototype); + let obj = Object.create(URL3.prototype); this.setup(obj, constructorArgs, privateData); return obj; }, @@ -12966,10 +13009,10 @@ var require_URL = __commonJS({ obj[impl] = new Impl.implementation(constructorArgs, privateData); obj[impl][utils.wrapperSymbol] = obj; }, - interface: URL2, + interface: URL3, expose: { - Window: { URL: URL2 }, - Worker: { URL: URL2 } + Window: { URL: URL3 }, + Worker: { URL: URL3 } } }; } @@ -13008,7 +13051,7 @@ var require_lib3 = __commonJS({ var Readable = Stream.Readable; var BUFFER = Symbol('buffer'); var TYPE = Symbol('type'); - var Blob = class { + var Blob = class _Blob { constructor() { this[TYPE] = ''; const blobParts = arguments[0]; @@ -13027,7 +13070,7 @@ var require_lib3 = __commonJS({ buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); } else if (element instanceof ArrayBuffer) { buffer = Buffer.from(element); - } else if (element instanceof Blob) { + } else if (element instanceof _Blob) { buffer = element[BUFFER]; } else { buffer = Buffer.from(typeof element === 'string' ? element : String(element)); @@ -13088,7 +13131,7 @@ var require_lib3 = __commonJS({ const span = Math.max(relativeEnd - relativeStart, 0); const buffer = this[BUFFER]; const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); - const blob = new Blob([], { type: arguments[2] }); + const blob = new _Blob([], { type: arguments[2] }); blob[BUFFER] = slicedBuffer; return blob; } @@ -13167,15 +13210,26 @@ var require_lib3 = __commonJS({ get bodyUsed() { return this[INTERNALS].disturbed; }, + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ arrayBuffer() { return consumeBody.call(this).then(function (buf) { return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); }); }, + /** + * Return raw response as Blob + * + * @return Promise + */ blob() { let ct = (this.headers && this.headers.get('content-type')) || ''; return consumeBody.call(this).then(function (buf) { return Object.assign( + // Prevent copying new Blob([], { type: ct.toLowerCase() }), @@ -13185,6 +13239,11 @@ var require_lib3 = __commonJS({ ); }); }, + /** + * Decode response as json + * + * @return Promise + */ json() { var _this2 = this; return consumeBody.call(this).then(function (buffer) { @@ -13197,14 +13256,30 @@ var require_lib3 = __commonJS({ } }); }, + /** + * Decode response as text + * + * @return Promise + */ text() { return consumeBody.call(this).then(function (buffer) { return buffer.toString(); }); }, + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ buffer() { return consumeBody.call(this); }, + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ textConverted() { var _this3 = this; return consumeBody.call(this).then(function (buffer) { @@ -13419,7 +13494,7 @@ var require_lib3 = __commonJS({ return body.length; } else if (body && typeof body.getLengthSync === 'function') { if ( - (body._lengthRetrievers && body._lengthRetrievers.length == 0) || + (body._lengthRetrievers && body._lengthRetrievers.length == 0) || // 1.x (body.hasKnownLength && body.hasKnownLength()) ) { return body.getLengthSync(); @@ -13467,11 +13542,17 @@ var require_lib3 = __commonJS({ return void 0; } var MAP = Symbol('map'); - var Headers = class { + var Headers = class _Headers { + /** + * Headers class + * + * @param Object headers Response headers + * @return Void + */ constructor() { let init = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0; - this[MAP] = Object.create(null); - if (init instanceof Headers) { + this[MAP] = /* @__PURE__ */ Object.create(null); + if (init instanceof _Headers) { const rawHeaders = init.raw(); const headerNames = Object.keys(rawHeaders); for (const headerName of headerNames) { @@ -13511,6 +13592,12 @@ var require_lib3 = __commonJS({ throw new TypeError('Provided initializer must be an object'); } } + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ get(name) { name = `${name}`; validateName(name); @@ -13520,6 +13607,13 @@ var require_lib3 = __commonJS({ } return this[MAP][key].join(', '); } + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ forEach(callback) { let thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : void 0; let pairs = getHeaders(this); @@ -13533,6 +13627,13 @@ var require_lib3 = __commonJS({ i++; } } + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ set(name, value) { name = `${name}`; value = `${value}`; @@ -13541,6 +13642,13 @@ var require_lib3 = __commonJS({ const key = find(this[MAP], name); this[MAP][key !== void 0 ? key : name] = [value]; } + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ append(name, value) { name = `${name}`; value = `${value}`; @@ -13553,11 +13661,23 @@ var require_lib3 = __commonJS({ this[MAP][name] = [value]; } } + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ has(name) { name = `${name}`; validateName(name); return find(this[MAP], name) !== void 0; } + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ delete(name) { name = `${name}`; validateName(name); @@ -13566,15 +13686,37 @@ var require_lib3 = __commonJS({ delete this[MAP][key]; } } + /** + * Return raw headers (non-spec api) + * + * @return Object + */ raw() { return this[MAP]; } + /** + * Get an iterator on keys. + * + * @return Iterator + */ keys() { return createHeadersIterator(this, 'key'); } + /** + * Get an iterator on values. + * + * @return Iterator + */ values() { return createHeadersIterator(this, 'value'); } + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ [Symbol.iterator]() { return createHeadersIterator(this, 'key+value'); } @@ -13690,7 +13832,7 @@ var require_lib3 = __commonJS({ } var INTERNALS$1 = Symbol('Response internals'); var STATUS_CODES = http.STATUS_CODES; - var Response = class { + var Response = class _Response { constructor() { let body = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null; let opts = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; @@ -13717,6 +13859,9 @@ var require_lib3 = __commonJS({ get status() { return this[INTERNALS$1].status; } + /** + * Convenience property representing if the request ended normally + */ get ok() { return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; } @@ -13729,8 +13874,13 @@ var require_lib3 = __commonJS({ get headers() { return this[INTERNALS$1].headers; } + /** + * Clone this response + * + * @return Response + */ clone() { - return new Response(clone(this), { + return new _Response(clone(this), { url: this.url, status: this.status, statusText: this.statusText, @@ -13757,12 +13907,12 @@ var require_lib3 = __commonJS({ configurable: true }); var INTERNALS$2 = Symbol('Request internals'); - var URL2 = Url.URL || whatwgUrl.URL; + var URL3 = Url.URL || whatwgUrl.URL; var parse_url = Url.parse; var format_url = Url.format; function parseURL(urlStr) { if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { - urlStr = new URL2(urlStr).toString(); + urlStr = new URL3(urlStr).toString(); } return parse_url(urlStr); } @@ -13774,7 +13924,7 @@ var require_lib3 = __commonJS({ const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); return !!(proto && proto.constructor.name === 'AbortSignal'); } - var Request = class { + var Request = class _Request { constructor(input) { let init = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; let parsedURL; @@ -13837,8 +13987,13 @@ var require_lib3 = __commonJS({ get signal() { return this[INTERNALS$2].signal; } + /** + * Clone this request + * + * @return Request + */ clone() { - return new Request(this); + return new _Request(this); } }; Body.mixIn(Request.prototype); @@ -14310,6 +14465,8 @@ var require_dist_node5 = __commonJS({ headers: requestOptions.headers, redirect: requestOptions.redirect }, + // `requestOptions.request.agent` type is incompatible + // see https://github.com/octokit/types.ts/pull/264 requestOptions.request ) ) @@ -14635,6 +14792,7 @@ var require_dist_node8 = __commonJS({ baseUrl: request.request.endpoint.DEFAULTS.baseUrl, headers: {}, request: Object.assign({}, options.request, { + // @ts-ignore internal usage only, no need to type hook: hook.bind(null, 'request') }), mediaType: { @@ -14687,6 +14845,11 @@ var require_dist_node8 = __commonJS({ { request: this.request, log: this.log, + // we pass the current octokit instance as well as its constructor options + // to allow for authentication strategies that return a new octokit instance + // that shares the same internal state as the current one. The original + // requirement for this was the "event-octokit" authentication strategy + // of https://github.com/probot/octokit-auth-probot. octokit: this, octokitOptions: otherOptions }, @@ -14725,6 +14888,12 @@ var require_dist_node8 = __commonJS({ }; return OctokitWithDefaults; } + /** + * Attach a plugin (or many) to your Octokit instance. + * + * @example + * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) + */ static plugin(...newPlugins) { var _a; const currentPlugins = this.plugins; @@ -16104,7 +16273,7 @@ var require_dist_node10 = __commonJS({ } function _objectSpread2(target) { for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; + var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); @@ -16605,7 +16774,7 @@ var repo = core.getInput('repo') || github.context.repo.repo; var token = core.getInput('token', requiredArgOptions); var octokit = github.getOctokit(token); function getPrFolders(prFiles) { - const prFoldersSet = new Set(); + const prFoldersSet = /* @__PURE__ */ new Set(); if (prFiles) { prFiles.forEach(f => { const folder = f.substring(0, f.lastIndexOf('/')); @@ -16630,7 +16799,7 @@ No folders had changes in the PR.`); return prFolders; } async function getPRFiles(org2, repo2, prNumber2) { - const prFilesSet = new Set(); + const prFilesSet = /* @__PURE__ */ new Set(); await octokit .paginate(octokit.rest.pulls.listFiles, { owner: org2, @@ -16685,17 +16854,23 @@ The following files have changes in the PR and match the files to check for chan hasMatchingChanges = true; const joinedFolders = ` ${matchingFolders.join('\n ')}`; - core.info(` -The following folders have changes in the PR and match the folders to check for changes:${joinedFolders}`); + core.info( + ` +The following folders have changes in the PR and match the folders to check for changes:${joinedFolders}` + ); } } core.setOutput('HAS_CHANGES', hasMatchingChanges); core.exportVariable('CODE_HAS_CHANGED', hasMatchingChanges); } run(); -/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ +/*! Bundled license information: + +is-plain-object/dist/is-plain-object.js: + (*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + *) +*/ diff --git a/.github/actions/did-custom-action-code-change/package-lock.json b/.github/actions/did-custom-action-code-change/package-lock.json index 1a6a583..bc2f4ed 100644 --- a/.github/actions/did-custom-action-code-change/package-lock.json +++ b/.github/actions/did-custom-action-code-change/package-lock.json @@ -13,7 +13,7 @@ "@actions/github": "^5.1.1" }, "devDependencies": { - "esbuild": "^0.12.29", + "esbuild": "^0.25.0", "install": "^0.13.0", "prettier": "^2.7.1" } @@ -43,6 +43,431 @@ "tunnel": "^0.0.6" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", + "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.0.tgz", + "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz", + "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.0.tgz", + "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", + "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz", + "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz", + "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz", + "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz", + "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz", + "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz", + "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz", + "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz", + "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz", + "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz", + "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz", + "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz", + "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz", + "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz", + "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz", + "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz", + "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz", + "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz", + "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz", + "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz", + "integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@octokit/auth-token": { "version": "2.5.0", "license": "MIT", @@ -143,12 +568,44 @@ "license": "ISC" }, "node_modules/esbuild": { - "version": "0.12.29", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz", + "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==", "dev": true, "hasInstallScript": true, "license": "MIT", "bin": { "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.0", + "@esbuild/android-arm": "0.25.0", + "@esbuild/android-arm64": "0.25.0", + "@esbuild/android-x64": "0.25.0", + "@esbuild/darwin-arm64": "0.25.0", + "@esbuild/darwin-x64": "0.25.0", + "@esbuild/freebsd-arm64": "0.25.0", + "@esbuild/freebsd-x64": "0.25.0", + "@esbuild/linux-arm": "0.25.0", + "@esbuild/linux-arm64": "0.25.0", + "@esbuild/linux-ia32": "0.25.0", + "@esbuild/linux-loong64": "0.25.0", + "@esbuild/linux-mips64el": "0.25.0", + "@esbuild/linux-ppc64": "0.25.0", + "@esbuild/linux-riscv64": "0.25.0", + "@esbuild/linux-s390x": "0.25.0", + "@esbuild/linux-x64": "0.25.0", + "@esbuild/netbsd-arm64": "0.25.0", + "@esbuild/netbsd-x64": "0.25.0", + "@esbuild/openbsd-arm64": "0.25.0", + "@esbuild/openbsd-x64": "0.25.0", + "@esbuild/sunos-x64": "0.25.0", + "@esbuild/win32-arm64": "0.25.0", + "@esbuild/win32-ia32": "0.25.0", + "@esbuild/win32-x64": "0.25.0" } }, "node_modules/install": { @@ -267,6 +724,181 @@ "tunnel": "^0.0.6" } }, + "@esbuild/aix-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", + "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.0.tgz", + "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz", + "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==", + "dev": true, + "optional": true + }, + "@esbuild/android-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.0.tgz", + "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", + "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz", + "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz", + "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz", + "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz", + "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz", + "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz", + "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz", + "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz", + "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz", + "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz", + "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz", + "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz", + "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz", + "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz", + "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz", + "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz", + "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==", + "dev": true, + "optional": true + }, + "@esbuild/sunos-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz", + "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==", + "dev": true, + "optional": true + }, + "@esbuild/win32-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz", + "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==", + "dev": true, + "optional": true + }, + "@esbuild/win32-ia32": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz", + "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==", + "dev": true, + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz", + "integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==", + "dev": true, + "optional": true + }, "@octokit/auth-token": { "version": "2.5.0", "requires": { @@ -349,8 +981,37 @@ "version": "2.3.1" }, "esbuild": { - "version": "0.12.29", - "dev": true + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz", + "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.25.0", + "@esbuild/android-arm": "0.25.0", + "@esbuild/android-arm64": "0.25.0", + "@esbuild/android-x64": "0.25.0", + "@esbuild/darwin-arm64": "0.25.0", + "@esbuild/darwin-x64": "0.25.0", + "@esbuild/freebsd-arm64": "0.25.0", + "@esbuild/freebsd-x64": "0.25.0", + "@esbuild/linux-arm": "0.25.0", + "@esbuild/linux-arm64": "0.25.0", + "@esbuild/linux-ia32": "0.25.0", + "@esbuild/linux-loong64": "0.25.0", + "@esbuild/linux-mips64el": "0.25.0", + "@esbuild/linux-ppc64": "0.25.0", + "@esbuild/linux-riscv64": "0.25.0", + "@esbuild/linux-s390x": "0.25.0", + "@esbuild/linux-x64": "0.25.0", + "@esbuild/netbsd-arm64": "0.25.0", + "@esbuild/netbsd-x64": "0.25.0", + "@esbuild/openbsd-arm64": "0.25.0", + "@esbuild/openbsd-x64": "0.25.0", + "@esbuild/sunos-x64": "0.25.0", + "@esbuild/win32-arm64": "0.25.0", + "@esbuild/win32-ia32": "0.25.0", + "@esbuild/win32-x64": "0.25.0" + } }, "install": { "version": "0.13.0", diff --git a/.github/actions/did-custom-action-code-change/package.json b/.github/actions/did-custom-action-code-change/package.json index 1b99425..9345432 100644 --- a/.github/actions/did-custom-action-code-change/package.json +++ b/.github/actions/did-custom-action-code-change/package.json @@ -17,7 +17,7 @@ "@actions/github": "^5.1.1" }, "devDependencies": { - "esbuild": "^0.12.29", + "esbuild": "^0.25.0", "install": "^0.13.0", "prettier": "^2.7.1" }