diff --git a/CHANGELOG.md b/CHANGELOG.md index 688e289..9f82deb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.7.1 + +### Maintenence + +- This version upgrades dependencies in order to resolve this [security advisory](https://github.com/advisories/GHSA-4w2v-q235-vp99) regarding the axios library. +- Upgraded @twilio/cli-core from 5.9.3 to 5.15.1 +- Upgraded twilio from 3.48.2 to 3.54.2 + ## 0.7.0 ### Enhancements diff --git a/package-lock.json b/package-lock.json index b35e26c..5ad2768 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1282,16 +1282,16 @@ } }, "@twilio/cli-core": { - "version": "5.15.0", - "resolved": "https://registry.npmjs.org/@twilio/cli-core/-/cli-core-5.15.0.tgz", - "integrity": "sha512-XslIZy7KMV02Bo6q0hebpHVnmFLlnVpkAfLXyCfRYwO0PXI++D/95OG2M2sHg0/DQmIuMhPl6mjvN1ruTKRV4Q==", + "version": "5.15.1", + "resolved": "https://registry.npmjs.org/@twilio/cli-core/-/cli-core-5.15.1.tgz", + "integrity": "sha512-itOSF+8LH9ASQyOXu1oOEYdxhkHlDtCW7oR9Jip4Ql5cNIhUeZNtrAy8X9phMD+UmhHrO2HhQpf/3gmiOJRFmg==", "requires": { "@oclif/command": "^1.7.0", "@oclif/config": "^1.16.0", "@oclif/errors": "^1.3.3", "@oclif/plugin-help": "^2.2.3", "@oclif/plugin-plugins": "^1.8.2", - "axios": "^0.19.2", + "axios": "^0.21.1", "chalk": "^4.1.0", "columnify": "^1.5.4", "fs-extra": "^9.0.1", @@ -1300,7 +1300,7 @@ "qs": "^6.9.4", "semver": "^7.3.2", "tsv": "^0.2.0", - "twilio": "^3.48.2" + "twilio": "^3.54.2" }, "dependencies": { "chalk": { @@ -1368,15 +1368,6 @@ "@babel/types": "^7.3.0" } }, - "@types/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==", - "requires": { - "@types/connect": "*", - "@types/node": "*" - } - }, "@types/cacheable-request": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.1.tgz", @@ -1399,40 +1390,11 @@ "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" }, - "@types/connect": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz", - "integrity": "sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==", - "requires": { - "@types/node": "*" - } - }, "@types/debug": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.5.tgz", "integrity": "sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ==" }, - "@types/express": { - "version": "4.17.7", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.7.tgz", - "integrity": "sha512-dCOT5lcmV/uC2J9k0rPafATeeyz+99xTt54ReX11/LObZgfzJqZNcW27zGhYyX+9iSEGXGt5qLPwRSvBZcLvtQ==", - "requires": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "*", - "@types/qs": "*", - "@types/serve-static": "*" - } - }, - "@types/express-serve-static-core": { - "version": "4.17.9", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.9.tgz", - "integrity": "sha512-DG0BYg6yO+ePW+XoDENYz8zhNGC3jDDEpComMYn7WJc4mY1Us8Rw9ax2YhJXxpyk2SF47PQAoQ0YyVT1a0bEkA==", - "requires": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*" - } - }, "@types/glob": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", @@ -1506,11 +1468,6 @@ "integrity": "sha512-InCEXJNTv/59yO4VSfuvNrZHt7eeNtWQEgnieIA+mIC+MOWM9arOWG2eQ8Vhk6NbOre6/BidiXhkZYeDY9U35w==", "dev": true }, - "@types/mime": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.3.tgz", - "integrity": "sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q==" - }, "@types/mime-types": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-2.1.0.tgz", @@ -1545,16 +1502,6 @@ "integrity": "sha512-5qOlnZscTn4xxM5MeGXAMOsIOIKIbh9e85zJWfBRVPlRMEVawzoPhINYbRGkBZCI8LxvBe7tJCdWiarA99OZfQ==", "dev": true }, - "@types/qs": { - "version": "6.9.4", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.4.tgz", - "integrity": "sha512-+wYo+L6ZF6BMoEjtf8zB2esQsqdV6WsjRK/GP9WOgLPrq87PbNWgIxS76dS5uvl/QXtHGakZmwTznIfcPXcKlQ==" - }, - "@types/range-parser": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz", - "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" - }, "@types/recursive-readdir": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@types/recursive-readdir/-/recursive-readdir-2.2.0.tgz", @@ -1571,15 +1518,6 @@ "@types/node": "*" } }, - "@types/serve-static": { - "version": "1.13.5", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.5.tgz", - "integrity": "sha512-6M64P58N+OXjU432WoLLBQxbA0LRGBCRm7aAGQJ+SMC1IMl0dgRVi9EFfoDcS2a7Xogygk/eGN94CfwU9UF7UQ==", - "requires": { - "@types/express-serve-static-core": "*", - "@types/mime": "*" - } - }, "@types/sinon": { "version": "9.0.4", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-9.0.4.tgz", @@ -1864,11 +1802,11 @@ "dev": true }, "axios": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", - "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", "requires": { - "follow-redirects": "1.5.10" + "follow-redirects": "^1.10.0" } }, "babel-jest": { @@ -2708,9 +2646,9 @@ } }, "dayjs": { - "version": "1.8.33", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.8.33.tgz", - "integrity": "sha512-881TDLZCdpJFKbraWRHcUG8zfMLLX400ENf9rFZDuWc5zYMss6xifo2PhlDX0ftOmR2NRmaIY47bAa4gKQfXqw==" + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.2.tgz", + "integrity": "sha512-h/YtykNNTR8Qgtd1Fxl5J1/SFP1b7SOk/M1P+Re+bCdFMV0IMkuKNgHPN7rlvvuhfw24w0LX78iYKt4YmePJNQ==" }, "debug": { "version": "4.1.1", @@ -3518,27 +3456,9 @@ "dev": true }, "follow-redirects": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", - "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", - "requires": { - "debug": "=3.1.0" - }, - "dependencies": { - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", + "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==" }, "for-in": { "version": "1.0.2", @@ -6755,9 +6675,9 @@ "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" }, "querystringify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz", - "integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" }, "quick-lru": { "version": "5.1.1", @@ -8237,12 +8157,11 @@ "dev": true }, "twilio": { - "version": "3.48.2", - "resolved": "https://registry.npmjs.org/twilio/-/twilio-3.48.2.tgz", - "integrity": "sha512-9HoEIANLUpqHQNzX8j9kXUx/YRbo+HANlT7dpORgyAGEu4pm1HlA0MTWRtR3Rj13Cuut0n8GXvHO9uizCNfGmg==", + "version": "3.54.2", + "resolved": "https://registry.npmjs.org/twilio/-/twilio-3.54.2.tgz", + "integrity": "sha512-Hr3mb8/2yLaVIbcSLWtymPzt42atExlBU5eydI6oKAhAZiTuER4LyDsqKcJ4PBFeZDFzG7Qu0yLZ8bYp8ydV4w==", "requires": { - "@types/express": "^4.17.7", - "axios": "^0.19.2", + "axios": "^0.21.1", "dayjs": "^1.8.29", "jsonwebtoken": "^8.5.1", "lodash": "^4.17.19", diff --git a/package.json b/package.json index 24bdc8c..e232f17 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@oclif/config": "^1.14.0", "@oclif/plugin-help": "^2", "@twilio-labs/serverless-api": "^4.0.3", - "@twilio/cli-core": "^5.15.0", + "@twilio/cli-core": "^5.15.1", "lodash": "^4.17.20", "moment": "^2.29.0", "nanoid": "^3.1.16" @@ -37,7 +37,7 @@ "lint-staged": "^10.0.8", "prettier": "^1.19.1", "superagent": "^5.2.2", - "twilio": "^3.48.2" + "twilio": "^3.54.2" }, "eslintConfig": { "extends": "eslint:recommended", diff --git a/src/helpers.js b/src/helpers.js index 69e3df8..d5fee66 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -191,7 +191,7 @@ TWILIO_API_SECRET = the secret for the API Key`); }, pkgJson: { dependencies: { - twilio: '^3.51.0', + twilio: '^3.54.2', }, }, functionsEnv: 'dev',