Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

deepl-node

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deepl-node - npm Package Versions

daniel-jones-deepl
published 1.15.0 •

Changelog

Source

[1.15.0] - 2024-11-15

Added

  • Added modelType option to translateText() to use models with higher translation quality (available for some language pairs), or better latency. Options are 'quality_optimized', 'latency_optimized', and 'prefer_quality_optimized'
  • Added the modelTypeUsed field to translateText() response, that indicates the translation model used when the modelType option is specified.
daniel-jones-deepl
published 1.14.0 •

Changelog

Source

[1.14.0] - 2024-09-17

Added

  • Added billedCharacters field to text translation response.
daniel-jones-deepl
published 1.13.1 •

Changelog

Source

[1.13.1] - 2024-08-14

Added

  • Added supported glossary languages: Danish ('da'), Norwegian (bokmål) ('nb'), and Swedish ('sv'). The corresponding glossary language code TypeScript types are extended.

    Note: older library versions also support the new glossary language pairs, this update only adds new types.

Security

daniel-jones-deepl
published 1.13.0 •

Changelog

Source

[1.13.0] - 2024-04-12

Added

  • Add possibility to add extra parameters to a translation request (both text and document). DeepL engineers use this to test features in the API before they are released. Library users who cannot update their DeepL library dependency could use these extra parameters to access features in the API that are released in the future.

Security

daniel-jones-deepl
published 1.12.0 •

Changelog

Source

[1.12.0] - 2024-02-27

Added

  • New language available: Arabic ('ar'). Add language code constants and tests. Arabic is currently supported only for text translation; document translation support for Arabic is coming soon.

    Note: older library versions also support the new language, this update only adds new code constants.

daniel-jones-deepl
published 1.11.1 •

Changelog

Source

[1.11.1] - 2024-01-26

Fixed

  • Dependencies: Update follow-redirects due to security vulnerability

Security

daniel-jones-deepl
published 1.11.0 •

Changelog

Source

[1.11.0] - 2023-11-03

Added

  • Add optional context parameter for text translation, that specifies additional context to influence translations, that is not translated itself.

Changed

  • Added notice in Readme that starting in 2024 the library will drop support for Node versions that are officially end-of-life.
  • Keep-Alive is now used by HTTP(S) agent, to reduce latency for subsequent API requests.

Fixed

  • CI: silence npm audit warnings in non-production dependencies due to currently-unresolvable vulnerability in semver <7.5.2.

  • Increase axios dependency to >=1.2.2, due to bug in axios v1.2.1.

  • Added supported glossary languages: Italian (it), Dutch (nl), Polish (pl), Portuguese (pt), Russian (ru) and Chinese (zh). The corresponding glossary language code TypeScript types are extended.

    Note: older library versions also support the new glossary language pairs, this update only adds new types.

  • Fixed typo in readme: createGlossaryWithCsv not createGlossaryFromCsv

daniel-jones-deepl
published 1.10.2 •

Changelog

Source

[1.10.2] - 2023-06-02

Fixed

  • Fixed erroneous version bump
daniel-jones-deepl
published 1.10.0 •

Changelog

Source

[1.10.0] - 2023-06-01

Fixed

  • Changed document translation to poll the server every 5 seconds. This should greatly reduce observed document translation processing time.
  • Fix getUsage request to be a HTTP GET request, not POST.
daniel-jones-deepl
published 1.9.0 •

Changelog

Source

[1.9.0] - 2023-03-22

Added

  • Added platform and node version information to the user-agent string that is sent with API calls, along with an opt-out.
  • Added method for applications that use this library to identify themselves in API requests they make.

Fixed

  • Fixed proxy example code in README