Skip to content

Commit

Permalink
Replaced patched github:arweave-kyle/asn1.js with upstream asn1.js
Browse files Browse the repository at this point in the history
No longer need to use the forked version of asn1.js as the upstream package has fixed the deprecated node buffer warnings.

arweave-kyle/asn1.js@d992612

indutny/asn1.js#116
  • Loading branch information
arweave-kyle committed Aug 5, 2020
1 parent 950e801 commit caa9adc
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 29 deletions.
57 changes: 30 additions & 27 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"node": "8.11"
},
"dependencies": {
"arweave-asn1": "github:arweave-kyle/asn1.js",
"asn1.js": "^5.4.1",
"axios": "^0.19.2",
"base64-js": "^1.3.1",
"bignumber.js": "^8.1.1"
Expand Down
2 changes: 1 addition & 1 deletion src/common/lib/crypto/pem.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-ignore
import * as asn from "arweave-asn1";
import * as asn from "asn1.js";

function urlize(base64: string): string {
return base64
Expand Down

0 comments on commit caa9adc

Please sign in to comment.