Skip to content

Commit

Permalink
chore: deprecate util-base64-universal,util-utf8-universal,is-node (#…
Browse files Browse the repository at this point in the history
…1240)

* feat: deprecate util-base64-universal

* feat: deprecate util-utf8-universal

* feat: deprecate is-node
  • Loading branch information
AllanZhengYP committed Jun 5, 2020
1 parent 6243aac commit 9ab7ef4
Show file tree
Hide file tree
Showing 38 changed files with 19 additions and 2,047 deletions.
9 changes: 8 additions & 1 deletion packages/eventstream-marshaller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@
"tslib": "^1.8.0"
},
"devDependencies": {
"@aws-sdk/util-utf8-universal": "1.0.0-gamma.1",
"@aws-sdk/util-utf8-browser": "1.0.0-gamma.1",
"@aws-sdk/util-utf8-node": "1.0.0-gamma.1",
"@types/jest": "^25.1.4",
"@types/node": "^10.0.0",
"jest": "^25.1.0",
"typescript": "~3.8.3"
},
"browser": {
"@aws-sdk/util-utf8-node": "@aws-sdk/util-utf8-browser"
},
"react-native": {
"@aws-sdk/util-utf8-node": "@aws-sdk/util-utf8-browser"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventStreamMarshaller } from "./EventStreamMarshaller";
import { vectors } from "./TestVectors.fixture";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-universal";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";

describe("eventstream parsing", () => {
const marshaller = new EventStreamMarshaller(toUtf8, fromUtf8);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MessageHeaders } from "@aws-sdk/types";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-universal";
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
import { HeaderMarshaller } from "./HeaderMarshaller";
import { Int64 } from "./Int64";

Expand Down
8 changes: 0 additions & 8 deletions packages/is-node/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions packages/is-node/.npmignore

This file was deleted.

243 changes: 0 additions & 243 deletions packages/is-node/CHANGELOG.md

This file was deleted.

0 comments on commit 9ab7ef4

Please sign in to comment.