diff --git a/package-lock.json b/package-lock.json index 644607e..7dd20e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1804,22 +1804,6 @@ "@ethersproject/logger": "^5.0.5", "@ethersproject/properties": "^5.0.3", "elliptic": "6.5.3" - }, - "dependencies": { - "elliptic": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", - "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", - "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" - } - } } }, "@ethersproject/solidity": { @@ -1917,9 +1901,9 @@ } }, "@govtechsg/dnsprove": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@govtechsg/dnsprove/-/dnsprove-2.0.8.tgz", - "integrity": "sha512-hSJkL2K1st+Jx1VIh9bfs8Xz8UCcQMaSF8FGpCXCbH/I/LC7ZVLo9rMHQZ0yL0WwM99RV/GRTEvqPbqfk+4+mQ==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@govtechsg/dnsprove/-/dnsprove-2.0.9.tgz", + "integrity": "sha512-LUNoWHK4/HqbAHpgT9bfbj/52CQ8WA2yEwrO4sovDm2OEHX9cD8RI3f8V8ZbJxVBIhyCH935lOEVznBLBnAUng==", "requires": { "axios": "0.20.0", "debug": "4.1.1", @@ -1935,85 +1919,23 @@ } }, "@govtechsg/oa-verify": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@govtechsg/oa-verify/-/oa-verify-4.2.0.tgz", - "integrity": "sha512-esvayyZ7Dj8NA1WYrLIp4LsFvSjRvYGFRS+qO7tAbRBTyQfLxW0sF+Bp9oaipSWz5GjkZjXHfr1qw599ilRCQw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@govtechsg/oa-verify/-/oa-verify-4.2.1.tgz", + "integrity": "sha512-ZHazd/QFF2OlkuYphM48CZ/5y0tLaZ2egHQVWEyJ5tJqud7ZJFwwMYnU2xbC0TWWbIqyoLod7NGfvYrdEQBY2A==", "requires": { "@govtechsg/dnsprove": "^2.0.8", "@govtechsg/document-store": "^2.0.0", - "@govtechsg/open-attestation": "^3.11.2", + "@govtechsg/open-attestation": "^3.12.0", "@govtechsg/token-registry": "^2.0.0", "debug": "^4.1.1", "ethers": "^5.0.4", "snyk": "^1.364.2" - }, - "dependencies": { - "@govtechsg/open-attestation": { - "version": "3.11.3", - "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-3.11.3.tgz", - "integrity": "sha512-+NvYNojjwqw9778AtP8VYsWhDcy1DrPOcXkPV9JrqvxiC7S7EgoTUZsy9g3GjnU1SD2NqwqCQOnEGdO4ZHN5Yg==", - "requires": { - "ajv": "6.10.2", - "debug": "^4.1.1", - "ethers": "^4.0.47", - "flatley": "^5.2.0", - "js-sha3": "^0.8.0", - "lodash": "^4.17.15", - "uuid": "^3.3.3", - "validator": "^12.0.0", - "verbal-expressions": "^1.0.2" - }, - "dependencies": { - "ethers": { - "version": "4.0.48", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.48.tgz", - "integrity": "sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==", - "requires": { - "aes-js": "3.0.0", - "bn.js": "^4.4.0", - "elliptic": "6.5.3", - "hash.js": "1.1.3", - "js-sha3": "0.5.7", - "scrypt-js": "2.0.4", - "setimmediate": "1.0.4", - "uuid": "2.0.1", - "xmlhttprequest": "1.8.0" - }, - "dependencies": { - "js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" - }, - "uuid": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", - "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" - } - } - } - } - }, - "elliptic": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", - "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", - "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" - } - } } }, "@govtechsg/open-attestation": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-3.11.0.tgz", - "integrity": "sha512-rV2g+dcfaygme2xEE4aKZKcUY/Ed2Gtzfsq8BOQgtyZE04Z0xEakrOJBL2ZZ53unuo+msCrD6P+mTrmHO1MIHg==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-3.14.0.tgz", + "integrity": "sha512-89n2Z8O8oNcV+eGvfaZS0ZVB8s+KtXA3IMMfmO/2vUIJD8sjm++prlyK/329HXXUtaKCpI1DeiJ3dGHKAkkJ4Q==", "requires": { "ajv": "6.10.2", "debug": "^4.1.1", @@ -2027,13 +1949,13 @@ }, "dependencies": { "ethers": { - "version": "4.0.47", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.47.tgz", - "integrity": "sha512-hssRYhngV4hiDNeZmVU/k5/E8xmLG8UpcNUzg6mb7lqhgpFPH/t7nuv20RjRrEf0gblzvi2XwR5Te+V3ZFc9pQ==", + "version": "4.0.48", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.48.tgz", + "integrity": "sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==", "requires": { "aes-js": "3.0.0", "bn.js": "^4.4.0", - "elliptic": "6.5.2", + "elliptic": "6.5.3", "hash.js": "1.1.3", "js-sha3": "0.5.7", "scrypt-js": "2.0.4", @@ -2057,9 +1979,9 @@ } }, "@govtechsg/token-registry": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.1.0.tgz", - "integrity": "sha512-P4fFF3ICy826AeyQBbMBwVIXTeWT7Q/coy14JeTejDEE477VRl0lY8U0SJZ7uXydUxE7BrYR2jAeT0gB3ZVvUg==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.2.0.tgz", + "integrity": "sha512-t7JR4mw/8lpsGiF6MxaqgF+f1cQkg/VOUA92vyzcJ15icy3eqptVJPFcT/o/uq46CJO0PnsahbGoiSCp6OIx4w==" }, "@jest/console": { "version": "24.9.0", @@ -5624,9 +5546,9 @@ "dev": true }, "elliptic": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz", - "integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==", + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", + "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", "requires": { "bn.js": "^4.4.0", "brorand": "^1.0.1", @@ -9545,9 +9467,9 @@ } }, "keyv": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.0.2.tgz", - "integrity": "sha512-EApxc1YZC/Uf+8dsrGqDqUK3cW8oPLgyeATzELkyAFE9OTf2jpFbi2qLtlrONy+SMmupkR3p5jGWeMEd0Z/ZHg==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.0.3.tgz", + "integrity": "sha512-zdGa2TOpSZPq5mU6iowDARnMBZgtCqJ11dJROFi6tg6kTn4nuUdU09lFyLFSaHrWqpIJ+EBq4E8/Dc0Vx5vLdA==", "requires": { "json-buffer": "3.0.1" } @@ -17595,9 +17517,9 @@ } }, "snyk": { - "version": "1.398.1", - "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.398.1.tgz", - "integrity": "sha512-jH24ztdJY8DQlqkd1z8n/JutdOqHtTPccCynM2hfOedW20yAp9c108LFjXvqBEk/EH3YyNmWzyLkkHOySeDkwQ==", + "version": "1.400.0", + "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.400.0.tgz", + "integrity": "sha512-KC7wmy9GNK2BgquGSjARebBj2zUOlp1svKG9RNPbjYrlrZXiUV7MSAKhrnV31sF0s64P558vIpwAFAFSMZtu0Q==", "requires": { "@snyk/cli-interface": "2.9.2", "@snyk/dep-graph": "1.19.4", @@ -17622,7 +17544,7 @@ "semver": "^6.0.0", "snyk-config": "3.1.1", "snyk-cpp-plugin": "1.5.0", - "snyk-docker-plugin": "3.21.0", + "snyk-docker-plugin": "3.23.0", "snyk-go-plugin": "1.16.2", "snyk-gradle-plugin": "3.6.3", "snyk-module": "3.1.0", @@ -18003,9 +17925,9 @@ } }, "snyk-docker-plugin": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/snyk-docker-plugin/-/snyk-docker-plugin-3.21.0.tgz", - "integrity": "sha512-A7oJS3QGR7bwm1qeeczCb8PDfi8go1KM6VWph/drJHBQ7JxVKKLb3j4AzrMmIM96mGZFbmyNOL4pznwumaOM8g==", + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/snyk-docker-plugin/-/snyk-docker-plugin-3.23.0.tgz", + "integrity": "sha512-krMQ7hw+7j+DFJnSPMfPHry2BN8nZDtK8hI8PJf6U82C1s+nVARD8pD/PFhisBQUGLBqX8nNSI9FSWNP/seMaA==", "requires": { "@snyk/rpm-parser": "^2.0.0", "@snyk/snyk-docker-pull": "^3.2.0", @@ -18016,7 +17938,7 @@ "gunzip-maybe": "^1.4.2", "mkdirp": "^1.0.4", "semver": "^6.1.0", - "snyk-nodejs-lockfile-parser": "1.28.1", + "snyk-nodejs-lockfile-parser": "1.29.0", "tar-stream": "^2.1.0", "tmp": "^0.2.1", "tslib": "^1", @@ -18028,11 +17950,38 @@ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" }, + "snyk-nodejs-lockfile-parser": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-1.29.0.tgz", + "integrity": "sha512-pQL5fe0lypifou0QAvirTsj0Ez7zHjwBUUq9U5ManMfPqFt89nwIK/5/xW0o3OiFM56Iu3uLUQXM/BhYqBokzQ==", + "requires": { + "@yarnpkg/lockfile": "^1.1.0", + "event-loop-spinner": "^2.0.0", + "got": "11.4.0", + "graphlib": "2.1.8", + "lodash.clonedeep": "^4.5.0", + "lodash.flatmap": "^4.5.0", + "lodash.isempty": "^4.4.0", + "lodash.set": "^4.3.2", + "lodash.topairs": "^4.3.0", + "p-map": "2.1.0", + "snyk-config": "^3.0.0", + "source-map-support": "^0.5.7", + "tslib": "^1.9.3", + "uuid": "^8.3.0", + "yaml": "^1.9.2" + } + }, "tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", @@ -18045,6 +17994,11 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz", "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==" + }, + "yaml": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz", + "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==" } } }, diff --git a/package.json b/package.json index 943c4ae..5ebf2b6 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ ] }, "dependencies": { - "@govtechsg/oa-verify": "^4.2.0", - "@govtechsg/open-attestation": "^3.11.0", + "@govtechsg/oa-verify": "^4.2.1", + "@govtechsg/open-attestation": "^3.12.0", "debug": "4.1.1", "node-fetch": "2.6.0" },