Update dependency uuid to v8
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
uuid | dependencies | major | ^8.1.0 | source | |
@types/uuid | devDependencies | major | 8.0.0 | source |
Release Notes
uuidjs/uuid
v8.1.0
Features
- improve v4 performance by reusing random number array (#435) (bf4af0d)
- optimize V8 performance of bytesToUuid (#434) (e156415)
Bug Fixes
- export package.json required by react-native and bundlers (#449) (be1c8fe), closes /github.com/ai/nanoevents/issues/44#issuecomment-602010343 #444
v8.0.0

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 inuuid@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
- native Node.js ES Modules (wrapper approach) (#423) (2d9f590), closes #245 #419 #342
- remove deep requires (#426) (daf72b8)
Bug Fixes
7.0.3 (2020-03-31)
Bug Fixes
7.0.2 (2020-03-04)
Bug Fixes
- make access to msCrypto consistent (#393) (8bf2a20)
- simplify link in deprecation warning (#391) (bb2c8e4)
- update links to match content in readme (#386) (44f2f86)
7.0.1 (2020-02-25)
Bug Fixes
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.
Merge request reports
Activity
Created by: codecov[bot]
Codecov Report
Merging #11199 into master will not change coverage. The diff coverage is
n/a
.@@ Coverage Diff @@ ## master #11199 +/- ## ======================================= Coverage 46.40% 46.40% ======================================= Files 1369 1369 Lines 77230 77230 Branches 6587 6655 +68 ======================================= Hits 35838 35838 Misses 37990 37990 Partials 3402 3402
Flag Coverage Δ #go 50.47% <ø> (ø)
#storybook 6.95% <ø> (ø)
#typescript 35.86% <ø> (ø)
#unit 46.19% <ø> (ø)