mirror of
				https://github.com/actions/setup-go.git
				synced 2025-10-31 15:50:33 +00:00 
			
		
		
		
	Compare commits
	
		
			8 Commits
		
	
	
		
			v5.5.0
			...
			test-macos
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 7a61e9b75a | ||
|   | dd046af70e | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 8e57b58e57 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 7c0b336c9a | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 6f26dcc668 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 8d4083a006 | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | fa96338abe | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | 4de67c04ab | 
							
								
								
									
										90
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										90
									
								
								.github/workflows/versions.yml
									
									
									
									
										vendored
									
									
								
							| @@ -3,7 +3,7 @@ name: Validate 'setup-go' | |||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - main |       - test-macos-x64-runner | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '**.md' |       - '**.md' | ||||||
|   pull_request: |   pull_request: | ||||||
| @@ -18,7 +18,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |         os: [macos-14-large] | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|       - name: Setup Go Stable |       - name: Setup Go Stable | ||||||
| @@ -33,7 +33,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |         os: [macos-14-large] | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|       - name: Setup Go oldStable |       - name: Setup Go oldStable | ||||||
| @@ -43,28 +43,28 @@ jobs: | |||||||
|       - name: Verify Go |       - name: Verify Go | ||||||
|         run: go version |         run: go version | ||||||
|  |  | ||||||
|   aliases-arch: |   # aliases-arch: | ||||||
|     runs-on: ${{ matrix.os }} |   #   runs-on: ${{ matrix.os }} | ||||||
|     strategy: |   #   strategy: | ||||||
|       fail-fast: false |   #     fail-fast: false | ||||||
|       matrix: |   #     matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |   #       os: [ubuntu-latest, windows-latest, macos-latest, macos-14-large] | ||||||
|         version: [stable, oldstable] |   #       version: [stable, oldstable] | ||||||
|         architecture: [x64, x32] |   #       architecture: [x64, x32] | ||||||
|         exclude: |   #       exclude: | ||||||
|           - os: macos-latest |   #         - os: macos-latest | ||||||
|             architecture: x32 |   #           architecture: x32 | ||||||
|           - os: macos-13 |   #         - os: macos-14-large | ||||||
|             architecture: x32 |   #           architecture: x32 | ||||||
|     steps: |   #   steps: | ||||||
|       - uses: actions/checkout@v4 |   #     - uses: actions/checkout@v4 | ||||||
|       - name: Setup Go ${{ matrix.version }} ${{ matrix.architecture }} |   #     - name: Setup Go ${{ matrix.version }} ${{ matrix.architecture }} | ||||||
|         uses: ./ |   #       uses: ./ | ||||||
|         with: |   #       with: | ||||||
|           go-version: ${{ matrix.version }} |   #         go-version: ${{ matrix.version }} | ||||||
|           architecture: ${{ matrix.architecture }} |   #         architecture: ${{ matrix.architecture }} | ||||||
|       - name: Verify Go |   #     - name: Verify Go | ||||||
|         run: go version |   #       run: go version | ||||||
|  |  | ||||||
|   local-cache: |   local-cache: | ||||||
|     name: Setup local-cache version |     name: Setup local-cache version | ||||||
| @@ -72,14 +72,14 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [macos-latest, windows-latest, ubuntu-latest, macos-13] |         os: [macos-14-large] | ||||||
|         go: [1.21.13, 1.22.8, 1.23.2] |         go: [1.21.13, 1.22.8, 1.23.2] | ||||||
|         include: |         # include: | ||||||
|           - os: windows-latest |         #   - os: windows-latest | ||||||
|             go: 1.20.14 |         #     go: 1.20.14 | ||||||
|         exclude: |         # exclude: | ||||||
|           - os: windows-latest |         #   - os: windows-latest | ||||||
|             go: 1.23.2 |         #     go: 1.23.2 | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
| @@ -98,7 +98,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |         os: [macos-14-large] | ||||||
|         go-version: ['1.20', '1.21', '1.22', '1.23'] |         go-version: ['1.20', '1.21', '1.22', '1.23'] | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
| @@ -115,7 +115,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |         os: [macos-14-large] | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|       - name: Setup Go and check latest |       - name: Setup Go and check latest | ||||||
| @@ -131,7 +131,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |         os: [macos-14-large] | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|       - name: Setup Go and check latest |       - name: Setup Go and check latest | ||||||
| @@ -147,7 +147,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [macos-latest, windows-latest, ubuntu-latest, macos-13] |         os: [macos-14-large] | ||||||
|         go: [1.20.14, 1.21.10, 1.22.8, 1.23.2] |         go: [1.20.14, 1.21.10, 1.22.8, 1.23.2] | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
| @@ -167,7 +167,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [windows-latest, ubuntu-latest, macos-13] |         os: [macos-14-large] | ||||||
|         go: [1.11.12] |         go: [1.11.12] | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
| @@ -187,16 +187,16 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         os: [ubuntu-latest, windows-latest, macos-latest, macos-13] |         os: [macos-14-large] | ||||||
|         go-version: [1.20.14, 1.21, 1.22, 1.23] |         go-version: [1.20.14, 1.21, 1.22, 1.23] | ||||||
|         include: |         include: | ||||||
|           - os: macos-latest |           # - os: macos-latest | ||||||
|             architecture: arm64 |           #   architecture: arm64 | ||||||
|           - os: ubuntu-latest |           # - os: ubuntu-latest | ||||||
|             architecture: x64 |           #   architecture: x64 | ||||||
|           - os: windows-latest |           # - os: windows-latest | ||||||
|             architecture: x64 |           #   architecture: x64 | ||||||
|           - os: macos-13 |           - os: macos-14-large | ||||||
|             architecture: x64 |             architecture: x64 | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.licenses/npm/@actions/tool-cache.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/@actions/tool-cache.dep.yml
									
									
									
										generated
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| --- | --- | ||||||
| name: "@actions/tool-cache" | name: "@actions/tool-cache" | ||||||
| version: 2.0.1 | version: 2.0.2 | ||||||
| type: npm | type: npm | ||||||
| summary: Actions tool-cache lib | summary: Actions tool-cache lib | ||||||
| homepage: https://github.com/actions/toolkit/tree/main/packages/tool-cache | homepage: https://github.com/actions/toolkit/tree/main/packages/tool-cache | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.licenses/npm/brace-expansion.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/brace-expansion.dep.yml
									
									
									
										generated
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| --- | --- | ||||||
| name: brace-expansion | name: brace-expansion | ||||||
| version: 1.1.11 | version: 1.1.12 | ||||||
| type: npm | type: npm | ||||||
| summary: Brace expansion as known from sh/bash | summary: Brace expansion as known from sh/bash | ||||||
| homepage: https://github.com/juliangruber/brace-expansion | homepage: https://github.com/juliangruber/brace-expansion | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.licenses/npm/undici.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/undici.dep.yml
									
									
									
										generated
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| --- | --- | ||||||
| name: undici | name: undici | ||||||
| version: 5.28.5 | version: 5.29.0 | ||||||
| type: npm | type: npm | ||||||
| summary: An HTTP/1.1 client, written from scratch for Node.js | summary: An HTTP/1.1 client, written from scratch for Node.js | ||||||
| homepage: https://undici.nodejs.org | homepage: https://undici.nodejs.org | ||||||
|   | |||||||
							
								
								
									
										39
									
								
								.licenses/npm/uuid-3.4.0.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										39
									
								
								.licenses/npm/uuid-3.4.0.dep.yml
									
									
									
										generated
									
									
									
								
							| @@ -1,39 +0,0 @@ | |||||||
| --- |  | ||||||
| name: uuid |  | ||||||
| version: 3.4.0 |  | ||||||
| type: npm |  | ||||||
| summary: RFC4122 (v1, v4, and v5) UUIDs |  | ||||||
| homepage: https://github.com/uuidjs/uuid#readme |  | ||||||
| license: mit |  | ||||||
| licenses: |  | ||||||
| - sources: LICENSE.md |  | ||||||
|   text: | |  | ||||||
|     The MIT License (MIT) |  | ||||||
| 
 |  | ||||||
|     Copyright (c) 2010-2016 Robert Kieffer and other contributors |  | ||||||
| 
 |  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy |  | ||||||
|     of this software and associated documentation files (the "Software"), to deal |  | ||||||
|     in the Software without restriction, including without limitation the rights |  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |  | ||||||
|     copies of the Software, and to permit persons to whom the Software is |  | ||||||
|     furnished to do so, subject to the following conditions: |  | ||||||
| 
 |  | ||||||
|     The above copyright notice and this permission notice shall be included in all |  | ||||||
|     copies or substantial portions of the Software. |  | ||||||
| 
 |  | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |  | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |  | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |  | ||||||
