From 9301b4b558907ce79bf94fd29a9215758a558071 Mon Sep 17 00:00:00 2001 From: Yan <15334762+yanlow@users.noreply.github.com> Date: Thu, 23 Nov 2023 17:55:11 +0800 Subject: [PATCH] chore: axios patch; snyk upgrade (#266) * chore: axios patch; snyk upgrade * revert package.json to 3d4e711 * chore: package-lock upgrade --- package-lock.json | 18 +++++++++--------- package.json | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0f48e42..c20b79d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3837,6 +3837,12 @@ "@sinonjs/commons": "^1.7.0" } }, + "@snyk/protect": { + "version": "1.1248.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.1248.0.tgz", + "integrity": "sha512-t1dBU/2eliumDPjsjzJPpdpkCL+FpV+4Nz5Qes8aJqv/QwRPlS9F51hNm4EQjuahUM01eC35m7oNuBglp/Yp7Q==", + "dev": true + }, "@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -4454,9 +4460,9 @@ "dev": true }, "axios": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", - "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -15369,12 +15375,6 @@ } } }, - "snyk": { - "version": "1.931.0", - "resolved": "https://registry.npmjs.org/snyk/-/snyk-1.931.0.tgz", - "integrity": "sha512-anaEdv5e7BugJeRWuT5tviW46ABmOoPb8+4Ijv+kjZvKa6zCIKL0i8kODKmOpOENGAs+2qrAJPI3dAEUPQiAdg==", - "dev": true - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", diff --git a/package.json b/package.json index 73263b4..75e2aa9 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test:watch": "jest --watch", "lint": "eslint . --ext .ts --max-warnings 0", "lint:fix": "npm run lint -- --fix", - "snyk-protect": "snyk protect", + "snyk-protect": "snyk-protect", "prepare": "npm run snyk-protect", "generate:v3": "DEBUG=oa-verify* ts-node scripts/generate.v3.ts" }, @@ -29,7 +29,7 @@ "@govtechsg/document-store": "^2.2.3", "@govtechsg/open-attestation": "^6.2.0", "@govtechsg/token-registry": "^4.1.7", - "axios": "^1.6.0", + "axios": "^1.6.2", "debug": "^4.3.1", "did-resolver": "^3.1.0", "ethers": "^5.1.4", @@ -59,7 +59,7 @@ "msw": "^0.28.2", "prettier": "^2.2.1", "semantic-release": "^19.0.2", - "snyk": "^1.931.0", + "@snyk/protect": "^1.1248.0", "ts-jest": "^26.5.5", "typescript": "^4.9.5" },