Update checked-in dependencies
This commit is contained in:
parent
ace5545513
commit
f87e7a6293
248 changed files with 9686 additions and 262 deletions
5
node_modules/uuid/dist/rng-browser.js
generated
vendored
5
node_modules/uuid/dist/rng-browser.js
generated
vendored
|
|
@ -13,9 +13,8 @@ const rnds8 = new Uint8Array(16);
|
|||
function rng() {
|
||||
// lazy load so that environments that need to polyfill have a chance to do so
|
||||
if (!getRandomValues) {
|
||||
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
|
||||
// find the complete implementation of crypto (msCrypto) on IE11.
|
||||
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
|
||||
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
||||
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
||||
|
||||
if (!getRandomValues) {
|
||||
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue