Bump @kubernetes/client-node from 0.16.3 to 0.17.0 (#5751)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
dependabot[bot]andSebastian Malton authored and GitHub committed 2022-07-06 08:07:23 -04:00
1 parent b3b8e8bc57
commit 03d8f2b677
4 files changed
+28 -31

No files matched your search

+6 -3
View File
@@ -21,9 +21,12 @@ module.exports = (path, options) => {
// Once we're able to migrate our Jest config to ESM and a browser crypto
// implementation is available for the browser+ESM version of uuid to use (eg, via
// https://github.com/jsdom/jsdom/pull/3352 or a similar polyfill), this can go away.
if (pkg.name === "uuid") {
delete pkg["exports"];
delete pkg["module"];
switch (pkg.name) {
case "uuid":
case "jose":
delete pkg["exports"];
delete pkg["module"];
break;
}
return pkg;
+4
View File
@@ -7,6 +7,7 @@ import fetchMock from "jest-fetch-mock";
import configurePackages from "./common/configure-packages";
import { configure } from "mobx";
import { setImmediate } from "timers";
import { TextEncoder, TextDecoder as TextDecoderNode } from "util";
// setup default configuration for external npm-packages
configurePackages();
@@ -32,3 +33,6 @@ global.fail = ((error = "Test failed without explicit error") => {
process.on("unhandledRejection", (err: any) => {
global.fail(err);
});
global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoderNode as unknown as typeof TextDecoder;