New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simpleflake

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

simpleflake - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

4

package.json
{
"name": "simpleflake",
"version": "1.0.1",
"version": "2.0.0",
"description": "Distributed id generation for the lazy.",

@@ -14,3 +14,3 @@ "author": "Simon Ratner (https://github.com/simonratner)",

"dependencies": {
"bignum": "^0.12.5"
"bignum": "^0.13.0"
},

@@ -17,0 +17,0 @@ "optionalDependencies": {

@@ -27,2 +27,4 @@ node-simpleflake

(Note: For a version compatible with nodejs v4, `npm install simpleflake@1.0.1`)
Use

@@ -29,0 +31,0 @@ ---

@@ -120,3 +120,3 @@ var flake = require('..');

it('can parse a buffer', function() {
expect(flake.parse(new Buffer(expected))).toEqual([1388534400000, 42]);
expect(flake.parse(Buffer.from(expected))).toEqual([1388534400000, 42]);
});

@@ -123,0 +123,0 @@

Sorry, the diff of this file is not supported yet

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