nexmo-community / sms-translation-demo-app

This project uses Node, React, Google Translate and Nexmo to create a real-time SMS translation demo application. Using a websocket, incoming text messages are sent to Google Translate API and then forwarded to the front-end application for display.
MIT License
1 stars 1 forks source link

Update dependency @google-cloud/translate to v7 #38

Open mend-for-github-com[bot] opened 4 months ago

mend-for-github-com[bot] commented 4 months ago

This PR contains the following updates:

Package Type Update Change
@google-cloud/translate (source) dependencies major ^5.1.4 -> ^7.0.0

By merging this PR, the below vulnerabilities will be automatically resolved:

Severity CVSS Score CVE
High High 8.2 CVE-2022-25878
High High 7.5 CVE-2020-7768
High High 7.5 CVE-2020-8237
Medium Medium 6.1 CVE-2022-0235
Medium Medium 5.3 CVE-2024-37168
Low Low 2.6 CVE-2020-15168

Release Notes

googleapis/google-cloud-node (@​google-cloud/translate) ### [`v7.0.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#700-2022-06-30) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/0bf154f4ec494c3d91768e0211355780f8056d6c...cef87064d950455eaa246023269cc86c1230bd85) ##### ⚠ BREAKING CHANGES - update library to use Node 12 ([#​789](https://togithub.com/googleapis/google-cloud-node/issues/789)) ##### Features - support regapic LRO ([#​798](https://togithub.com/googleapis/nodejs-translate/issues/798)) ([9f1ddc1](https://togithub.com/googleapis/nodejs-translate/commit/9f1ddc167b20e1b5c3eeadf68867ba2294f2bb12)) ##### Bug Fixes - **deps:** update dependency [@​google-cloud/common](https://togithub.com/google-cloud/common) to v4 ([#​793](https://togithub.com/googleapis/nodejs-translate/issues/793)) ([a2d079b](https://togithub.com/googleapis/nodejs-translate/commit/a2d079b6b36c67a21d2c3860c1c1fb497f56c499)) - **test:** fix language detection test ([#​779](https://togithub.com/googleapis/nodejs-translate/issues/779)) ([b6df5e2](https://togithub.com/googleapis/nodejs-translate/commit/b6df5e27ce37bab53f654bcfdfabf40b8db3e8a0)) ##### Build System - update library to use Node 12 ([#​789](https://togithub.com/googleapis/nodejs-translate/issues/789)) ([3060301](https://togithub.com/googleapis/nodejs-translate/commit/30603014cecb2da9cc73c561bd1fb127a158d84d)) ##### [6.3.1](https://www.github.com/googleapis/nodejs-translate/compare/v6.3.0...v6.3.1) (2021-10-18) ##### Bug Fixes - add model signature for batch document translation ([#​735](https://www.togithub.com/googleapis/nodejs-translate/issues/735)) ([406c768](https://www.github.com/googleapis/nodejs-translate/commit/406c7684babb00dcda8dfbb07c6210f810972262)) ### [`v6.3.1`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#631-2021-10-18) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/add1b537cf798e89d0771707dc9894b1b5051e4e...0bf154f4ec494c3d91768e0211355780f8056d6c) ### [`v6.3.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#630-2021-09-13) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/499a5c4b967e53782d213fa37da8d9a310833274...add1b537cf798e89d0771707dc9894b1b5051e4e) ##### Features - added v3 proto for online/batch document translation and updated v3beta1 proto for format conversion ([#​719](https://www.togithub.com/googleapis/nodejs-translate/issues/719)) ([76c9a13](https://www.github.com/googleapis/nodejs-translate/commit/76c9a13a0bb8b9dadc9f671e649af82f58c943f6)) - turns on self-signed JWT feature flag ([#​713](https://www.togithub.com/googleapis/nodejs-translate/issues/713)) ([41062a6](https://www.github.com/googleapis/nodejs-translate/commit/41062a675ae8bb19d921b5612ae325383d219725)) ##### Bug Fixes - add missing annotation for batch document translation ([#​715](https://www.togithub.com/googleapis/nodejs-translate/issues/715)) ([b893e3d](https://www.github.com/googleapis/nodejs-translate/commit/b893e3dcc532813d29d96950fc90962215ad6e51)) - **build:** set default branch to main ([#​722](https://www.togithub.com/googleapis/nodejs-translate/issues/722)) ([26b9ba7](https://www.github.com/googleapis/nodejs-translate/commit/26b9ba7850d25234e1bfb8035dd5ef7a1108b31c)) - remove unnecessary assertion ([#​721](https://www.togithub.com/googleapis/nodejs-translate/issues/721)) ([a5a1f82](https://www.github.com/googleapis/nodejs-translate/commit/a5a1f82b9b78f465ef6bbbfba55dda8937d90dfa)) ##### [6.2.7](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.6...v6.2.7) (2021-08-17) ##### Bug Fixes - **deps:** google-gax v2.24.1 ([#​711](https://www.togithub.com/googleapis/nodejs-translate/issues/711)) ([87604a3](https://www.github.com/googleapis/nodejs-translate/commit/87604a30f57186c90e8edfe7a3259c41da8c03d2)) - increase timeout for batch translate document ([#​708](https://www.togithub.com/googleapis/nodejs-translate/issues/708)) ([ef154ad](https://www.github.com/googleapis/nodejs-translate/commit/ef154ad287820890a4aaedbf40e91b1cb2f798cc)) ##### [6.2.6](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.5...v6.2.6) (2021-07-21) ##### Bug Fixes - Updating WORKSPACE files to use the newest version of the Typescript generator. ([#​699](https://www.togithub.com/googleapis/nodejs-translate/issues/699)) ([41e7ba3](https://www.github.com/googleapis/nodejs-translate/commit/41e7ba31041a2138c7068ce0e14528d044cb3606)) ##### [6.2.5](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.4...v6.2.5) (2021-07-12) ##### Bug Fixes - **deps:** google-gax v2.17.1 ([#​695](https://www.togithub.com/googleapis/nodejs-translate/issues/695)) ([20bac38](https://www.github.com/googleapis/nodejs-translate/commit/20bac38c89480e4e221419bab13e3f10d626df6c)) ##### [6.2.4](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.3...v6.2.4) (2021-06-29) ##### Bug Fixes - **deps:** google-gax v2.17.0 with mTLS ([#​691](https://www.togithub.com/googleapis/nodejs-translate/issues/691)) ([5de0327](https://www.github.com/googleapis/nodejs-translate/commit/5de03274c69ae1e0be252e32d42b4fc4554d8e64)) ##### [6.2.3](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.2...v6.2.3) (2021-06-24) ##### Bug Fixes - make request optional in all cases ([#​687](https://www.togithub.com/googleapis/nodejs-translate/issues/687)) ([621dc99](https://www.github.com/googleapis/nodejs-translate/commit/621dc99db8de832328731c3176e7bf44842062db)) ##### [6.2.2](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.1...v6.2.2) (2021-06-01) ##### Bug Fixes - GoogleAdsError missing using generator version after 1.3.0 ([#​672](https://www.togithub.com/googleapis/nodejs-translate/issues/672)) ([55ca7e7](https://www.github.com/googleapis/nodejs-translate/commit/55ca7e7acd102fb6590a8440c403df8600109357)) ##### [6.2.1](https://www.github.com/googleapis/nodejs-translate/compare/v6.2.0...v6.2.1) (2021-05-11) ##### Bug Fixes - **deps:** require google-gax v2.12.0 ([#​657](https://www.togithub.com/googleapis/nodejs-translate/issues/657)) ([71d695d](https://www.github.com/googleapis/nodejs-translate/commit/71d695d5e217b96e688b4bb71887b19ebedae1ff)) - use require() to load JSON protos ([#​661](https://www.togithub.com/googleapis/nodejs-translate/issues/661)) ([5294080](https://www.github.com/googleapis/nodejs-translate/commit/529408087d68461651f1ce80b5fba460bde0f5bc)) ### [`v6.2.7`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#627-2021-08-17) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/696ab112951bfecaab3c3771beccc158acb0a233...499a5c4b967e53782d213fa37da8d9a310833274) ### [`v6.2.6`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#626-2021-07-21) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/1e6044a7bd1d6cd96f84a86b3336b9535a77befe...696ab112951bfecaab3c3771beccc158acb0a233) ### [`v6.2.5`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#625-2021-07-12) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/b7154c463a1987d39feb742609f173264a21a3dc...1e6044a7bd1d6cd96f84a86b3336b9535a77befe) ### [`v6.2.4`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#624-2021-06-29) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/34d4b6ac35c6392e7254ff3a511925c07ac56c43...b7154c463a1987d39feb742609f173264a21a3dc) ### [`v6.2.3`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#623-2021-06-24) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/0198605e4845ed20622b3769efbbf4d89cd97092...34d4b6ac35c6392e7254ff3a511925c07ac56c43) ### [`v6.2.2`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#622-2021-06-01) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/be312406d6d2626a5165a98a16a983bf365a365e...0198605e4845ed20622b3769efbbf4d89cd97092) ### [`v6.2.1`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#621-2021-05-11) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/a6d8e27570d8dcf6fc88170bb46308d04d79ff0a...be312406d6d2626a5165a98a16a983bf365a365e) ### [`v6.2.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#620-2021-04-07) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/dda5de51c6dc0ab6934979f9bd7cee0ea7da1b4d...a6d8e27570d8dcf6fc88170bb46308d04d79ff0a) ##### Features - added v3beta1 proto for online and batch document translation ([#​639](https://www.togithub.com/googleapis/nodejs-translate/issues/639)) ([513c21a](https://www.github.com/googleapis/nodejs-translate/commit/513c21aabf2ece278708bca56a94bde33e80f072)) ### [`v6.1.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#610-2021-01-09) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/8d2084caebe4ac3ab8d78c1aaf031426332f778b...dda5de51c6dc0ab6934979f9bd7cee0ea7da1b4d) ##### Features - adds style enumeration ([#​611](https://www.togithub.com/googleapis/nodejs-translate/issues/611)) ([3189de4](https://www.github.com/googleapis/nodejs-translate/commit/3189de48c865e86e86475819a95698bc9c7e6822)) ##### [6.0.5](https://www.github.com/googleapis/nodejs-translate/compare/v6.0.4...v6.0.5) (2020-12-04) ##### Bug Fixes - **browser:** check for fetch on window ([de3e562](https://www.github.com/googleapis/nodejs-translate/commit/de3e5624981cd07249bd2aad6fcb0f53a6383a3f)) ##### [6.0.4](https://www.github.com/googleapis/nodejs-translate/compare/v6.0.3...v6.0.4) (2020-11-07) ##### Bug Fixes - do not modify options object, use defaultScopes ([#​593](https://www.togithub.com/googleapis/nodejs-translate/issues/593)) ([f38bbcd](https://www.github.com/googleapis/nodejs-translate/commit/f38bbcdb6df9f5e3849c20ff0cc2dfd020284c61)) ##### [6.0.3](https://www.github.com/googleapis/nodejs-translate/compare/v6.0.2...v6.0.3) (2020-09-17) ##### Bug Fixes - **deps:** update dependency yargs to v16 ([#​577](https://www.togithub.com/googleapis/nodejs-translate/issues/577)) ([6ca7d9a](https://www.github.com/googleapis/nodejs-translate/commit/6ca7d9aea43a8934f6426d7c99d9c48a5a81f9fb)) ##### [6.0.2](https://www.github.com/googleapis/nodejs-translate/compare/v6.0.1...v6.0.2) (2020-07-15) ##### Bug Fixes - typeo in nodejs .gitattribute ([#​556](https://www.togithub.com/googleapis/nodejs-translate/issues/556)) ([f774b0c](https://www.github.com/googleapis/nodejs-translate/commit/f774b0cae621be822b80b34c67adbbebb995ceec)) ##### [6.0.1](https://www.github.com/googleapis/nodejs-translate/compare/v6.0.0...v6.0.1) (2020-06-29) ##### Bug Fixes - handle fallback option properly ([#​547](https://www.togithub.com/googleapis/nodejs-translate/issues/547)) ([9146de2](https://www.github.com/googleapis/nodejs-translate/commit/9146de2a08565418dc118d1c8f3034f90ef9778e)) - **deps:** update dependency [@​google-cloud/text-to-speech](https://togithub.com/google-cloud/text-to-speech) to v3 ([#​538](https://www.togithub.com/googleapis/nodejs-translate/issues/538)) ([423dba3](https://www.github.com/googleapis/nodejs-translate/commit/423dba36a2c82ac6335c279edb1d246add55b754)) - **deps:** update dependency [@​google-cloud/vision](https://togithub.com/google-cloud/vision) to v2 ([#​539](https://www.togithub.com/googleapis/nodejs-translate/issues/539)) ([5dbeac4](https://www.github.com/googleapis/nodejs-translate/commit/5dbeac4e9a3133a6008cd8fb882046fe4a9946bc)) - **samples:** typo in CLI invocation ([9755e2d](https://www.github.com/googleapis/nodejs-translate/commit/9755e2deff080d8a250ecbd251c7810288cd92d9)) - update node issue template ([#​551](https://www.togithub.com/googleapis/nodejs-translate/issues/551)) ([548d1e5](https://www.github.com/googleapis/nodejs-translate/commit/548d1e5219141b293631087723ee111382a8e857)) ### [`v6.0.5`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#605-2020-12-04) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/cea46334c98eae24183ff42af5b15887a86d1b96...8d2084caebe4ac3ab8d78c1aaf031426332f778b) ### [`v6.0.4`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#604-2020-11-07) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/0320c80fbc49045780bd5be1aa71804e4ca12043...cea46334c98eae24183ff42af5b15887a86d1b96) ### [`v6.0.3`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#603-2020-09-17) ### [`v6.0.2`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#602-2020-07-15) ### [`v6.0.1`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#601-2020-06-29) ### [`v6.0.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#600-2020-06-03) ##### ⚠ BREAKING CHANGES - The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM. ##### Features - check status of long running operation by its name; fix linting ([#​531](https://www.togithub.com/googleapis/nodejs-translate/issues/531)) ([6e6907d](https://www.github.com/googleapis/nodejs-translate/commit/6e6907da0187d05797967b80d2d75c25125658aa)) - drop node8 support, support for async iterators ([#​482](https://www.togithub.com/googleapis/nodejs-translate/issues/482)) ([4a5f047](https://www.github.com/googleapis/nodejs-translate/commit/4a5f047f141dbe5dd0d6979351a36d9c2232f22e)) ##### Bug Fixes - ensure scoped protobuf ([#​500](https://www.togithub.com/googleapis/nodejs-translate/issues/500)) ([5793c23](https://www.github.com/googleapis/nodejs-translate/commit/5793c2306f7c028be093465a08d41824e48ed492)) - remove eslint, update gax, fix generated protos, run the generator ([#​507](https://www.togithub.com/googleapis/nodejs-translate/issues/507)) ([8f43605](https://www.github.com/googleapis/nodejs-translate/commit/8f4360505e4b86fe6729f96f34488aec84a5a1b6)) - **deps:** update dependency [@​google-cloud/automl](https://togithub.com/google-cloud/automl) to v2 ([#​503](https://www.togithub.com/googleapis/nodejs-translate/issues/503)) ([8ba77fe](https://www.github.com/googleapis/nodejs-translate/commit/8ba77fe702fef017b9f59678f9503705d16efe75)) - **deps:** update dependency [@​google-cloud/common](https://togithub.com/google-cloud/common) to v3 ([#​481](https://www.togithub.com/googleapis/nodejs-translate/issues/481)) ([fc719f0](https://www.github.com/googleapis/nodejs-translate/commit/fc719f08804299a3c8086a3eff393fbf8f1fde80)) - **deps:** update dependency [@​google-cloud/promisify](https://togithub.com/google-cloud/promisify) to v2 ([#​476](https://www.togithub.com/googleapis/nodejs-translate/issues/476)) ([bbbfa9f](https://www.github.com/googleapis/nodejs-translate/commit/bbbfa9f3223d39b5b78b9972d61eb8fb77bddafa)) ### [`v5.3.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#530-2020-03-06) ##### Features - deferred client initialization ([#​460](https://www.togithub.com/googleapis/nodejs-translate/issues/460)) ([0ed76f4](https://www.github.com/googleapis/nodejs-translate/commit/0ed76f4e83528c2d087a26598535f5daf5a08444)) ### [`v5.2.0`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#520-2020-02-27) ##### Features - export protos in src/index.ts ([#​451](https://www.togithub.com/googleapis/nodejs-translate/issues/451)) ([a70079e](https://www.github.com/googleapis/nodejs-translate/commit/a70079ea24fe36d7efdd7d028a55fd6acbd6b3e1)) ##### [5.1.6](https://www.github.com/googleapis/nodejs-translate/compare/v5.1.5...v5.1.6) (2020-02-07) ##### Bug Fixes - pass x-goog-request-params header for streaming calls ([40c90fa](https://www.github.com/googleapis/nodejs-translate/commit/40c90fa099ef0bd995b5923cd35ba4ac0f9344e1)) ##### [5.1.5](https://www.github.com/googleapis/nodejs-translate/compare/v5.1.4...v5.1.5) (2020-02-04) ##### Bug Fixes - enum, bytes, and Long types now accept strings ([19891e0](https://www.github.com/googleapis/nodejs-translate/commit/19891e07b2f1aaad5552999f1701dc81b5447754)) ##### [5.1.4](https://www.github.com/googleapis/nodejs-translate/compare/v5.1.3...v5.1.4) (2020-01-04) ##### Bug Fixes - better client close(), update .nycrc ([f476326](https://www.github.com/googleapis/nodejs-translate/commit/f476326b19e41253ba054cdfa5b7fcdfcb8dc1b2)) - increase timeout from 20s to 60s ([#​411](https://www.togithub.com/googleapis/nodejs-translate/issues/411)) ([40241fe](https://www.github.com/googleapis/nodejs-translate/commit/40241fea93a2315eae8344c58a9ffed87392eda4)) - suppress unhandled promise rejection errors ([#​417](https://www.togithub.com/googleapis/nodejs-translate/issues/417)) ([8eb6558](https://www.github.com/googleapis/nodejs-translate/commit/8eb655862b2d9c92f28f5b96eb1158dce3af704c)) ##### [5.1.3](https://www.github.com/googleapis/nodejs-translate/compare/v5.1.2...v5.1.3) (2019-12-16) ##### Bug Fixes - refactored request call to supress unhandled promise rejection ([#​406](https://www.togithub.com/googleapis/nodejs-translate/issues/406)) ([19fc9c7](https://www.github.com/googleapis/nodejs-translate/commit/19fc9c7d24e5b8d16f32d80023b81294e02d34d6)) - removed display_name from sample ([f518b1a](https://www.github.com/googleapis/nodejs-translate/commit/f518b1a9b405626e058f9f143d3e8929af1401db)) - update translate_create_glossary.js ([#​403](https://www.togithub.com/googleapis/nodejs-translate/issues/403)) ([aa10fc7](https://www.github.com/googleapis/nodejs-translate/commit/aa10fc7ac9299895b7e87ebec574e27871e0bd1d)) ##### [5.1.2](https://www.github.com/googleapis/nodejs-translate/compare/v5.1.1...v5.1.2) (2019-12-11) ##### Bug Fixes - make operationsClient and service stub public ([7ac1252](https://www.github.com/googleapis/nodejs-translate/commit/7ac12522ef96d6a37c15ca7847e6e872316c8a9d)) ##### [5.1.1](https://www.github.com/googleapis/nodejs-translate/compare/v5.1.0...v5.1.1) (2019-12-05) ##### Bug Fixes - **deps:** pin TypeScript below 3.7.0 ([53f3cff](https://www.github.com/googleapis/nodejs-translate/commit/53f3cff821869347a8d34f3b0561d3b8158d171d)) ### [`v5.1.6`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#516-2020-02-07) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/71ec5f586230e73484b8c96f2d39400aae5873e6...9332c1c77c4e328be0721273bdd1b50b7323c3a7) ### [`v5.1.5`](https://togithub.com/googleapis/google-cloud-node/blob/HEAD/packages/google-cloud-translate/CHANGELOG.md#515-2020-02-04) [Compare Source](https://togithub.com/googleapis/google-cloud-node/compare/c764da22805801c384a9b667de0c1bf94f2231ee...71ec5f586230e73484b8c96f2d39400aae5873e6)