mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
1 parent
b3b8e8bc57
commit
03d8f2b677
4 files changed
+28
-31
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
Reference in new issue
Block a user