uuid 8.1.0 → 8.3.0
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.
- package/CHANGELOG.md +23 -15
- package/CONTRIBUTING.md +2 -4
- package/LICENSE.md +3 -15
- package/README.md +222 -200
- package/dist/esm-browser/index.js +6 -1
- package/dist/esm-browser/nil.js +1 -0
- package/dist/esm-browser/parse.js +35 -0
- package/dist/esm-browser/regex.js +1 -0
- package/dist/esm-browser/sha1.js +3 -0
- package/dist/esm-browser/stringify.js +30 -0
- package/dist/esm-browser/v1.js +3 -3
- package/dist/esm-browser/v35.js +23 -22
- package/dist/esm-browser/v4.js +4 -9
- package/dist/esm-browser/validate.js +7 -0
- package/dist/esm-browser/version.js +11 -0
- package/dist/esm-node/index.js +6 -1
- package/dist/esm-node/nil.js +1 -0
- package/dist/esm-node/parse.js +35 -0
- package/dist/esm-node/regex.js +1 -0
- package/dist/esm-node/stringify.js +29 -0
- package/dist/esm-node/v1.js +3 -3
- package/dist/esm-node/v35.js +23 -22
- package/dist/esm-node/v4.js +4 -9
- package/dist/esm-node/validate.js +7 -0
- package/dist/esm-node/version.js +11 -0
- package/dist/index.js +40 -0
- package/dist/nil.js +8 -0
- package/dist/parse.js +45 -0
- package/dist/regex.js +8 -0
- package/dist/sha1-browser.js +3 -0
- package/dist/stringify.js +39 -0
- package/dist/umd/uuid.min.js +1 -1
- package/dist/umd/uuidNIL.min.js +1 -0
- package/dist/umd/uuidParse.min.js +1 -0
- package/dist/umd/uuidStringify.min.js +1 -0
- package/dist/umd/uuidValidate.min.js +1 -0
- package/dist/umd/uuidVersion.min.js +1 -0
- package/dist/umd/uuidv1.min.js +1 -1
- package/dist/umd/uuidv3.min.js +1 -1
- package/dist/umd/uuidv4.min.js +1 -1
- package/dist/umd/uuidv5.min.js +1 -1
- package/dist/uuid-bin.js +18 -4
- package/dist/v1.js +3 -3
- package/dist/v35.js +24 -22
- package/dist/v4.js +4 -9
- package/dist/validate.js +17 -0
- package/dist/version.js +21 -0
- package/package.json +34 -29
- package/wrapper.mjs +5 -0
- package/dist/bytesToUuid.js +0 -27
- package/dist/esm-browser/bytesToUuid.js +0 -19
- package/dist/esm-node/bytesToUuid.js +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [8.3.0](https://github.com/uuidjs/uuid/compare/v8.2.0...v8.3.0) (2020-07-27)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- add parse/stringify/validate/version/NIL APIs ([#479](https://github.com/uuidjs/uuid/issues/479)) ([0e6c10b](https://github.com/uuidjs/uuid/commit/0e6c10ba1bf9517796ff23c052fc0468eedfd5f4)), closes [#475](https://github.com/uuidjs/uuid/issues/475) [#478](https://github.com/uuidjs/uuid/issues/478) closes [#480](https://github.com/uuidjs/uuid/issues/480) closes [#481](https://github.com/uuidjs/uuid/issues/481) closes [#180](https://github.com/uuidjs/uuid/issues/180)
|
|
10
|
+
|
|
11
|
+
## [8.2.0](https://github.com/uuidjs/uuid/compare/v8.1.0...v8.2.0) (2020-06-23)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- improve performance of v1 string representation ([#453](https://github.com/uuidjs/uuid/issues/453)) ([0ee0b67](https://github.com/uuidjs/uuid/commit/0ee0b67c37846529c66089880414d29f3ae132d5))
|
|
16
|
+
- remove deprecated v4 string parameter ([#454](https://github.com/uuidjs/uuid/issues/454)) ([88ce3ca](https://github.com/uuidjs/uuid/commit/88ce3ca0ba046f60856de62c7ce03f7ba98ba46c)), closes [#437](https://github.com/uuidjs/uuid/issues/437)
|
|
17
|
+
- support jspm ([#473](https://github.com/uuidjs/uuid/issues/473)) ([e9f2587](https://github.com/uuidjs/uuid/commit/e9f2587a92575cac31bc1d4ae944e17c09756659))
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- prepare package exports for webpack 5 ([#468](https://github.com/uuidjs/uuid/issues/468)) ([8d6e6a5](https://github.com/uuidjs/uuid/commit/8d6e6a5f8965ca9575eb4d92e99a43435f4a58a8))
|
|
22
|
+
|
|
5
23
|
## [8.1.0](https://github.com/uuidjs/uuid/compare/v8.0.0...v8.1.0) (2020-05-20)
|
|
6
24
|
|
|
7
25
|
### Features
|
|
@@ -80,21 +98,11 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
80
98
|
|
|
81
99
|
### ⚠ BREAKING CHANGES
|
|
82
100
|
|
|
83
|
-
- The default export, which used to be the v4() method
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
ECMAScript module named imports should be used instead.
|
|
89
|
-
Emit a deprecation warning for people who deep-require the different
|
|
90
|
-
algorithm variants.
|
|
91
|
-
- Remove builtin support for insecure random number
|
|
92
|
-
generators in the browser. Users who want that will have to supply their
|
|
93
|
-
own random number generator function.
|
|
94
|
-
- Remove support for generating v3 and v5 UUIDs in
|
|
95
|
-
Node.js<4.x
|
|
96
|
-
- Convert code base to ECMAScript Modules (ESM) and
|
|
97
|
-
release CommonJS build for node and ESM build for browser bundlers.
|
|
101
|
+
- The default export, which used to be the v4() method but which was already discouraged in v3.x of this library, has been removed.
|
|
102
|
+
- Explicitly note that deep imports of the different uuid version functions are deprecated and no longer encouraged and that ECMAScript module named imports should be used instead. Emit a deprecation warning for people who deep-require the different algorithm variants.
|
|
103
|
+
- Remove builtin support for insecure random number generators in the browser. Users who want that will have to supply their own random number generator function.
|
|
104
|
+
- Remove support for generating v3 and v5 UUIDs in Node.js<4.x
|
|
105
|
+
- Convert code base to ECMAScript Modules (ESM) and release CommonJS build for node and ESM build for browser bundlers.
|
|
98
106
|
|
|
99
107
|
### Features
|
|
100
108
|
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Contributing
|
|
2
2
|
|
|
3
|
-
Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss
|
|
4
|
-
improvements to this library!
|
|
3
|
+
Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library!
|
|
5
4
|
|
|
6
5
|
## Testing
|
|
7
6
|
|
|
@@ -11,8 +10,7 @@ npm test
|
|
|
11
10
|
|
|
12
11
|
## Releasing
|
|
13
12
|
|
|
14
|
-
Releases are supposed to be done from master, version bumping is automated through
|
|
15
|
-
[`standard-version`](https://github.com/conventional-changelog/standard-version):
|
|
13
|
+
Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version):
|
|
16
14
|
|
|
17
15
|
```shell
|
|
18
16
|
npm run release -- --dry-run # verify output manually
|
package/LICENSE.md
CHANGED
|
@@ -2,20 +2,8 @@ The MIT License (MIT)
|
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2010-2020 Robert Kieffer and other contributors
|
|
4
4
|
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
5
|
+
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:
|
|
11
6
|
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
14
8
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
9
|
+
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.
|