From a54af69c29f436b30e0eb0772048b9e3c4f14f40 Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Tue, 5 Dec 2023 17:05:55 +0200 Subject: [PATCH] chore(providers): Update provider packages for older axios versions (#4942) * chore(providers): upgrade resend version * chore(providers): upgrade postmark * chore: update mailchimp * chore: update packages * chore: update infobip * fix: resend sdk implementation * chore: upgrade bandwidth provider version * fix: rever resend node * fix: axios * fix: axios mapping * fix: inforbip * fix: module mapper --- packages/nest/package.json | 2 +- pnpm-lock.yaml | 241 ++++++++++++------------- providers/bandwidth/jest.config.js | 3 + providers/bandwidth/package.json | 2 +- providers/braze/package.json | 2 +- providers/bulk-sms/package.json | 2 +- providers/email-webhook/package.json | 2 +- providers/generic-sms/package.json | 2 +- providers/getstream/package.json | 2 +- providers/grafana-on-call/package.json | 2 +- providers/infobip/jest.config.js | 3 + providers/infobip/package.json | 2 +- providers/mailjet/package.json | 2 +- providers/mandrill/package.json | 2 +- providers/messagebird/package.json | 2 +- providers/ms-teams/package.json | 2 +- providers/plivo/package.json | 2 +- providers/postmark/jest.config.js | 5 +- providers/postmark/package.json | 2 +- providers/resend/jest.config.js | 3 + providers/resend/package.json | 2 +- providers/sms-central/package.json | 2 +- providers/zulip/package.json | 2 +- 23 files changed, 149 insertions(+), 142 deletions(-) diff --git a/packages/nest/package.json b/packages/nest/package.json index 9c65f2cfcdf..e579e26157d 100644 --- a/packages/nest/package.json +++ b/packages/nest/package.json @@ -35,7 +35,7 @@ "node": ">=10" }, "dependencies": { - "@nestjs/common": "^8.2.0", + "@nestjs/common": "^10.2.10", "@novu/stateless": "^0.22.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 065bbb20aea..a676b878746 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2553,8 +2553,8 @@ importers: packages/nest: dependencies: '@nestjs/common': - specifier: ^8.2.0 - version: 8.4.7(reflect-metadata@0.1.13)(rxjs@7.8.1) + specifier: ^10.2.10 + version: 10.2.10(reflect-metadata@0.1.13)(rxjs@7.8.1) '@novu/stateless': specifier: ^0.22.0 version: link:../stateless @@ -3207,8 +3207,8 @@ importers: providers/bandwidth: dependencies: '@bandwidth/messaging': - specifier: ^4.1.1 - version: 4.1.2 + specifier: ^4.1.3 + version: 4.1.3 '@novu/stateless': specifier: ^0.22.0 version: link:../../packages/stateless @@ -3250,8 +3250,8 @@ importers: providers/braze: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless braze-api: specifier: ^2.5.6 version: 2.5.6 @@ -3293,8 +3293,8 @@ importers: providers/bulk-sms: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.0 version: 1.6.0 @@ -3547,8 +3547,8 @@ importers: providers/email-webhook: dependencies: '@novu/stateless': - specifier: ^0.15.0 - version: 0.15.0 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -3871,8 +3871,8 @@ importers: providers/generic-sms: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -3914,8 +3914,8 @@ importers: providers/getstream: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -3957,8 +3957,8 @@ importers: providers/grafana-on-call: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -4061,8 +4061,8 @@ importers: providers/infobip: dependencies: '@infobip-api/sdk': - specifier: ^0.2.0 - version: 0.2.0 + specifier: ^0.3.2 + version: 0.3.2 '@novu/stateless': specifier: ^0.22.0 version: link:../../packages/stateless @@ -4290,8 +4290,8 @@ importers: specifier: ^0.22.0 version: link:../../packages/stateless node-mailjet: - specifier: ^6.0.4 - version: 6.0.4 + specifier: ^6.0.5 + version: 6.0.5 devDependencies: '@istanbuljs/nyc-config-typescript': specifier: ^1.0.1 @@ -4388,7 +4388,7 @@ importers: providers/mandrill: dependencies: '@mailchimp/mailchimp_transactional': - specifier: ^1.0.46 + specifier: ^1.0.50 version: 1.0.50 '@novu/stateless': specifier: ^0.22.0 @@ -4541,8 +4541,8 @@ importers: providers/messagebird: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless messagebird: specifier: ^4.0.1 version: 4.0.1 @@ -4584,8 +4584,8 @@ importers: providers/ms-teams: dependencies: '@novu/stateless': - specifier: ^0.7.2 - version: 0.7.2 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -4917,8 +4917,8 @@ importers: specifier: ^0.22.0 version: link:../../packages/stateless plivo: - specifier: ^4.22.4 - version: 4.44.0 + specifier: ^4.60.1 + version: 4.60.1 devDependencies: '@istanbuljs/nyc-config-typescript': specifier: 1.0.2 @@ -5018,8 +5018,8 @@ importers: specifier: ^1.6.2 version: 1.6.2 postmark: - specifier: ^2.7.8 - version: 2.9.5 + specifier: ^4.0.2 + version: 4.0.2 devDependencies: '@istanbuljs/nyc-config-typescript': specifier: 1.0.2 @@ -5202,8 +5202,8 @@ importers: specifier: ^0.22.0 version: link:../../packages/stateless resend: - specifier: ^0.11.0 - version: 0.11.1 + specifier: ^0.17.2 + version: 0.17.2 devDependencies: '@istanbuljs/nyc-config-typescript': specifier: ^1.0.1 @@ -5606,8 +5606,8 @@ importers: providers/sms-central: dependencies: '@novu/stateless': - specifier: ^0.12.0 - version: 0.12.0 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -5991,8 +5991,8 @@ importers: providers/zulip: dependencies: '@novu/stateless': - specifier: 0.16.3 - version: 0.16.3 + specifier: ^0.22.0 + version: link:../../packages/stateless axios: specifier: ^1.6.2 version: 1.6.2 @@ -12011,12 +12011,12 @@ packages: '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - /@bandwidth/messaging@4.1.2: - resolution: {integrity: sha512-9yfhcrl6UUCYI22JlYPo8vppZuC+KDX+FtYoKI+TsGPpjr1gKpEJTWfBsrSqfOfus91ce5b9eYjeoMsGvi657w==} + /@bandwidth/messaging@4.1.3: + resolution: {integrity: sha512-cc1qLocHGxxqV7YNGOBxt6VhO+iGLfZnIq2htMP/xCgGOHqCtOVqHlQs80AETIMNEClXapShvn4TQrakx2h1/A==} engines: {node: '>=10'} dependencies: '@apimatic/schema': 0.6.0 - axios: 0.27.2 + axios: 1.6.2 detect-node: 2.1.0 form-data: 3.0.1 json-bigint: 1.0.0 @@ -14401,6 +14401,10 @@ packages: deprecated: This version has been deprecated and is no longer supported or maintained dev: false + /@hapi/hoek@9.3.0: + resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==} + dev: false + /@hapi/joi@16.1.8: resolution: {integrity: sha512-wAsVvTPe+FwSrsAurNt5vkg3zo+TblvC5Bb1zMVK6SJzZqw9UrJnexxR+76cpePmtUZKHAPxcQ2Bf7oVHyahhg==} deprecated: Switch to 'npm install joi' @@ -14424,6 +14428,12 @@ packages: '@hapi/hoek': 8.5.1 dev: false + /@hapi/topo@5.1.0: + resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} + dependencies: + '@hapi/hoek': 9.3.0 + dev: false + /@hookform/devtools@4.3.1(@types/react@17.0.53)(react-dom@17.0.2)(react@17.0.2): resolution: {integrity: sha512-CrWxEoHQZaOXJZVQ8KBgOuAa8p2LI8M0DAN5GTRTmdCieRwFVjVDEmuTAVazWVRRkpEQSgSt3KYp7VmmqXdEnw==} peerDependencies: @@ -14504,12 +14514,12 @@ packages: react: 17.0.2 dev: false - /@infobip-api/sdk@0.2.0: - resolution: {integrity: sha512-I9C+MIMxoW/PProBSt6UIMqDE5cgVODno5o5JOlcjMbbFS2ou490e5zS0V44sH2z5W6BDhOGyT50FQetF8BeUQ==} + /@infobip-api/sdk@0.3.2: + resolution: {integrity: sha512-Jj/FSBWLvt7KLVsx1fZOfIoO68AtTvi/sEv0HEOMUehssuM7/AJSLeRerQNHtBMULBKrgYIRRAU4Y3QiwUbyOg==} engines: {node: '>=10'} dependencies: - axios: 0.26.1 - form-data: 2.5.1 + axios: 1.6.2 + form-data: 4.0.0 transitivePeerDependencies: - debug dev: false @@ -16202,8 +16212,8 @@ packages: - webpack-cli dev: true - /@nestjs/common@10.2.2(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1): - resolution: {integrity: sha512-TCOJK2K4FDT3GxFfURjngnjBewS/hizKNFSLBXtX4TTQm0dVQOtESnnVdP14sEiPM6suuWlrGnXW9UDqItGWiQ==} + /@nestjs/common@10.2.10(reflect-metadata@0.1.13)(rxjs@7.8.1): + resolution: {integrity: sha512-fwAk931rjW8CNH2Mgwawq/7HWHH1dxkOLdcgs7U52ddLk8CtHXjejm1cbNahewlSbNhvlOl7y1STLHutE6sUqw==} peerDependencies: class-transformer: '*' class-validator: '*' @@ -16215,39 +16225,33 @@ packages: class-validator: optional: true dependencies: - class-transformer: 0.5.1 - class-validator: 0.14.0 iterare: 1.2.1 reflect-metadata: 0.1.13 rxjs: 7.8.1 tslib: 2.6.2 uid: 2.0.2 + dev: false - /@nestjs/common@8.4.7(reflect-metadata@0.1.13)(rxjs@7.8.1): - resolution: {integrity: sha512-m/YsbcBal+gA5CFrDpqXqsSfylo+DIQrkFY3qhVIltsYRfu8ct8J9pqsTO6OPf3mvqdOpFGrV5sBjoyAzOBvsw==} + /@nestjs/common@10.2.2(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1): + resolution: {integrity: sha512-TCOJK2K4FDT3GxFfURjngnjBewS/hizKNFSLBXtX4TTQm0dVQOtESnnVdP14sEiPM6suuWlrGnXW9UDqItGWiQ==} peerDependencies: - cache-manager: '*' class-transformer: '*' class-validator: '*' reflect-metadata: ^0.1.12 rxjs: ^7.1.0 peerDependenciesMeta: - cache-manager: - optional: true class-transformer: optional: true class-validator: optional: true dependencies: - axios: 0.27.2 + class-transformer: 0.5.1 + class-validator: 0.14.0 iterare: 1.2.1 reflect-metadata: 0.1.13 rxjs: 7.8.1 - tslib: 2.4.0 - uuid: 8.3.2 - transitivePeerDependencies: - - debug - dev: false + tslib: 2.6.2 + uid: 2.0.2 /@nestjs/core@10.2.2(@nestjs/common@10.2.2)(@nestjs/platform-express@10.2.2)(@nestjs/websockets@10.2.2)(reflect-metadata@0.1.13)(rxjs@7.8.1): resolution: {integrity: sha512-444gApiDCV63Gq7a3WgboNEPBYZt/UcozRhOKEl5FTAXWrZbDoz48e8RXOCFzST1Py0HKUnharMtpb28l7zgJw==} @@ -16652,45 +16656,6 @@ packages: vue-resize: 2.0.0-alpha.1(vue@3.2.47) dev: false - /@novu/stateless@0.12.0: - resolution: {integrity: sha512-2GVX07XtR3owk8Dg/66l+kyUvgYR5+uKMheiFCVRuTCqiDfVFww1G3ixIEs2FGIajtLfDdNyuH+PV25EoqmKVg==} - engines: {node: '>=10'} - dependencies: - handlebars: 4.7.7 - lodash.get: 4.4.2 - lodash.merge: 4.6.2 - dev: false - - /@novu/stateless@0.15.0: - resolution: {integrity: sha512-NS7n34dlEB48EthLek0NWZXh+nJtbOUVkWdyprGF2f/WCCG/wT+yUtYLOauMffrySpnXEjY9zimyGgIWJQRl0g==} - engines: {node: '>=10'} - dependencies: - handlebars: 4.7.7 - lodash.get: 4.4.2 - lodash.merge: 4.6.2 - dev: false - - /@novu/stateless@0.16.3: - resolution: {integrity: sha512-9wrqUluSaR9rCdDp4oUWFBwsk6OSM4P+yMaEtFGHrGmSPMcspnvXQaQoARKakuUpCXFvQlPPJq5+yaicv4o/hA==} - engines: {node: '>=10'} - dependencies: - handlebars: 4.7.7 - lodash.get: 4.4.2 - lodash.merge: 4.6.2 - dev: false - - /@novu/stateless@0.7.2: - resolution: {integrity: sha512-hZPVjtdckROXF4WpcpUJGigA+7Nfz1mM5dIHwuDfh6MZ6cRGOgjQVq2TKhiOjHcu2umcKORem4cuyz47KoSA5w==} - engines: {node: '>=10'} - dependencies: - axios: 0.26.1 - handlebars: 4.7.7 - lodash.get: 4.4.2 - lodash.merge: 4.6.2 - transitivePeerDependencies: - - debug - dev: false - /@npmcli/arborist@5.3.0: resolution: {integrity: sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -19720,8 +19685,8 @@ packages: react-dom: 17.0.2(react@17.0.2) dev: false - /@react-email/render@0.0.5: - resolution: {integrity: sha512-EE9mCvR3lXeZEJaldCEaEc4msCwPQwZfXbhuPVl3SpRsiHiMK0wNm2X39vVpqzCzxrm0wljCoLruT7Klp9DZAw==} + /@react-email/render@0.0.7: + resolution: {integrity: sha512-hMMhxk6TpOcDC5qnKzXPVJoVGEwfm+U5bGOPH+MyTTlx0F02RLQygcATBKsbP7aI/mvkmBAZoFbgPIHop7ovug==} engines: {node: '>=16.0.0'} dependencies: html-to-text: 9.0.3 @@ -20328,6 +20293,20 @@ packages: tslib: 2.6.2 dev: false + /@sideway/address@4.1.4: + resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==} + dependencies: + '@hapi/hoek': 9.3.0 + dev: false + + /@sideway/formula@3.0.1: + resolution: {integrity: sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==} + dev: false + + /@sideway/pinpoint@2.0.0: + resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} + dev: false + /@sigstore/bundle@1.1.0: resolution: {integrity: sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -27548,14 +27527,6 @@ packages: - debug dev: false - /axios@0.25.0: - resolution: {integrity: sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==} - dependencies: - follow-redirects: 1.15.2 - transitivePeerDependencies: - - debug - dev: false - /axios@0.26.1: resolution: {integrity: sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==} dependencies: @@ -27583,6 +27554,16 @@ packages: - debug dev: true + /axios@1.4.0: + resolution: {integrity: sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==} + dependencies: + follow-redirects: 1.15.2 + form-data: 4.0.0 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + dev: false + /axios@1.6.0: resolution: {integrity: sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==} dependencies: @@ -32331,7 +32312,7 @@ packages: eslint: 8.51.0 eslint-import-resolver-node: 0.3.7 eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-webpack@0.13.7)(eslint@8.51.0) - has: 1.0.4 + has: 1.0.3 is-core-module: 2.13.0 is-glob: 4.0.3 minimatch: 3.1.2 @@ -33786,6 +33767,7 @@ packages: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 + dev: true /form-data@3.0.1: resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} @@ -37738,6 +37720,16 @@ packages: engines: {node: '>= 0.6.0'} dev: false + /joi@17.11.0: + resolution: {integrity: sha512-NgB+lZLNoqISVy1rZocE9PZI36bL/77ie924Ri43yEvi9GUUMPeyVIr8KdFTMUlby1p0PBYMk9spIxEUQYqrJQ==} + dependencies: + '@hapi/hoek': 9.3.0 + '@hapi/topo': 5.1.0 + '@sideway/address': 4.1.4 + '@sideway/formula': 3.0.1 + '@sideway/pinpoint': 2.0.0 + dev: false + /join-component@1.1.0: resolution: {integrity: sha512-bF7vcQxbODoGK1imE2P9GS9aw4zD0Sd+Hni68IMZLj7zRnquH7dXUmMw9hDI5S/Jzt7q+IyTXN0rSg2GI0IKhQ==} dev: false @@ -40886,11 +40878,11 @@ packages: /node-machine-id@1.1.12: resolution: {integrity: sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==} - /node-mailjet@6.0.4: - resolution: {integrity: sha512-gNWfbVnsH+KxkhfDLPA8OrQ2Q25OgyKp19C7DSJYmN2zNfqTKIXzhB9BZwgxZtErmPxz2Fp1NR18WPCmrJDuwg==} + /node-mailjet@6.0.5: + resolution: {integrity: sha512-upufsTkMyrDF7Z6OiJ4M4Yw4L6MkB0vOQB27W1V9q0CxxSA6e2xOJif3koPwwwgDELpbJNG7asZjKFdghtxUCw==} engines: {node: '>= 12.0.0', npm: '>= 6.9.0'} dependencies: - axios: 0.27.2 + axios: 1.6.2 json-bigint: 1.0.0 url-join: 4.0.1 transitivePeerDependencies: @@ -42705,8 +42697,8 @@ packages: semver-compare: 1.0.0 dev: true - /plivo@4.44.0: - resolution: {integrity: sha512-724oFGUime4jUlmFFHzYm4FCCoqxLTt4QMJkj9fwQ17FRdLs3TRRW7sjMYJMHuHI6TLiQw+cTkDTm/MmDs05Ng==} + /plivo@4.60.1: + resolution: {integrity: sha512-GkrgJ0lwJ7jjPcexGLEGey2vLf0dCZBPY7Es9kGVSQqqG5kiXSY4hrqwblqXyEanDip/j5vk+jMWvNd/uL0BUw==} dependencies: '@types/node': 14.18.42 axios: 0.21.4 @@ -42714,6 +42706,7 @@ packages: build-url: 1.3.3 form-data: 4.0.0 https-proxy-agent: 5.0.1 + joi: 17.11.0 jsonwebtoken: 9.0.0 lodash: 4.17.21 querystring: 0.2.1 @@ -43588,10 +43581,10 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 - /postmark@2.9.5: - resolution: {integrity: sha512-F27gc6wrxdn7GADodGpECoWez7FK2Pdach7A9ni5vVZiYz1YUY7T68nvVCzxrbWCjOS7ZujyclYlq1C0a4ar1w==} + /postmark@4.0.2: + resolution: {integrity: sha512-2zlCv+KVVQ0KoamXZHE7d+gXzLlr8tPE+PxQmtUaIZhbHzZAq4D6yH2b+ykhA8wYCc5ISodcx8U1aNLenXBs9g==} dependencies: - axios: 0.25.0 + axios: 1.6.2 transitivePeerDependencies: - debug dev: false @@ -46049,11 +46042,12 @@ packages: dev: false optional: true - /resend@0.11.1: - resolution: {integrity: sha512-HntGZRVZ6dW5ngAC/fv+StNhMHuJjBT7ZBsmw0iZWN4t4cN5JS8w2Nrt7NtgnDbOfWSdxFm+maCS+f4OGLQyZA==} + /resend@0.17.2: + resolution: {integrity: sha512-lakm76u4MiIDeMF1s2tCmjtksOhwZOs4WcAXkA7aUTvl+63/h+0h6Q6WnkB8RGtj6GakUhQuUkiZshfXgtIrGw==} dependencies: - '@react-email/render': 0.0.5 - axios: 0.27.2 + '@react-email/render': 0.0.7 + axios: 1.4.0 + type-fest: 3.13.0 transitivePeerDependencies: - debug dev: false @@ -49340,10 +49334,6 @@ packages: resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==} dev: false - /tslib@2.4.0: - resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} - dev: false - /tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} @@ -49493,6 +49483,11 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} + /type-fest@3.13.0: + resolution: {integrity: sha512-Gur3yQGM9qiLNs0KPP7LPgeRbio2QTt4xXouobMCarR0/wyW3F+F/+OWwshg3NG0Adon7uQfSZBpB46NfhoF1A==} + engines: {node: '>=14.16'} + dev: false + /type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} diff --git a/providers/bandwidth/jest.config.js b/providers/bandwidth/jest.config.js index e86e13bab91..61faa20934a 100644 --- a/providers/bandwidth/jest.config.js +++ b/providers/bandwidth/jest.config.js @@ -2,4 +2,7 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', + moduleNameMapper: { + axios: 'axios/dist/node/axios.cjs', + }, }; diff --git a/providers/bandwidth/package.json b/providers/bandwidth/package.json index f990cb0e937..a09e34b1daa 100644 --- a/providers/bandwidth/package.json +++ b/providers/bandwidth/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@bandwidth/messaging": "^4.1.1", + "@bandwidth/messaging": "^4.1.3", "@novu/stateless": "^0.22.0" }, "devDependencies": { diff --git a/providers/braze/package.json b/providers/braze/package.json index f3834ef8a79..cf49266e852 100644 --- a/providers/braze/package.json +++ b/providers/braze/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "braze-api": "^2.5.6" }, "devDependencies": { diff --git a/providers/bulk-sms/package.json b/providers/bulk-sms/package.json index 168fde0fb37..9797ecc9925 100644 --- a/providers/bulk-sms/package.json +++ b/providers/bulk-sms/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "axios": "^1.6.0" }, "devDependencies": { diff --git a/providers/email-webhook/package.json b/providers/email-webhook/package.json index dce11497aa1..d494cbe0e88 100644 --- a/providers/email-webhook/package.json +++ b/providers/email-webhook/package.json @@ -38,7 +38,7 @@ "node": ">=10" }, "dependencies": { - "@novu/stateless": "^0.15.0", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2" }, "devDependencies": { diff --git a/providers/generic-sms/package.json b/providers/generic-sms/package.json index 6d7088e49b5..74663213d1f 100644 --- a/providers/generic-sms/package.json +++ b/providers/generic-sms/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2" }, "devDependencies": { diff --git a/providers/getstream/package.json b/providers/getstream/package.json index ff3ea1cca75..d20059d0066 100644 --- a/providers/getstream/package.json +++ b/providers/getstream/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2" }, "devDependencies": { diff --git a/providers/grafana-on-call/package.json b/providers/grafana-on-call/package.json index df290edfaec..75437cbdcba 100644 --- a/providers/grafana-on-call/package.json +++ b/providers/grafana-on-call/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2", "uuid": "^9.0.0" }, diff --git a/providers/infobip/jest.config.js b/providers/infobip/jest.config.js index e86e13bab91..61faa20934a 100644 --- a/providers/infobip/jest.config.js +++ b/providers/infobip/jest.config.js @@ -2,4 +2,7 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', + moduleNameMapper: { + axios: 'axios/dist/node/axios.cjs', + }, }; diff --git a/providers/infobip/package.json b/providers/infobip/package.json index 7acbab1bf35..8825027ac3e 100644 --- a/providers/infobip/package.json +++ b/providers/infobip/package.json @@ -32,7 +32,7 @@ "node": ">=10" }, "dependencies": { - "@infobip-api/sdk": "^0.2.0", + "@infobip-api/sdk": "^0.3.2", "@novu/stateless": "^0.22.0" }, "devDependencies": { diff --git a/providers/mailjet/package.json b/providers/mailjet/package.json index 562554d9d6e..481cf81c85c 100644 --- a/providers/mailjet/package.json +++ b/providers/mailjet/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@novu/stateless": "^0.22.0", - "node-mailjet": "^6.0.4" + "node-mailjet": "^6.0.5" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", diff --git a/providers/mandrill/package.json b/providers/mandrill/package.json index ffd2ec5bcdb..e4614602879 100644 --- a/providers/mandrill/package.json +++ b/providers/mandrill/package.json @@ -41,7 +41,7 @@ "node": ">=10" }, "dependencies": { - "@mailchimp/mailchimp_transactional": "^1.0.46", + "@mailchimp/mailchimp_transactional": "^1.0.50", "@novu/stateless": "^0.22.0" }, "devDependencies": { diff --git a/providers/messagebird/package.json b/providers/messagebird/package.json index bb558f1ae6c..33f03685994 100644 --- a/providers/messagebird/package.json +++ b/providers/messagebird/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "messagebird": "^4.0.1" }, "devDependencies": { diff --git a/providers/ms-teams/package.json b/providers/ms-teams/package.json index 1502e91674a..8e3fab0241c 100644 --- a/providers/ms-teams/package.json +++ b/providers/ms-teams/package.json @@ -32,7 +32,7 @@ "node": ">=10" }, "dependencies": { - "@novu/stateless": "^0.7.2", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2" }, "devDependencies": { diff --git a/providers/plivo/package.json b/providers/plivo/package.json index 17d7fc1bdbd..325518718c3 100644 --- a/providers/plivo/package.json +++ b/providers/plivo/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@novu/stateless": "^0.22.0", - "plivo": "^4.22.4" + "plivo": "^4.60.1" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "1.0.2", diff --git a/providers/postmark/jest.config.js b/providers/postmark/jest.config.js index 8cbf8940ccd..61faa20934a 100644 --- a/providers/postmark/jest.config.js +++ b/providers/postmark/jest.config.js @@ -2,4 +2,7 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', -}; \ No newline at end of file + moduleNameMapper: { + axios: 'axios/dist/node/axios.cjs', + }, +}; diff --git a/providers/postmark/package.json b/providers/postmark/package.json index 73fe9f6e4a6..40d1560956d 100644 --- a/providers/postmark/package.json +++ b/providers/postmark/package.json @@ -47,7 +47,7 @@ "dependencies": { "@novu/stateless": "^0.22.0", "axios": "^1.6.2", - "postmark": "^2.7.8" + "postmark": "^4.0.2" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "1.0.2", diff --git a/providers/resend/jest.config.js b/providers/resend/jest.config.js index e86e13bab91..61faa20934a 100644 --- a/providers/resend/jest.config.js +++ b/providers/resend/jest.config.js @@ -2,4 +2,7 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', + moduleNameMapper: { + axios: 'axios/dist/node/axios.cjs', + }, }; diff --git a/providers/resend/package.json b/providers/resend/package.json index 14864b0bf7a..9bc5511fda0 100644 --- a/providers/resend/package.json +++ b/providers/resend/package.json @@ -33,7 +33,7 @@ }, "dependencies": { "@novu/stateless": "^0.22.0", - "resend": "^0.11.0" + "resend": "^0.17.2" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", diff --git a/providers/sms-central/package.json b/providers/sms-central/package.json index ffd1fbe3d78..de942250c48 100644 --- a/providers/sms-central/package.json +++ b/providers/sms-central/package.json @@ -29,7 +29,7 @@ "access": "public" }, "dependencies": { - "@novu/stateless": "^0.12.0", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2" }, "devDependencies": { diff --git a/providers/zulip/package.json b/providers/zulip/package.json index 3ec8f59f4dd..88f051563f9 100644 --- a/providers/zulip/package.json +++ b/providers/zulip/package.json @@ -32,7 +32,7 @@ "node": ">=10" }, "dependencies": { - "@novu/stateless": "0.16.3", + "@novu/stateless": "^0.22.0", "axios": "^1.6.2" }, "devDependencies": {