From 5a48be08c01605d51f2419a9035c53b6c6b56890 Mon Sep 17 00:00:00 2001 From: Nebulis Date: Tue, 4 May 2021 15:16:05 +0800 Subject: [PATCH] chore: upgrade latest packages --- package-lock.json | 460 ++++++------------ package.json | 8 +- .../didSigned/didSignedDocumentStatus.test.ts | 8 +- 3 files changed, 163 insertions(+), 313 deletions(-) diff --git a/package-lock.json b/package-lock.json index f61b493f..0f10fd5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,9 @@ "license": "Apache-2.0", "dependencies": { "@govtechsg/dnsprove": "^2.1.2", - "@govtechsg/document-store": "^2.0.0", - "@govtechsg/open-attestation": "^5.2.2", - "@govtechsg/token-registry": "^2.0.0", + "@govtechsg/document-store": "^2.2.1", + "@govtechsg/open-attestation": "^5.2.3", + "@govtechsg/token-registry": "^2.5.2", "axios": "^0.21.1", "debug": "^4.3.1", "did-resolver": "^3.1.0", @@ -20,7 +20,7 @@ "ethr-did-resolver": "^4.3.3", "node-cache": "^5.1.2", "runtypes": "^6.3.0", - "snyk": "^1.570.0", + "snyk": "^1.576.0", "web-did-resolver": "^2.0.4" }, "devDependencies": { @@ -1599,17 +1599,19 @@ } }, "node_modules/@govtechsg/document-store": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.0.0.tgz", - "integrity": "sha512-gIqWjfGySgPhWnyKjD8fbIz4AK/K5HfObmpjfr89ppoBnMx3/TMqwAPGbIzcAxkbt8LRBn9CJHFM/aQOOpf29w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.2.1.tgz", + "integrity": "sha512-ebpWAE3vAJFcX8R0mOiKjrCtDKC6lSzmppczvwkCJiwe+AaVP3C/1AHsRVIiSHaVDyyPWUhj+rd+3zVOjNj/Iw==", + "hasInstallScript": true, "dependencies": { - "lodash": "^4.17.15" + "lodash": "^4.17.21" } }, "node_modules/@govtechsg/open-attestation": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-5.2.2.tgz", - "integrity": "sha512-MrHAg/PGsBQRb03W6XyS95oAaDE01Drl8D8+Zxx2IHN0QV1UCYrUiu96aGCg5f1Bq9892pi0OGdBZ4TT5MtS5g==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-5.2.3.tgz", + "integrity": "sha512-mEmmR6uL1Z0kx/lsTtRUPbiAH4SSuQnjXnUm4LU6R8WmatWbp0eCAQ6oUdB5GyN2IZjYqb9iozcnKcLHQGJ77g==", + "hasInstallScript": true, "dependencies": { "ajv": "^8.1.0", "ajv-formats": "^2.0.2", @@ -1642,11 +1644,6 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, - "node_modules/@govtechsg/open-attestation/node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, "node_modules/@govtechsg/open-attestation/node_modules/runtypes": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/runtypes/-/runtypes-6.3.0.tgz", @@ -1661,9 +1658,13 @@ } }, "node_modules/@govtechsg/token-registry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.0.0.tgz", - "integrity": "sha512-TlnxrN52x94T6+12deQs0K5X6PzeyMHubWyJCoQvzZqBxRn6CHpsYodoLvYXK+iXAAJRuCXfklzvnNqFuxuiyw==" + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.5.2.tgz", + "integrity": "sha512-LVz4d57RlNvAdumHSOwf1HAWM9YpizLi3iWaQcOr47X2umucZhwxHhyVBmGcA0nfsiLMc/oxSKbmANy8+fqI6g==", + "hasInstallScript": true, + "peerDependencies": { + "ethers": ">=5.0.8" + } }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", @@ -3274,15 +3275,6 @@ "node": ">=8.6" } }, - "node_modules/@semantic-release/commit-analyzer/node_modules/picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "dev": true, - "engines": { - "node": ">=8.6" - } - }, "node_modules/@semantic-release/commit-analyzer/node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -3597,11 +3589,14 @@ } }, "node_modules/@sindresorhus/is": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz", - "integrity": "sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz", + "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g==", "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" } }, "node_modules/@sinonjs/commons": { @@ -3658,14 +3653,15 @@ } }, "node_modules/@snyk/code-client": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@snyk/code-client/-/code-client-3.4.1.tgz", - "integrity": "sha512-XJ7tUdX1iQyzN/BmHac7p+Oyw1SyTcqSkCNExwBJxyQdlnUAKK6QKIWLXS81tTpZ79FgCdT+0fdS0AjsyS99eA==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@snyk/code-client/-/code-client-3.5.1.tgz", + "integrity": "sha512-hiDIs1tAuObQr8GwebUT1OH1S27odf23HArOHlcz/ddVHaZrRxreF64sflS4urdIxKVK39AYgMpc5M/QD0cgOg==", "dependencies": { "@deepcode/dcignore": "^1.0.2", "@snyk/fast-glob": "^3.2.6-patch", "@types/flat-cache": "^2.0.0", "@types/lodash.chunk": "^4.2.6", + "@types/lodash.difference": "^4.5.6", "@types/lodash.omit": "^4.5.6", "@types/lodash.union": "^4.6.6", "@types/micromatch": "^4.0.1", @@ -3674,6 +3670,7 @@ "axios": "^0.21.1", "ignore": "^5.1.8", "lodash.chunk": "^4.2.0", + "lodash.difference": "^4.5.0", "lodash.omit": "^4.5.0", "lodash.union": "^4.6.0", "micromatch": "^4.0.2", @@ -3731,14 +3728,6 @@ "node": ">=8.6" } }, - "node_modules/@snyk/code-client/node_modules/picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "engines": { - "node": ">=8.6" - } - }, "node_modules/@snyk/code-client/node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -3888,14 +3877,6 @@ "node": ">=8.6" } }, - "node_modules/@snyk/fast-glob/node_modules/micromatch/node_modules/picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "engines": { - "node": ">=8.6" - } - }, "node_modules/@snyk/fast-glob/node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -4308,6 +4289,9 @@ }, "bin": { "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@snyk/java-call-graph-builder/node_modules/tmp": { @@ -4626,6 +4610,14 @@ "@types/lodash": "*" } }, + "node_modules/@types/lodash.difference": { + "version": "4.5.6", + "resolved": "https://registry.npmjs.org/@types/lodash.difference/-/lodash.difference-4.5.6.tgz", + "integrity": "sha512-wXH53r+uoUCrKhmh7S5Gf6zo3vpsx/zH2R4pvkmDlmopmMTCROAUXDpPMXATGCWkCjE6ik3VZzZUxBgMjZho9Q==", + "dependencies": { + "@types/lodash": "*" + } + }, "node_modules/@types/lodash.omit": { "version": "4.5.6", "resolved": "https://registry.npmjs.org/@types/lodash.omit/-/lodash.omit-4.5.6.tgz", @@ -4927,14 +4919,6 @@ "node": ">=10.19.0" } }, - "node_modules/@yarnpkg/core/node_modules/@sindresorhus/is": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz", - "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g==", - "engines": { - "node": ">=10" - } - }, "node_modules/@yarnpkg/core/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -5017,27 +5001,6 @@ "node": ">=8" } }, - "node_modules/@yarnpkg/core/node_modules/got": { - "version": "11.8.2", - "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz", - "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==", - "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.1", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, "node_modules/@yarnpkg/core/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -5074,14 +5037,6 @@ "node": ">=8" } }, - "node_modules/@yarnpkg/core/node_modules/picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "engines": { - "node": ">=8.6" - } - }, "node_modules/@yarnpkg/core/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -5336,14 +5291,6 @@ "node": ">=8" } }, - "node_modules/@yarnpkg/shell/node_modules/picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "engines": { - "node": ">=8.6" - } - }, "node_modules/@yarnpkg/shell/node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -8789,12 +8736,6 @@ "node": ">=8" } }, - "node_modules/eslint/node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "node_modules/eslint/node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -10196,24 +10137,27 @@ } }, "node_modules/got": { - "version": "11.4.0", - "resolved": "https://registry.npmjs.org/got/-/got-11.4.0.tgz", - "integrity": "sha512-XysJZuZNVpaQ37Oo2LV90MIkPeYITehyy1A0QzO1JwOXm8EWuEf9eeGk2XuHePvLEGnm9AVOI37bHwD6KYyBtg==", + "version": "11.8.2", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz", + "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==", "dependencies": { - "@sindresorhus/is": "^2.1.1", + "@sindresorhus/is": "^4.0.0", "@szmarczak/http-timer": "^4.0.5", "@types/cacheable-request": "^6.0.1", "@types/responselike": "^1.0.0", "cacheable-lookup": "^5.0.3", "cacheable-request": "^7.0.1", "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.4.5", + "http2-wrapper": "^1.0.0-beta.5.2", "lowercase-keys": "^2.0.0", "p-cancelable": "^2.0.0", "responselike": "^2.0.0" }, "engines": { "node": ">=10.19.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/got?sponsor=1" } }, "node_modules/graceful-fs": { @@ -15306,9 +15250,9 @@ } }, "node_modules/lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.assign": { "version": "4.2.0", @@ -15356,6 +15300,11 @@ "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" }, + "node_modules/lodash.difference": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", + "integrity": "sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw=" + }, "node_modules/lodash.endswith": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/lodash.endswith/-/lodash.endswith-4.2.1.tgz", @@ -20337,11 +20286,14 @@ "dev": true }, "node_modules/picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", + "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", "engines": { "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/pify": { @@ -21723,15 +21675,6 @@ "node": ">=8" } }, - "node_modules/semantic-release/node_modules/picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "dev": true, - "engines": { - "node": ">=8.6" - } - }, "node_modules/semantic-release/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -22203,14 +22146,14 @@ "dev": true }, "node_modules/snyk": { - "version": "1.570.0", - "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.570.0.tgz", - "integrity": "sha512-0iKZw+10XgjFOucReEN1KaZLTe3IzCuX4SO3cmBrbqbuBVC3b/gKOTngrqUIhpk8vgKLsTYasX0V1AEoy1gRwQ==", + "version": "1.576.0", + "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.576.0.tgz", + "integrity": "sha512-HQL0X8BYtOsBBR56sZndZBPCxoJxMt8gsngMbZE4K2veJ+4pDkCKkeXjOJTnrHYUE5F5Z4i7UTUVS1zcEwpkrw==", "dependencies": { "@open-policy-agent/opa-wasm": "^1.2.0", "@snyk/cli-interface": "2.11.0", "@snyk/cloud-config-parser": "^1.9.2", - "@snyk/code-client": "3.4.1", + "@snyk/code-client": "3.5.1", "@snyk/dep-graph": "^1.27.1", "@snyk/fix": "1.554.0", "@snyk/gemfile": "1.2.0", @@ -22254,9 +22197,9 @@ "semver": "^6.0.0", "snyk-config": "4.0.0", "snyk-cpp-plugin": "2.2.1", - "snyk-docker-plugin": "4.19.3", + "snyk-docker-plugin": "4.20.1", "snyk-go-plugin": "1.17.0", - "snyk-gradle-plugin": "3.14.2", + "snyk-gradle-plugin": "3.14.4", "snyk-module": "3.1.0", "snyk-mvn-plugin": "2.25.3", "snyk-nodejs-lockfile-parser": "1.34.0", @@ -22385,11 +22328,11 @@ "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" }, "node_modules/snyk-docker-plugin": { - "version": "4.19.3", - "resolved": "https://registry.npmjs.org/snyk-docker-plugin/-/snyk-docker-plugin-4.19.3.tgz", - "integrity": "sha512-5WkXyT7uY5NrTOvEqxeMqb6dDcskT3c/gbHUTOyPuvE6tMut+OOYK8RRXbwZFeLzpS8asq4e1R7U7syYG3VXwg==", + "version": "4.20.1", + "resolved": "https://registry.npmjs.org/snyk-docker-plugin/-/snyk-docker-plugin-4.20.1.tgz", + "integrity": "sha512-qFExaxdu9bNgvkv5TCE/AOyCCOWjjFRuX3Dhf0TWbpj+TtzgpZj2nmi4AG3XiOBn1cQUZ7pCSHoy7bNJeyUBww==", "dependencies": { - "@snyk/dep-graph": "^1.21.0", + "@snyk/dep-graph": "^1.28.0", "@snyk/rpm-parser": "^2.0.0", "@snyk/snyk-docker-pull": "3.2.3", "chalk": "^2.4.2", @@ -22401,7 +22344,7 @@ "gunzip-maybe": "^1.4.2", "mkdirp": "^1.0.4", "semver": "^7.3.4", - "snyk-nodejs-lockfile-parser": "1.30.2", + "snyk-nodejs-lockfile-parser": "1.33.0", "tar-stream": "^2.1.0", "tmp": "^0.2.1", "tslib": "^1", @@ -22439,6 +22382,9 @@ }, "bin": { "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/snyk-docker-plugin/node_modules/semver": { @@ -22456,14 +22402,15 @@ } }, "node_modules/snyk-docker-plugin/node_modules/snyk-nodejs-lockfile-parser": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-1.30.2.tgz", - "integrity": "sha512-wI3VXVYO/ok0uaQm5i+Koo4rKBNilYC/QRIQFlyGbZXf+WBdRcTBKVDfTy8uNfUhMRSGzd84lNclMnetU9Y+vw==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-1.33.0.tgz", + "integrity": "sha512-pgzTBwYa02M25LLuGwmkxAtbdj3ByFlVZonsgOAYnFOXZb1CrQNF3Z9RWW0sXD9n2pxjqYXy9hdp5CMpwa/6jg==", "dependencies": { "@snyk/graphlib": "2.1.9-patch.3", + "@yarnpkg/core": "^2.4.0", "@yarnpkg/lockfile": "^1.1.0", "event-loop-spinner": "^2.0.0", - "got": "11.4.0", + "got": "11.8.2", "lodash.clonedeep": "^4.5.0", "lodash.flatmap": "^4.5.0", "lodash.isempty": "^4.4.0", @@ -22479,7 +22426,7 @@ "parse-nodejs-lockfile": "bin/index.js" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/snyk-docker-plugin/node_modules/tmp": { @@ -22549,9 +22496,9 @@ } }, "node_modules/snyk-gradle-plugin": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/snyk-gradle-plugin/-/snyk-gradle-plugin-3.14.2.tgz", - "integrity": "sha512-l/nivKDZz7e2wymrwP6g2WQD8qgaYeE22SnbZrfIpwGolif81U28A9FsRedwkxKyB/shrM0vGEoD3c3zI8NLBw==", + "version": "3.14.4", + "resolved": "https://registry.npmjs.org/snyk-gradle-plugin/-/snyk-gradle-plugin-3.14.4.tgz", + "integrity": "sha512-EwosGFPizeg03wFl2z0X8qw5+zpTZLGwgtLyFcFTBCUxfuLjEOy71XYkgpHOOsV9PPKzOIAKjOhKof4K1nyinw==", "dependencies": { "@snyk/cli-interface": "2.11.0", "@snyk/dep-graph": "^1.28.0", @@ -22572,6 +22519,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/snyk-gradle-plugin/node_modules/chalk": { @@ -22619,6 +22569,9 @@ }, "bin": { "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/snyk-gradle-plugin/node_modules/supports-color": { @@ -22778,35 +22731,6 @@ "node": ">=10" } }, - "node_modules/snyk-nodejs-lockfile-parser/node_modules/@sindresorhus/is": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz", - "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g==", - "engines": { - "node": ">=10" - } - }, - "node_modules/snyk-nodejs-lockfile-parser/node_modules/got": { - "version": "11.8.2", - "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz", - "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==", - "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.1", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, "node_modules/snyk-nodejs-lockfile-parser/node_modules/p-map": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", @@ -26685,17 +26609,17 @@ } }, "@govtechsg/document-store": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.0.0.tgz", - "integrity": "sha512-gIqWjfGySgPhWnyKjD8fbIz4AK/K5HfObmpjfr89ppoBnMx3/TMqwAPGbIzcAxkbt8LRBn9CJHFM/aQOOpf29w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@govtechsg/document-store/-/document-store-2.2.1.tgz", + "integrity": "sha512-ebpWAE3vAJFcX8R0mOiKjrCtDKC6lSzmppczvwkCJiwe+AaVP3C/1AHsRVIiSHaVDyyPWUhj+rd+3zVOjNj/Iw==", "requires": { - "lodash": "^4.17.15" + "lodash": "^4.17.21" } }, "@govtechsg/open-attestation": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-5.2.2.tgz", - "integrity": "sha512-MrHAg/PGsBQRb03W6XyS95oAaDE01Drl8D8+Zxx2IHN0QV1UCYrUiu96aGCg5f1Bq9892pi0OGdBZ4TT5MtS5g==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@govtechsg/open-attestation/-/open-attestation-5.2.3.tgz", + "integrity": "sha512-mEmmR6uL1Z0kx/lsTtRUPbiAH4SSuQnjXnUm4LU6R8WmatWbp0eCAQ6oUdB5GyN2IZjYqb9iozcnKcLHQGJ77g==", "requires": { "ajv": "^8.1.0", "ajv-formats": "^2.0.2", @@ -26728,11 +26652,6 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, "runtypes": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/runtypes/-/runtypes-6.3.0.tgz", @@ -26746,9 +26665,10 @@ } }, "@govtechsg/token-registry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.0.0.tgz", - "integrity": "sha512-TlnxrN52x94T6+12deQs0K5X6PzeyMHubWyJCoQvzZqBxRn6CHpsYodoLvYXK+iXAAJRuCXfklzvnNqFuxuiyw==" + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@govtechsg/token-registry/-/token-registry-2.5.2.tgz", + "integrity": "sha512-LVz4d57RlNvAdumHSOwf1HAWM9YpizLi3iWaQcOr47X2umucZhwxHhyVBmGcA0nfsiLMc/oxSKbmANy8+fqI6g==", + "requires": {} }, "@istanbuljs/load-nyc-config": { "version": "1.1.0", @@ -28093,12 +28013,6 @@ "picomatch": "^2.2.3" } }, - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "dev": true - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -28352,9 +28266,9 @@ } }, "@sindresorhus/is": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz", - "integrity": "sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz", + "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g==" }, "@sinonjs/commons": { "version": "1.8.2", @@ -28404,14 +28318,15 @@ } }, "@snyk/code-client": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@snyk/code-client/-/code-client-3.4.1.tgz", - "integrity": "sha512-XJ7tUdX1iQyzN/BmHac7p+Oyw1SyTcqSkCNExwBJxyQdlnUAKK6QKIWLXS81tTpZ79FgCdT+0fdS0AjsyS99eA==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@snyk/code-client/-/code-client-3.5.1.tgz", + "integrity": "sha512-hiDIs1tAuObQr8GwebUT1OH1S27odf23HArOHlcz/ddVHaZrRxreF64sflS4urdIxKVK39AYgMpc5M/QD0cgOg==", "requires": { "@deepcode/dcignore": "^1.0.2", "@snyk/fast-glob": "^3.2.6-patch", "@types/flat-cache": "^2.0.0", "@types/lodash.chunk": "^4.2.6", + "@types/lodash.difference": "^4.5.6", "@types/lodash.omit": "^4.5.6", "@types/lodash.union": "^4.6.6", "@types/micromatch": "^4.0.1", @@ -28420,6 +28335,7 @@ "axios": "^0.21.1", "ignore": "^5.1.8", "lodash.chunk": "^4.2.0", + "lodash.difference": "^4.5.0", "lodash.omit": "^4.5.0", "lodash.union": "^4.6.0", "micromatch": "^4.0.2", @@ -28462,11 +28378,6 @@ "picomatch": "^2.2.3" } }, - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -28585,13 +28496,6 @@ "requires": { "braces": "^3.0.1", "picomatch": "^2.2.3" - }, - "dependencies": { - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" - } } }, "to-regex-range": { @@ -29214,6 +29118,14 @@ "@types/lodash": "*" } }, + "@types/lodash.difference": { + "version": "4.5.6", + "resolved": "https://registry.npmjs.org/@types/lodash.difference/-/lodash.difference-4.5.6.tgz", + "integrity": "sha512-wXH53r+uoUCrKhmh7S5Gf6zo3vpsx/zH2R4pvkmDlmopmMTCROAUXDpPMXATGCWkCjE6ik3VZzZUxBgMjZho9Q==", + "requires": { + "@types/lodash": "*" + } + }, "@types/lodash.omit": { "version": "4.5.6", "resolved": "https://registry.npmjs.org/@types/lodash.omit/-/lodash.omit-4.5.6.tgz", @@ -29483,11 +29395,6 @@ "tunnel": "^0.0.6" }, "dependencies": { - "@sindresorhus/is": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz", - "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g==" - }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -29549,24 +29456,6 @@ "to-regex-range": "^5.0.1" } }, - "got": { - "version": "11.8.2", - "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz", - "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==", - "requires": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.1", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - } - }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -29591,11 +29480,6 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" }, - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -29799,11 +29683,6 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" }, - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -32381,12 +32260,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -33773,18 +33646,18 @@ } }, "got": { - "version": "11.4.0", - "resolved": "https://registry.npmjs.org/got/-/got-11.4.0.tgz", - "integrity": "sha512-XysJZuZNVpaQ37Oo2LV90MIkPeYITehyy1A0QzO1JwOXm8EWuEf9eeGk2XuHePvLEGnm9AVOI37bHwD6KYyBtg==", + "version": "11.8.2", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz", + "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==", "requires": { - "@sindresorhus/is": "^2.1.1", + "@sindresorhus/is": "^4.0.0", "@szmarczak/http-timer": "^4.0.5", "@types/cacheable-request": "^6.0.1", "@types/responselike": "^1.0.0", "cacheable-lookup": "^5.0.3", "cacheable-request": "^7.0.1", "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.4.5", + "http2-wrapper": "^1.0.0-beta.5.2", "lowercase-keys": "^2.0.0", "p-cancelable": "^2.0.0", "responselike": "^2.0.0" @@ -37868,9 +37741,9 @@ } }, "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.assign": { "version": "4.2.0", @@ -37918,6 +37791,11 @@ "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=" }, + "lodash.difference": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", + "integrity": "sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw=" + }, "lodash.endswith": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/lodash.endswith/-/lodash.endswith-4.2.1.tgz", @@ -41696,9 +41574,9 @@ "dev": true }, "picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", + "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" }, "pify": { "version": "2.3.0", @@ -42798,12 +42676,6 @@ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", - "dev": true - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -43183,14 +43055,14 @@ } }, "snyk": { - "version": "1.570.0", - "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.570.0.tgz", - "integrity": "sha512-0iKZw+10XgjFOucReEN1KaZLTe3IzCuX4SO3cmBrbqbuBVC3b/gKOTngrqUIhpk8vgKLsTYasX0V1AEoy1gRwQ==", + "version": "1.576.0", + "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.576.0.tgz", + "integrity": "sha512-HQL0X8BYtOsBBR56sZndZBPCxoJxMt8gsngMbZE4K2veJ+4pDkCKkeXjOJTnrHYUE5F5Z4i7UTUVS1zcEwpkrw==", "requires": { "@open-policy-agent/opa-wasm": "^1.2.0", "@snyk/cli-interface": "2.11.0", "@snyk/cloud-config-parser": "^1.9.2", - "@snyk/code-client": "3.4.1", + "@snyk/code-client": "3.5.1", "@snyk/dep-graph": "^1.27.1", "@snyk/fix": "1.554.0", "@snyk/gemfile": "1.2.0", @@ -43234,9 +43106,9 @@ "semver": "^6.0.0", "snyk-config": "4.0.0", "snyk-cpp-plugin": "2.2.1", - "snyk-docker-plugin": "4.19.3", + "snyk-docker-plugin": "4.20.1", "snyk-go-plugin": "1.17.0", - "snyk-gradle-plugin": "3.14.2", + "snyk-gradle-plugin": "3.14.4", "snyk-module": "3.1.0", "snyk-mvn-plugin": "2.25.3", "snyk-nodejs-lockfile-parser": "1.34.0", @@ -43433,11 +43305,11 @@ } }, "snyk-docker-plugin": { - "version": "4.19.3", - "resolved": "https://registry.npmjs.org/snyk-docker-plugin/-/snyk-docker-plugin-4.19.3.tgz", - "integrity": "sha512-5WkXyT7uY5NrTOvEqxeMqb6dDcskT3c/gbHUTOyPuvE6tMut+OOYK8RRXbwZFeLzpS8asq4e1R7U7syYG3VXwg==", + "version": "4.20.1", + "resolved": "https://registry.npmjs.org/snyk-docker-plugin/-/snyk-docker-plugin-4.20.1.tgz", + "integrity": "sha512-qFExaxdu9bNgvkv5TCE/AOyCCOWjjFRuX3Dhf0TWbpj+TtzgpZj2nmi4AG3XiOBn1cQUZ7pCSHoy7bNJeyUBww==", "requires": { - "@snyk/dep-graph": "^1.21.0", + "@snyk/dep-graph": "^1.28.0", "@snyk/rpm-parser": "^2.0.0", "@snyk/snyk-docker-pull": "3.2.3", "chalk": "^2.4.2", @@ -43449,7 +43321,7 @@ "gunzip-maybe": "^1.4.2", "mkdirp": "^1.0.4", "semver": "^7.3.4", - "snyk-nodejs-lockfile-parser": "1.30.2", + "snyk-nodejs-lockfile-parser": "1.33.0", "tar-stream": "^2.1.0", "tmp": "^0.2.1", "tslib": "^1", @@ -43483,14 +43355,15 @@ } }, "snyk-nodejs-lockfile-parser": { - "version": "1.30.2", - "resolved": "https://registry.npmjs.org/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-1.30.2.tgz", - "integrity": "sha512-wI3VXVYO/ok0uaQm5i+Koo4rKBNilYC/QRIQFlyGbZXf+WBdRcTBKVDfTy8uNfUhMRSGzd84lNclMnetU9Y+vw==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-1.33.0.tgz", + "integrity": "sha512-pgzTBwYa02M25LLuGwmkxAtbdj3ByFlVZonsgOAYnFOXZb1CrQNF3Z9RWW0sXD9n2pxjqYXy9hdp5CMpwa/6jg==", "requires": { "@snyk/graphlib": "2.1.9-patch.3", + "@yarnpkg/core": "^2.4.0", "@yarnpkg/lockfile": "^1.1.0", "event-loop-spinner": "^2.0.0", - "got": "11.4.0", + "got": "11.8.2", "lodash.clonedeep": "^4.5.0", "lodash.flatmap": "^4.5.0", "lodash.isempty": "^4.4.0", @@ -43559,9 +43432,9 @@ } }, "snyk-gradle-plugin": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/snyk-gradle-plugin/-/snyk-gradle-plugin-3.14.2.tgz", - "integrity": "sha512-l/nivKDZz7e2wymrwP6g2WQD8qgaYeE22SnbZrfIpwGolif81U28A9FsRedwkxKyB/shrM0vGEoD3c3zI8NLBw==", + "version": "3.14.4", + "resolved": "https://registry.npmjs.org/snyk-gradle-plugin/-/snyk-gradle-plugin-3.14.4.tgz", + "integrity": "sha512-EwosGFPizeg03wFl2z0X8qw5+zpTZLGwgtLyFcFTBCUxfuLjEOy71XYkgpHOOsV9PPKzOIAKjOhKof4K1nyinw==", "requires": { "@snyk/cli-interface": "2.11.0", "@snyk/dep-graph": "^1.28.0", @@ -43753,29 +43626,6 @@ "yaml": "^1.9.2" }, "dependencies": { - "@sindresorhus/is": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz", - "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g==" - }, - "got": { - "version": "11.8.2", - "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz", - "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==", - "requires": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.1", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - } - }, "p-map": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", diff --git a/package.json b/package.json index 25ef56e7..ee270627 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ "license": "Apache-2.0", "dependencies": { "@govtechsg/dnsprove": "^2.1.2", - "@govtechsg/document-store": "^2.0.0", - "@govtechsg/open-attestation": "^5.2.2", - "@govtechsg/token-registry": "^2.0.0", + "@govtechsg/document-store": "^2.2.1", + "@govtechsg/open-attestation": "^5.2.3", + "@govtechsg/token-registry": "^2.5.2", "axios": "^0.21.1", "debug": "^4.3.1", "did-resolver": "^3.1.0", @@ -35,7 +35,7 @@ "ethr-did-resolver": "^4.3.3", "node-cache": "^5.1.2", "runtypes": "^6.3.0", - "snyk": "^1.570.0", + "snyk": "^1.576.0", "web-did-resolver": "^2.0.4" }, "devDependencies": { diff --git a/src/verifiers/documentStatus/didSigned/didSignedDocumentStatus.test.ts b/src/verifiers/documentStatus/didSigned/didSignedDocumentStatus.test.ts index bf6a6e71..7a65b70b 100644 --- a/src/verifiers/documentStatus/didSigned/didSignedDocumentStatus.test.ts +++ b/src/verifiers/documentStatus/didSigned/didSignedDocumentStatus.test.ts @@ -623,12 +623,12 @@ describe("verify", () => { const res = await openAttestationDidSignedDocumentStatus.verify(docWithIncorrectRevocation as any, options); expect(res).toMatchInlineSnapshot(` Object { - "data": [Error: Document does not match either v2 or v3 formats. Consider using \`utils.diagnose\` from open-attestation to find out more.], + "data": [Error: revocation type not found for an issuer], "name": "OpenAttestationDidSignedDocumentStatus", "reason": Object { - "code": 8, - "codeString": "UNRECOGNIZED_DOCUMENT", - "message": "Document does not match either v2 or v3 formats. Consider using \`utils.diagnose\` from open-attestation to find out more.", + "code": 9, + "codeString": "UNRECOGNIZED_REVOCATION_TYPE", + "message": "revocation type not found for an issuer", }, "status": "ERROR", "type": "DOCUMENT_STATUS",