Skip to content

Commit

Permalink
chore(providers): Update axios versions (#4940)
Browse files Browse the repository at this point in the history
* chore(providers): Update kannel axios

* refactor(providers): remove unused imports

* fix: axios for twillio
  • Loading branch information
scopsy authored Dec 5, 2023
1 parent 7686386 commit 773dde0
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 24 deletions.
1 change: 0 additions & 1 deletion libs/dal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@aws-sdk/s3-request-presigner": "^3.382.0",
"@faker-js/faker": "^6.0.0",
"@novu/shared": "^0.22.0",
"@sendgrid/mail": "^7.4.2",
"JSONStream": "^1.3.5",
"archiver": "^5.0.0",
"async": "^3.2.0",
Expand Down
1 change: 0 additions & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@sendgrid/mail": "^7.4.6",
"@types/jest": "29.5.2",
"@types/lodash.get": "^4.4.6",
"@types/lodash.merge": "^4.6.6",
Expand Down
1 change: 0 additions & 1 deletion packages/stateless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"lodash.merge": "^4.6.2"
},
"devDependencies": {
"@sendgrid/mail": "^7.4.6",
"@types/jest": "29.5.2",
"@types/lodash.get": "^4.4.6",
"@types/lodash.merge": "^4.6.6",
Expand Down
46 changes: 29 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions providers/kannel/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleNameMapper: {
axios: 'axios/dist/node/axios.cjs',
},
};
2 changes: 1 addition & 1 deletion providers/kannel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@novu/stateless": "^0.22.0",
"axios": "^0.27.2"
"axios": "^1.6.2"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion providers/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@novu/stateless": "^0.22.0",
"@sendgrid/mail": "^7.4.6"
"@sendgrid/mail": "^7.7.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
Expand Down
5 changes: 4 additions & 1 deletion providers/twilio/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
moduleNameMapper: {
axios: 'axios/dist/node/axios.cjs',
},
};
2 changes: 1 addition & 1 deletion providers/twilio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@novu/stateless": "^0.22.0",
"twilio": "^4.14.1"
"twilio": "^4.19.3"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
Expand Down

0 comments on commit 773dde0

Please sign in to comment.