summaryrefslogtreecommitdiff
path: root/node_modules
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-03-07 22:15:59 +0100
committerRaindropsSys <contact@minteck.org>2023-03-07 22:15:59 +0100
commit9b42afa8d706f3cdf1abea85e44dfb7f518dfe4f (patch)
treebb4960293535abe3b3c1d74dd4eb380e0cea537d /node_modules
parent8ecde1d333997b8e5ce8d9c9cf22927db6f40559 (diff)
downloadluna-9b42afa8d706f3cdf1abea85e44dfb7f518dfe4f.tar.gz
luna-9b42afa8d706f3cdf1abea85e44dfb7f518dfe4f.tar.bz2
luna-9b42afa8d706f3cdf1abea85e44dfb7f518dfe4f.zip
Updated 9 files, added 12 files and renamed .idea/ponieswatch.iml (automated)
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/.package-lock.json10
-rw-r--r--node_modules/uuid-v4/index.js28
-rw-r--r--node_modules/uuid-v4/package.json13
-rw-r--r--node_modules/uuid-v4/readme.md33
4 files changed, 83 insertions, 1 deletions
diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
index c430f29..490eec2 100644
--- a/node_modules/.package-lock.json
+++ b/node_modules/.package-lock.json
@@ -1,5 +1,5 @@
{
- "name": "ponieswatch",
+ "name": "Luna",
"lockfileVersion": 2,
"requires": true,
"packages": {
@@ -4097,6 +4097,14 @@
"uuid": "bin/uuid"
}
},
+ "node_modules/uuid-v4": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/uuid-v4/-/uuid-v4-0.1.0.tgz",
+ "integrity": "sha512-m11RYDtowtAIihBXMoGajOEKpAXrKbpKlpmxqyztMYQNGSY5nZAZ/oYch/w2HNS1RMA4WLGcZvuD8/wFMuCEzA==",
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/validate-npm-package-license": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
diff --git a/node_modules/uuid-v4/index.js b/node_modules/uuid-v4/index.js
new file mode 100644
index 0000000..ce0a0bb
--- /dev/null
+++ b/node_modules/uuid-v4/index.js
@@ -0,0 +1,28 @@
+
+exports = module.exports = function() {
+ var ret = '', value;
+ for (var i = 0; i < 32; i++) {
+ value = exports.random() * 16 | 0;
+ // Insert the hypens
+ if (i > 4 && i < 21 && ! (i % 4)) {
+ ret += '-';
+ }
+ // Add the next random character
+ ret += (
+ (i === 12) ? 4 : (
+ (i === 16) ? (value & 3 | 8) : value
+ )
+ ).toString(16);
+ }
+ return ret;
+};
+
+var uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
+exports.isUUID = function(uuid) {
+ return uuidRegex.test(uuid);
+};
+
+exports.random = function() {
+ return Math.random();
+};
+
diff --git a/node_modules/uuid-v4/package.json b/node_modules/uuid-v4/package.json
new file mode 100644
index 0000000..4badb74
--- /dev/null
+++ b/node_modules/uuid-v4/package.json
@@ -0,0 +1,13 @@
+{
+ "author": "James Brumond <james@jbrumond.me> (http://jbrumond.me)",
+ "name": "uuid-v4",
+ "description": "A simple v4 UUID generator",
+ "version": "0.1.0",
+ "main": "index.js",
+ "dependencies": {},
+ "devDependencies": {},
+ "optionalDependencies": {},
+ "engines": {
+ "node": "*"
+ }
+}
diff --git a/node_modules/uuid-v4/readme.md b/node_modules/uuid-v4/readme.md
new file mode 100644
index 0000000..0b8110f
--- /dev/null
+++ b/node_modules/uuid-v4/readme.md
@@ -0,0 +1,33 @@
+# uuid-v4
+
+A Node.js module for generating and validation V4 UUIDs
+
+## Install
+
+```bash
+$ npm install uuid-v4
+```
+
+## Usage
+
+```javascript
+var uuid = require('uuid-v4');
+
+// Generate a new UUID
+var myUUID = uuid();
+
+// Validate a UUID as proper V4 format
+uuid.isUUID(myUUID); // true
+```
+
+## MIT License
+
+Copyright (c) 2012 James Brumond
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+