forked from waja/action-debian-package
node_modules: upgrade
This commit is contained in:
parent
b755e71a2c
commit
459a37aa01
1068 changed files with 6067 additions and 105143 deletions
11
node_modules/uuid/dist/esm-node/version.js
generated
vendored
Normal file
11
node_modules/uuid/dist/esm-node/version.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import validate from './validate.js';
|
||||
|
||||
function version(uuid) {
|
||||
if (!validate(uuid)) {
|
||||
throw TypeError('Invalid UUID');
|
||||
}
|
||||
|
||||
return parseInt(uuid.substr(14, 1), 16);
|
||||
}
|
||||
|
||||
export default version;
|
||||
Loading…
Add table
Add a link
Reference in a new issue