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

uuidv4

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuidv4 - npm Package Compare versions

Comparing version 6.2.12 to 6.2.13

.npmpackagejsonlintrc.json

10

build/lib/uuidv4.js

@@ -12,15 +12,13 @@ "use strict";

const jsonSchema = {
/* eslint-disable @typescript-eslint/no-base-to-string */
v4: { type: 'string', pattern: regex.v4.toString().slice(1, -2) },
v5: { type: 'string', pattern: regex.v5.toString().slice(1, -2) }
/* eslint-enable @typescript-eslint/no-base-to-string */
};
exports.jsonSchema = jsonSchema;
const uuidv4 = util_1.deprecate(() => uuid_1.v4(), 'uuidv4() is deprecated. Use v4() from the uuid module instead.');
const uuidv4 = (0, util_1.deprecate)(() => (0, uuid_1.v4)(), 'uuidv4() is deprecated. Use v4() from the uuid module instead.');
exports.uuid = uuidv4;
const isUuid = util_1.deprecate((value) => uuid_1.validate(value) && (uuid_1.version(value) === 4 || uuid_1.version(value) === 5), 'isUuid() is deprecated. Use validate() from the uuid module instead.');
const isUuid = (0, util_1.deprecate)((value) => (0, uuid_1.validate)(value) && ((0, uuid_1.version)(value) === 4 || (0, uuid_1.version)(value) === 5), 'isUuid() is deprecated. Use validate() from the uuid module instead.');
exports.isUuid = isUuid;
const empty = util_1.deprecate(() => uuid_1.NIL, 'empty() is deprecated. Use NIL from the uuid module instead.');
const empty = (0, util_1.deprecate)(() => uuid_1.NIL, 'empty() is deprecated. Use NIL from the uuid module instead.');
exports.empty = empty;
const fromString = util_1.deprecate((text, namespace = 'bb5d0ffa-9a4c-4d7c-8fc2-0a7d2220ba45') => uuid_1.v5(text, namespace), 'fromString() is deprecated. Use v5() from the uuid module instead.');
const fromString = (0, util_1.deprecate)((text, namespace = 'bb5d0ffa-9a4c-4d7c-8fc2-0a7d2220ba45') => (0, uuid_1.v5)(text, namespace), 'fromString() is deprecated. Use v5() from the uuid module instead.');
exports.fromString = fromString;

@@ -0,1 +1,8 @@

## [6.2.13](https://github.com/thenativeweb/uuidv4/compare/6.2.12...6.2.13) (2022-03-25)
### Bug Fixes
* bump minimist from 1.2.5 to 1.2.6 ([#387](https://github.com/thenativeweb/uuidv4/issues/387)) ([f3460a3](https://github.com/thenativeweb/uuidv4/commit/f3460a33224c7389bb4bf8d946e6c27cddc7a5f9))
## [6.2.12](https://github.com/thenativeweb/uuidv4/compare/6.2.11...6.2.12) (2021-08-16)

@@ -2,0 +9,0 @@

2

lib/uuidv4.ts

@@ -10,6 +10,4 @@ import { deprecate } from 'util';

const jsonSchema = {
/* eslint-disable @typescript-eslint/no-base-to-string */
v4: { type: 'string', pattern: regex.v4.toString().slice(1, -2) },
v5: { type: 'string', pattern: regex.v5.toString().slice(1, -2) }
/* eslint-enable @typescript-eslint/no-base-to-string */
};

@@ -16,0 +14,0 @@

{
"name": "uuidv4",
"version": "6.2.12",
"version": "6.2.13",
"description": "uuidv4 creates v4 UUIDs.",

@@ -27,13 +27,15 @@ "contributors": [

],
"private": false,
"main": "build/lib/uuidv4.js",
"types": "build/lib/uuidv4.d.ts",
"dependencies": {
"@types/uuid": "8.3.1",
"@types/uuid": "8.3.4",
"uuid": "8.3.2"
},
"devDependencies": {
"assertthat": "6.3.13",
"roboter": "11.7.8",
"semantic-release-configuration": "2.0.5"
"assertthat": "6.4.0",
"roboter": "12.7.1",
"semantic-release-configuration": "2.0.7"
},
"scripts": {},
"repository": {

@@ -40,0 +42,0 @@ "type": "git",

@@ -12,3 +12,9 @@ {

"target": "es2019"
}
},
"include": [
"./**/*.ts"
],
"exclude": [
"./build"
]
}
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