From 14ed5eb49061002353f117a24710bfe3f68d942e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 21 Jul 2021 22:30:15 -0700 Subject: [PATCH 1/2] fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DOTPROP-543489 - https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905 - https://snyk.io/vuln/SNYK-JS-LODASH-1018905 - https://snyk.io/vuln/SNYK-JS-LODASH-1040724 - https://snyk.io/vuln/SNYK-JS-LODASH-567746 - https://snyk.io/vuln/SNYK-JS-LODASH-590103 - https://snyk.io/vuln/SNYK-JS-LODASH-608086 - https://snyk.io/vuln/SNYK-JS-MERGE-1040469 - https://snyk.io/vuln/SNYK-JS-MERGE-1042987 - https://snyk.io/vuln/SNYK-JS-MINIMIST-559764 - https://snyk.io/vuln/SNYK-JS-PROPERTYEXPR-598800 - https://snyk.io/vuln/SNYK-JS-TRIMNEWLINES-1298042 - https://snyk.io/vuln/SNYK-JS-YARGSPARSER-560381 --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0b3b945d..a196eb88 100644 --- a/package.json +++ b/package.json @@ -19,18 +19,18 @@ "pre-commit": "run-s lint-staged test" }, "devDependencies": { - "@commitlint/cli": "^8.1.0", - "@commitlint/config-conventional": "^8.0.0", + "@commitlint/cli": "^9.1.2", + "@commitlint/config-conventional": "^10.0.0", "@types/jest": "^24.0.15", - "all-contributors-cli": "^5.3.0", - "commitizen": "^3.1.1", + "all-contributors-cli": "^6.1.2", + "commitizen": "^4.2.4", "conventional-changelog-cli": "^2.1.0", "cz-conventional-changelog": "^2.1.0", "husky": "^7.0.0", "jest": "^26.2.2", "jest-express": "^1.10.1", - "lerna": "^3.22.1", - "lint-staged": "^8.2.1", + "lerna": "^4.0.0", + "lint-staged": "^9.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.2.1", "rimraf": "^3.0.2", From aeafe411e601a7c97cb48a6308768c8c7e0c5589 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Thu, 22 Jul 2021 15:57:14 +1000 Subject: [PATCH 2/2] chore(deps): updates jest, ts-jest and typedoc-plugin-ext across the packages --- package.json | 4 ++-- packages/create-twilio-function/package.json | 2 +- packages/runtime-handler/package.json | 4 ++-- packages/serverless-api/package.json | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index a196eb88..c1a2ad32 100644 --- a/package.json +++ b/package.json @@ -27,14 +27,14 @@ "conventional-changelog-cli": "^2.1.0", "cz-conventional-changelog": "^2.1.0", "husky": "^7.0.0", - "jest": "^26.2.2", + "jest": "^26.6.3", "jest-express": "^1.10.1", "lerna": "^4.0.0", "lint-staged": "^9.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.2.1", "rimraf": "^3.0.2", - "ts-jest": "^26.0.0", + "ts-jest": "^26.5.0", "typescript": "^3.9.7" }, "lint-staged": { diff --git a/packages/create-twilio-function/package.json b/packages/create-twilio-function/package.json index 9bb851ea..8fdc5d1a 100644 --- a/packages/create-twilio-function/package.json +++ b/packages/create-twilio-function/package.json @@ -27,7 +27,7 @@ "license": "MIT", "devDependencies": { "@twilio/runtime-handler": "^1.1.2", - "jest": "^24.5.0", + "jest": "^26.6.3", "nock": "^11.3.4" }, "dependencies": { diff --git a/packages/runtime-handler/package.json b/packages/runtime-handler/package.json index 1cc961a0..5802334f 100644 --- a/packages/runtime-handler/package.json +++ b/packages/runtime-handler/package.json @@ -49,11 +49,11 @@ "@types/lodash.debounce": "^4.0.6", "@types/node": "^14.0.19", "@types/supertest": "^2.0.8", - "jest": "^24.8.0", + "jest": "^26.6.3", "npm-run-all": "^4.1.5", "rimraf": "^2.6.3", "supertest": "^3.1.0", - "ts-jest": "^24.0.2", + "ts-jest": "^26.5.0", "typescript": "^3.8.3" }, "bugs": { diff --git a/packages/serverless-api/package.json b/packages/serverless-api/package.json index fa70eeb1..a7d7414c 100644 --- a/packages/serverless-api/package.json +++ b/packages/serverless-api/package.json @@ -46,14 +46,14 @@ "@types/jest": "^24.0.16", "@types/nock": "^10.0.3", "commitizen": "^4.2.4", - "jest": "^24.8.0", + "jest": "^26.6.3", "moq.ts": "^6.3.3", "nock": "^12.0.3", "npm-run-all": "^4.1.5", "rimraf": "^2.6.3", - "ts-jest": "^25.3.0", + "ts-jest": "^26.5.0", "typedoc": "^0.18.0", - "typedoc-plugin-external-module-name": "^3.0.0", + "typedoc-plugin-external-module-name": "^4.0.6", "typescript": "^3.8.3" }, "dependencies": {