From cf0901d753db0bf4d15baf625a6fa537978b03a9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 28 Feb 2026 22:23:19 +0100 Subject: upgrade actions/core to version 3 The relevant changes are in clean.js/restore.js. I'm very, very far away from the entire Javascript infrastructure, and absolutely don't understand why this changes were necessary. Thanks, ChatGPT! Supposedly, this has something to do with the actions/core's transition to ESM or whatever. --- node_modules/@actions/http-client/lib/auth.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'node_modules/@actions/http-client/lib/auth.js') diff --git a/node_modules/@actions/http-client/lib/auth.js b/node_modules/@actions/http-client/lib/auth.js index 2c150a3..62fe7c7 100644 --- a/node_modules/@actions/http-client/lib/auth.js +++ b/node_modules/@actions/http-client/lib/auth.js @@ -1,4 +1,3 @@ -"use strict"; 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) { @@ -8,9 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0; -class BasicCredentialHandler { +export class BasicCredentialHandler { constructor(username, password) { this.username = username; this.password = password; @@ -31,8 +28,7 @@ class BasicCredentialHandler { }); } } -exports.BasicCredentialHandler = BasicCredentialHandler; -class BearerCredentialHandler { +export class BearerCredentialHandler { constructor(token) { this.token = token; } @@ -54,8 +50,7 @@ class BearerCredentialHandler { }); } } -exports.BearerCredentialHandler = BearerCredentialHandler; -class PersonalAccessTokenCredentialHandler { +export class PersonalAccessTokenCredentialHandler { constructor(token) { this.token = token; } @@ -77,5 +72,4 @@ class PersonalAccessTokenCredentialHandler { }); } } -exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; //# sourceMappingURL=auth.js.map \ No newline at end of file -- cgit v1.3