diff options
Diffstat (limited to 'includes/external/signal/node_modules/uuid/dist/esm-node/version.js')
-rw-r--r-- | includes/external/signal/node_modules/uuid/dist/esm-node/version.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/includes/external/signal/node_modules/uuid/dist/esm-node/version.js b/includes/external/signal/node_modules/uuid/dist/esm-node/version.js deleted file mode 100644 index 9363076..0000000 --- a/includes/external/signal/node_modules/uuid/dist/esm-node/version.js +++ /dev/null @@ -1,11 +0,0 @@ -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;
\ No newline at end of file |