initial commit
This commit is contained in:
commit
ee8aedd857
1599 changed files with 652440 additions and 0 deletions
8
backend/node_modules/uuid/dist/esm/version.js
generated
vendored
Normal file
8
backend/node_modules/uuid/dist/esm/version.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import validate from './validate.js';
|
||||
function version(uuid) {
|
||||
if (!validate(uuid)) {
|
||||
throw TypeError('Invalid UUID');
|
||||
}
|
||||
return parseInt(uuid.slice(14, 15), 16);
|
||||
}
|
||||
export default version;
|
||||
Loading…
Add table
Add a link
Reference in a new issue