b64id 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const base64 = require('base64-url');
2
- const uuidv4 = require('uuid/v4');
2
+ const uuidv4 = require('uuid').v4;
3
3
 
4
4
  function uuidToB64(uuidStr) {
5
5
  const buf = Buffer.from(uuidStr.replace(/\-/g, ''), 'hex');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b64id",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "url-safe 128-bit UUID strings expressed in base-64 encoding",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,11 +21,11 @@
21
21
  "license": "ISC",
22
22
  "dependencies": {
23
23
  "base64-url": "^2.2.0",
24
- "uuid": "^3.3.2"
24
+ "uuid": "^9.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "chai": "^4.2.0",
28
28
  "istanbul": "^0.4.5",
29
- "mocha": "^6.0.2"
29
+ "mocha": "^10.2.0"
30
30
  }
31
31
  }