diff --git a/web3.js/package-lock.json b/web3.js/package-lock.json index 5f38d8e0ecbed1..de0c2c2ee13b81 100644 --- a/web3.js/package-lock.json +++ b/web3.js/package-lock.json @@ -5301,6 +5301,16 @@ "base64-js": "^1.3.1", "ieee754": "^1.1.13" } + }, + "superstruct": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.8.4.tgz", + "integrity": "sha512-48Ors8IVWZm/tMr8r0Si6+mJiB7mkD7jqvIzktjJ4+EnP5tBp0qOpiM1J8sCUorKx+TXWrfb3i1UcjdD1YK/wA==", + "dev": true, + "requires": { + "kind-of": "^6.0.2", + "tiny-invariant": "^1.0.6" + } } } }, @@ -22342,20 +22352,9 @@ "dev": true }, "superstruct": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.8.3.tgz", - "integrity": "sha512-LbtbFpktW1FcwxVIJlxdk7bCyBq/GzOx2FSFLRLTUhWIA1gHkYPIl3aXRG5mBdGZtnPNT6t+4eEcLDCMOuBHww==", - "requires": { - "kind-of": "^6.0.2", - "tiny-invariant": "^1.0.6" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } - } + "version": "0.10.12", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.10.12.tgz", + "integrity": "sha512-FiNhfegyytDI0QxrrEoeGknFM28SnoHqCBpkWewUm8jRNj74NVxLpiiePvkOo41Ze/aKMSHa/twWjNF81mKaQQ==" }, "supports-color": { "version": "2.0.0", @@ -22645,9 +22644,10 @@ } }, "tiny-invariant": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.0.6.tgz", - "integrity": "sha512-FOyLWWVjG+aC0UqG76V53yAWdXfH8bO6FNmyZOuUrzDzK8DI3/JRY25UD7+g49JWM1LXwymsKERB+DzI0dTEQA==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz", + "integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==", + "dev": true }, "tmpl": { "version": "1.0.4", diff --git a/web3.js/package.json b/web3.js/package.json index b548341b49c2ee..0cf262c8b56547 100644 --- a/web3.js/package.json +++ b/web3.js/package.json @@ -87,7 +87,7 @@ "npm-run-all": "^4.1.5", "rpc-websockets": "^7.4.2", "secp256k1": "^4.0.2", - "superstruct": "^0.8.3", + "superstruct": "^0.10.12", "tweetnacl": "^1.0.0", "ws": "^7.0.0" },