|     SOFTWARE. |  | ||||||
| notices: |  | ||||||
| - sources: AUTHORS |  | ||||||
|   text: |- |  | ||||||
|     Robert Kieffer <robert@broofa.com> |  | ||||||
|     Christoph Tavan <dev@tavan.de> |  | ||||||
|     AJ ONeal <coolaj86@gmail.com> |  | ||||||
|     Vincent Voyer <vincent@zeroload.net> |  | ||||||
|     Roman Shtylman <shtylman@gmail.com> |  | ||||||
| @@ -3,7 +3,7 @@ name: uuid | |||||||
| version: 8.3.2 | version: 8.3.2 | ||||||
| type: npm | type: npm | ||||||
| summary: RFC4122 (v1, v4, and v5) UUIDs | summary: RFC4122 (v1, v4, and v5) UUIDs | ||||||
| homepage: https://github.com/uuidjs/uuid#readme | homepage: | ||||||
| license: mit | license: mit | ||||||
| licenses: | licenses: | ||||||
| - sources: LICENSE.md | - sources: LICENSE.md | ||||||
							
								
								
									
										101
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										101
									
								
								dist/cache-save/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -51577,7 +51577,7 @@ function expand(str, isTop) { | |||||||
|   var isOptions = m.body.indexOf(',') >= 0; |   var isOptions = m.body.indexOf(',') >= 0; | ||||||
|   if (!isSequence && !isOptions) { |   if (!isSequence && !isOptions) { | ||||||
|     // {a},b}
 |     // {a},b}
 | ||||||
|     if (m.post.match(/,.*\}/)) { |     if (m.post.match(/,(?!,).*\}/)) { | ||||||
|       str = m.pre + '{' + m.body + escClose + m.post; |       str = m.pre + '{' + m.body + escClose + m.post; | ||||||
|       return expand(str); |       return expand(str); | ||||||
|     } |     } | ||||||
| @@ -62802,7 +62802,7 @@ module.exports = { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const { parseSetCookie } = __nccwpck_require__(4408) | const { parseSetCookie } = __nccwpck_require__(4408) | ||||||
| const { stringify, getHeadersList } = __nccwpck_require__(3121) | const { stringify } = __nccwpck_require__(3121) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const { Headers } = __nccwpck_require__(554) | const { Headers } = __nccwpck_require__(554) | ||||||
| 
 | 
 | ||||||
| @@ -62878,14 +62878,13 @@ function getSetCookies (headers) { | |||||||
| 
 | 
 | ||||||
|   webidl.brandCheck(headers, Headers, { strict: false }) |   webidl.brandCheck(headers, Headers, { strict: false }) | ||||||
| 
 | 
 | ||||||
|   const cookies = getHeadersList(headers).cookies |   const cookies = headers.getSetCookie() | ||||||
| 
 | 
 | ||||||
|   if (!cookies) { |   if (!cookies) { | ||||||
|     return [] |     return [] | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   // In older versions of undici, cookies is a list of name:value.
 |   return cookies.map((pair) => parseSetCookie(pair)) | ||||||
|   return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair)) |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
| @@ -63313,14 +63312,15 @@ module.exports = { | |||||||
| /***/ }), | /***/ }), | ||||||
| 
 | 
 | ||||||
