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

block-sequence

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

block-sequence - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "block-sequence",
"version": "0.1.1",
"version": "0.1.2",
"description": "A sequential id generator, which grabs blocks of ids rather than just one at a time",

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

@@ -18,3 +18,3 @@ # block-sequence

// Create a block array containing 1000 ids per block (defaults to 2 blocks)
var idGenerator = new BlockArray({ block: { driver: driver, size: 1000 } })
var idGenerator = new BlockArray({ block: { sequence: sequence, driver: driver, size: 1000 } })

@@ -21,0 +21,0 @@ // Grab the next id

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