Update checked-in dependencies
This commit is contained in:
parent
ace5545513
commit
f87e7a6293
248 changed files with 9686 additions and 262 deletions
12
node_modules/uuid/dist/v35.js
generated
vendored
12
node_modules/uuid/dist/v35.js
generated
vendored
|
|
@ -3,10 +3,10 @@
|
|||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = _default;
|
||||
exports.URL = exports.DNS = void 0;
|
||||
exports.default = v35;
|
||||
|
||||
var _stringify = _interopRequireDefault(require("./stringify.js"));
|
||||
var _stringify = require("./stringify.js");
|
||||
|
||||
var _parse = _interopRequireDefault(require("./parse.js"));
|
||||
|
||||
|
|
@ -29,8 +29,10 @@ exports.DNS = DNS;
|
|||
const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
|
||||
exports.URL = URL;
|
||||
|
||||
function _default(name, version, hashfunc) {
|
||||
function v35(name, version, hashfunc) {
|
||||
function generateUUID(value, namespace, buf, offset) {
|
||||
var _namespace;
|
||||
|
||||
if (typeof value === 'string') {
|
||||
value = stringToBytes(value);
|
||||
}
|
||||
|
|
@ -39,7 +41,7 @@ function _default(name, version, hashfunc) {
|
|||
namespace = (0, _parse.default)(namespace);
|
||||
}
|
||||
|
||||
if (namespace.length !== 16) {
|
||||
if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
|
||||
throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
|
||||
} // Compute hash of namespace and value, Per 4.3
|
||||
// Future: Use spread syntax when supported on all platforms, e.g. `bytes =
|
||||
|
|
@ -63,7 +65,7 @@ function _default(name, version, hashfunc) {
|
|||
return buf;
|
||||
}
|
||||
|
||||
return (0, _stringify.default)(bytes);
|
||||
return (0, _stringify.unsafeStringify)(bytes);
|
||||
} // Function#name is not settable on some platforms (#270)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue