From 2a294530d823cc3796e852f800ceefaa461431a9 Mon Sep 17 00:00:00 2001 From: Brendan Burns <5751682+brendandburns@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:57:20 +0000 Subject: [PATCH 01/28] Update README for new version. --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d34eb2a368..c680ddd10b 100644 --- a/README.md +++ b/README.md @@ -123,15 +123,15 @@ release, we will increment the minor version whenever we update the minor Kubern Generally speaking newer clients will work with older Kubernetes, but compatability isn't 100% guaranteed. -| client version | older versions | 1.21 | 1.22 | 1.23 | 1.24 | 1.25 | 1.26 | 1.27 | 1.28 | 1.29 | -|----------------|----------------|------|------|------|------|-------|------|-----|------|------| -| 0.15.x | - | ✓ | x | x | x | x | x | x | x | x | -| 0.16.x | - | + | ✓ | x | x | x | x | x | x | x | -| 0.17.x | - | + | + | + | ✓ | x | x | x | x | x | -| 0.18.x | - | - | + | + | + | ✓ | x | x | x | x | -| 0.19.x | - | - | - | - | - | + | + | ✓ | x | x | -| 0.20.x | - | - | - | - | - | - | + | + | ✓ | x | -| 0.21.x | - | - | - | - | - | - | - | + | + | ✓ | +| client version | older versions | 1.22 | 1.23 | 1.24 | 1.25 | 1.26 | 1.27 | 1.28 | 1.29 | 1.30 | +|----------------|----------------|------|------|------|-------|------|-----|------|------|-----| +| 0.16.x | - | ✓ | x | x | x | x | x | x | x | x | +| 0.17.x | - | + | + | ✓ | x | x | x | x | x | x | +| 0.18.x | - | + | + | + | ✓ | x | x | x | x | x | +| 0.19.x | - | - | - | - | + | + | ✓ | x | x | x | +| 0.20.x | - | - | - | - | - | + | + | ✓ | x | x | +| 0.21.x | - | - | - | - | - | - | + | + | ✓ | x | +| 0.22.x | - | - | - | - | - | - | - | + | + | ✓ | Key: * `✓` Exactly the same features / API objects in both javascript-client and the Kubernetes From 610f3412293874ac5d056b3374a2ce9d63f5fb5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 02:43:04 +0000 Subject: [PATCH 02/28] build(deps): bump @types/node from 22.5.4 to 22.5.5 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.4 to 22.5.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 55a4e30fbe..eac10a798c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -834,9 +834,9 @@ } }, "node_modules/@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", + "version": "22.5.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz", + "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", "dependencies": { "undici-types": "~6.19.2" } @@ -5088,9 +5088,9 @@ } }, "@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", + "version": "22.5.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz", + "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", "requires": { "undici-types": "~6.19.2" } From db30ec376eb02bb24404ee571e9a2b9516165df9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 02:25:37 +0000 Subject: [PATCH 03/28] build(deps-dev): bump nyc from 17.0.0 to 17.1.0 Bumps [nyc](https://github.com/istanbuljs/nyc) from 17.0.0 to 17.1.0. - [Release notes](https://github.com/istanbuljs/nyc/releases) - [Changelog](https://github.com/istanbuljs/nyc/blob/main/CHANGELOG.md) - [Commits](https://github.com/istanbuljs/nyc/compare/nyc-v17.0.0...nyc-v17.1.0) --- updated-dependencies: - dependency-name: nyc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 62 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 54 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index eac10a798c..f61dc89201 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2858,9 +2858,9 @@ } }, "node_modules/nyc": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-17.0.0.tgz", - "integrity": "sha512-ISp44nqNCaPugLLGGfknzQwSwt10SSS5IMoPR7GLoMAyS18Iw5js8U7ga2VF9lYuMZ42gOHr3UddZw4WZltxKg==", + "version": "17.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-17.1.0.tgz", + "integrity": "sha512-U42vQ4czpKa0QdI1hu950XuNhYqgoM+ZF1HT+VuUHL9hPfDPVvNQyltmMqdE9bUHMVa+8yNbc3QKTj8zQhlVxQ==", "dev": true, "dependencies": { "@istanbuljs/load-nyc-config": "^1.0.0", @@ -2870,7 +2870,7 @@ "decamelize": "^1.2.0", "find-cache-dir": "^3.2.0", "find-up": "^4.1.0", - "foreground-child": "^2.0.0", + "foreground-child": "^3.3.0", "get-package-type": "^0.1.0", "glob": "^7.1.6", "istanbul-lib-coverage": "^3.0.0", @@ -2922,6 +2922,34 @@ "node": ">=8" } }, + "node_modules/nyc/node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/nyc/node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/nyc/node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -6571,9 +6599,9 @@ "dev": true }, "nyc": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-17.0.0.tgz", - "integrity": "sha512-ISp44nqNCaPugLLGGfknzQwSwt10SSS5IMoPR7GLoMAyS18Iw5js8U7ga2VF9lYuMZ42gOHr3UddZw4WZltxKg==", + "version": "17.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-17.1.0.tgz", + "integrity": "sha512-U42vQ4czpKa0QdI1hu950XuNhYqgoM+ZF1HT+VuUHL9hPfDPVvNQyltmMqdE9bUHMVa+8yNbc3QKTj8zQhlVxQ==", "dev": true, "requires": { "@istanbuljs/load-nyc-config": "^1.0.0", @@ -6583,7 +6611,7 @@ "decamelize": "^1.2.0", "find-cache-dir": "^3.2.0", "find-up": "^4.1.0", - "foreground-child": "^2.0.0", + "foreground-child": "^3.3.0", "get-package-type": "^0.1.0", "glob": "^7.1.6", "istanbul-lib-coverage": "^3.0.0", @@ -6626,6 +6654,24 @@ "path-exists": "^4.0.0" } }, + "foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + } + } + }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", From 4117590c32bd328e80c7cd48dcd1f63c18130d82 Mon Sep 17 00:00:00 2001 From: Joe Ferner Date: Thu, 19 Sep 2024 22:10:21 +0000 Subject: [PATCH 04/28] Fix cp promise returns by converting the exec callbacks into promises --- src/cp.ts | 94 ++++++++++++++++--------- src/cp_test.ts | 144 +++++++++++++++++++++++++++++++++----- src/util.ts | 4 ++ src/web-socket-handler.ts | 7 +- test/call-awaiter.ts | 9 ++- testdata/archive.tgz | Bin 0 -> 128 bytes 6 files changed, 202 insertions(+), 56 deletions(-) create mode 100644 testdata/archive.tgz diff --git a/src/cp.ts b/src/cp.ts index 3cb8117b92..b6a4a6bc49 100644 --- a/src/cp.ts +++ b/src/cp.ts @@ -35,26 +35,39 @@ export class Cp { command.push(srcPath); const writerStream = fs.createWriteStream(tmpFileName); const errStream = new WritableStreamBuffer(); - this.execInstance.exec( - namespace, - podName, - containerName, - command, - writerStream, - errStream, - null, - false, - async ({ status }) => { - writerStream.close(); - if (status === 'Failure' || errStream.size()) { - throw new Error(`Error from cpFromPod - details: \n ${errStream.getContentsAsString()}`); - } - await tar.x({ - file: tmpFileName, - cwd: tgtPath, - }); - }, - ); + return new Promise((resolve, reject) => { + this.execInstance + .exec( + namespace, + podName, + containerName, + command, + writerStream, + errStream, + null, + false, + async ({ status }) => { + try { + writerStream.close(); + if (status === 'Failure' || errStream.size()) { + return reject( + new Error( + `Error from cpFromPod - details: \n ${errStream.getContentsAsString()}`, + ), + ); + } + await tar.x({ + file: tmpFileName, + cwd: tgtPath, + }); + resolve(); + } catch (e) { + reject(e); + } + }, + ) + .catch(reject); + }); } /** @@ -78,20 +91,31 @@ export class Cp { await tar.c({ file: tmpFileName, cwd }, [srcPath]); const readStream = fs.createReadStream(tmpFileName); const errStream = new WritableStreamBuffer(); - this.execInstance.exec( - namespace, - podName, - containerName, - command, - null, - errStream, - readStream, - false, - async ({ status }) => { - if (status === 'Failure' || errStream.size()) { - throw new Error(`Error from cpToPod - details: \n ${errStream.getContentsAsString()}`); - } - }, - ); + return new Promise((resolve, reject) => { + this.execInstance + .exec( + namespace, + podName, + containerName, + command, + null, + errStream, + readStream, + false, + async ({ status }) => { + await fs.promises.unlink(tmpFileName); + if (status === 'Failure' || errStream.size()) { + reject( + new Error( + `Error from cpToPod - details: \n ${errStream.getContentsAsString()}`, + ), + ); + } else { + resolve(); + } + }, + ) + .catch(reject); + }); } } diff --git a/src/cp_test.ts b/src/cp_test.ts index 7c1bb70585..3a7771bb37 100644 --- a/src/cp_test.ts +++ b/src/cp_test.ts @@ -1,28 +1,55 @@ import { anything, anyFunction, instance, mock, verify, when } from 'ts-mockito'; import * as querystring from 'querystring'; +import { expect } from 'chai'; import WebSocket = require('isomorphic-ws'); - +import * as fs from 'node:fs'; +import * as path from 'node:path'; +import { tmpdir } from 'os'; +import * as tar from 'tar'; import { CallAwaiter } from '../test'; import { KubeConfig } from './config'; import { Exec } from './exec'; import { Cp } from './cp'; -import { WebSocketHandler, WebSocketInterface } from './web-socket-handler'; +import { BinaryHandler, WebSocketHandler, WebSocketInterface } from './web-socket-handler'; +import { V1Status } from './api'; +import { randomUUID } from 'crypto'; +import { sleep } from './util'; describe('Cp', () => { + let tmpDir: string | undefined; + + beforeEach(() => { + tmpDir = `${tmpdir()}/${randomUUID()}`; + fs.mkdirSync(tmpDir); + }); + + afterEach(() => { + if (tmpDir) { + fs.rmSync(tmpDir, { recursive: true, force: true }); + } + }); + describe('cpFromPod', () => { it('should run create tar command to a url', async () => { + // make the compile happy + if (!tmpDir) { + throw new Error('tmpDir not initialized'); + } + const kc = new KubeConfig(); - const fakeWebSocket: WebSocketInterface = mock(WebSocketHandler); - const exec = new Exec(kc, instance(fakeWebSocket)); + const fakeWebSocketInterface: WebSocketInterface = mock(WebSocketHandler); + const fakeWebSocket: WebSocket.WebSocket = mock(WebSocket); + const fakeConn: WebSocket.WebSocket = instance(fakeWebSocket); + const callAwaiter: CallAwaiter = new CallAwaiter(); + const exec = new Exec(kc, instance(fakeWebSocketInterface)); const cp = new Cp(kc, exec); const namespace = 'somenamespace'; const pod = 'somepod'; const container = 'container'; const srcPath = '/'; - const tgtPath = '/'; const cmdArray = ['tar', 'zcf', '-', srcPath]; - const path = `/api/v1/namespaces/${namespace}/pods/${pod}/exec`; + const queryPath = `/api/v1/namespaces/${namespace}/pods/${pod}/exec`; const query = { stdout: true, @@ -34,14 +61,56 @@ describe('Cp', () => { }; const queryStr = querystring.stringify(query); - await cp.cpFromPod(namespace, pod, container, srcPath, tgtPath); - // tslint:disable-next-line:max-line-length - verify(fakeWebSocket.connect(`${path}?${queryStr}`, null, anyFunction())).called(); + when(fakeWebSocketInterface.connect(`${queryPath}?${queryStr}`, null, anyFunction())).thenCall( + callAwaiter.resolveCall('connect', fakeConn), + ); + when(fakeWebSocket.close()).thenCall(callAwaiter.resolveCall('close')); + + let complete = false; + let lastErr = undefined; + const promise = cp + .cpFromPod(namespace, pod, container, srcPath, tmpDir) + .then(() => { + complete = true; + }) + .catch((err) => { + lastErr = err; + }); + expect(lastErr).to.be.undefined; + expect(complete).to.be.false; + + const binaryHandler: BinaryHandler = (await callAwaiter.awaitCall('connect'))[2]; + + // simulate a network hope with a sleep + await sleep(1); + const contents = fs.readFileSync('testdata/archive.tgz'); + binaryHandler(WebSocketHandler.StdoutStream, contents); + + // simulate a network hope with a sleep + await sleep(1); + const status: V1Status = { + status: 'Success', + }; + binaryHandler(WebSocketHandler.StatusStream, Buffer.from(JSON.stringify(status))); + + await promise; + + expect(lastErr).to.be.undefined; + expect(complete).to.be.true; + + const found = fs.readFileSync(path.join(tmpDir, 'archive.txt')).toString('utf8'); + const expected = fs.readFileSync('testdata/archive.txt').toString('utf8'); + expect(found).to.eq(expected); }); }); describe('cpToPod', () => { it('should run extract tar command to a url', async () => { + // make the compile happy + if (!tmpDir) { + throw new Error('tmpDir not initialized'); + } + const kc = new KubeConfig(); const fakeWebSocketInterface: WebSocketInterface = mock(WebSocketHandler); const fakeWebSocket: WebSocket.WebSocket = mock(WebSocket) as WebSocket.WebSocket; @@ -52,10 +121,11 @@ describe('Cp', () => { const namespace = 'somenamespace'; const pod = 'somepod'; const container = 'container'; - const srcPath = 'testdata/archive.txt'; + const srcPath = 'archive.txt'; const tgtPath = '/'; const cmdArray = ['tar', 'xf', '-', '-C', tgtPath]; - const path = `/api/v1/namespaces/${namespace}/pods/${pod}/exec`; + const cwd = 'testdata/'; + const queryPath = `/api/v1/namespaces/${namespace}/pods/${pod}/exec`; const query = { stdout: false, @@ -68,14 +138,56 @@ describe('Cp', () => { const queryStr = querystring.stringify(query); const fakeConn: WebSocket.WebSocket = instance(fakeWebSocket); - when(fakeWebSocketInterface.connect(`${path}?${queryStr}`, null, anyFunction())).thenResolve( - fakeConn, + when(fakeWebSocketInterface.connect(`${queryPath}?${queryStr}`, null, anyFunction())).thenCall( + callAwaiter.resolveCall('connect', fakeConn), ); - when(fakeWebSocket.send(anything())).thenCall(callAwaiter.resolveCall('send')); + + const outFilename = path.join(tmpDir, 'send-data.tar'); + const out = fs.createWriteStream(outFilename); + when(fakeWebSocket.send(anything())).thenCall((data) => { + const streamNum = data.readInt8(0); + if (streamNum === WebSocketHandler.StdinStream) { + out.write(data.subarray(1)); + } else { + console.log(streamNum); + } + }); + when(fakeWebSocket.close()).thenCall(callAwaiter.resolveCall('close')); - await cp.cpToPod(namespace, pod, container, srcPath, tgtPath); - verify(fakeWebSocketInterface.connect(`${path}?${queryStr}`, null, anyFunction())).called(); + let complete = false; + let lastErr = undefined; + const promise = cp + .cpToPod(namespace, pod, container, srcPath, tgtPath, cwd) + .then(() => { + complete = true; + }) + .catch((err) => { + lastErr = err; + }); + expect(lastErr).to.be.undefined; + expect(complete).to.be.false; + + const binaryHandler: BinaryHandler = (await callAwaiter.awaitCall('connect'))[2]; + + // wait for all data to be written and close called + await callAwaiter.awaitCall('close'); + out.close(); + await tar.x({ f: outFilename, cwd: tmpDir }); + + // simulate a network hope with a sleep + await sleep(1); + const status: V1Status = { + status: 'Success', + }; + binaryHandler(WebSocketHandler.StatusStream, Buffer.from(JSON.stringify(status))); + + await promise; + + expect(lastErr).to.be.undefined; + expect(complete).to.be.true; + + verify(fakeWebSocketInterface.connect(`${queryPath}?${queryStr}`, null, anyFunction())).called(); }); }); }); diff --git a/src/util.ts b/src/util.ts index 024b4416f9..3436c350a2 100644 --- a/src/util.ts +++ b/src/util.ts @@ -194,3 +194,7 @@ export const resolvablePromise = (): ResolvablePromise => { promise.reject = reject!; return promise; }; + +export const sleep = (ms: number): Promise => { + return new Promise((resolve) => setTimeout(resolve)); +}; diff --git a/src/web-socket-handler.ts b/src/web-socket-handler.ts index 628b1fb323..9b50d2ba5b 100644 --- a/src/web-socket-handler.ts +++ b/src/web-socket-handler.ts @@ -6,11 +6,14 @@ import { KubeConfig } from './config'; const protocols = ['v4.channel.k8s.io', 'v3.channel.k8s.io', 'v2.channel.k8s.io', 'channel.k8s.io']; +export type TextHandler = (text: string) => boolean; +export type BinaryHandler = (stream: number, buff: Buffer) => boolean; + export interface WebSocketInterface { connect( path: string, - textHandler: ((text: string) => boolean) | null, - binaryHandler: ((stream: number, buff: Buffer) => boolean) | null, + textHandler: TextHandler | null, + binaryHandler: BinaryHandler | null, ): Promise; } diff --git a/test/call-awaiter.ts b/test/call-awaiter.ts index e42048c7c7..3f8e3b84c8 100644 --- a/test/call-awaiter.ts +++ b/test/call-awaiter.ts @@ -3,11 +3,14 @@ import { EventEmitter } from 'events'; export class CallAwaiter extends EventEmitter { public awaitCall(event: string) { return new Promise((resolve) => { - this.once(event, resolve); + this.once(event, (...args: any[]) => resolve(args)); }); } - public resolveCall(event: string) { - return (...args: any[]) => this.emit(event, ...args); + public resolveCall(event: string, returnValue?: any) { + return (...args: any[]) => { + this.emit(event, ...args); + return returnValue; + } } } diff --git a/testdata/archive.tgz b/testdata/archive.tgz new file mode 100644 index 0000000000000000000000000000000000000000..2cfdc374361f1b3a4566002cfa663b0b974e7b4b GIT binary patch literal 128 zcmb2|=3oE==C>Cdxta|`S{`nHr&-iA$z7;ePP1tp(??C)I_L1Ct&g0Re5jutc_wYf zzJ13sW#@e}+u4=BOJe`coXwt#HlB7gUAo{=Xz__he^R^abT)szYPoXh8@qxl|23u4 Ys_)n`K`eoi1-ICL)~|J7&|qKy0Nf8XnE(I) literal 0 HcmV?d00001 From 1a7de34053d8d7c355f65ebf6e38e02a4358cf00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 02:50:31 +0000 Subject: [PATCH 05/28] build(deps): bump @types/node from 22.5.5 to 22.6.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.5 to 22.6.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index f61dc89201..d57ba4c78b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -834,9 +834,9 @@ } }, "node_modules/@types/node": { - "version": "22.5.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz", - "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", + "version": "22.6.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.6.1.tgz", + "integrity": "sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==", "dependencies": { "undici-types": "~6.19.2" } @@ -5116,9 +5116,9 @@ } }, "@types/node": { - "version": "22.5.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz", - "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", + "version": "22.6.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.6.1.tgz", + "integrity": "sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==", "requires": { "undici-types": "~6.19.2" } From 3eeb3e935d548f1b24ce862302a52795f543d1a2 Mon Sep 17 00:00:00 2001 From: Joe Ferner Date: Tue, 24 Sep 2024 10:45:33 +0000 Subject: [PATCH 06/28] address pr comments --- src/cp_test.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/cp_test.ts b/src/cp_test.ts index 3a7771bb37..528ae5f54d 100644 --- a/src/cp_test.ts +++ b/src/cp_test.ts @@ -16,7 +16,7 @@ import { randomUUID } from 'crypto'; import { sleep } from './util'; describe('Cp', () => { - let tmpDir: string | undefined; + let tmpDir = ''; beforeEach(() => { tmpDir = `${tmpdir()}/${randomUUID()}`; @@ -31,11 +31,6 @@ describe('Cp', () => { describe('cpFromPod', () => { it('should run create tar command to a url', async () => { - // make the compile happy - if (!tmpDir) { - throw new Error('tmpDir not initialized'); - } - const kc = new KubeConfig(); const fakeWebSocketInterface: WebSocketInterface = mock(WebSocketHandler); const fakeWebSocket: WebSocket.WebSocket = mock(WebSocket); @@ -106,11 +101,6 @@ describe('Cp', () => { describe('cpToPod', () => { it('should run extract tar command to a url', async () => { - // make the compile happy - if (!tmpDir) { - throw new Error('tmpDir not initialized'); - } - const kc = new KubeConfig(); const fakeWebSocketInterface: WebSocketInterface = mock(WebSocketHandler); const fakeWebSocket: WebSocket.WebSocket = mock(WebSocket) as WebSocket.WebSocket; From 69fbb4f9af11fa0a34ff57e8f83e44c68ae32d1b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2024 02:15:59 +0000 Subject: [PATCH 07/28] build(deps): bump @types/node from 22.6.1 to 22.7.0 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.6.1 to 22.7.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index d57ba4c78b..9e4cda18a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -834,9 +834,9 @@ } }, "node_modules/@types/node": { - "version": "22.6.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.6.1.tgz", - "integrity": "sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==", + "version": "22.7.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.0.tgz", + "integrity": "sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw==", "dependencies": { "undici-types": "~6.19.2" } @@ -5116,9 +5116,9 @@ } }, "@types/node": { - "version": "22.6.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.6.1.tgz", - "integrity": "sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==", + "version": "22.7.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.0.tgz", + "integrity": "sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw==", "requires": { "undici-types": "~6.19.2" } From 0c0cbb633572f58c91e71d767e414916c24b9e1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Sep 2024 02:25:19 +0000 Subject: [PATCH 08/28] build(deps): bump @types/node from 22.7.0 to 22.7.2 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.0 to 22.7.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e4cda18a7..dc51cbb28a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -834,9 +834,9 @@ } }, "node_modules/@types/node": { - "version": "22.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.0.tgz", - "integrity": "sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw==", + "version": "22.7.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.2.tgz", + "integrity": "sha512-866lXSrpGpgyHBZUa2m9YNWqHDjjM0aBTJlNtYaGEw4rqY/dcD7deRVTbBBAJelfA7oaGDbNftXF/TL/A6RgoA==", "dependencies": { "undici-types": "~6.19.2" } @@ -5116,9 +5116,9 @@ } }, "@types/node": { - "version": "22.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.0.tgz", - "integrity": "sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw==", + "version": "22.7.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.2.tgz", + "integrity": "sha512-866lXSrpGpgyHBZUa2m9YNWqHDjjM0aBTJlNtYaGEw4rqY/dcD7deRVTbBBAJelfA7oaGDbNftXF/TL/A6RgoA==", "requires": { "undici-types": "~6.19.2" } From 7a4392dbd3a8ff384f0d0376b5eb144c0d7b925a Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 26 Sep 2024 10:01:10 -0400 Subject: [PATCH 09/28] ci: test against node 22 Node 22 will become LTS in October 2024 Refs: https://github.com/nodejs/release --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d59a6b8cda..e300f6ce3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: # Remove specific version from 20 when https://github.com/tschaub/mock-fs/issues/380 is fixed - node: [ '20.7.0', '18', '16' ] + node: [ '22', '20.7.0', '18', '16' ] name: Node ${{ matrix.node }} validation steps: - uses: actions/checkout@v4 From 3a5c74476ddf86919f00f29bac5797d8418b161f Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 26 Sep 2024 10:27:11 -0400 Subject: [PATCH 10/28] test: replace use of deprecated Buffer constructor The Buffer constructor has been deprecated for years. This commit replaces the remaining `new Buffer()` uses with `Buffer.from()`. --- src/config_test.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/config_test.ts b/src/config_test.ts index 6b987c0d18..ee807ec2a7 100644 --- a/src/config_test.ts +++ b/src/config_test.ts @@ -337,9 +337,9 @@ describe('KubeConfig', () => { expect(opts).to.deep.equal({ headers: {}, - ca: new Buffer('CADATA2', 'utf-8'), - cert: new Buffer('USER_CADATA', 'utf-8'), - key: new Buffer('USER_CKDATA', 'utf-8'), + ca: Buffer.from('CADATA2', 'utf-8'), + cert: Buffer.from('USER_CADATA', 'utf-8'), + key: Buffer.from('USER_CKDATA', 'utf-8'), rejectUnauthorized: false, servername: 'kube.example2.com', }); @@ -357,9 +357,9 @@ describe('KubeConfig', () => { expect(opts).to.deep.equal({ url: 'https://company.com', headers: {}, - ca: new Buffer('CADATA2', 'utf-8'), - cert: new Buffer('USER_CADATA', 'utf-8'), - key: new Buffer('USER_CKDATA', 'utf-8'), + ca: Buffer.from('CADATA2', 'utf-8'), + cert: Buffer.from('USER_CADATA', 'utf-8'), + key: Buffer.from('USER_CKDATA', 'utf-8'), rejectUnauthorized: false, strictSSL: false, agentOptions: { @@ -376,9 +376,9 @@ describe('KubeConfig', () => { expect(opts).to.deep.equal({ headers: {}, - ca: new Buffer('CADATA2', 'utf-8'), - cert: new Buffer('USER2_CADATA', 'utf-8'), - key: new Buffer('USER2_CKDATA', 'utf-8'), + ca: Buffer.from('CADATA2', 'utf-8'), + cert: Buffer.from('USER2_CADATA', 'utf-8'), + key: Buffer.from('USER2_CKDATA', 'utf-8'), rejectUnauthorized: false, }); }); @@ -393,7 +393,7 @@ describe('KubeConfig', () => { await kc.applyToRequest(opts); expect(opts).to.deep.equal({ headers: {}, - ca: new Buffer('CADATA2', 'utf-8'), + ca: Buffer.from('CADATA2', 'utf-8'), auth: { username: 'foo', password: 'bar', From b2c2504a55ac2a873d471a8a16574f45436f8885 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 26 Sep 2024 11:34:55 -0400 Subject: [PATCH 11/28] ci: remove node 16 from testing matrix Node 16 has been EOL. This commit removes it from the CI matrix. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e300f6ce3e..ab2fc5e865 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: # Remove specific version from 20 when https://github.com/tschaub/mock-fs/issues/380 is fixed - node: [ '22', '20.7.0', '18', '16' ] + node: [ '22', '20.7.0', '18' ] name: Node ${{ matrix.node }} validation steps: - uses: actions/checkout@v4 From 93ce1f6dc212baae4be698336151f2167cf82531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Thu, 26 Sep 2024 16:54:10 +0000 Subject: [PATCH 12/28] chore: update ws --- package-lock.json | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc51cbb28a..99690ac50e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "stream-buffers": "^3.0.2", "tar": "^7.0.0", "tslib": "^2.4.1", - "ws": "^8.11.0" + "ws": "^8.18.0" }, "devDependencies": { "@types/byline": "^4.2.31", @@ -4368,6 +4368,7 @@ "version": "8.18.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/package.json b/package.json index 0429848920..172ee467d3 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "stream-buffers": "^3.0.2", "tar": "^7.0.0", "tslib": "^2.4.1", - "ws": "^8.11.0" + "ws": "^8.18.0" }, "devDependencies": { "@types/byline": "^4.2.31", From 18662bec4a2d13df64218424f795969d07e5525d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 02:57:37 +0000 Subject: [PATCH 13/28] build(deps-dev): bump mock-fs from 5.2.0 to 5.3.0 Bumps [mock-fs](https://github.com/tschaub/mock-fs) from 5.2.0 to 5.3.0. - [Release notes](https://github.com/tschaub/mock-fs/releases) - [Changelog](https://github.com/tschaub/mock-fs/blob/main/changelog.md) - [Commits](https://github.com/tschaub/mock-fs/compare/v5.2.0...v5.3.0) --- updated-dependencies: - dependency-name: mock-fs dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc51cbb28a..7dc438b819 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2802,9 +2802,9 @@ } }, "node_modules/mock-fs": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.2.0.tgz", - "integrity": "sha512-2dF2R6YMSZbpip1V1WHKGLNjr/k48uQClqMVb5H3MOvwc9qhYis3/IWbj02qIg/Y8MDXKFF4c5v0rxx2o6xTZw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.3.0.tgz", + "integrity": "sha512-IMvz1X+RF7vf+ur7qUenXMR7/FSKSIqS3HqFHXcyNI7G0FbpFO8L5lfsUJhl+bhK1AiulVHWKUSxebWauPA+xQ==", "dev": true, "engines": { "node": ">=12.0.0" @@ -6555,9 +6555,9 @@ } }, "mock-fs": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.2.0.tgz", - "integrity": "sha512-2dF2R6YMSZbpip1V1WHKGLNjr/k48uQClqMVb5H3MOvwc9qhYis3/IWbj02qIg/Y8MDXKFF4c5v0rxx2o6xTZw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.3.0.tgz", + "integrity": "sha512-IMvz1X+RF7vf+ur7qUenXMR7/FSKSIqS3HqFHXcyNI7G0FbpFO8L5lfsUJhl+bhK1AiulVHWKUSxebWauPA+xQ==", "dev": true }, "ms": { From ca087fc293d5f2585a1f55f2a2a33d4741292725 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 02:27:15 +0000 Subject: [PATCH 14/28] build(deps): bump @types/node from 22.7.2 to 22.7.4 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.2 to 22.7.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 31d82f2e7a..4484a3bdc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -834,9 +834,9 @@ } }, "node_modules/@types/node": { - "version": "22.7.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.2.tgz", - "integrity": "sha512-866lXSrpGpgyHBZUa2m9YNWqHDjjM0aBTJlNtYaGEw4rqY/dcD7deRVTbBBAJelfA7oaGDbNftXF/TL/A6RgoA==", + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", "dependencies": { "undici-types": "~6.19.2" } @@ -5117,9 +5117,9 @@ } }, "@types/node": { - "version": "22.7.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.2.tgz", - "integrity": "sha512-866lXSrpGpgyHBZUa2m9YNWqHDjjM0aBTJlNtYaGEw4rqY/dcD7deRVTbBBAJelfA7oaGDbNftXF/TL/A6RgoA==", + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", "requires": { "undici-types": "~6.19.2" } From 3575d41429cd3ce1a417a9f3546e60249d25f2ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 04:00:44 +0000 Subject: [PATCH 15/28] build(deps): bump JamesIves/github-pages-deploy-action Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.4 to 4.6.8. - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases) - [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.4...v4.6.8) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 6120e070b5..05d0fc07d5 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -23,7 +23,7 @@ jobs: run: npm run docs - name: Deploy docs - uses: JamesIves/github-pages-deploy-action@v4.6.4 + uses: JamesIves/github-pages-deploy-action@v4.6.8 with: branch: gh-pages # The branch the action should deploy to. folder: docs # The folder the action should deploy. From 22bf2308708318b0e1c8dcc6f91088e9a82808a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 02:56:16 +0000 Subject: [PATCH 16/28] build(deps-dev): bump jasmine from 5.3.0 to 5.3.1 Bumps [jasmine](https://github.com/jasmine/jasmine-npm) from 5.3.0 to 5.3.1. - [Release notes](https://github.com/jasmine/jasmine-npm/releases) - [Changelog](https://github.com/jasmine/jasmine-npm/blob/main/RELEASE.md) - [Commits](https://github.com/jasmine/jasmine-npm/compare/v5.3.0...v5.3.1) --- updated-dependencies: - dependency-name: jasmine dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4484a3bdc8..2b35c89a82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2230,9 +2230,9 @@ } }, "node_modules/jasmine": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.3.0.tgz", - "integrity": "sha512-Vrv5VWTXVZ/5xcNawlYCmE24pOaZu3KduLr9iAaENoMJ8W8Ryvhfpw2cf3rI4Unc2ajvu2t4tCKjS72TnraBGQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.3.1.tgz", + "integrity": "sha512-3zeUCfr3d1iga3s+NgDpggCP+ex5sdbNgqNn+Tq4yw/QfnwGrWC/ZvXX1IRm5deSIZ1LnvoeGY55F/ztbVOXPQ==", "dev": true, "dependencies": { "glob": "^10.2.2", @@ -6138,9 +6138,9 @@ } }, "jasmine": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.3.0.tgz", - "integrity": "sha512-Vrv5VWTXVZ/5xcNawlYCmE24pOaZu3KduLr9iAaENoMJ8W8Ryvhfpw2cf3rI4Unc2ajvu2t4tCKjS72TnraBGQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.3.1.tgz", + "integrity": "sha512-3zeUCfr3d1iga3s+NgDpggCP+ex5sdbNgqNn+Tq4yw/QfnwGrWC/ZvXX1IRm5deSIZ1LnvoeGY55F/ztbVOXPQ==", "dev": true, "requires": { "glob": "^10.2.2", From 5f0be80b7e5bb665a45a4e65ffaf6160e7453319 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 02:33:46 +0000 Subject: [PATCH 17/28] build(deps-dev): bump typedoc from 0.26.7 to 0.26.8 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.7 to 0.26.8. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.7...v0.26.8) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b35c89a82..a78adb3759 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4151,9 +4151,9 @@ } }, "node_modules/typedoc": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.7.tgz", - "integrity": "sha512-gUeI/Wk99vjXXMi8kanwzyhmeFEGv1LTdTQsiyIsmSYsBebvFxhbcyAx7Zjo4cMbpLGxM4Uz3jVIjksu/I2v6Q==", + "version": "0.26.8", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.8.tgz", + "integrity": "sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA==", "dev": true, "dependencies": { "lunr": "^2.3.9", @@ -7564,9 +7564,9 @@ } }, "typedoc": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.7.tgz", - "integrity": "sha512-gUeI/Wk99vjXXMi8kanwzyhmeFEGv1LTdTQsiyIsmSYsBebvFxhbcyAx7Zjo4cMbpLGxM4Uz3jVIjksu/I2v6Q==", + "version": "0.26.8", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.8.tgz", + "integrity": "sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA==", "dev": true, "requires": { "lunr": "^2.3.9", From b3e41005490b3cab93b80404a5339031c2ce3613 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 02:41:15 +0000 Subject: [PATCH 18/28] build(deps): bump @types/node from 22.7.4 to 22.7.5 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.4 to 22.7.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index a78adb3759..39ee6323d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -834,9 +834,9 @@ } }, "node_modules/@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "dependencies": { "undici-types": "~6.19.2" } @@ -5117,9 +5117,9 @@ } }, "@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "requires": { "undici-types": "~6.19.2" } From d546f4dc297c243f5916bab3d7e42e6f3739100a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 02:41:29 +0000 Subject: [PATCH 19/28] build(deps-dev): bump @types/mocha from 10.0.8 to 10.0.9 Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.8 to 10.0.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha) --- updated-dependencies: - dependency-name: "@types/mocha" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index a78adb3759..01d858fa85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -819,9 +819,9 @@ "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==" }, "node_modules/@types/mocha": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.8.tgz", - "integrity": "sha512-HfMcUmy9hTMJh66VNcmeC9iVErIZJli2bszuXc6julh5YGuRb/W5OnkHjwLNYdFlMis0sY3If5SEAp+PktdJjw==", + "version": "10.0.9", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.9.tgz", + "integrity": "sha512-sicdRoWtYevwxjOHNMPTl3vSfJM6oyW8o1wXeI7uww6b6xHg8eBznQDNSGBCDJmsE8UMxP05JgZRtsKbTqt//Q==", "dev": true }, "node_modules/@types/mock-fs": { @@ -5102,9 +5102,9 @@ "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==" }, "@types/mocha": { - "version": "10.0.8", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.8.tgz", - "integrity": "sha512-HfMcUmy9hTMJh66VNcmeC9iVErIZJli2bszuXc6julh5YGuRb/W5OnkHjwLNYdFlMis0sY3If5SEAp+PktdJjw==", + "version": "10.0.9", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.9.tgz", + "integrity": "sha512-sicdRoWtYevwxjOHNMPTl3vSfJM6oyW8o1wXeI7uww6b6xHg8eBznQDNSGBCDJmsE8UMxP05JgZRtsKbTqt//Q==", "dev": true }, "@types/mock-fs": { From 3f6e8030ffc0af0dfa21e58f4d6a82427dead7bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 02:09:20 +0000 Subject: [PATCH 20/28] build(deps): bump jsonpath-plus from 9.0.0 to 10.0.0 Bumps [jsonpath-plus](https://github.com/s3u/JSONPath) from 9.0.0 to 10.0.0. - [Release notes](https://github.com/s3u/JSONPath/releases) - [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md) - [Commits](https://github.com/s3u/JSONPath/commits) --- updated-dependencies: - dependency-name: jsonpath-plus dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6a00c6a31a..34603012c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "byline": "^5.0.0", "isomorphic-ws": "^5.0.0", "js-yaml": "^4.1.0", - "jsonpath-plus": "^9.0.0", + "jsonpath-plus": "^10.0.0", "request": "^2.88.0", "rfc4648": "^1.3.0", "stream-buffers": "^3.0.2", @@ -2363,9 +2363,9 @@ "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==" }, "node_modules/jsep": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz", - "integrity": "sha512-qofGylTGgYj9gZFsHuyWAN4jr35eJ66qJCK4eKDnldohuUoQFbU3iZn2zjvEbd9wOAhP9Wx5DsAAduTyE1PSWQ==", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.9.tgz", + "integrity": "sha512-i1rBX5N7VPl0eYb6+mHNp52sEuaS2Wi8CDYx1X5sn9naevL78+265XJqy1qENEk7mRKwS06NHpUqiBwR7qeodw==", "engines": { "node": ">= 10.16.0" } @@ -2410,20 +2410,20 @@ } }, "node_modules/jsonpath-plus": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-9.0.0.tgz", - "integrity": "sha512-bqE77VIDStrOTV/czspZhTn+o27Xx9ZJRGVkdVShEtPoqsIx5yALv3lWVU6y+PqYvWPJNWE7ORCQheQkEe0DDA==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.0.0.tgz", + "integrity": "sha512-v7j76HGp/ibKlXYeZ7UrfCLSNDaBWuJMA0GaMjA4sZJtCtY89qgPyToDDcl2zdeHh4B5q/B3g2pQdW76fOg/dA==", "dependencies": { "@jsep-plugin/assignment": "^1.2.1", "@jsep-plugin/regex": "^1.0.3", - "jsep": "^1.3.8" + "jsep": "^1.3.9" }, "bin": { "jsonpath": "bin/jsonpath-cli.js", "jsonpath-plus": "bin/jsonpath-cli.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" } }, "node_modules/jsprim": { @@ -6234,9 +6234,9 @@ "integrity": "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==" }, "jsep": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz", - "integrity": "sha512-qofGylTGgYj9gZFsHuyWAN4jr35eJ66qJCK4eKDnldohuUoQFbU3iZn2zjvEbd9wOAhP9Wx5DsAAduTyE1PSWQ==" + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.3.9.tgz", + "integrity": "sha512-i1rBX5N7VPl0eYb6+mHNp52sEuaS2Wi8CDYx1X5sn9naevL78+265XJqy1qENEk7mRKwS06NHpUqiBwR7qeodw==" }, "jsesc": { "version": "2.5.2", @@ -6266,13 +6266,13 @@ "dev": true }, "jsonpath-plus": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-9.0.0.tgz", - "integrity": "sha512-bqE77VIDStrOTV/czspZhTn+o27Xx9ZJRGVkdVShEtPoqsIx5yALv3lWVU6y+PqYvWPJNWE7ORCQheQkEe0DDA==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.0.0.tgz", + "integrity": "sha512-v7j76HGp/ibKlXYeZ7UrfCLSNDaBWuJMA0GaMjA4sZJtCtY89qgPyToDDcl2zdeHh4B5q/B3g2pQdW76fOg/dA==", "requires": { "@jsep-plugin/assignment": "^1.2.1", "@jsep-plugin/regex": "^1.0.3", - "jsep": "^1.3.8" + "jsep": "^1.3.9" } }, "jsprim": { diff --git a/package.json b/package.json index 172ee467d3..4550e0c961 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "byline": "^5.0.0", "isomorphic-ws": "^5.0.0", "js-yaml": "^4.1.0", - "jsonpath-plus": "^9.0.0", + "jsonpath-plus": "^10.0.0", "request": "^2.88.0", "rfc4648": "^1.3.0", "stream-buffers": "^3.0.2", From b6f70713bcf19e9b61f17a59ca034e40b18ea84f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 02:09:42 +0000 Subject: [PATCH 21/28] build(deps-dev): bump typescript from 5.6.2 to 5.6.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.2 to 5.6.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6a00c6a31a..953102e6b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4197,9 +4197,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -7597,9 +7597,9 @@ } }, "typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true }, "uc.micro": { From f8f7f5505844bec2af76f3895aa654a7b76d6197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Wed, 9 Oct 2024 11:16:00 +0000 Subject: [PATCH 22/28] ci: use node LTS in workflows --- .github/workflows/generate-javascript.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-javascript.yml b/.github/workflows/generate-javascript.yml index 0f6e201d0e..40cb7aa364 100644 --- a/.github/workflows/generate-javascript.yml +++ b/.github/workflows/generate-javascript.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - name: Checkout Gen run: | git clone https://github.com/kubernetes-client/gen diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d323a9a5bd..4414eb7653 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm install From 7f21ab9d1b88b3ca8469e0d8c537ed063fda24de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Wed, 9 Oct 2024 11:20:32 +0000 Subject: [PATCH 23/28] chore: prepare patch release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4550e0c961..facbd3f6f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kubernetes/client-node", - "version": "0.22.0", + "version": "0.22.1", "description": "NodeJS client for kubernetes", "repository": { "type": "git", From f4dbc0849101f57214ab1da71c6bd7f2e218966c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Wed, 9 Oct 2024 11:21:54 +0000 Subject: [PATCH 24/28] Revert "chore: prepare patch release" This reverts commit 7f21ab9d1b88b3ca8469e0d8c537ed063fda24de. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index facbd3f6f3..4550e0c961 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kubernetes/client-node", - "version": "0.22.1", + "version": "0.22.0", "description": "NodeJS client for kubernetes", "repository": { "type": "git", From 81fb6ea386f368ebdd7c6d7a32fdcc74b350ed58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Wed, 9 Oct 2024 11:23:39 +0000 Subject: [PATCH 25/28] chore: prepare patch release 0.22.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7f338ba6b2..e64ce179c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kubernetes/client-node", - "version": "0.22.0", + "version": "0.22.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kubernetes/client-node", - "version": "0.22.0", + "version": "0.22.1", "license": "Apache-2.0", "dependencies": { "@types/js-yaml": "^4.0.1", diff --git a/package.json b/package.json index 4550e0c961..facbd3f6f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kubernetes/client-node", - "version": "0.22.0", + "version": "0.22.1", "description": "NodeJS client for kubernetes", "repository": { "type": "git", From 37c4cbc8ec483ee36840fba5ee34bf08bacaf9f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 02:33:02 +0000 Subject: [PATCH 26/28] build(deps-dev): bump typedoc from 0.26.8 to 0.26.9 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.8 to 0.26.9. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.8...v0.26.9) --- updated-dependencies: - dependency-name: typedoc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index e64ce179c0..4fd81187cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4151,9 +4151,9 @@ } }, "node_modules/typedoc": { - "version": "0.26.8", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.8.tgz", - "integrity": "sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA==", + "version": "0.26.9", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.9.tgz", + "integrity": "sha512-Rc7QpWL7EtmrT8yxV0GmhOR6xHgFnnhphbD9Suti3fz3um7ZOrou6q/g9d6+zC5PssTLZmjaW4Upmzv8T1rCcQ==", "dev": true, "dependencies": { "lunr": "^2.3.9", @@ -7564,9 +7564,9 @@ } }, "typedoc": { - "version": "0.26.8", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.8.tgz", - "integrity": "sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA==", + "version": "0.26.9", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.9.tgz", + "integrity": "sha512-Rc7QpWL7EtmrT8yxV0GmhOR6xHgFnnhphbD9Suti3fz3um7ZOrou6q/g9d6+zC5PssTLZmjaW4Upmzv8T1rCcQ==", "dev": true, "requires": { "lunr": "^2.3.9", From 121f00f0c3e042f54aa00fb13208d928ac837fd8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 02:33:12 +0000 Subject: [PATCH 27/28] build(deps-dev): bump mock-fs from 5.3.0 to 5.4.0 Bumps [mock-fs](https://github.com/tschaub/mock-fs) from 5.3.0 to 5.4.0. - [Release notes](https://github.com/tschaub/mock-fs/releases) - [Changelog](https://github.com/tschaub/mock-fs/blob/main/changelog.md) - [Commits](https://github.com/tschaub/mock-fs/compare/v5.3.0...v5.4.0) --- updated-dependencies: - dependency-name: mock-fs dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index e64ce179c0..908c083063 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2802,9 +2802,9 @@ } }, "node_modules/mock-fs": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.3.0.tgz", - "integrity": "sha512-IMvz1X+RF7vf+ur7qUenXMR7/FSKSIqS3HqFHXcyNI7G0FbpFO8L5lfsUJhl+bhK1AiulVHWKUSxebWauPA+xQ==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.4.0.tgz", + "integrity": "sha512-3ROPnEMgBOkusBMYQUW2rnT3wZwsgfOKzJDLvx/TZ7FL1WmWvwSwn3j4aDR5fLDGtgcc1WF0Z1y0di7c9L4FKw==", "dev": true, "engines": { "node": ">=12.0.0" @@ -6556,9 +6556,9 @@ } }, "mock-fs": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.3.0.tgz", - "integrity": "sha512-IMvz1X+RF7vf+ur7qUenXMR7/FSKSIqS3HqFHXcyNI7G0FbpFO8L5lfsUJhl+bhK1AiulVHWKUSxebWauPA+xQ==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.4.0.tgz", + "integrity": "sha512-3ROPnEMgBOkusBMYQUW2rnT3wZwsgfOKzJDLvx/TZ7FL1WmWvwSwn3j4aDR5fLDGtgcc1WF0Z1y0di7c9L4FKw==", "dev": true }, "ms": { From d2102b35cb83e6f9528fc0081d05355e5b6c2855 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 02:33:22 +0000 Subject: [PATCH 28/28] build(deps-dev): bump jasmine from 5.3.1 to 5.4.0 Bumps [jasmine](https://github.com/jasmine/jasmine-npm) from 5.3.1 to 5.4.0. - [Release notes](https://github.com/jasmine/jasmine-npm/releases) - [Changelog](https://github.com/jasmine/jasmine-npm/blob/main/RELEASE.md) - [Commits](https://github.com/jasmine/jasmine-npm/compare/v5.3.1...v5.4.0) --- updated-dependencies: - dependency-name: jasmine dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index e64ce179c0..84bd448dd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2230,22 +2230,22 @@ } }, "node_modules/jasmine": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.3.1.tgz", - "integrity": "sha512-3zeUCfr3d1iga3s+NgDpggCP+ex5sdbNgqNn+Tq4yw/QfnwGrWC/ZvXX1IRm5deSIZ1LnvoeGY55F/ztbVOXPQ==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.4.0.tgz", + "integrity": "sha512-E2u4ylX5tgGYvbynImU6EUBKKrSVB1L72FEPjGh4M55ov1VsxR26RA2JU91L9YSPFgcjo4mCLyKn/QXvEYGBkA==", "dev": true, "dependencies": { "glob": "^10.2.2", - "jasmine-core": "~5.3.0" + "jasmine-core": "~5.4.0" }, "bin": { "jasmine": "bin/jasmine.js" } }, "node_modules/jasmine-core": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.3.0.tgz", - "integrity": "sha512-zsOmeBKESky4toybvWEikRiZ0jHoBEu79wNArLfMdSnlLMZx3Xcp6CSm2sUcYyoJC+Uyj8LBJap/MUbVSfJ27g==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.4.0.tgz", + "integrity": "sha512-T4fio3W++llLd7LGSGsioriDHgWyhoL6YTu4k37uwJLF7DzOzspz7mNxRoM3cQdLWtL/ebazQpIf/yZGJx/gzg==", "dev": true }, "node_modules/jasmine/node_modules/brace-expansion": { @@ -6138,13 +6138,13 @@ } }, "jasmine": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.3.1.tgz", - "integrity": "sha512-3zeUCfr3d1iga3s+NgDpggCP+ex5sdbNgqNn+Tq4yw/QfnwGrWC/ZvXX1IRm5deSIZ1LnvoeGY55F/ztbVOXPQ==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.4.0.tgz", + "integrity": "sha512-E2u4ylX5tgGYvbynImU6EUBKKrSVB1L72FEPjGh4M55ov1VsxR26RA2JU91L9YSPFgcjo4mCLyKn/QXvEYGBkA==", "dev": true, "requires": { "glob": "^10.2.2", - "jasmine-core": "~5.3.0" + "jasmine-core": "~5.4.0" }, "dependencies": { "brace-expansion": { @@ -6203,9 +6203,9 @@ } }, "jasmine-core": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.3.0.tgz", - "integrity": "sha512-zsOmeBKESky4toybvWEikRiZ0jHoBEu79wNArLfMdSnlLMZx3Xcp6CSm2sUcYyoJC+Uyj8LBJap/MUbVSfJ27g==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.4.0.tgz", + "integrity": "sha512-T4fio3W++llLd7LGSGsioriDHgWyhoL6YTu4k37uwJLF7DzOzspz7mNxRoM3cQdLWtL/ebazQpIf/yZGJx/gzg==", "dev": true }, "jose": {