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

ulid

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ulid - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

6

index.js

@@ -84,6 +84,6 @@ "use strict";

function _prng(root) {
var crypto = root && (root.crypto || root.msCrypto)
if (root) {
if (crypto) {
try {
var crypto = root.crypto || root.msCrypto
return function() {

@@ -96,3 +96,3 @@ return crypto.getRandomValues(new Uint16Array(1))[0] / 0xFFFF

try {
var crypto = require("crypto")
crypto = require("crypto")
return function() {

@@ -99,0 +99,0 @@ return crypto.randomBytes(2).readUInt16LE() / 0xFFFF

{
"name": "ulid",
"version": "1.0.0",
"version": "1.0.2",
"description": "A universally unique lexicographically sortable identifier generator",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -84,2 +84,3 @@ <h1 align="center">

| [Python](https://github.com/ahawker/ulid) | [ahawker](https://github.com/ahawker) | ✓ |
| [Python](https://github.com/mdomke/python-ulid) | [mdomke](https://github.com/mdomke) | ✓ |
| [Ruby](https://github.com/rafaelsales/ulid) | [rafaelsales](https://github.com/rafaelsales) |

@@ -86,0 +87,0 @@ | [Rust](https://github.com/mmacedoeu/rulid.rs) | [mmacedoeu](https://github.com/mmacedoeu/rulid.rs) | ✓ |

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