From 462f5e2fe5809e8c0f471054b9ed31d8b311076b Mon Sep 17 00:00:00 2001 From: janniks Date: Wed, 1 Jun 2022 17:58:25 +0200 Subject: [PATCH] fix: update jsontokens lib --- package-lock.json | 149 +++++++++++++++---------------- packages/auth/package.json | 6 +- packages/cli/package.json | 2 +- packages/encryption/package.json | 2 +- packages/keychain/package.json | 2 +- packages/profile/package.json | 6 +- packages/storage/package.json | 6 +- packages/wallet-sdk/package.json | 2 +- 8 files changed, 90 insertions(+), 85 deletions(-) diff --git a/package-lock.json b/package-lock.json index 62f293b77..b6c35a564 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", "jsdom": "^16.5.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "lodash.clonedeep": "^4.5.0", "node-fetch": "^2.6.0", "process": "^0.11.10", @@ -12387,15 +12387,14 @@ } }, "node_modules/jsontokens": { - "version": "3.0.0", - "license": "MIT", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/jsontokens/-/jsontokens-3.1.1.tgz", + "integrity": "sha512-qABuRXXrDP1XQrUm0/59h3kEBWtbyk/lS24t98iHvuAq7gyNA2lxqSQgATsbx8DzbMfOJmkmfjwLodd96lD/kw==", "dependencies": { - "@types/elliptic": "^6.4.9", - "asn1.js": "^5.0.1", + "@noble/hashes": "^1.0.0", + "@noble/secp256k1": "^1.5.5", "base64url": "^3.0.1", - "ecdsa-sig-formatter": "^1.0.11", - "elliptic": "^6.4.1", - "sha.js": "^2.4.11" + "ecdsa-sig-formatter": "^1.0.11" } }, "node_modules/jsprim": { @@ -19381,7 +19380,7 @@ "@stacks/network": "^4.2.1", "@stacks/profile": "^4.2.1", "cross-fetch": "^3.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "query-string": "^6.13.1" }, "devDependencies": { @@ -19473,7 +19472,7 @@ "express": "^4.17.1", "express-winston": "^3.1.0", "inquirer": "^7.1.0", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "node-fetch": "^2.6.0", "ripemd160": "^2.0.1", "winston": "^3.2.1", @@ -19586,7 +19585,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", @@ -19622,7 +19621,7 @@ "bip39": "^3.0.2", "bitcoinjs-lib": "^5.2.0", "c32check": "^1.1.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "randombytes": "^2.1.0", "triplesec": "^4.0.3", "zone-file": "^2.0.0-beta.3" @@ -19708,7 +19707,7 @@ "@stacks/common": "^4.2.1", "@stacks/network": "^4.2.1", "@stacks/transactions": "^4.2.1", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "schema-inspector": "^2.0.1", "zone-file": "^2.0.0-beta.3" }, @@ -19793,7 +19792,7 @@ "@stacks/common": "^4.2.1", "@stacks/encryption": "^4.2.1", "@stacks/network": "^4.2.1", - "jsontokens": "^3.0.0" + "jsontokens": "^3.1.1" }, "devDependencies": { "@stacks/network": "^4.1.0", @@ -19891,7 +19890,7 @@ "@stacks/transactions": "^4.2.1", "bitcoinjs-lib": "^5.2.0", "c32check": "^1.1.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "triplesec": "^4.0.3", "zone-file": "^2.0.0-beta.3" }, @@ -22069,7 +22068,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -22122,7 +22121,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -22215,7 +22214,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -22629,7 +22628,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "node-fetch": "^2.6.0", "rimraf": "^3.0.2", "ripemd160": "^2.0.1", @@ -22652,7 +22651,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -22705,7 +22704,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -22798,7 +22797,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -23300,7 +23299,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -23497,7 +23496,7 @@ "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", "jsdom": "^16.5.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", @@ -23521,7 +23520,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -23574,7 +23573,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -23667,7 +23666,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -23893,7 +23892,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -24098,7 +24097,7 @@ "crypto-browserify": "^3.12.0", "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "triplesec": "^4.0.3", "webpack-bundle-analyzer": "^4.5.0", @@ -24118,7 +24117,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -24171,7 +24170,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -24264,7 +24263,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -24490,7 +24489,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -24583,7 +24582,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -24776,7 +24775,7 @@ "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", "jsdom": "^16.5.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", @@ -24800,7 +24799,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -24853,7 +24852,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -24946,7 +24945,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -25172,7 +25171,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -25404,7 +25403,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -25711,7 +25710,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "randombytes": "^2.1.0", "rimraf": "^3.0.2", @@ -25739,7 +25738,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -25792,7 +25791,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -25885,7 +25884,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -26111,7 +26110,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -26204,7 +26203,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -26397,7 +26396,7 @@ "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", "jsdom": "^16.5.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", @@ -26421,7 +26420,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -26474,7 +26473,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -26567,7 +26566,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -26793,7 +26792,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -27046,7 +27045,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -27294,7 +27293,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -27494,7 +27493,7 @@ "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", "jsdom": "^16.5.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", @@ -27518,7 +27517,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -27571,7 +27570,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -27664,7 +27663,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -27890,7 +27889,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -28095,7 +28094,7 @@ "crypto-browserify": "^3.12.0", "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "triplesec": "^4.0.3", "webpack-bundle-analyzer": "^4.5.0", @@ -28115,7 +28114,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -28168,7 +28167,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -28261,7 +28260,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -28487,7 +28486,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -28580,7 +28579,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -28773,7 +28772,7 @@ "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", "jsdom": "^16.5.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", @@ -28797,7 +28796,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "query-string": "^6.13.1", "rimraf": "^3.0.2", @@ -28850,7 +28849,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -28943,7 +28942,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "schema-inspector": "^2.0.1", @@ -29169,7 +29168,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "ripemd160-min": "^0.0.6", @@ -34941,14 +34940,14 @@ } }, "jsontokens": { - "version": "3.0.0", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/jsontokens/-/jsontokens-3.1.1.tgz", + "integrity": "sha512-qABuRXXrDP1XQrUm0/59h3kEBWtbyk/lS24t98iHvuAq7gyNA2lxqSQgATsbx8DzbMfOJmkmfjwLodd96lD/kw==", "requires": { - "@types/elliptic": "^6.4.9", - "asn1.js": "^5.0.1", + "@noble/hashes": "^1.0.0", + "@noble/secp256k1": "^1.5.5", "base64url": "^3.0.1", - "ecdsa-sig-formatter": "^1.0.11", - "elliptic": "^6.4.1", - "sha.js": "^2.4.11" + "ecdsa-sig-formatter": "^1.0.11" } }, "jsprim": { diff --git a/packages/auth/package.json b/packages/auth/package.json index 409024b8d..82e58a538 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -26,7 +26,7 @@ "@stacks/network": "^4.2.1", "@stacks/profile": "^4.2.1", "cross-fetch": "^3.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "query-string": "^6.13.1" }, "devDependencies": { @@ -44,7 +44,9 @@ "typings": "dist/index.d.ts", "main": "dist/index.js", "module": "dist/esm/index.js", - "browser": "dist/polyfill/index.js", + "browser": { + "crypto": false + }, "umd:main": "dist/umd/index.js", "unpkg": "dist/umd/index.js", "files": [ diff --git a/packages/cli/package.json b/packages/cli/package.json index d09aeafe2..6b1bf137a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -38,7 +38,7 @@ "express": "^4.17.1", "express-winston": "^3.1.0", "inquirer": "^7.1.0", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "node-fetch": "^2.6.0", "ripemd160": "^2.0.1", "winston": "^3.2.1", diff --git a/packages/encryption/package.json b/packages/encryption/package.json index 3f6942cc4..4373cd4fd 100644 --- a/packages/encryption/package.json +++ b/packages/encryption/package.json @@ -43,7 +43,7 @@ "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "jest-module-name-mapper": "^0.1.5", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "process": "^0.11.10", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", diff --git a/packages/keychain/package.json b/packages/keychain/package.json index b03ec534a..c8603554a 100644 --- a/packages/keychain/package.json +++ b/packages/keychain/package.json @@ -39,7 +39,7 @@ "bip39": "^3.0.2", "bitcoinjs-lib": "^5.2.0", "c32check": "^1.1.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "randombytes": "^2.1.0", "triplesec": "^4.0.3", "zone-file": "^2.0.0-beta.3" diff --git a/packages/profile/package.json b/packages/profile/package.json index 327f91330..52f273c8e 100644 --- a/packages/profile/package.json +++ b/packages/profile/package.json @@ -24,7 +24,7 @@ "@stacks/common": "^4.2.1", "@stacks/network": "^4.2.1", "@stacks/transactions": "^4.2.1", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "schema-inspector": "^2.0.1", "zone-file": "^2.0.0-beta.3" }, @@ -47,7 +47,9 @@ "typings": "dist/index.d.ts", "main": "dist/index.js", "module": "dist/esm/index.js", - "browser": "dist/polyfill/index.js", + "browser": { + "crypto": false + }, "umd:main": "dist/umd/index.js", "unpkg": "dist/umd/index.js", "files": [ diff --git a/packages/storage/package.json b/packages/storage/package.json index c9f7139b0..d3aed477d 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -25,7 +25,7 @@ "@stacks/common": "^4.2.1", "@stacks/encryption": "^4.2.1", "@stacks/network": "^4.2.1", - "jsontokens": "^3.0.0" + "jsontokens": "^3.1.1" }, "devDependencies": { "@stacks/network": "^4.1.0", @@ -49,7 +49,9 @@ "typings": "dist/index.d.ts", "main": "dist/index.js", "module": "dist/esm/index.js", - "browser": "dist/polyfill/index.js", + "browser": { + "crypto": false + }, "umd:main": "dist/umd/index.js", "unpkg": "dist/umd/index.js", "files": [ diff --git a/packages/wallet-sdk/package.json b/packages/wallet-sdk/package.json index 32cc3dfa5..7617f5c43 100644 --- a/packages/wallet-sdk/package.json +++ b/packages/wallet-sdk/package.json @@ -40,7 +40,7 @@ "@stacks/transactions": "^4.2.1", "bitcoinjs-lib": "^5.2.0", "c32check": "^1.1.3", - "jsontokens": "^3.0.0", + "jsontokens": "^3.1.1", "triplesec": "^4.0.3", "zone-file": "^2.0.0-beta.3" },