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

uuid4

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid4 - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

temp.ts

8

package.json
{
"name": "uuid4",
"version": "2.0.2",
"version": "2.0.3",
"description": "Node UUID v4 Generator",

@@ -8,4 +8,4 @@ "main": "index.js",

"browser": {
"./index.js": "browser.js",
"./index.mjs": "browser.mjs"
"./index.js": "./browser.js",
"./index.mjs": "./browser.mjs"
},

@@ -28,2 +28,2 @@ "repository": {

"homepage": "https://github.com/tracker1/node-uuid4"
}
}

@@ -26,4 +26,27 @@ # uuid4

### Direct in Browser or Deno
```
import uuid4 from 'https://cdn.jsdelivr.net/gh/tracker1/node-uuid4/browser.mjs';
// or
const { default: uuid4 } = await import('https://cdn.jsdelivr.net/gh/tracker1/node-uuid4/browser.mjs')
```
### Deno
Use the canonical implementation instead.
```
import { v4 as uuid4 } from "https://deno.land/std/uuid/mod.ts";
const id = uuid4.generate();
console.log(id);
console.log(uuid4.validate(id));
```
## License
ISC License
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