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

clerobee

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clerobee - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

10

lib/clerobee.js

@@ -7,6 +7,6 @@ var os = require('os');

function isString(obj) {
return "[object String]" == toString.call(obj);
return "[object String]" === toString.call(obj);
}
function isNumber(obj) {
return (toString.call(obj) == "[object " + Number + "]") || !isNaN(obj);
return (toString.call(obj) === "[object " + Number + "]") || !isNaN(obj);
}

@@ -144,3 +144,5 @@ function isObject(obj) {

return this.toBase36String( process.pid, processLength );
var pid = (process && process.pid) ? process.pid : Date.now();
return this.toBase36String( pid, processLength );
};

@@ -160,3 +162,3 @@ ClerobeeProto.getNetworkId = function( networkLength ) {

var time = process.hrtime();
var time = (process && process.hrtime) ? process.hrtime() : [1, Date.now()];
var nano = time[0] * 1e9 + time[1];

@@ -163,0 +165,0 @@

4

package.json
{
"name": "clerobee",
"version": "0.2.0",
"version": "0.2.1",
"description": "A featureful dependency-free UID generator",

@@ -48,3 +48,3 @@ "keywords": [

},
"_id": "clerobee@0.2.0"
"_id": "clerobee@0.2.1"
}
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