nanoid 3.1.17 → 3.1.18

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.

Potentially problematic release.


This version of nanoid might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/package.json +7 -18
package/CHANGELOG.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 3.1.18
5
+ * Fixed `package.exports`.
6
+
4
7
  ## 3.1.17
5
- * Fix `esbuild` support.
8
+ * Added files without `process`.
6
9
 
7
10
  ## 3.1.16
8
11
  * Speeded up Nano ID 4 times (by Peter Boyer).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanoid",
3
- "version": "3.1.17",
3
+ "version": "3.1.18",
4
4
  "description": "A tiny (108 bytes), secure URL-friendly unique string ID generator",
5
5
  "keywords": [
6
6
  "uuid",
@@ -37,31 +37,20 @@
37
37
  "./package.json": "./package.json",
38
38
  "./async/package.json": "./async/package.json",
39
39
  "./async": {
40
- "browser": {
41
- "development": "./async/index.dev.js",
42
- "production": "./async/index.prod.js"
43
- },
40
+ "browser": "./async/index.browser.js",
44
41
  "require": "./async/index.cjs",
45
42
  "import": "./async/index.js"
46
43
  },
47
- "./url-alphabet/package.json": "./url-alphabet/package.json",
48
- "./url-alphabet": {
49
- "browser": {
50
- "development": "./url-alphabet/index.dev.js",
51
- "production": "./url-alphabet/index.prod.js"
52
- },
53
- "require": "./url-alphabet/index.cjs",
54
- "import": "./url-alphabet/index.js"
55
- },
56
44
  "./non-secure/package.json": "./non-secure/package.json",
57
45
  "./non-secure": {
58
- "browser": {
59
- "development": "./non-secure/index.dev.js",
60
- "production": "./non-secure/index.prod.js"
61
- },
62
46
  "require": "./non-secure/index.cjs",
63
47
  "import": "./non-secure/index.js"
64
48
  },
49
+ "./url-alphabet/package.json": "./url-alphabet/package.json",
50
+ "./url-alphabet": {
51
+ "require": "./url-alphabet/index.cjs",
52
+ "import": "./url-alphabet/index.js"
53
+ },
65
54
  "./index.d.ts": "./index.d.ts"
66
55
  }
67
56
  }