| /***/ 3121: | /***/ 3121: | ||||||
| /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { | /***/ ((module) => { | ||||||
| 
 | 
 | ||||||
| "use strict"; | "use strict"; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const assert = __nccwpck_require__(9491) | /** | ||||||
| const { kHeadersList } = __nccwpck_require__(2785) |  * @param {string} value | ||||||
| 
 |  * @returns {boolean} | ||||||
|  |  */ | ||||||
| function isCTLExcludingHtab (value) { | function isCTLExcludingHtab (value) { | ||||||
|   if (value.length === 0) { |   if (value.length === 0) { | ||||||
|     return false |     return false | ||||||
| @@ -63581,31 +63581,13 @@ function stringify (cookie) { | |||||||
|   return out.join('; ') |   return out.join('; ') | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| let kHeadersListNode |  | ||||||
| 
 |  | ||||||
| function getHeadersList (headers) { |  | ||||||
|   if (headers[kHeadersList]) { |  | ||||||
|     return headers[kHeadersList] |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   if (!kHeadersListNode) { |  | ||||||
|     kHeadersListNode = Object.getOwnPropertySymbols(headers).find( |  | ||||||
|       (symbol) => symbol.description === 'headers list' |  | ||||||
|     ) |  | ||||||
| 
 |  | ||||||
|     assert(kHeadersListNode, 'Headers cannot be parsed') |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   const headersList = headers[kHeadersListNode] |  | ||||||
|   assert(headersList) |  | ||||||
| 
 |  | ||||||
|   return headersList |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| module.exports = { | module.exports = { | ||||||
|   isCTLExcludingHtab, |   isCTLExcludingHtab, | ||||||
|   stringify, |   validateCookieName, | ||||||
|   getHeadersList |   validateCookiePath, | ||||||
|  |   validateCookieValue, | ||||||
|  |   toIMFDate, | ||||||
|  |   stringify | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @@ -67609,6 +67591,7 @@ const { | |||||||
|   isValidHeaderName, |   isValidHeaderName, | ||||||
|   isValidHeaderValue |   isValidHeaderValue | ||||||
| } = __nccwpck_require__(2538) | } = __nccwpck_require__(2538) | ||||||
|  | const util = __nccwpck_require__(3837) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const assert = __nccwpck_require__(9491) | const assert = __nccwpck_require__(9491) | ||||||
| 
 | 
 | ||||||
| @@ -68162,6 +68145,9 @@ Object.defineProperties(Headers.prototype, { | |||||||
|   [Symbol.toStringTag]: { |   [Symbol.toStringTag]: { | ||||||
|     value: 'Headers', |     value: 'Headers', | ||||||
|     configurable: true |     configurable: true | ||||||
|  |   }, | ||||||
|  |   [util.inspect.custom]: { | ||||||
|  |     enumerable: false | ||||||
|   } |   } | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| @@ -77338,6 +77324,20 @@ class Pool extends PoolBase { | |||||||
|       ? { ...options.interceptors } |       ? { ...options.interceptors } | ||||||
|       : undefined |       : undefined | ||||||
|     this[kFactory] = factory |     this[kFactory] = factory | ||||||
|  | 
 | ||||||
|  |     this.on('connectionError', (origin, targets, error) => { | ||||||
|  |       // If a connection error occurs, we remove the client from the pool,
 | ||||||
|  |       // and emit a connectionError event. They will not be re-used.
 | ||||||
|  |       // Fixes https://github.com/nodejs/undici/issues/3895
 | ||||||
|  |       for (const target of targets) { | ||||||
|  |         // Do not use kRemoveClient here, as it will close the client,
 | ||||||
|  |         // but the client cannot be closed in this state.
 | ||||||
|  |         const idx = this[kClients].indexOf(target) | ||||||
|  |         if (idx !== -1) { | ||||||
|  |           this[kClients].splice(idx, 1) | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }) | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   [kGetDispatcher] () { |   [kGetDispatcher] () { | ||||||
| @@ -86631,13 +86631,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| }) : function(o, v) { | }) : function(o, v) { | ||||||
|     o["default"] = v; |     o["default"] = v; | ||||||
| }); | }); | ||||||
| var __importStar = (this && this.__importStar) || function (mod) { | 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; |         if (mod && mod.__esModule) return mod; | ||||||
|         var result = {}; |         var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |         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); |         __setModuleDefault(result, mod); | ||||||
|         return result; |         return result; | ||||||
|     }; |     }; | ||||||
|  | })(); | ||||||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||||||
|     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||||||
|     return new (P || (P = Promise))(function (resolve, reject) { |     return new (P || (P = Promise))(function (resolve, reject) { | ||||||
| @@ -86651,7 +86661,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | |||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |     return (mod && mod.__esModule) ? mod : { "default": mod }; | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.run = void 0; | exports.run = run; | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const cache = __importStar(__nccwpck_require__(7799)); | const cache = __importStar(__nccwpck_require__(7799)); | ||||||
| const fs_1 = __importDefault(__nccwpck_require__(7147)); | const fs_1 = __importDefault(__nccwpck_require__(7147)); | ||||||
| @@ -86690,7 +86700,6 @@ function run(earlyExit) { | |||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.run = run; |  | ||||||
| const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () { | const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () { | ||||||
|     const packageManager = 'default'; |     const packageManager = 'default'; | ||||||
|     const state = core.getState(constants_1.State.CacheMatchedKey); |     const state = core.getState(constants_1.State.CacheMatchedKey); | ||||||
| @@ -86749,13 +86758,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| }) : function(o, v) { | }) : function(o, v) { | ||||||
|     o["default"] = v; |     o["default"] = v; | ||||||
| }); | }); | ||||||
| var __importStar = (this && this.__importStar) || function (mod) { | 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; |         if (mod && mod.__esModule) return mod; | ||||||
|         var result = {}; |         var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |         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); |         __setModuleDefault(result, mod); | ||||||
|         return result; |         return result; | ||||||
|     }; |     }; | ||||||
|  | })(); | ||||||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||||||
|     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||||||
|     return new (P || (P = Promise))(function (resolve, reject) { |     return new (P || (P = Promise))(function (resolve, reject) { | ||||||
| @@ -86766,7 +86785,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge | |||||||
|     }); |     }); | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.isCacheFeatureAvailable = exports.isGhes = exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0; | exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0; | ||||||
|  | exports.isGhes = isGhes; | ||||||
|  | exports.isCacheFeatureAvailable = isCacheFeatureAvailable; | ||||||
| const cache = __importStar(__nccwpck_require__(7799)); | const cache = __importStar(__nccwpck_require__(7799)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const exec = __importStar(__nccwpck_require__(1514)); | const exec = __importStar(__nccwpck_require__(1514)); | ||||||
| @@ -86816,7 +86837,6 @@ function isGhes() { | |||||||
|     const isLocalHost = hostname.endsWith('.LOCALHOST'); |     const isLocalHost = hostname.endsWith('.LOCALHOST'); | ||||||
|     return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost; |     return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost; | ||||||
| } | } | ||||||
| exports.isGhes = isGhes; |  | ||||||
| function isCacheFeatureAvailable() { | function isCacheFeatureAvailable() { | ||||||
|     if (cache.isFeatureAvailable()) { |     if (cache.isFeatureAvailable()) { | ||||||
|         return true; |         return true; | ||||||
| @@ -86828,7 +86848,6 @@ function isCacheFeatureAvailable() { | |||||||
|     core.warning('The runner was not able to contact the cache service. Caching will be skipped'); |     core.warning('The runner was not able to contact the cache service. Caching will be skipped'); | ||||||
|     return false; |     return false; | ||||||
| } | } | ||||||
| exports.isCacheFeatureAvailable = isCacheFeatureAvailable; |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
|   | |||||||
							
								
								
									
										313
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										313
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -10238,7 +10238,11 @@ function copyFile(srcFile, destFile, force) { | |||||||
| 
 | 
 | ||||||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||||||
|     if (k2 === undefined) k2 = k; |     if (k2 === undefined) k2 = k; | ||||||
|     Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); |     var desc = Object.getOwnPropertyDescriptor(m, k); | ||||||
|  |     if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||||||
|  |       desc = { enumerable: true, get: function() { return m[k]; } }; | ||||||
|  |     } | ||||||
|  |     Object.defineProperty(o, k2, desc); | ||||||
| }) : (function(o, m, k, k2) { | }) : (function(o, m, k, k2) { | ||||||
|     if (k2 === undefined) k2 = k; |     if (k2 === undefined) k2 = k; | ||||||
|     o[k2] = m[k]; |     o[k2] = m[k]; | ||||||
| @@ -10251,7 +10255,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| var __importStar = (this && this.__importStar) || function (mod) { | var __importStar = (this && this.__importStar) || function (mod) { | ||||||
|     if (mod && mod.__esModule) return mod; |     if (mod && mod.__esModule) return mod; | ||||||
|     var result = {}; |     var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||||||
|     __setModuleDefault(result, mod); |     __setModuleDefault(result, mod); | ||||||
|     return result; |     return result; | ||||||
| }; | }; | ||||||
| @@ -10281,11 +10285,11 @@ function _findMatch(versionSpec, stable, candidates, archFilter) { | |||||||
|         let file; |         let file; | ||||||
|         for (const candidate of candidates) { |         for (const candidate of candidates) { | ||||||
|             const version = candidate.version; |             const version = candidate.version; | ||||||
|             core_1.debug(`check ${version} satisfies ${versionSpec}`); |             (0, core_1.debug)(`check ${version} satisfies ${versionSpec}`); | ||||||
|             if (semver.satisfies(version, versionSpec) && |             if (semver.satisfies(version, versionSpec) && | ||||||
|                 (!stable || candidate.stable === stable)) { |                 (!stable || candidate.stable === stable)) { | ||||||
|                 file = candidate.files.find(item => { |                 file = candidate.files.find(item => { | ||||||
|                     core_1.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`); |                     (0, core_1.debug)(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`); | ||||||
|                     let chk = item.arch === archFilter && item.platform === platFilter; |                     let chk = item.arch === archFilter && item.platform === platFilter; | ||||||
|                     if (chk && item.platform_version) { |                     if (chk && item.platform_version) { | ||||||
|                         const osVersion = module.exports._getOsVersion(); |                         const osVersion = module.exports._getOsVersion(); | ||||||
| @@ -10299,7 +10303,7 @@ function _findMatch(versionSpec, stable, candidates, archFilter) { | |||||||
|                     return chk; |                     return chk; | ||||||
|                 }); |                 }); | ||||||
|                 if (file) { |                 if (file) { | ||||||
|                     core_1.debug(`matched ${candidate.version}`); |                     (0, core_1.debug)(`matched ${candidate.version}`); | ||||||
|                     match = candidate; |                     match = candidate; | ||||||
|                     break; |                     break; | ||||||
|                 } |                 } | ||||||
| @@ -10337,10 +10341,7 @@ function _getOsVersion() { | |||||||
|                 if (parts.length === 2 && |                 if (parts.length === 2 && | ||||||
|                     (parts[0].trim() === 'VERSION_ID' || |                     (parts[0].trim() === 'VERSION_ID' || | ||||||
|                         parts[0].trim() === 'DISTRIB_RELEASE')) { |                         parts[0].trim() === 'DISTRIB_RELEASE')) { | ||||||
|                     version = parts[1] |                     version = parts[1].trim().replace(/^"/, '').replace(/"$/, ''); | ||||||
|                         .trim() |  | ||||||
|                         .replace(/^"/, '') |  | ||||||
|                         .replace(/"$/, ''); |  | ||||||
|                     break; |                     break; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| @@ -10373,7 +10374,11 @@ exports._readLinuxVersionFile = _readLinuxVersionFile; | |||||||
| 
 | 
 | ||||||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||||||
|     if (k2 === undefined) k2 = k; |     if (k2 === undefined) k2 = k; | ||||||
|     Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); |     var desc = Object.getOwnPropertyDescriptor(m, k); | ||||||
|  |     if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||||||
|  |       desc = { enumerable: true, get: function() { return m[k]; } }; | ||||||
|  |     } | ||||||
|  |     Object.defineProperty(o, k2, desc); | ||||||
| }) : (function(o, m, k, k2) { | }) : (function(o, m, k, k2) { | ||||||
|     if (k2 === undefined) k2 = k; |     if (k2 === undefined) k2 = k; | ||||||
|     o[k2] = m[k]; |     o[k2] = m[k]; | ||||||
| @@ -10386,7 +10391,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| var __importStar = (this && this.__importStar) || function (mod) { | var __importStar = (this && this.__importStar) || function (mod) { | ||||||
|     if (mod && mod.__esModule) return mod; |     if (mod && mod.__esModule) return mod; | ||||||
|     var result = {}; |     var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||||||
|     __setModuleDefault(result, mod); |     __setModuleDefault(result, mod); | ||||||
|     return result; |     return result; | ||||||
| }; | }; | ||||||
| @@ -10463,7 +10468,11 @@ exports.RetryHelper = RetryHelper; | |||||||
| 
 | 
 | ||||||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||||||
|     if (k2 === undefined) k2 = k; |     if (k2 === undefined) k2 = k; | ||||||
|     Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); |     var desc = Object.getOwnPropertyDescriptor(m, k); | ||||||
|  |     if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||||||
|  |       desc = { enumerable: true, get: function() { return m[k]; } }; | ||||||
|  |     } | ||||||
|  |     Object.defineProperty(o, k2, desc); | ||||||
| }) : (function(o, m, k, k2) { | }) : (function(o, m, k, k2) { | ||||||
|     if (k2 === undefined) k2 = k; |     if (k2 === undefined) k2 = k; | ||||||
|     o[k2] = m[k]; |     o[k2] = m[k]; | ||||||
| @@ -10476,7 +10485,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| var __importStar = (this && this.__importStar) || function (mod) { | var __importStar = (this && this.__importStar) || function (mod) { | ||||||
|     if (mod && mod.__esModule) return mod; |     if (mod && mod.__esModule) return mod; | ||||||
|     var result = {}; |     var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||||||
|     __setModuleDefault(result, mod); |     __setModuleDefault(result, mod); | ||||||
|     return result; |     return result; | ||||||
| }; | }; | ||||||
| @@ -10489,13 +10498,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge | |||||||
|         step((generator = generator.apply(thisArg, _arguments || [])).next()); |         step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||||||
|     }); |     }); | ||||||
| }; | }; | ||||||
| var __importDefault = (this && this.__importDefault) || function (mod) { |  | ||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |  | ||||||
| }; |  | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0; | exports.evaluateVersions = exports.isExplicitVersion = exports.findFromManifest = exports.getManifestFromRepo = exports.findAllVersions = exports.find = exports.cacheFile = exports.cacheDir = exports.extractZip = exports.extractXar = exports.extractTar = exports.extract7z = exports.downloadTool = exports.HTTPError = void 0; | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const io = __importStar(__nccwpck_require__(7436)); | const io = __importStar(__nccwpck_require__(7436)); | ||||||
|  | const crypto = __importStar(__nccwpck_require__(6113)); | ||||||
| const fs = __importStar(__nccwpck_require__(7147)); | const fs = __importStar(__nccwpck_require__(7147)); | ||||||
| const mm = __importStar(__nccwpck_require__(2473)); | const mm = __importStar(__nccwpck_require__(2473)); | ||||||
| const os = __importStar(__nccwpck_require__(2037)); | const os = __importStar(__nccwpck_require__(2037)); | ||||||
| @@ -10505,7 +10512,6 @@ const semver = __importStar(__nccwpck_require__(562)); | |||||||
| const stream = __importStar(__nccwpck_require__(2781)); | const stream = __importStar(__nccwpck_require__(2781)); | ||||||
| const util = __importStar(__nccwpck_require__(3837)); | const util = __importStar(__nccwpck_require__(3837)); | ||||||
| const assert_1 = __nccwpck_require__(9491); | const assert_1 = __nccwpck_require__(9491); | ||||||
| const v4_1 = __importDefault(__nccwpck_require__(824)); |  | ||||||
| const exec_1 = __nccwpck_require__(1514); | const exec_1 = __nccwpck_require__(1514); | ||||||
| const retry_helper_1 = __nccwpck_require__(8279); | const retry_helper_1 = __nccwpck_require__(8279); | ||||||
| class HTTPError extends Error { | class HTTPError extends Error { | ||||||
| @@ -10530,7 +10536,7 @@ const userAgent = 'actions/tool-cache'; | |||||||
|  */ |  */ | ||||||
| function downloadTool(url, dest, auth, headers) { | function downloadTool(url, dest, auth, headers) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         dest = dest || path.join(_getTempDirectory(), v4_1.default()); |         dest = dest || path.join(_getTempDirectory(), crypto.randomUUID()); | ||||||
|         yield io.mkdirP(path.dirname(dest)); |         yield io.mkdirP(path.dirname(dest)); | ||||||
|         core.debug(`Downloading ${url}`); |         core.debug(`Downloading ${url}`); | ||||||
|         core.debug(`Destination ${dest}`); |         core.debug(`Destination ${dest}`); | ||||||
| @@ -10619,8 +10625,8 @@ function downloadToolAttempt(url, dest, auth, headers) { | |||||||
|  */ |  */ | ||||||
| function extract7z(file, dest, _7zPath) { | function extract7z(file, dest, _7zPath) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS'); |         (0, assert_1.ok)(IS_WINDOWS, 'extract7z() not supported on current OS'); | ||||||
|         assert_1.ok(file, 'parameter "file" is required'); |         (0, assert_1.ok)(file, 'parameter "file" is required'); | ||||||
|         dest = yield _createExtractFolder(dest); |         dest = yield _createExtractFolder(dest); | ||||||
|         const originalCwd = process.cwd(); |         const originalCwd = process.cwd(); | ||||||
|         process.chdir(dest); |         process.chdir(dest); | ||||||
| @@ -10637,7 +10643,7 @@ function extract7z(file, dest, _7zPath) { | |||||||
|                 const options = { |                 const options = { | ||||||
|                     silent: true |                     silent: true | ||||||
|                 }; |                 }; | ||||||
|                 yield exec_1.exec(`"${_7zPath}"`, args, options); |                 yield (0, exec_1.exec)(`"${_7zPath}"`, args, options); | ||||||
|             } |             } | ||||||
|             finally { |             finally { | ||||||
|                 process.chdir(originalCwd); |                 process.chdir(originalCwd); | ||||||
| @@ -10666,7 +10672,7 @@ function extract7z(file, dest, _7zPath) { | |||||||
|             }; |             }; | ||||||
|             try { |             try { | ||||||
|                 const powershellPath = yield io.which('powershell', true); |                 const powershellPath = yield io.which('powershell', true); | ||||||
|                 yield exec_1.exec(`"${powershellPath}"`, args, options); |                 yield (0, exec_1.exec)(`"${powershellPath}"`, args, options); | ||||||
|             } |             } | ||||||
|             finally { |             finally { | ||||||
|                 process.chdir(originalCwd); |                 process.chdir(originalCwd); | ||||||
| @@ -10694,7 +10700,7 @@ function extractTar(file, dest, flags = 'xz') { | |||||||
|         // Determine whether GNU tar
 |         // Determine whether GNU tar
 | ||||||
|         core.debug('Checking tar --version'); |         core.debug('Checking tar --version'); | ||||||
|         let versionOutput = ''; |         let versionOutput = ''; | ||||||
|         yield exec_1.exec('tar --version', [], { |         yield (0, exec_1.exec)('tar --version', [], { | ||||||
|             ignoreReturnCode: true, |             ignoreReturnCode: true, | ||||||
|             silent: true, |             silent: true, | ||||||
|             listeners: { |             listeners: { | ||||||
| @@ -10730,7 +10736,7 @@ function extractTar(file, dest, flags = 'xz') { | |||||||
|             args.push('--overwrite'); |             args.push('--overwrite'); | ||||||
|         } |         } | ||||||
|         args.push('-C', destArg, '-f', fileArg); |         args.push('-C', destArg, '-f', fileArg); | ||||||
|         yield exec_1.exec(`tar`, args); |         yield (0, exec_1.exec)(`tar`, args); | ||||||
|         return dest; |         return dest; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| @@ -10745,8 +10751,8 @@ exports.extractTar = extractTar; | |||||||
|  */ |  */ | ||||||
| function extractXar(file, dest, flags = []) { | function extractXar(file, dest, flags = []) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         assert_1.ok(IS_MAC, 'extractXar() not supported on current OS'); |         (0, assert_1.ok)(IS_MAC, 'extractXar() not supported on current OS'); | ||||||
|         assert_1.ok(file, 'parameter "file" is required'); |         (0, assert_1.ok)(file, 'parameter "file" is required'); | ||||||
|         dest = yield _createExtractFolder(dest); |         dest = yield _createExtractFolder(dest); | ||||||
|         let args; |         let args; | ||||||
|         if (flags instanceof Array) { |         if (flags instanceof Array) { | ||||||
| @@ -10760,7 +10766,7 @@ function extractXar(file, dest, flags = []) { | |||||||
|             args.push('-v'); |             args.push('-v'); | ||||||
|         } |         } | ||||||
|         const xarPath = yield io.which('xar', true); |         const xarPath = yield io.which('xar', true); | ||||||
|         yield exec_1.exec(`"${xarPath}"`, _unique(args)); |         yield (0, exec_1.exec)(`"${xarPath}"`, _unique(args)); | ||||||
|         return dest; |         return dest; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| @@ -10814,7 +10820,7 @@ function extractZipWin(file, dest) { | |||||||
|                 pwshCommand |                 pwshCommand | ||||||
|             ]; |             ]; | ||||||
|             core.debug(`Using pwsh at path: ${pwshPath}`); |             core.debug(`Using pwsh at path: ${pwshPath}`); | ||||||
|             yield exec_1.exec(`"${pwshPath}"`, args); |             yield (0, exec_1.exec)(`"${pwshPath}"`, args); | ||||||
|         } |         } | ||||||
|         else { |         else { | ||||||
|             const powershellCommand = [ |             const powershellCommand = [ | ||||||
| @@ -10835,7 +10841,7 @@ function extractZipWin(file, dest) { | |||||||
|             ]; |             ]; | ||||||
|             const powershellPath = yield io.which('powershell', true); |             const powershellPath = yield io.which('powershell', true); | ||||||
|             core.debug(`Using powershell at path: ${powershellPath}`); |             core.debug(`Using powershell at path: ${powershellPath}`); | ||||||
|             yield exec_1.exec(`"${powershellPath}"`, args); |             yield (0, exec_1.exec)(`"${powershellPath}"`, args); | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| @@ -10847,7 +10853,7 @@ function extractZipNix(file, dest) { | |||||||
|             args.unshift('-q'); |             args.unshift('-q'); | ||||||
|         } |         } | ||||||
|         args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run
 |         args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run
 | ||||||
|         yield exec_1.exec(`"${unzipPath}"`, args, { cwd: dest }); |         yield (0, exec_1.exec)(`"${unzipPath}"`, args, { cwd: dest }); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| /** | /** | ||||||
| @@ -11024,7 +11030,7 @@ function _createExtractFolder(dest) { | |||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         if (!dest) { |         if (!dest) { | ||||||
|             // create a temp dir
 |             // create a temp dir
 | ||||||
|             dest = path.join(_getTempDirectory(), v4_1.default()); |             dest = path.join(_getTempDirectory(), crypto.randomUUID()); | ||||||
|         } |         } | ||||||
|         yield io.mkdirP(dest); |         yield io.mkdirP(dest); | ||||||
|         return dest; |         return dest; | ||||||
| @@ -11097,7 +11103,7 @@ exports.evaluateVersions = evaluateVersions; | |||||||
|  */ |  */ | ||||||
| function _getCacheDirectory() { | function _getCacheDirectory() { | ||||||
|     const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || ''; |     const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || ''; | ||||||
|     assert_1.ok(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined'); |     (0, assert_1.ok)(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined'); | ||||||
|     return cacheDirectory; |     return cacheDirectory; | ||||||
| } | } | ||||||
| /** | /** | ||||||
| @@ -11105,7 +11111,7 @@ function _getCacheDirectory() { | |||||||
|  */ |  */ | ||||||
| function _getTempDirectory() { | function _getTempDirectory() { | ||||||
|     const tempDirectory = process.env['RUNNER_TEMP'] || ''; |     const tempDirectory = process.env['RUNNER_TEMP'] || ''; | ||||||
|     assert_1.ok(tempDirectory, 'Expected RUNNER_TEMP to be defined'); |     (0, assert_1.ok)(tempDirectory, 'Expected RUNNER_TEMP to be defined'); | ||||||
|     return tempDirectory; |     return tempDirectory; | ||||||
| } | } | ||||||
| /** | /** | ||||||
| @@ -55357,7 +55363,7 @@ function expand(str, isTop) { | |||||||
|   var isOptions = m.body.indexOf(',') >= 0; |   var isOptions = m.body.indexOf(',') >= 0; | ||||||
|   if (!isSequence && !isOptions) { |   if (!isSequence && !isOptions) { | ||||||
|     // {a},b}
 |     // {a},b}
 | ||||||
|     if (m.post.match(/,.*\}/)) { |     if (m.post.match(/,(?!,).*\}/)) { | ||||||
|       str = m.pre + '{' + m.body + escClose + m.post; |       str = m.pre + '{' + m.body + escClose + m.post; | ||||||
|       return expand(str); |       return expand(str); | ||||||
|     } |     } | ||||||
| @@ -69142,7 +69148,7 @@ module.exports = { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const { parseSetCookie } = __nccwpck_require__(4408) | const { parseSetCookie } = __nccwpck_require__(4408) | ||||||
| const { stringify, getHeadersList } = __nccwpck_require__(3121) | const { stringify } = __nccwpck_require__(3121) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const { Headers } = __nccwpck_require__(554) | const { Headers } = __nccwpck_require__(554) | ||||||
| 
 | 
 | ||||||
| @@ -69218,14 +69224,13 @@ function getSetCookies (headers) { | |||||||
| 
 | 
 | ||||||
|   webidl.brandCheck(headers, Headers, { strict: false }) |   webidl.brandCheck(headers, Headers, { strict: false }) | ||||||
| 
 | 
 | ||||||
|   const cookies = getHeadersList(headers).cookies |   const cookies = headers.getSetCookie() | ||||||
| 
 | 
 | ||||||
|   if (!cookies) { |   if (!cookies) { | ||||||
|     return [] |     return [] | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   // In older versions of undici, cookies is a list of name:value.
 |   return cookies.map((pair) => parseSetCookie(pair)) | ||||||
|   return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair)) |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
| @@ -69653,14 +69658,15 @@ module.exports = { | |||||||
| /***/ }), | /***/ }), | ||||||
| 
 | 
 | ||||||
| /***/ 3121: | /***/ 3121: | ||||||
| /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { | /***/ ((module) => { | ||||||
| 
 | 
 | ||||||
| "use strict"; | "use strict"; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| const assert = __nccwpck_require__(9491) | /** | ||||||
| const { kHeadersList } = __nccwpck_require__(2785) |  * @param {string} value | ||||||
| 
 |  * @returns {boolean} | ||||||
|  |  */ | ||||||
| function isCTLExcludingHtab (value) { | function isCTLExcludingHtab (value) { | ||||||
|   if (value.length === 0) { |   if (value.length === 0) { | ||||||
|     return false |     return false | ||||||
| @@ -69921,31 +69927,13 @@ function stringify (cookie) { | |||||||
|   return out.join('; ') |   return out.join('; ') | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| let kHeadersListNode |  | ||||||
| 
 |  | ||||||
| function getHeadersList (headers) { |  | ||||||
|   if (headers[kHeadersList]) { |  | ||||||
|     return headers[kHeadersList] |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   if (!kHeadersListNode) { |  | ||||||
|     kHeadersListNode = Object.getOwnPropertySymbols(headers).find( |  | ||||||
|       (symbol) => symbol.description === 'headers list' |  | ||||||
|     ) |  | ||||||
| 
 |  | ||||||
|     assert(kHeadersListNode, 'Headers cannot be parsed') |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   const headersList = headers[kHeadersListNode] |  | ||||||
|   assert(headersList) |  | ||||||
| 
 |  | ||||||
|   return headersList |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| module.exports = { | module.exports = { | ||||||
|   isCTLExcludingHtab, |   isCTLExcludingHtab, | ||||||
|   stringify, |   validateCookieName, | ||||||
|   getHeadersList |   validateCookiePath, | ||||||
|  |   validateCookieValue, | ||||||
|  |   toIMFDate, | ||||||
|  |   stringify | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @@ -73949,6 +73937,7 @@ const { | |||||||
|   isValidHeaderName, |   isValidHeaderName, | ||||||
|   isValidHeaderValue |   isValidHeaderValue | ||||||
| } = __nccwpck_require__(2538) | } = __nccwpck_require__(2538) | ||||||
|  | const util = __nccwpck_require__(3837) | ||||||
| const { webidl } = __nccwpck_require__(1744) | const { webidl } = __nccwpck_require__(1744) | ||||||
| const assert = __nccwpck_require__(9491) | const assert = __nccwpck_require__(9491) | ||||||
| 
 | 
 | ||||||
| @@ -74502,6 +74491,9 @@ Object.defineProperties(Headers.prototype, { | |||||||
|   [Symbol.toStringTag]: { |   [Symbol.toStringTag]: { | ||||||
|     value: 'Headers', |     value: 'Headers', | ||||||
|     configurable: true |     configurable: true | ||||||
|  |   }, | ||||||
|  |   [util.inspect.custom]: { | ||||||
|  |     enumerable: false | ||||||
|   } |   } | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| @@ -83678,6 +83670,20 @@ class Pool extends PoolBase { | |||||||
|       ? { ...options.interceptors } |       ? { ...options.interceptors } | ||||||
|       : undefined |       : undefined | ||||||
|     this[kFactory] = factory |     this[kFactory] = factory | ||||||
|  | 
 | ||||||
|  |     this.on('connectionError', (origin, targets, error) => { | ||||||
|  |       // If a connection error occurs, we remove the client from the pool,
 | ||||||
|  |       // and emit a connectionError event. They will not be re-used.
 | ||||||
|  |       // Fixes https://github.com/nodejs/undici/issues/3895
 | ||||||
|  |       for (const target of targets) { | ||||||
|  |         // Do not use kRemoveClient here, as it will close the client,
 | ||||||
|  |         // but the client cannot be closed in this state.
 | ||||||
|  |         const idx = this[kClients].indexOf(target) | ||||||
|  |         if (idx !== -1) { | ||||||
|  |           this[kClients].splice(idx, 1) | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }) | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   [kGetDispatcher] () { |   [kGetDispatcher] () { | ||||||
| @@ -85980,90 +85986,6 @@ module.exports = { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), |  | ||||||
| 
 |  | ||||||
| /***/ 2707: |  | ||||||
| /***/ ((module) => { |  | ||||||
| 
 |  | ||||||
| /** |  | ||||||
|  * Convert array of 16 byte values to UUID string format of the form: |  | ||||||
|  * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX |  | ||||||
|  */ |  | ||||||
| var byteToHex = []; |  | ||||||
| for (var i = 0; i < 256; ++i) { |  | ||||||
|   byteToHex[i] = (i + 0x100).toString(16).substr(1); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| function bytesToUuid(buf, offset) { |  | ||||||
|   var i = offset || 0; |  | ||||||
|   var bth = byteToHex; |  | ||||||
|   // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
 |  | ||||||
|   return ([ |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], '-', |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], '-', |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], '-', |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], '-', |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], |  | ||||||
|     bth[buf[i++]], bth[buf[i++]], |  | ||||||
|     bth[buf[i++]], bth[buf[i++]] |  | ||||||
|   ]).join(''); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| module.exports = bytesToUuid; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| /***/ }), |  | ||||||
| 
 |  | ||||||
| /***/ 5859: |  | ||||||
| /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { |  | ||||||
| 
 |  | ||||||
| // Unique ID creation requires a high quality random # generator.  In node.js
 |  | ||||||
| // this is pretty straight-forward - we use the crypto API.
 |  | ||||||
| 
 |  | ||||||
| var crypto = __nccwpck_require__(6113); |  | ||||||
| 
 |  | ||||||
| module.exports = function nodeRNG() { |  | ||||||
|   return crypto.randomBytes(16); |  | ||||||
| }; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| /***/ }), |  | ||||||
| 
 |  | ||||||
| /***/ 824: |  | ||||||
| /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { |  | ||||||
| 
 |  | ||||||
| var rng = __nccwpck_require__(5859); |  | ||||||
| var bytesToUuid = __nccwpck_require__(2707); |  | ||||||
| 
 |  | ||||||
| function v4(options, buf, offset) { |  | ||||||
|   var i = buf && offset || 0; |  | ||||||
| 
 |  | ||||||
|   if (typeof(options) == 'string') { |  | ||||||
|     buf = options === 'binary' ? new Array(16) : null; |  | ||||||
|     options = null; |  | ||||||
|   } |  | ||||||
|   options = options || {}; |  | ||||||
| 
 |  | ||||||
|   var rnds = options.random || (options.rng || rng)(); |  | ||||||
| 
 |  | ||||||
|   // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
 |  | ||||||
|   rnds[6] = (rnds[6] & 0x0f) | 0x40; |  | ||||||
|   rnds[8] = (rnds[8] & 0x3f) | 0x80; |  | ||||||
| 
 |  | ||||||
|   // Copy bytes to buffer, if provided
 |  | ||||||
|   if (buf) { |  | ||||||
|     for (var ii = 0; ii < 16; ++ii) { |  | ||||||
|       buf[i + ii] = rnds[ii]; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   return buf || bytesToUuid(rnds); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| module.exports = v4; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| /***/ }), | /***/ }), | ||||||
| 
 | 
 | ||||||
| /***/ 4886: | /***/ 4886: | ||||||
| @@ -93055,13 +92977,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| }) : function(o, v) { | }) : function(o, v) { | ||||||
|     o["default"] = v; |     o["default"] = v; | ||||||
| }); | }); | ||||||
| var __importStar = (this && this.__importStar) || function (mod) { | 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; |         if (mod && mod.__esModule) return mod; | ||||||
|         var result = {}; |         var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |         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); |         __setModuleDefault(result, mod); | ||||||
|         return result; |         return result; | ||||||
|     }; |     }; | ||||||
|  | })(); | ||||||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||||||
|     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||||||
|     return new (P || (P = Promise))(function (resolve, reject) { |     return new (P || (P = Promise))(function (resolve, reject) { | ||||||
| @@ -93145,13 +93077,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| }) : function(o, v) { | }) : function(o, v) { | ||||||
|     o["default"] = v; |     o["default"] = v; | ||||||
| }); | }); | ||||||
| var __importStar = (this && this.__importStar) || function (mod) { | 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; |         if (mod && mod.__esModule) return mod; | ||||||
|         var result = {}; |         var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |         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); |         __setModuleDefault(result, mod); | ||||||
|         return result; |         return result; | ||||||
|     }; |     }; | ||||||
|  | })(); | ||||||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||||||
|     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||||||
|     return new (P || (P = Promise))(function (resolve, reject) { |     return new (P || (P = Promise))(function (resolve, reject) { | ||||||
| @@ -93162,7 +93104,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge | |||||||
|     }); |     }); | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.isCacheFeatureAvailable = exports.isGhes = exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0; | exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0; | ||||||
|  | exports.isGhes = isGhes; | ||||||
|  | exports.isCacheFeatureAvailable = isCacheFeatureAvailable; | ||||||
| const cache = __importStar(__nccwpck_require__(7799)); | const cache = __importStar(__nccwpck_require__(7799)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const exec = __importStar(__nccwpck_require__(1514)); | const exec = __importStar(__nccwpck_require__(1514)); | ||||||
| @@ -93212,7 +93156,6 @@ function isGhes() { | |||||||
|     const isLocalHost = hostname.endsWith('.LOCALHOST'); |     const isLocalHost = hostname.endsWith('.LOCALHOST'); | ||||||
|     return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost; |     return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost; | ||||||
| } | } | ||||||
| exports.isGhes = isGhes; |  | ||||||
| function isCacheFeatureAvailable() { | function isCacheFeatureAvailable() { | ||||||
|     if (cache.isFeatureAvailable()) { |     if (cache.isFeatureAvailable()) { | ||||||
|         return true; |         return true; | ||||||
| @@ -93224,7 +93167,6 @@ function isCacheFeatureAvailable() { | |||||||
|     core.warning('The runner was not able to contact the cache service. Caching will be skipped'); |     core.warning('The runner was not able to contact the cache service. Caching will be skipped'); | ||||||
|     return false; |     return false; | ||||||
| } | } | ||||||
| exports.isCacheFeatureAvailable = isCacheFeatureAvailable; |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
| @@ -93270,13 +93212,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| }) : function(o, v) { | }) : function(o, v) { | ||||||
|     o["default"] = v; |     o["default"] = v; | ||||||
| }); | }); | ||||||
| var __importStar = (this && this.__importStar) || function (mod) { | 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; |         if (mod && mod.__esModule) return mod; | ||||||
|         var result = {}; |         var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |         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); |         __setModuleDefault(result, mod); | ||||||
|         return result; |         return result; | ||||||
|     }; |     }; | ||||||
|  | })(); | ||||||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||||||
|     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||||||
|     return new (P || (P = Promise))(function (resolve, reject) { |     return new (P || (P = Promise))(function (resolve, reject) { | ||||||
| @@ -93290,7 +93242,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | |||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |     return (mod && mod.__esModule) ? mod : { "default": mod }; | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.resolveStableVersionInput = exports.parseGoVersionFile = exports.makeSemver = exports.getVersionsDist = exports.findMatch = exports.getInfoFromManifest = exports.getManifest = exports.extractGoArchive = exports.getGo = void 0; | exports.getGo = getGo; | ||||||
|  | exports.extractGoArchive = extractGoArchive; | ||||||
|  | exports.getManifest = getManifest; | ||||||
|  | exports.getInfoFromManifest = getInfoFromManifest; | ||||||
|  | exports.findMatch = findMatch; | ||||||
|  | exports.getVersionsDist = getVersionsDist; | ||||||
|  | exports.makeSemver = makeSemver; | ||||||
|  | exports.parseGoVersionFile = parseGoVersionFile; | ||||||
|  | exports.resolveStableVersionInput = resolveStableVersionInput; | ||||||
| const tc = __importStar(__nccwpck_require__(7784)); | const tc = __importStar(__nccwpck_require__(7784)); | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const path = __importStar(__nccwpck_require__(1017)); | const path = __importStar(__nccwpck_require__(1017)); | ||||||
| @@ -93385,7 +93345,6 @@ function getGo(versionSpec_1, checkLatest_1, auth_1) { | |||||||
|         return downloadPath; |         return downloadPath; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.getGo = getGo; |  | ||||||
| function resolveVersionFromManifest(versionSpec, stable, auth, arch, manifest) { | function resolveVersionFromManifest(versionSpec, stable, auth, arch, manifest) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         try { |         try { | ||||||
| @@ -93474,7 +93433,6 @@ function extractGoArchive(archivePath) { | |||||||
|         return extPath; |         return extPath; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.extractGoArchive = extractGoArchive; |  | ||||||
| function isIToolRelease(obj) { | function isIToolRelease(obj) { | ||||||
|     return (typeof obj === 'object' && |     return (typeof obj === 'object' && | ||||||
|         obj !== null && |         obj !== null && | ||||||
| @@ -93512,7 +93470,6 @@ function getManifest(auth) { | |||||||
|         return yield getManifestFromURL(); |         return yield getManifestFromURL(); | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.getManifest = getManifest; |  | ||||||
| function getManifestFromRepo(auth) { | function getManifestFromRepo(auth) { | ||||||
|     core.debug(`Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`); |     core.debug(`Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`); | ||||||
|     return tc.getManifestFromRepo(MANIFEST_REPO_OWNER, MANIFEST_REPO_NAME, auth, MANIFEST_REPO_BRANCH); |     return tc.getManifestFromRepo(MANIFEST_REPO_OWNER, MANIFEST_REPO_NAME, auth, MANIFEST_REPO_BRANCH); | ||||||
| @@ -93547,7 +93504,6 @@ function getInfoFromManifest(versionSpec_1, stable_1, auth_1) { | |||||||
|         return info; |         return info; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.getInfoFromManifest = getInfoFromManifest; |  | ||||||
| function getInfoFromDist(versionSpec, arch) { | function getInfoFromDist(versionSpec, arch) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         const version = yield findMatch(versionSpec, arch); |         const version = yield findMatch(versionSpec, arch); | ||||||
| @@ -93599,7 +93555,6 @@ function findMatch(versionSpec_1) { | |||||||
|         return result; |         return result; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.findMatch = findMatch; |  | ||||||
| function getVersionsDist(dlUrl) { | function getVersionsDist(dlUrl) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         // this returns versions descending so latest is first
 |         // this returns versions descending so latest is first
 | ||||||
| @@ -93610,7 +93565,6 @@ function getVersionsDist(dlUrl) { | |||||||
|         return (yield http.getJson(dlUrl)).result; |         return (yield http.getJson(dlUrl)).result; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.getVersionsDist = getVersionsDist; |  | ||||||
| //
 | //
 | ||||||
| // Convert the go version syntax into semver for semver matching
 | // Convert the go version syntax into semver for semver matching
 | ||||||
| // 1.13.1 => 1.13.1
 | // 1.13.1 => 1.13.1
 | ||||||
| @@ -93635,7 +93589,6 @@ function makeSemver(version) { | |||||||
|     } |     } | ||||||
|     return fullVersion; |     return fullVersion; | ||||||
| } | } | ||||||
| exports.makeSemver = makeSemver; |  | ||||||
| function parseGoVersionFile(versionFilePath) { | function parseGoVersionFile(versionFilePath) { | ||||||
|     const contents = fs_1.default.readFileSync(versionFilePath).toString(); |     const contents = fs_1.default.readFileSync(versionFilePath).toString(); | ||||||
|     if (path.basename(versionFilePath) === 'go.mod' || |     if (path.basename(versionFilePath) === 'go.mod' || | ||||||
| @@ -93645,7 +93598,6 @@ function parseGoVersionFile(versionFilePath) { | |||||||
|     } |     } | ||||||
|     return contents.trim(); |     return contents.trim(); | ||||||
| } | } | ||||||
| exports.parseGoVersionFile = parseGoVersionFile; |  | ||||||
| function resolveStableVersionDist(versionSpec, arch) { | function resolveStableVersionDist(versionSpec, arch) { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         const archFilter = sys.getArch(arch); |         const archFilter = sys.getArch(arch); | ||||||
| @@ -93684,7 +93636,6 @@ function resolveStableVersionInput(versionSpec, arch, platform, manifest) { | |||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.resolveStableVersionInput = resolveStableVersionInput; |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
| @@ -93710,13 +93661,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( | |||||||
| }) : function(o, v) { | }) : function(o, v) { | ||||||
|     o["default"] = v; |     o["default"] = v; | ||||||
| }); | }); | ||||||
| var __importStar = (this && this.__importStar) || function (mod) { | 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; |         if (mod && mod.__esModule) return mod; | ||||||
|         var result = {}; |         var result = {}; | ||||||
|     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); |         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); |         __setModuleDefault(result, mod); | ||||||
|         return result; |         return result; | ||||||
|     }; |     }; | ||||||
|  | })(); | ||||||
| var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||||||
|     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } |     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||||||
|     return new (P || (P = Promise))(function (resolve, reject) { |     return new (P || (P = Promise))(function (resolve, reject) { | ||||||
| @@ -93730,7 +93691,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | |||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |     return (mod && mod.__esModule) ? mod : { "default": mod }; | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.parseGoVersion = exports.addBinToPath = exports.run = void 0; | exports.run = run; | ||||||
|  | exports.addBinToPath = addBinToPath; | ||||||
|  | exports.parseGoVersion = parseGoVersion; | ||||||
| const core = __importStar(__nccwpck_require__(2186)); | const core = __importStar(__nccwpck_require__(2186)); | ||||||
| const io = __importStar(__nccwpck_require__(7436)); | const io = __importStar(__nccwpck_require__(7436)); | ||||||
| const installer = __importStar(__nccwpck_require__(2574)); | const installer = __importStar(__nccwpck_require__(2574)); | ||||||
| @@ -93804,7 +93767,6 @@ function run() { | |||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.run = run; |  | ||||||
| function addBinToPath() { | function addBinToPath() { | ||||||
|     return __awaiter(this, void 0, void 0, function* () { |     return __awaiter(this, void 0, void 0, function* () { | ||||||
|         let added = false; |         let added = false; | ||||||
| @@ -93834,7 +93796,6 @@ function addBinToPath() { | |||||||
|         return added; |         return added; | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
| exports.addBinToPath = addBinToPath; |  | ||||||
| function parseGoVersion(versionString) { | function parseGoVersion(versionString) { | ||||||
|     // get the installed version as an Action output
 |     // get the installed version as an Action output
 | ||||||
|     // based on go/src/cmd/go/internal/version/version.go:
 |     // based on go/src/cmd/go/internal/version/version.go:
 | ||||||
| @@ -93842,7 +93803,6 @@ function parseGoVersion(versionString) { | |||||||
|     // expecting go<version> for runtime.Version()
 |     // expecting go<version> for runtime.Version()
 | ||||||
|     return versionString.split(' ')[2].slice('go'.length); |     return versionString.split(' ')[2].slice('go'.length); | ||||||
| } | } | ||||||
| exports.parseGoVersion = parseGoVersion; |  | ||||||
| function resolveVersionInput() { | function resolveVersionInput() { | ||||||
|     let version = core.getInput('go-version'); |     let version = core.getInput('go-version'); | ||||||
|     const versionFilePath = core.getInput('go-version-file'); |     const versionFilePath = core.getInput('go-version-file'); | ||||||
| @@ -93890,7 +93850,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | |||||||
|     return (mod && mod.__esModule) ? mod : { "default": mod }; |     return (mod && mod.__esModule) ? mod : { "default": mod }; | ||||||
| }; | }; | ||||||
| Object.defineProperty(exports, "__esModule", ({ value: true })); | Object.defineProperty(exports, "__esModule", ({ value: true })); | ||||||
| exports.getArch = exports.getPlatform = void 0; | exports.getPlatform = getPlatform; | ||||||
|  | exports.getArch = getArch; | ||||||
| const os_1 = __importDefault(__nccwpck_require__(2037)); | const os_1 = __importDefault(__nccwpck_require__(2037)); | ||||||
| function getPlatform() { | function getPlatform() { | ||||||
|     // darwin and linux match already
 |     // darwin and linux match already
 | ||||||
| @@ -93903,7 +93864,6 @@ function getPlatform() { | |||||||
|     } |     } | ||||||
|     return plat; |     return plat; | ||||||
| } | } | ||||||
| exports.getPlatform = getPlatform; |  | ||||||
| function getArch(arch) { | function getArch(arch) { | ||||||
|     // 'arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32', and 'x64'.
 |     // 'arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32', and 'x64'.
 | ||||||
|     // wants amd64, 386, arm64, armv61, ppc641e, s390x
 |     // wants amd64, 386, arm64, armv61, ppc641e, s390x
 | ||||||
| @@ -93924,7 +93884,6 @@ function getArch(arch) { | |||||||
|     } |     } | ||||||
|     return arch; |     return arch; | ||||||
| } | } | ||||||
| exports.getArch = getArch; |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /***/ }), | /***/ }), | ||||||
|   | |||||||
							
								
								
									
										259
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										259
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -15,26 +15,26 @@ | |||||||
|         "@actions/glob": "^0.5.0", |         "@actions/glob": "^0.5.0", | ||||||
|         "@actions/http-client": "^2.2.1", |         "@actions/http-client": "^2.2.1", | ||||||
|         "@actions/io": "^1.0.2", |         "@actions/io": "^1.0.2", | ||||||
|         "@actions/tool-cache": "^2.0.1", |         "@actions/tool-cache": "^2.0.2", | ||||||
|         "semver": "^7.6.3" |         "semver": "^7.6.3" | ||||||
|       }, |       }, | ||||||
|       "devDependencies": { |       "devDependencies": { | ||||||
|         "@types/jest": "^29.5.12", |         "@types/jest": "^29.5.14", | ||||||
|         "@types/node": "^20.11.28", |         "@types/node": "^20.11.28", | ||||||
|         "@types/semver": "^7.5.8", |         "@types/semver": "^7.5.8", | ||||||
|         "@typescript-eslint/eslint-plugin": "^8.31.1", |         "@typescript-eslint/eslint-plugin": "^8.31.1", | ||||||
|         "@typescript-eslint/parser": "^8.31.1", |         "@typescript-eslint/parser": "^8.35.1", | ||||||
|         "@vercel/ncc": "^0.38.1", |         "@vercel/ncc": "^0.38.1", | ||||||
|         "eslint": "^8.57.0", |         "eslint": "^8.57.0", | ||||||
|         "eslint-config-prettier": "^10.0.1", |         "eslint-config-prettier": "^10.0.1", | ||||||
|         "eslint-plugin-jest": "^28.11.0", |         "eslint-plugin-jest": "^29.0.1", | ||||||
|         "eslint-plugin-node": "^11.1.0", |         "eslint-plugin-node": "^11.1.0", | ||||||
|         "jest": "^29.7.0", |         "jest": "^29.7.0", | ||||||
|         "jest-circus": "^29.7.0", |         "jest-circus": "^29.7.0", | ||||||
|         "nock": "^10.0.6", |         "nock": "^10.0.6", | ||||||
|         "prettier": "^2.8.4", |         "prettier": "^2.8.4", | ||||||
|         "ts-jest": "^29.3.2", |         "ts-jest": "^29.3.2", | ||||||
|         "typescript": "^5.4.2" |         "typescript": "^5.8.3" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@aashutoshrathi/word-wrap": { |     "node_modules/@aashutoshrathi/word-wrap": { | ||||||
| @@ -125,16 +125,16 @@ | |||||||
|       "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" |       "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" | ||||||
|     }, |     }, | ||||||
|     "node_modules/@actions/tool-cache": { |     "node_modules/@actions/tool-cache": { | ||||||
|       "version": "2.0.1", |       "version": "2.0.2", | ||||||
|       "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.1.tgz", |       "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.2.tgz", | ||||||
|       "integrity": "sha512-iPU+mNwrbA8jodY8eyo/0S/QqCKDajiR8OxWTnSk/SnYg0sj8Hp4QcUEVC1YFpHWXtrfbQrE13Jz4k4HXJQKcA==", |       "integrity": "sha512-fBhNNOWxuoLxztQebpOaWu6WeVmuwa77Z+DxIZ1B+OYvGkGQon6kTVg6Z32Cb13WCuw0szqonK+hh03mJV7Z6w==", | ||||||
|  |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@actions/core": "^1.2.6", |         "@actions/core": "^1.11.1", | ||||||
|         "@actions/exec": "^1.0.0", |         "@actions/exec": "^1.0.0", | ||||||
|         "@actions/http-client": "^2.0.1", |         "@actions/http-client": "^2.0.1", | ||||||
|         "@actions/io": "^1.1.1", |         "@actions/io": "^1.1.1", | ||||||
|         "semver": "^6.1.0", |         "semver": "^6.1.0" | ||||||
|         "uuid": "^3.3.2" |  | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@actions/tool-cache/node_modules/semver": { |     "node_modules/@actions/tool-cache/node_modules/semver": { | ||||||
| @@ -1585,10 +1585,11 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@types/jest": { |     "node_modules/@types/jest": { | ||||||
|       "version": "29.5.12", |       "version": "29.5.14", | ||||||
|       "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", |       "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", | ||||||
|       "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", |       "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|  |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "expect": "^29.0.0", |         "expect": "^29.0.0", | ||||||
|         "pretty-format": "^29.0.0" |         "pretty-format": "^29.0.0" | ||||||
| @@ -1690,16 +1691,15 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@typescript-eslint/parser": { |     "node_modules/@typescript-eslint/parser": { | ||||||
|       "version": "8.31.1", |       "version": "8.35.1", | ||||||
|       "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.31.1.tgz", |       "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.35.1.tgz", | ||||||
|       "integrity": "sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==", |       "integrity": "sha512-3MyiDfrfLeK06bi/g9DqJxP5pV74LNv4rFTyvGDmT3x2p1yp1lOd+qYZfiRPIOf/oON+WRZR5wxxuF85qOar+w==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "license": "MIT", |  | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@typescript-eslint/scope-manager": "8.31.1", |         "@typescript-eslint/scope-manager": "8.35.1", | ||||||
|         "@typescript-eslint/types": "8.31.1", |         "@typescript-eslint/types": "8.35.1", | ||||||
|         "@typescript-eslint/typescript-estree": "8.31.1", |         "@typescript-eslint/typescript-estree": "8.35.1", | ||||||
|         "@typescript-eslint/visitor-keys": "8.31.1", |         "@typescript-eslint/visitor-keys": "8.35.1", | ||||||
|         "debug": "^4.3.4" |         "debug": "^4.3.4" | ||||||
|       }, |       }, | ||||||
|       "engines": { |       "engines": { | ||||||
| @@ -1714,6 +1714,151 @@ | |||||||
|         "typescript": ">=4.8.4 <5.9.0" |         "typescript": ">=4.8.4 <5.9.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-s/Bpd4i7ht2934nG+UoSPlYXd08KYz3bmjLEb7Ye1UVob0d1ENiT3lY8bsCmik4RqfSbPw9xJJHbugpPpP5JUg==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@typescript-eslint/types": "8.35.1", | ||||||
|  |         "@typescript-eslint/visitor-keys": "8.35.1" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-q/O04vVnKHfrrhNAscndAn1tuQhIkwqnaW+eu5waD5IPts2eX1dgJxgqcPx5BX109/qAz7IG6VrEPTOYKCNfRQ==", | ||||||
|  |       "dev": true, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-Vvpuvj4tBxIka7cPs6Y1uvM7gJgdF5Uu9F+mBJBPY4MhvjrjWGK4H0lVgLJd/8PWZ23FTqsaJaLEkBCFUk8Y9g==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@typescript-eslint/project-service": "8.35.1", | ||||||
|  |         "@typescript-eslint/tsconfig-utils": "8.35.1", | ||||||
|  |         "@typescript-eslint/types": "8.35.1", | ||||||
|  |         "@typescript-eslint/visitor-keys": "8.35.1", | ||||||
|  |         "debug": "^4.3.4", | ||||||
|  |         "fast-glob": "^3.3.2", | ||||||
|  |         "is-glob": "^4.0.3", | ||||||
|  |         "minimatch": "^9.0.4", | ||||||
|  |         "semver": "^7.6.0", | ||||||
|  |         "ts-api-utils": "^2.1.0" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       }, | ||||||
|  |       "peerDependencies": { | ||||||
|  |         "typescript": ">=4.8.4 <5.9.0" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-VRwixir4zBWCSTP/ljEo091lbpypz57PoeAQ9imjG+vbeof9LplljsL1mos4ccG6H9IjfrVGM359RozUnuFhpw==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@typescript-eslint/types": "8.35.1", | ||||||
|  |         "eslint-visitor-keys": "^4.2.1" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/brace-expansion": { | ||||||
|  |       "version": "2.0.2", | ||||||
|  |       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", | ||||||
|  |       "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "balanced-match": "^1.0.0" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/eslint-visitor-keys": { | ||||||
|  |       "version": "4.2.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", | ||||||
|  |       "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", | ||||||
|  |       "dev": true, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://opencollective.com/eslint" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/parser/node_modules/minimatch": { | ||||||
|  |       "version": "9.0.5", | ||||||
|  |       "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", | ||||||
|  |       "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "brace-expansion": "^2.0.1" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": ">=16 || 14 >=14.17" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://github.com/sponsors/isaacs" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/project-service": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-VYxn/5LOpVxADAuP3NrnxxHYfzVtQzLKeldIhDhzC8UHaiQvYlXvKuVho1qLduFbJjjy5U5bkGwa3rUGUb1Q6Q==", | ||||||
|  |       "dev": true, | ||||||
|  |       "dependencies": { | ||||||
|  |         "@typescript-eslint/tsconfig-utils": "^8.35.1", | ||||||
|  |         "@typescript-eslint/types": "^8.35.1", | ||||||
|  |         "debug": "^4.3.4" | ||||||
|  |       }, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       }, | ||||||
|  |       "peerDependencies": { | ||||||
|  |         "typescript": ">=4.8.4 <5.9.0" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     "node_modules/@typescript-eslint/project-service/node_modules/@typescript-eslint/types": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-q/O04vVnKHfrrhNAscndAn1tuQhIkwqnaW+eu5waD5IPts2eX1dgJxgqcPx5BX109/qAz7IG6VrEPTOYKCNfRQ==", | ||||||
|  |       "dev": true, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/@typescript-eslint/scope-manager": { |     "node_modules/@typescript-eslint/scope-manager": { | ||||||
|       "version": "8.31.1", |       "version": "8.31.1", | ||||||
|       "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.31.1.tgz", |       "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.31.1.tgz", | ||||||
| @@ -1732,6 +1877,22 @@ | |||||||
|         "url": "https://opencollective.com/typescript-eslint" |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "node_modules/@typescript-eslint/tsconfig-utils": { | ||||||
|  |       "version": "8.35.1", | ||||||
|  |       "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.35.1.tgz", | ||||||
|  |       "integrity": "sha512-K5/U9VmT9dTHoNowWZpz+/TObS3xqC5h0xAIjXPw+MNcKV9qg6eSatEnmeAwkjHijhACH0/N7bkhKvbt1+DXWQ==", | ||||||
|  |       "dev": true, | ||||||
|  |       "engines": { | ||||||
|  |         "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "type": "opencollective", | ||||||
|  |         "url": "https://opencollective.com/typescript-eslint" | ||||||
|  |       }, | ||||||
|  |       "peerDependencies": { | ||||||
|  |         "typescript": ">=4.8.4 <5.9.0" | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "node_modules/@typescript-eslint/type-utils": { |     "node_modules/@typescript-eslint/type-utils": { | ||||||
|       "version": "8.31.1", |       "version": "8.31.1", | ||||||
|       "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.31.1.tgz", |       "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.31.1.tgz", | ||||||
| @@ -1798,9 +1959,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { |     "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { | ||||||
|       "version": "2.0.1", |       "version": "2.0.2", | ||||||
|       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", |       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", | ||||||
|       "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", |       "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
| @@ -2154,9 +2315,10 @@ | |||||||
|       "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" |       "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" | ||||||
|     }, |     }, | ||||||
|     "node_modules/brace-expansion": { |     "node_modules/brace-expansion": { | ||||||
|       "version": "1.1.11", |       "version": "1.1.12", | ||||||
|       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", |       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", | ||||||
|       "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", |       "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", | ||||||
|  |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "balanced-match": "^1.0.0", |         "balanced-match": "^1.0.0", | ||||||
|         "concat-map": "0.0.1" |         "concat-map": "0.0.1" | ||||||
| @@ -2771,20 +2933,20 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/eslint-plugin-jest": { |     "node_modules/eslint-plugin-jest": { | ||||||
|       "version": "28.11.0", |       "version": "29.0.1", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-28.11.0.tgz", |       "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-29.0.1.tgz", | ||||||
|       "integrity": "sha512-QAfipLcNCWLVocVbZW8GimKn5p5iiMcgGbRzz8z/P5q7xw+cNEpYqyzFMtIF/ZgF2HLOyy+dYBut+DoYolvqig==", |       "integrity": "sha512-EE44T0OSMCeXhDrrdsbKAhprobKkPtJTbQz5yEktysNpHeDZTAL1SfDTNKmcFfJkY6yrQLtTKZALrD3j/Gpmiw==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || ^8.0.0" |         "@typescript-eslint/utils": "^8.0.0" | ||||||
|       }, |       }, | ||||||
|       "engines": { |       "engines": { | ||||||
|         "node": "^16.10.0 || ^18.12.0 || >=20.0.0" |         "node": "^20.12.0 || ^22.0.0 || >=24.0.0" | ||||||
|       }, |       }, | ||||||
|       "peerDependencies": { |       "peerDependencies": { | ||||||
|         "@typescript-eslint/eslint-plugin": "^6.0.0 || ^7.0.0 || ^8.0.0", |         "@typescript-eslint/eslint-plugin": "^8.0.0", | ||||||
|         "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0", |         "eslint": "^8.57.0 || ^9.0.0", | ||||||
|         "jest": "*" |         "jest": "*" | ||||||
|       }, |       }, | ||||||
|       "peerDependenciesMeta": { |       "peerDependenciesMeta": { | ||||||
| @@ -3120,9 +3282,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/filelist/node_modules/brace-expansion": { |     "node_modules/filelist/node_modules/brace-expansion": { | ||||||
|       "version": "2.0.1", |       "version": "2.0.2", | ||||||
|       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", |       "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", | ||||||
|       "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", |       "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
| @@ -5666,9 +5828,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/typescript": { |     "node_modules/typescript": { | ||||||
|       "version": "5.4.2", |       "version": "5.8.3", | ||||||
|       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz", |       "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", | ||||||
|       "integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==", |       "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "bin": { |       "bin": { | ||||||
|         "tsc": "bin/tsc", |         "tsc": "bin/tsc", | ||||||
| @@ -5679,9 +5841,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/undici": { |     "node_modules/undici": { | ||||||
|       "version": "5.28.5", |       "version": "5.29.0", | ||||||
|       "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.5.tgz", |       "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz", | ||||||
|       "integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", |       "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==", | ||||||
|       "license": "MIT", |       "license": "MIT", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@fastify/busboy": "^2.0.0" |         "@fastify/busboy": "^2.0.0" | ||||||
| @@ -5734,15 +5896,6 @@ | |||||||
|         "punycode": "^2.1.0" |         "punycode": "^2.1.0" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/uuid": { |  | ||||||
|       "version": "3.4.0", |  | ||||||
|       "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |  | ||||||
|       "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", |  | ||||||
|       "deprecated": "Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.", |  | ||||||
|       "bin": { |  | ||||||
|         "uuid": "bin/uuid" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "node_modules/v8-to-istanbul": { |     "node_modules/v8-to-istanbul": { | ||||||
|       "version": "9.2.0", |       "version": "9.2.0", | ||||||
|       "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", |       "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							| @@ -31,25 +31,25 @@ | |||||||
|     "@actions/glob": "^0.5.0", |     "@actions/glob": "^0.5.0", | ||||||
|     "@actions/http-client": "^2.2.1", |     "@actions/http-client": "^2.2.1", | ||||||
|     "@actions/io": "^1.0.2", |     "@actions/io": "^1.0.2", | ||||||
|     "@actions/tool-cache": "^2.0.1", |     "@actions/tool-cache": "^2.0.2", | ||||||
|     "semver": "^7.6.3" |     "semver": "^7.6.3" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/jest": "^29.5.12", |     "@types/jest": "^29.5.14", | ||||||
|     "@types/node": "^20.11.28", |     "@types/node": "^20.11.28", | ||||||
|     "@types/semver": "^7.5.8", |     "@types/semver": "^7.5.8", | ||||||
|     "@typescript-eslint/eslint-plugin": "^8.31.1", |     "@typescript-eslint/eslint-plugin": "^8.31.1", | ||||||
|     "@typescript-eslint/parser": "^8.31.1", |     "@typescript-eslint/parser": "^8.35.1", | ||||||
|     "@vercel/ncc": "^0.38.1", |     "@vercel/ncc": "^0.38.1", | ||||||
|     "eslint": "^8.57.0", |     "eslint": "^8.57.0", | ||||||
|     "eslint-config-prettier": "^10.0.1", |     "eslint-config-prettier": "^10.0.1", | ||||||
|     "eslint-plugin-jest": "^28.11.0", |     "eslint-plugin-jest": "^29.0.1", | ||||||
|     "eslint-plugin-node": "^11.1.0", |     "eslint-plugin-node": "^11.1.0", | ||||||
|     "jest": "^29.7.0", |     "jest": "^29.7.0", | ||||||
|     "jest-circus": "^29.7.0", |     "jest-circus": "^29.7.0", | ||||||
|     "nock": "^10.0.6", |     "nock": "^10.0.6", | ||||||
|     "prettier": "^2.8.4", |     "prettier": "^2.8.4", | ||||||
|     "ts-jest": "^29.3.2", |     "ts-jest": "^29.3.2", | ||||||
|     "typescript": "^5.4.2" |     "typescript": "^5.8.3" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user