Socket
Socket
Sign inDemoInstall

notifications-node-client

Package Overview
Dependencies
24
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345Next

5.2.3

Diff

Changelog

Source

5.2.3 - 2022-11-22

  • Bump follow-redirects from 1.14.7 to 1.15.2
govuk-notify
published 5.2.2 •

Changelog

Source

5.2.2 - 2022-11-16

  • Upgrade ansi-regex dependencies to mitigate CVE-2021-3807.
govuk-notify
published 5.2.1 •

Changelog

Source

5.2.1 - 2022-10-19

  • Support strings in calls to prepareUpload. fs.readFile can return strings if an encoding is provided, and the client didn't handle these correctly.
govuk-notify
published 5.2.0 •

Changelog

Source

5.2.0 - 2022-09-27

  • Add support for new security features when sending a file by email:

    • confirmEmailBeforeDownload can be set to true to require the user to enter their email address before accessing the file.
    • retentionPeriod can be set to <1-78> weeks to set how long the file should be made available.
  • The isCsv parameter to prepareUpload has now been replaced by an options parameter. The implementation has been done in a backwards-compatible way, so if you are just sending true/false values as the seecond parameter, that will continue to work. Though we still recommend updating to use the new options format.

govuk-notify
published 5.1.2 •

Changelog

Source

5.1.2 - 2022-09-23

Remove underscore.js dependencyr new send a file features)

govuk-notify
published 5.1.1 •

Changelog

Source

5.1.1 - 2022-01-18

Upgrade axios version from ^0.21.1 to ^0.25.0

govuk-notify
published 5.1.0 •

Changelog

Source

5.1.0 - 2020-12-30

Changed

  • Upgrade axios version from 0.19.2 to 0.21.1
  • Allow any compatible version of axios to be used (0.21.1 to <1.0.0)
  • Allow any compatible version of jsonwebtoken to be used (8.2.1 to <9.0.0)
govuk-notify
published 5.0.2 •

Changelog

Source

5.0.2 - 2020-11-20

Changed

Correct incorrect description of parameter to be used by NotifyClient.setProxy

govuk-notify
published 5.0.1 •

Changelog

Source

5.0.1 - 2020-11-18

Changed

Remove unintentional global nature of variable version

govuk-notify
published 5.0.0 •

Changelog

Source

5.0.0 - 2020-09-02

Changed

We have replaced the use of the npm request-promise package with axios as the npm request package has been deprecated. This makes the following breaking changes:

  1. The response object returned by a successful API call is now in the form of an axios response. This has a different interface to a request response. For example:

    • response.body becomes response.data
    • response.statusCode becomes response.status
  2. The err object returned by an unsuccessful API call has a different interface. For example, err.error becomes err.response.data. See the axios documentation for further details on error handling.

  3. To configure the use of a proxy you should pass the proxy configuration as an object rather than a URL. For details, see the axios client.

  4. We now return native promises rather than bluebird promises. You will not need to make any changes unless you are using some of the additional methods found on bluebird promises that do not exist on native promises.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc