From f4f1212c880fdec8162ea9a6493f4495191887b4 Mon Sep 17 00:00:00 2001 From: Haritha <73516759+HarithaVattikuti@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:13:56 -0500 Subject: [PATCH 1/2] Update publish-immutable-actions.yml (#798) --- .github/workflows/publish-immutable-actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-immutable-actions.yml b/.github/workflows/publish-immutable-actions.yml index 7c258347..9f6953ee 100644 --- a/.github/workflows/publish-immutable-actions.yml +++ b/.github/workflows/publish-immutable-actions.yml @@ -2,7 +2,8 @@ name: 'Publish Immutable Action Version' on: release: - types: [published] + types: [released] + workflow_dispatch: jobs: publish: From 16878f7e18b21b5d9d1024b7a2471d8cbbce1360 Mon Sep 17 00:00:00 2001 From: "Sarut Limpajeerawong| |github.tr4200812.github.com" <179701381+tr4200812@users.noreply.github.com> Date: Tue, 13 May 2025 22:09:39 -0400 Subject: [PATCH 2/2] Revert "Bump @types/jest from 29.5.12 to 29.5.14 (#729)" This reverts commit 3a4f6e1af504cf6a31855fa899c6aa5355ba6c12. --- .licenses/npm/undici.dep.yml | Bin 1396 -> 1396 bytes dist/cleanup/index.js | 18 +----------------- dist/setup/index.js | 18 +----------------- package-lock.json | 16 +++++++--------- package.json | 2 +- 5 files changed, 10 insertions(+), 44 deletions(-) diff --git a/.licenses/npm/undici.dep.yml b/.licenses/npm/undici.dep.yml index 961089c6539002815e4cb02802c7de40242b34f4..cc74a6d2dafa7bc3a78a6bc451e5b57672ac0514 100644 GIT binary patch delta 12 Tcmeyu^@VGKJfq1*g%DN%AOHjl delta 12 Tcmeyu^@VGKJfrDGg%DN%AO!>r diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index b8d03ca1..2e5b0a50 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -73848,14 +73848,6 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(9830) const { File: UndiciFile } = __nccwpck_require__(8511) const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685) -let random -try { - const crypto = __nccwpck_require__(6005) - random = (max) => crypto.randomInt(0, max) -} catch { - random = (max) => Math.floor(Math.random(max)) -} - let ReadableStream = globalThis.ReadableStream /** @type {globalThis['File']} */ @@ -73941,7 +73933,7 @@ function extractBody (object, keepalive = false) { // Set source to a copy of the bytes held by object. source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)) } else if (util.isFormDataLike(object)) { - const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}` + const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}` const prefix = `--${boundary}\r\nContent-Disposition: form-data` /*! formdata-polyfill. MIT License. Jimmy Wärting */ @@ -93815,14 +93807,6 @@ module.exports = require("net"); /***/ }), -/***/ 6005: -/***/ ((module) => { - -"use strict"; -module.exports = require("node:crypto"); - -/***/ }), - /***/ 5673: /***/ ((module) => { diff --git a/dist/setup/index.js b/dist/setup/index.js index 08107f09..70fa64f8 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -98702,14 +98702,6 @@ const { isUint8Array, isArrayBuffer } = __nccwpck_require__(29830) const { File: UndiciFile } = __nccwpck_require__(78511) const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685) -let random -try { - const crypto = __nccwpck_require__(6005) - random = (max) => crypto.randomInt(0, max) -} catch { - random = (max) => Math.floor(Math.random(max)) -} - let ReadableStream = globalThis.ReadableStream /** @type {globalThis['File']} */ @@ -98795,7 +98787,7 @@ function extractBody (object, keepalive = false) { // Set source to a copy of the bytes held by object. source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)) } else if (util.isFormDataLike(object)) { - const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}` + const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}` const prefix = `--${boundary}\r\nContent-Disposition: form-data` /*! formdata-polyfill. MIT License. Jimmy Wärting */ @@ -131820,14 +131812,6 @@ module.exports = require("net"); /***/ }), -/***/ 6005: -/***/ ((module) => { - -"use strict"; -module.exports = require("node:crypto"); - -/***/ }), - /***/ 15673: /***/ ((module) => { diff --git a/package-lock.json b/package-lock.json index eaea09f1..c9652cd5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "xmlbuilder2": "^2.4.0" }, "devDependencies": { - "@types/jest": "^29.5.14", + "@types/jest": "^29.5.12", "@types/node": "^20.11.24", "@types/semver": "^7.5.8", "@typescript-eslint/eslint-plugin": "^5.54.0", @@ -1628,11 +1628,10 @@ } }, "node_modules/@types/jest": { - "version": "29.5.14", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", - "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", + "version": "29.5.12", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", + "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", "dev": true, - "license": "MIT", "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" @@ -5335,10 +5334,9 @@ } }, "node_modules/undici": { - "version": "5.28.5", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.5.tgz", - "integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", - "license": "MIT", + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", "dependencies": { "@fastify/busboy": "^2.0.0" }, diff --git a/package.json b/package.json index db57615e..1e4c9442 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "xmlbuilder2": "^2.4.0" }, "devDependencies": { - "@types/jest": "^29.5.14", + "@types/jest": "^29.5.12", "@types/node": "^20.11.24", "@types/semver": "^7.5.8", "@typescript-eslint/eslint-plugin": "^5.54.0",