Skip to content

Commit

Permalink
⬆️ axios update (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmihalcik-virtru authored Nov 14, 2023
1 parent 2208fbb commit 6e5aaca
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 54 deletions.
28 changes: 14 additions & 14 deletions lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
},
"dependencies": {
"ajv": "^8.12.0",
"axios": "^1.4.0",
"axios-retry": "^3.6.0",
"axios": "^1.6.1",
"axios-retry": "^3.9.0",
"base64-js": "^1.5.1",
"browser-fs-access": "^0.34.1",
"buffer": "^6.0.3",
Expand Down
12 changes: 3 additions & 9 deletions lib/tests/mocha/setup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-undef */
import { webcrypto } from 'crypto';
import { ReadableStream } from 'stream/web';
import { webcrypto } from 'node:crypto';
import { ReadableStream } from 'node:stream/web';
import { JSDOM } from 'jsdom';

if (typeof globalThis.ReadableStream === 'undefined') {
Expand All @@ -24,12 +23,7 @@ function copyProps(src: string, target: Record<string, unknown>) {
Object.defineProperties(target, props);
}

globalThis.document ??= {
// @ts-expect-error: safda not valid
createElement: console.log,
// @ts-expect-error: safda not valid
documentElement: { style: {} },
};
globalThis.document ??= window.document;

// @ts-expect-error: safda not valid
globalThis.window ??= window;
Expand Down
20 changes: 10 additions & 10 deletions remote-store/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion remote-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@aws-sdk/protocol-http": "^3.370.0",
"@aws-sdk/smithy-client": "^3.370.0",
"@opentdf/client": "file:../lib/opentdf-client-2.0.0.tgz",
"axios": "^1.4.0"
"axios": "^1.6.1"
},
"devDependencies": {
"@aws-sdk/types": "^3.370.0",
Expand Down
36 changes: 18 additions & 18 deletions web-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e5aaca

Please sign in to comment.