Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2.2 to 0.2.3

6

dist/node.es6/strings.d.ts
export declare const strings: {
BIT_ARRAY_INVALID: string;
UUID_VERSION_INVALID: string;
HASH_ARGUMENT_MISSING: string;
TIMESTAMP_GENERATION_FAILED: string;

@@ -13,7 +13,4 @@ TIMESTAMP_INVALID: string;

CLOCK_HIGH_AND_RESERVED_INVALID: string;
HASH_ARGUMENT_MISSING: string;
MAC_ADDRESS_UNAVAILABLE: string;
MAC_ADDRESS_INVALID: string;
MD5_IN_BROWSER: string;
NO_HASHER_FOUND: string;
UUID_LAST_RESULTS_INVALID: string;

@@ -28,1 +25,2 @@ UUID_STRING_INVALID: string;

};
export default strings;

@@ -13,5 +13,5 @@ (function (factory) {

exports.strings = {
BIT_ARRAY_INVALID: 'The array of bits was not an array, had no contents, or had one or ' +
'more items which did not meet the isBit type guard.',
UUID_VERSION_INVALID: 'The version argument was not a valid UUID version.',
HASH_ARGUMENT_MISSING: 'The hash argument was not provided, without which a v3 or v5 UUID ' +
'cannot be created.',
TIMESTAMP_GENERATION_FAILED: 'The random number generator did not produce an acceptable value for ' +

@@ -31,10 +31,5 @@ 'the random number used in place of a stable timestamp.',

'malformed.',
HASH_ARGUMENT_MISSING: 'The hash argument was not provided, without which a v3 or v5 UUID ' +
'cannot be created.',
MAC_ADDRESS_UNAVAILABLE: 'The MAC address is unavailable, which makes creating the version 1 ' +
'node ID impossible.',
MAC_ADDRESS_INVALID: 'The MAC address was found, but it was malformed.',
MD5_IN_BROWSER: 'MD5 is a dangerously outmoded hash algorithm and cannot be used in ' +
'modern browsers.',
NO_HASHER_FOUND: 'No suitable hash function could be found.',
UUID_LAST_RESULTS_INVALID: 'The provided last results object did not meet the isValidLastResults ' +

@@ -55,2 +50,3 @@ 'type guard.',

};
exports.default = exports.strings;
});

@@ -39,2 +39,5 @@ (function (factory) {

}
if (opts.name) {
options.name = opts.name;
}
}

@@ -41,0 +44,0 @@ let version = options.version;

export declare const strings: {
BIT_ARRAY_INVALID: string;
UUID_VERSION_INVALID: string;
HASH_ARGUMENT_MISSING: string;
TIMESTAMP_GENERATION_FAILED: string;

@@ -13,7 +13,4 @@ TIMESTAMP_INVALID: string;

CLOCK_HIGH_AND_RESERVED_INVALID: string;
HASH_ARGUMENT_MISSING: string;
MAC_ADDRESS_UNAVAILABLE: string;
MAC_ADDRESS_INVALID: string;
MD5_IN_BROWSER: string;
NO_HASHER_FOUND: string;
UUID_LAST_RESULTS_INVALID: string;

@@ -28,1 +25,2 @@ UUID_STRING_INVALID: string;

};
export default strings;
export const strings = {
BIT_ARRAY_INVALID: 'The array of bits was not an array, had no contents, or had one or ' +
'more items which did not meet the isBit type guard.',
UUID_VERSION_INVALID: 'The version argument was not a valid UUID version.',
HASH_ARGUMENT_MISSING: 'The hash argument was not provided, without which a v3 or v5 UUID ' +
'cannot be created.',
TIMESTAMP_GENERATION_FAILED: 'The random number generator did not produce an acceptable value for ' +

@@ -19,10 +19,5 @@ 'the random number used in place of a stable timestamp.',

'malformed.',
HASH_ARGUMENT_MISSING: 'The hash argument was not provided, without which a v3 or v5 UUID ' +
'cannot be created.',
MAC_ADDRESS_UNAVAILABLE: 'The MAC address is unavailable, which makes creating the version 1 ' +
'node ID impossible.',
MAC_ADDRESS_INVALID: 'The MAC address was found, but it was malformed.',
MD5_IN_BROWSER: 'MD5 is a dangerously outmoded hash algorithm and cannot be used in ' +
'modern browsers.',
NO_HASHER_FOUND: 'No suitable hash function could be found.',
UUID_LAST_RESULTS_INVALID: 'The provided last results object did not meet the isValidLastResults ' +

@@ -43,1 +38,2 @@ 'type guard.',

};
export default strings;

@@ -28,2 +28,5 @@ import { getHashFromNamespaceIdAndName, } from '../getHashFromNamespaceIdAndName';

}
if (opts.name) {
options.name = opts.name;
}
}

@@ -30,0 +33,0 @@ let version = options.version;

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

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

@@ -80,2 +80,6 @@ import {

}
if (opts.name) {
options.name = opts.name;
}
}

@@ -82,0 +86,0 @@

Sorry, the diff of this file is too big to display

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