Skip to content

Commit 76003bf

Browse files
committed
feat: deprecate util-base64-universal
1 parent 7e7d3c8 commit 76003bf

File tree

13 files changed

+9
-735
lines changed

13 files changed

+9
-735
lines changed

packages/md5-js/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515
"license": "Apache-2.0",
1616
"devDependencies": {
17-
"@aws-sdk/util-base64-universal": "1.0.0-gamma.1",
17+
"@aws-sdk/util-base64-node": "1.0.0-gamma.1",
18+
"@aws-sdk/util-base64-browser": "1.0.0-gamma.1",
1819
"@aws-sdk/util-hex-encoding": "1.0.0-gamma.1",
1920
"@types/jest": "^25.1.4",
2021
"@types/node": "^10.0.0",
@@ -26,5 +27,11 @@
2627
"@aws-sdk/types": "1.0.0-gamma.1",
2728
"@aws-sdk/util-utf8-browser": "1.0.0-gamma.1",
2829
"tslib": "^1.8.0"
30+
},
31+
"browser": {
32+
"@aws-sdk/util-base64-node": "@aws-sdk/util-base64-browser"
33+
},
34+
"react-native": {
35+
"@aws-sdk/util-base64-node": "@aws-sdk/util-base64-browser"
2936
}
3037
}

packages/md5-js/src/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Md5 } from "./";
2-
import { fromBase64 } from "@aws-sdk/util-base64-universal";
2+
import { fromBase64 } from "@aws-sdk/util-base64-node";
33
import { toHex } from "@aws-sdk/util-hex-encoding";
44
const hashVectors = require("hash-test-vectors");
55

packages/util-base64-universal/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/util-base64-universal/.npmignore

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)