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

secure-random-string

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-random-string - npm Package Versions

1.1.4

Diff

Changelog

Source

[1.1.4] 2024-09-26

Changes

  • In previous versions, if there was not enough entropy on the system, securerandomstring would throw an exception. Now it will retry to generate a random string until it succeeds, or the call stack becomes full.
s2
published 1.1.3 •

s2
published 1.1.2 •

s2
published 1.1.0 •

Changelog

Source

[1.1.0] 2017-12-26

New Features

  • alphanumeric option to generate alphanumeric characters only.
s2
published 1.0.0 •

Changelog

Source

[1.0.0] 2015-08-27

New Features

  • New sync API was added. Like crypto.getRandomBytes(), it can throw an exception if the system is short on entropy. (#1, @markstos)

Breaking changes

  • Async API now follows the Node.js convention of returning an error as the first argument to the callback. The error might be populated if the system runs out of entropy. (#2, @markstos)

  • urlsafe option was removed. All strings are URL-safe now. (#4, @S2-, @markstos)

s2
published 0.1.0 •

s2
published 0.0.2 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc