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.1.3 to 0.1.4

dist/node.es5/TypeAliases/TNamespaceId.js

4

dist/node.esnext/clockSequenceGetter.d.ts

@@ -1,4 +0,4 @@

import { NamespaceIds } from './Enums/NamespaceIds';
import { TNamespaceId } from './TypeAliases/TNamespaceId';
import { TUUIDVersion } from './TypeAliases/TUUIDVersion';
export declare function clockSequenceGetter(version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string): Uint8Array;
export declare function clockSequenceGetter(version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string): Uint8Array;
export default clockSequenceGetter;

@@ -1,3 +0,2 @@

import { NamespaceIds } from './Enums/NamespaceIds';
import { TUUIDVersion } from './TypeAliases/TUUIDVersion';
export declare const getHashFromNamespaceIdAndName: (version: TUUIDVersion, namespaceId: NamespaceIds, name: string) => string;
export declare const getHashFromNamespaceIdAndName: (version: TUUIDVersion, namespaceId: string, name: string) => string;

@@ -1,4 +0,4 @@

import { NamespaceIds } from './Enums/NamespaceIds';
import { TNamespaceId } from './TypeAliases/TNamespaceId';
import { TUUIDVersion } from './TypeAliases/TUUIDVersion';
export declare function nodeIdentifierGetter(version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string): Uint8Array;
export declare function nodeIdentifierGetter(version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string): Uint8Array;
export default nodeIdentifierGetter;

@@ -1,4 +0,4 @@

import { NamespaceIds } from './Enums/NamespaceIds';
import { TNamespaceId } from './TypeAliases/TNamespaceId';
import { TUUIDVersion } from './TypeAliases/TUUIDVersion';
export declare function timestampGetter(version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string): Uint8Array;
export declare function timestampGetter(version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string): Uint8Array;
export default timestampGetter;
import { TUUIDVersion } from '../../TypeAliases/TUUIDVersion';
import { NamespaceIds } from '../../Enums/NamespaceIds';
import { TNamespaceId } from '../../TypeAliases/TNamespaceId';
export interface IUUIDOptions {
version: TUUIDVersion;
name?: string;
namespaceId?: NamespaceIds;
nodeIdentifierGetter: (version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string) => Uint8Array;
timestampGetter: (version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string) => Uint8Array;
clockSequenceGetter: (version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string) => Uint8Array;
namespaceId?: TNamespaceId;
nodeIdentifierGetter: (version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string) => Uint8Array;
timestampGetter: (version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string) => Uint8Array;
clockSequenceGetter: (version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string) => Uint8Array;
}
export default IUUIDOptions;
import { clockSequenceGetter } from '../../clockSequenceGetter';
import { IUUIDOptions } from './IUUIDOptions';
import { NamespaceIds } from '../../Enums/NamespaceIds';
import { nodeIdentifierGetter } from '../../nodeIdentifierGetter';
import { timestampGetter } from '../../timestampGetter';
import { TNamespaceId } from '../../TypeAliases/TNamespaceId';
import { TUUIDVersion } from '../../TypeAliases/TUUIDVersion';

@@ -13,3 +13,3 @@ export declare class UUIDOptions implements IUUIDOptions {

name?: string;
namespaceId?: NamespaceIds;
namespaceId?: TNamespaceId;
constructor(_args?: {

@@ -16,0 +16,0 @@ [key: string]: any;

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

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

@@ -14,5 +14,2 @@ import {

import {
NamespaceIds,
} from './Enums/NamespaceIds';
import {
randomBytesGenerator,

@@ -24,2 +21,5 @@ } from './randomBytesGenerator';

import {
TNamespaceId,
} from './TypeAliases/TNamespaceId';
import {
TUUIDVersion,

@@ -33,3 +33,3 @@ } from './TypeAliases/TUUIDVersion';

version: TUUIDVersion,
namespaceId?: NamespaceIds,
namespaceId?: TNamespaceId,
name?: string,

@@ -36,0 +36,0 @@ ): Uint8Array

@@ -5,8 +5,8 @@ import {

import {
NamespaceIds,
} from './Enums/NamespaceIds';
import {
strings,
} from './strings';
import {
TNamespaceId,
} from './TypeAliases/TNamespaceId';
import {
TUUIDVersion,

@@ -17,3 +17,3 @@ } from './TypeAliases/TUUIDVersion';

version: TUUIDVersion,
namespaceId: NamespaceIds,
namespaceId: TNamespaceId,
name: string,

@@ -20,0 +20,0 @@ ): string => {

@@ -14,5 +14,2 @@ import {

import {
NamespaceIds,
} from './Enums/NamespaceIds';
import {
randomBytesGenerator,

@@ -24,2 +21,5 @@ } from './randomBytesGenerator';

import {
TNamespaceId,
} from './TypeAliases/TNamespaceId';
import {
TUUIDVersion,

@@ -30,3 +30,3 @@ } from './TypeAliases/TUUIDVersion';

version: TUUIDVersion,
namespaceId?: NamespaceIds,
namespaceId?: TNamespaceId,
name?: string,

@@ -33,0 +33,0 @@ ): Uint8Array

@@ -17,5 +17,2 @@ import {

import {
NamespaceIds,
} from './Enums/NamespaceIds';
import {
randomBytesGenerator,

@@ -27,2 +24,5 @@ } from './randomBytesGenerator';

import {
TNamespaceId,
} from './TypeAliases/TNamespaceId';
import {
TUUIDVersion,

@@ -36,3 +36,3 @@ } from './TypeAliases/TUUIDVersion';

version: TUUIDVersion,
namespaceId?: NamespaceIds,
namespaceId?: TNamespaceId,
name?: string,

@@ -39,0 +39,0 @@ ): Uint8Array

@@ -5,4 +5,4 @@ import {

import {
NamespaceIds,
} from '../../Enums/NamespaceIds';
TNamespaceId,
} from '../../TypeAliases/TNamespaceId';

@@ -12,8 +12,8 @@ export interface IUUIDOptions {

name?: string;
namespaceId?: NamespaceIds;
nodeIdentifierGetter: (version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string) => Uint8Array;
timestampGetter: (version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string) => Uint8Array;
clockSequenceGetter: (version: TUUIDVersion, namespaceId?: NamespaceIds, name?: string) => Uint8Array;
namespaceId?: TNamespaceId;
nodeIdentifierGetter: (version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string) => Uint8Array;
timestampGetter: (version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string) => Uint8Array;
clockSequenceGetter: (version: TUUIDVersion, namespaceId?: TNamespaceId, name?: string) => Uint8Array;
};
export default IUUIDOptions;

@@ -11,5 +11,2 @@ import {

import {
NamespaceIds,
} from '../../Enums/NamespaceIds';
import {
nodeIdentifierGetter,

@@ -24,2 +21,5 @@ } from '../../nodeIdentifierGetter';

import {
TNamespaceId,
} from '../../TypeAliases/TNamespaceId';
import {
TUUIDVersion,

@@ -34,3 +34,3 @@ } from '../../TypeAliases/TUUIDVersion';

name?: string;
namespaceId?: NamespaceIds;
namespaceId?: TNamespaceId;

@@ -64,3 +64,3 @@ constructor(_args: { [key: string]: any } = {}) {

if (args.namespaceId && typeof args.namespaceId === 'string') {
this.namespaceId = args.namespaceId as NamespaceIds;
this.namespaceId = args.namespaceId;
}

@@ -67,0 +67,0 @@

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