0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

25
web/node_modules/gud/README.md generated vendored Normal file
View file

@ -0,0 +1,25 @@
# gud
> Create a 'gud nuff' (not cryptographically secure) globally unique id
## Install
```
yarn add gud
```
## Usage
```js
const gud = require('gud');
console.log(gud()); // 1
console.log(gud()); // 2
```
This is ever so slightly better than using something like `_.uniqueId` because
it will work across multiple copies of the same module.
Do not use this in place of actual UUIDs, security folks will hate me.
This will not be unique across processes/workers.

8
web/node_modules/gud/index.js generated vendored Normal file
View file

@ -0,0 +1,8 @@
// @flow
'use strict';
var key = '__global_unique_id__';
module.exports = function() {
return global[key] = (global[key] || 0) + 1;
};

28
web/node_modules/gud/package.json generated vendored Normal file
View file

@ -0,0 +1,28 @@
{
"name": "gud",
"version": "1.0.0",
"description": "Create a 'gud nuff' (not cryptographically secure) globally unique id",
"main": "index.js",
"repository": "https://github.com/jamiebuilds/global-unique-id",
"author": "Jamie Kyle <me@thejameskyle.com>",
"license": "MIT",
"keywords": [
"global",
"unique",
"id",
"identifier",
"number",
"uuid",
"uid"
],
"files": [
"index.js"
],
"scripts": {
"test": "ava"
},
"devDependencies": {
"ava": "^0.25.0",
"flow-bin": "^0.66.0"
}
}