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

uuid

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid - npm Package Versions

1345

8.3.2-beta.0

Diff

ctavan
published 8.3.1 •

Changelog

Source

8.3.1 (2020-10-04)

Bug Fixes

  • support expo>=39.0.0 (#515) (c65a0f3), closes #375
ctavan
published 8.3.0 •

Changelog

Source

8.3.0 (2020-07-27)

Features

ctavan
published 8.3.0-beta.0 •

ctavan
published 8.2.0 •

Changelog

Source

8.2.0 (2020-06-23)

Features

Bug Fixes

ctavan
published 8.2.0-beta.0 •

ctavan
published 8.1.0 •

Changelog

Source

8.1.0 (2020-05-20)

Features

  • improve v4 performance by reusing random number array (#435) (bf4af0d)
  • optimize V8 performance of bytesToUuid (#434) (e156415)

Bug Fixes

ctavan
published 8.0.0 •

Changelog

Source

8.0.0 (2020-04-29)

⚠ BREAKING CHANGES

  • For native ECMAScript Module (ESM) usage in Node.js only named exports are exposed, there is no more default export.

    -import uuid from 'uuid';
    -console.log(uuid.v4()); // -> 'cd6c3b08-0adc-4f4b-a6ef-36087a1c9869'
    +import { v4 as uuidv4 } from 'uuid';
    +uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
    
  • Deep requiring specific algorithms of this library like require('uuid/v4'), which has been deprecated in uuid@7, is no longer supported.

    Instead use the named exports that this module exports.

    For ECMAScript Modules (ESM):

    -import uuidv4 from 'uuid/v4';
    +import { v4 as uuidv4 } from 'uuid';
    uuidv4();
    

    For CommonJS:

    -const uuidv4 = require('uuid/v4');
    +const { v4: uuidv4 } = require('uuid');
    uuidv4();
    

Features

Bug Fixes

  • add CommonJS syntax example to README quickstart section (#417) (e0ec840)
ctavan
published 8.0.0-beta.0 •

ctavan
published 7.0.3 •

Changelog

Source

7.0.3 (2020-03-31)

Bug Fixes

  • make deep require deprecation warning work in browsers (#409) (4b71107), closes #408
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