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

big-uuid

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big-uuid - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "big-uuid",
"version": "0.3.0",
"version": "0.3.1",
"description": "An RFC 4112 conformant UUID generator creating v1, v3, v4, and v5 UUIDs.",

@@ -5,0 +5,0 @@ "main": "dist/node.es6/index.js",

@@ -15,3 +15,2 @@ /* An RFC 4112 UUID generator for generating IFIDs, or Interactive Fiction

export * from './nodeIdentifierGetter';
export * from './numberAsLittleEndianHexStr';
export * from './timestampGetter';

@@ -18,0 +17,0 @@ export * from './uintArrayAsNumber';

@@ -234,13 +234,6 @@ import {

const leHexToBeHex = (leHex: string) => (
parseInt(
parseInt(leHex, 16).toString(2).split('').reverse().join(),
2
).toString(16)
);
const timeLow = split[0];
const timeMid = split[1];
const timeHighAndVersion = split[2];
const timeLow = leHexToBeHex(split[0]);
const timeMid = leHexToBeHex(split[1]);
const timeHighAndVersion = leHexToBeHex(split[2]);
const timeHigh = timeHighAndVersion.slice(0, 3);

@@ -257,3 +250,3 @@ const version = timeHighAndVersion[4];

const clockSequenceHighAndReservedAndLow = leHexToBeHex(split[3]);
const clockSequenceHighAndReservedAndLow = split[3];
const clockSequenceHighAndReservedHex =

@@ -278,3 +271,3 @@ clockSequenceHighAndReservedAndLow.slice(0, 2);

const nodeIdentifierHex = leHexToBeHex(split[4]);
const nodeIdentifierHex = split[4];
const nodeIdentifierArr = [];

@@ -281,0 +274,0 @@ for (let ii = 0; ii < 12; ii += 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