Skip to content

chore(deps): bump @kubernetes/client-node from 0.22.2 to 1.2.0 #2144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps @kubernetes/client-node from 0.22.2 to 1.2.0.

Release notes

Sourced from @​kubernetes/client-node's releases.

1.2.0

What's Changed

New Contributors

Full Changelog: kubernetes-client/javascript@1.1.2...1.2.0

1.1.2

What's Changed between 1.0.0 and 1.1.2

New Contributors

Full Changelog: kubernetes-client/javascript@1.0.0...1.1.2

Release 1.0.0 with node-fetch instead of the long deprecated request-library.

There is no migration guide (yet?). Have a look at the examples to see how to use it.

This module is now ESM only.

0.22.3

What's Changed

... (truncated)

Commits
  • b88e894 Merge pull request #2417 from brendandburns/revit
  • 51f968f Merge pull request #2416 from brendandburns/main
  • 26635db Rev package versions in preparation for release.
  • 09f2bbd Automated openapi generation from release-1.33
  • 9d64626 Update settings
  • 0f9d1b9 Merge pull request #2415 from kubernetes-client/dependabot/npm_and_yarn/main/...
  • a77d6df build(deps): bump @​types/node from 22.15.3 to 22.15.11 (#2414)
  • 3383bc6 build(deps-dev): bump typescript-eslint from 8.31.1 to 8.32.0
  • b7caabe Merge pull request #2411 from kubernetes-client/dependabot/npm_and_yarn/main/...
  • 232e56c Merge pull request #2410 from kubernetes-client/dependabot/npm_and_yarn/main/...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@kubernetes/client-node](https://github.com/kubernetes-client/javascript) from 0.22.2 to 1.2.0.
- [Release notes](https://github.com/kubernetes-client/javascript/releases)
- [Commits](kubernetes-client/javascript@0.22.2...1.2.0)

---
updated-dependencies:
- dependency-name: "@kubernetes/client-node"
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

github-actions bot commented May 13, 2025

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements
43.9% (+2.74% 🔼)
518/1180
🔴 Branches
33.9% (+1.06% 🔼)
201/593
🔴 Functions
44.95% (+4.42% 🔼)
98/218
🔴 Lines
45.11% (+2.97% 🔼)
484/1073
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 common/debug.ts
75.51% (-2.04% 🔻)
60%
57.14% (-7.14% 🔻)
81.82%
🟡 common/utils.ts
59.18% (-2.72% 🔻)
45.36% (-6.19% 🔻)
53.13%
63.71% (-2.42% 🔻)
🔴 common/crypt.ts
6.72% (-3.36% 🔻)
0% (-4.26% 🔻)
0% (-7.69% 🔻)
6.9% (-3.45% 🔻)

Test suite run failed

Failed tests: 0/45. Failed suites: 4/9.
  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /home/runner/work/apl-core/apl-core/node_modules/openid-client/build/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as oauth from 'oauth4webapi';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

    > 1 | import { AppsV1Api, CoreV1Api, CustomObjectsApi, KubeConfig, V1Secret } from '@kubernetes/client-node'
        | ^
      2 | import { V1ResourceRequirements } from '@kubernetes/client-node/dist/gen/model/v1ResourceRequirements'
      3 | import retry, { Options } from 'async-retry'
      4 | import { AnyAaaaRecord, AnyARecord } from 'dns'

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)
      at Object.require (node_modules/@kubernetes/client-node/src/oidc_auth.ts:2:1)
      at Object.require (node_modules/@kubernetes/client-node/src/config.ts:34:1)
      at Object.require (node_modules/@kubernetes/client-node/src/index.ts:1:1)
      at Object.require (src/common/k8s.ts:1:1)
      at Object.require (src/cmd/bootstrap.ts:15:1)
      at Object.require (src/cmd/bootstrap.test.ts:4:1)


  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /home/runner/work/apl-core/apl-core/node_modules/openid-client/build/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as oauth from 'oauth4webapi';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      1 | /* eslint-disable @typescript-eslint/unbound-method */
      2 |
    > 3 | import { AppsV1Api, CoreV1Api, V1Pod, V1PodList, V1StatefulSet } from '@kubernetes/client-node'
        | ^
      4 | import * as k8s from './k8s'
      5 | import { terminal } from './debug'
      6 | import { V1ResourceRequirements } from '@kubernetes/client-node/dist/gen/model/v1ResourceRequirements'

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)
      at Object.require (node_modules/@kubernetes/client-node/src/oidc_auth.ts:2:1)
      at Object.require (node_modules/@kubernetes/client-node/src/config.ts:34:1)
      at Object.require (node_modules/@kubernetes/client-node/src/index.ts:1:1)
      at Object.require (src/common/k8s.test.ts:3:1)


  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /home/runner/work/apl-core/apl-core/node_modules/openid-client/build/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as oauth from 'oauth4webapi';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      1 | /* eslint-disable @typescript-eslint/unbound-method */
    > 2 | import { CoreV1Api } from '@kubernetes/client-node'
        | ^
      3 | import { terminal } from '../common/debug'
      4 | import { isOAuth2ProxyAvailable } from './commit'
      5 |

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)
      at Object.require (node_modules/@kubernetes/client-node/src/oidc_auth.ts:2:1)
      at Object.require (node_modules/@kubernetes/client-node/src/config.ts:34:1)
      at Object.require (node_modules/@kubernetes/client-node/src/index.ts:1:1)
      at Object.require (src/cmd/commit.test.ts:2:1)


  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /home/runner/work/apl-core/apl-core/node_modules/openid-client/build/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import * as oauth from 'oauth4webapi';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

    > 1 | import { AppsV1Api, CoreV1Api, CustomObjectsApi, KubeConfig, V1Secret } from '@kubernetes/client-node'
        | ^
      2 | import { V1ResourceRequirements } from '@kubernetes/client-node/dist/gen/model/v1ResourceRequirements'
      3 | import retry, { Options } from 'async-retry'
      4 | import { AnyAaaaRecord, AnyARecord } from 'dns'

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14)
      at Object.require (node_modules/@kubernetes/client-node/src/oidc_auth.ts:2:1)
      at Object.require (node_modules/@kubernetes/client-node/src/config.ts:34:1)
      at Object.require (node_modules/@kubernetes/client-node/src/index.ts:1:1)
      at Object.require (src/common/k8s.ts:1:1)
      at Object.require (src/cmd/upgrade.ts:7:1)
      at Object.require (src/cmd/upgrade.test.ts:1:1)

Report generated by 🧪jest coverage report action from 9ca4dd1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant