node-red-contrib-tak-registration 0.1.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.
Files changed (195) hide show
  1. package/LICENSE +14 -0
  2. package/README.md +35 -0
  3. package/node_modules/adm-zip/LICENSE +21 -0
  4. package/node_modules/adm-zip/README.md +65 -0
  5. package/node_modules/adm-zip/adm-zip.js +783 -0
  6. package/node_modules/adm-zip/headers/entryHeader.js +338 -0
  7. package/node_modules/adm-zip/headers/index.js +2 -0
  8. package/node_modules/adm-zip/headers/mainHeader.js +129 -0
  9. package/node_modules/adm-zip/methods/deflater.js +33 -0
  10. package/node_modules/adm-zip/methods/index.js +3 -0
  11. package/node_modules/adm-zip/methods/inflater.js +31 -0
  12. package/node_modules/adm-zip/methods/zipcrypto.js +170 -0
  13. package/node_modules/adm-zip/package.json +77 -0
  14. package/node_modules/adm-zip/util/constants.js +142 -0
  15. package/node_modules/adm-zip/util/errors.js +35 -0
  16. package/node_modules/adm-zip/util/fattr.js +79 -0
  17. package/node_modules/adm-zip/util/fileSystem.js +11 -0
  18. package/node_modules/adm-zip/util/index.js +4 -0
  19. package/node_modules/adm-zip/util/utils.js +246 -0
  20. package/node_modules/adm-zip/zipEntry.js +333 -0
  21. package/node_modules/adm-zip/zipFile.js +384 -0
  22. package/node_modules/asynckit/LICENSE +21 -0
  23. package/node_modules/asynckit/README.md +233 -0
  24. package/node_modules/asynckit/bench.js +76 -0
  25. package/node_modules/asynckit/index.js +6 -0
  26. package/node_modules/asynckit/lib/abort.js +29 -0
  27. package/node_modules/asynckit/lib/async.js +34 -0
  28. package/node_modules/asynckit/lib/defer.js +26 -0
  29. package/node_modules/asynckit/lib/iterate.js +75 -0
  30. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  31. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  32. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  33. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  34. package/node_modules/asynckit/lib/state.js +37 -0
  35. package/node_modules/asynckit/lib/streamify.js +141 -0
  36. package/node_modules/asynckit/lib/terminator.js +29 -0
  37. package/node_modules/asynckit/package.json +91 -0
  38. package/node_modules/asynckit/parallel.js +43 -0
  39. package/node_modules/asynckit/serial.js +17 -0
  40. package/node_modules/asynckit/serialOrdered.js +75 -0
  41. package/node_modules/asynckit/stream.js +21 -0
  42. package/node_modules/axios/CHANGELOG.md +836 -0
  43. package/node_modules/axios/LICENSE +19 -0
  44. package/node_modules/axios/README.md +892 -0
  45. package/node_modules/axios/SECURITY.md +5 -0
  46. package/node_modules/axios/UPGRADE_GUIDE.md +162 -0
  47. package/node_modules/axios/dist/axios.js +2275 -0
  48. package/node_modules/axios/dist/axios.map +1 -0
  49. package/node_modules/axios/dist/axios.min.js +2 -0
  50. package/node_modules/axios/dist/axios.min.map +1 -0
  51. package/node_modules/axios/index.d.ts +206 -0
  52. package/node_modules/axios/index.js +1 -0
  53. package/node_modules/axios/lib/adapters/README.md +37 -0
  54. package/node_modules/axios/lib/adapters/http.js +363 -0
  55. package/node_modules/axios/lib/adapters/xhr.js +212 -0
  56. package/node_modules/axios/lib/axios.js +57 -0
  57. package/node_modules/axios/lib/cancel/Cancel.js +19 -0
  58. package/node_modules/axios/lib/cancel/CancelToken.js +119 -0
  59. package/node_modules/axios/lib/cancel/isCancel.js +5 -0
  60. package/node_modules/axios/lib/core/Axios.js +148 -0
  61. package/node_modules/axios/lib/core/InterceptorManager.js +54 -0
  62. package/node_modules/axios/lib/core/README.md +8 -0
  63. package/node_modules/axios/lib/core/buildFullPath.js +20 -0
  64. package/node_modules/axios/lib/core/createError.js +18 -0
  65. package/node_modules/axios/lib/core/dispatchRequest.js +87 -0
  66. package/node_modules/axios/lib/core/enhanceError.js +43 -0
  67. package/node_modules/axios/lib/core/mergeConfig.js +99 -0
  68. package/node_modules/axios/lib/core/settle.js +25 -0
  69. package/node_modules/axios/lib/core/transformData.js +22 -0
  70. package/node_modules/axios/lib/defaults.js +134 -0
  71. package/node_modules/axios/lib/env/README.md +3 -0
  72. package/node_modules/axios/lib/env/data.js +3 -0
  73. package/node_modules/axios/lib/helpers/README.md +7 -0
  74. package/node_modules/axios/lib/helpers/bind.js +11 -0
  75. package/node_modules/axios/lib/helpers/buildURL.js +70 -0
  76. package/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  77. package/node_modules/axios/lib/helpers/cookies.js +53 -0
  78. package/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  79. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  80. package/node_modules/axios/lib/helpers/isAxiosError.js +11 -0
  81. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  82. package/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  83. package/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  84. package/node_modules/axios/lib/helpers/spread.js +27 -0
  85. package/node_modules/axios/lib/helpers/validator.js +82 -0
  86. package/node_modules/axios/lib/utils.js +349 -0
  87. package/node_modules/axios/package.json +113 -0
  88. package/node_modules/axios/tsconfig.json +14 -0
  89. package/node_modules/axios/tslint.json +6 -0
  90. package/node_modules/combined-stream/License +19 -0
  91. package/node_modules/combined-stream/Readme.md +138 -0
  92. package/node_modules/combined-stream/lib/combined_stream.js +208 -0
  93. package/node_modules/combined-stream/package.json +57 -0
  94. package/node_modules/combined-stream/yarn.lock +17 -0
  95. package/node_modules/delayed-stream/.npmignore +1 -0
  96. package/node_modules/delayed-stream/License +19 -0
  97. package/node_modules/delayed-stream/Makefile +7 -0
  98. package/node_modules/delayed-stream/Readme.md +141 -0
  99. package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  100. package/node_modules/delayed-stream/package.json +62 -0
  101. package/node_modules/follow-redirects/LICENSE +18 -0
  102. package/node_modules/follow-redirects/README.md +148 -0
  103. package/node_modules/follow-redirects/debug.js +15 -0
  104. package/node_modules/follow-redirects/http.js +1 -0
  105. package/node_modules/follow-redirects/https.js +1 -0
  106. package/node_modules/follow-redirects/index.js +569 -0
  107. package/node_modules/follow-redirects/package.json +95 -0
  108. package/node_modules/form-data/License +19 -0
  109. package/node_modules/form-data/README.md.bak +358 -0
  110. package/node_modules/form-data/Readme.md +358 -0
  111. package/node_modules/form-data/index.d.ts +62 -0
  112. package/node_modules/form-data/lib/browser.js +2 -0
  113. package/node_modules/form-data/lib/form_data.js +501 -0
  114. package/node_modules/form-data/lib/populate.js +10 -0
  115. package/node_modules/form-data/package.json +101 -0
  116. package/node_modules/mime-db/HISTORY.md +499 -0
  117. package/node_modules/mime-db/LICENSE +22 -0
  118. package/node_modules/mime-db/README.md +100 -0
  119. package/node_modules/mime-db/db.json +8471 -0
  120. package/node_modules/mime-db/index.js +11 -0
  121. package/node_modules/mime-db/package.json +102 -0
  122. package/node_modules/mime-types/HISTORY.md +388 -0
  123. package/node_modules/mime-types/LICENSE +23 -0
  124. package/node_modules/mime-types/README.md +113 -0
  125. package/node_modules/mime-types/index.js +188 -0
  126. package/node_modules/mime-types/package.json +87 -0
  127. package/node_modules/uuid/CHANGELOG.md +229 -0
  128. package/node_modules/uuid/CONTRIBUTING.md +18 -0
  129. package/node_modules/uuid/LICENSE.md +9 -0
  130. package/node_modules/uuid/README.md +505 -0
  131. package/node_modules/uuid/dist/bin/uuid +2 -0
  132. package/node_modules/uuid/dist/esm-browser/index.js +9 -0
  133. package/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  134. package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  135. package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  136. package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  137. package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  138. package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  139. package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  140. package/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  141. package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  142. package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  143. package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  144. package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  145. package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  146. package/node_modules/uuid/dist/esm-browser/version.js +11 -0
  147. package/node_modules/uuid/dist/esm-node/index.js +9 -0
  148. package/node_modules/uuid/dist/esm-node/md5.js +13 -0
  149. package/node_modules/uuid/dist/esm-node/nil.js +1 -0
  150. package/node_modules/uuid/dist/esm-node/parse.js +35 -0
  151. package/node_modules/uuid/dist/esm-node/regex.js +1 -0
  152. package/node_modules/uuid/dist/esm-node/rng.js +12 -0
  153. package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  154. package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  155. package/node_modules/uuid/dist/esm-node/v1.js +95 -0
  156. package/node_modules/uuid/dist/esm-node/v3.js +4 -0
  157. package/node_modules/uuid/dist/esm-node/v35.js +64 -0
  158. package/node_modules/uuid/dist/esm-node/v4.js +24 -0
  159. package/node_modules/uuid/dist/esm-node/v5.js +4 -0
  160. package/node_modules/uuid/dist/esm-node/validate.js +7 -0
  161. package/node_modules/uuid/dist/esm-node/version.js +11 -0
  162. package/node_modules/uuid/dist/index.js +79 -0
  163. package/node_modules/uuid/dist/md5-browser.js +223 -0
  164. package/node_modules/uuid/dist/md5.js +23 -0
  165. package/node_modules/uuid/dist/nil.js +8 -0
  166. package/node_modules/uuid/dist/parse.js +45 -0
  167. package/node_modules/uuid/dist/regex.js +8 -0
  168. package/node_modules/uuid/dist/rng-browser.js +26 -0
  169. package/node_modules/uuid/dist/rng.js +24 -0
  170. package/node_modules/uuid/dist/sha1-browser.js +104 -0
  171. package/node_modules/uuid/dist/sha1.js +23 -0
  172. package/node_modules/uuid/dist/stringify.js +39 -0
  173. package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  174. package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  175. package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  176. package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  177. package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  178. package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  179. package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  180. package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  181. package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  182. package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  183. package/node_modules/uuid/dist/uuid-bin.js +85 -0
  184. package/node_modules/uuid/dist/v1.js +107 -0
  185. package/node_modules/uuid/dist/v3.js +16 -0
  186. package/node_modules/uuid/dist/v35.js +78 -0
  187. package/node_modules/uuid/dist/v4.js +37 -0
  188. package/node_modules/uuid/dist/v5.js +16 -0
  189. package/node_modules/uuid/dist/validate.js +17 -0
  190. package/node_modules/uuid/dist/version.js +21 -0
  191. package/node_modules/uuid/package.json +164 -0
  192. package/node_modules/uuid/wrapper.mjs +10 -0
  193. package/package.json +32 -0
  194. package/tak-registration.html +111 -0
  195. package/tak-registration.js +169 -0
@@ -0,0 +1,188 @@
1
+ /*!
2
+ * mime-types
3
+ * Copyright(c) 2014 Jonathan Ong
4
+ * Copyright(c) 2015 Douglas Christopher Wilson
5
+ * MIT Licensed
6
+ */
7
+
8
+ 'use strict'
9
+
10
+ /**
11
+ * Module dependencies.
12
+ * @private
13
+ */
14
+
15
+ var db = require('mime-db')
16
+ var extname = require('path').extname
17
+
18
+ /**
19
+ * Module variables.
20
+ * @private
21
+ */
22
+
23
+ var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/
24
+ var TEXT_TYPE_REGEXP = /^text\//i
25
+
26
+ /**
27
+ * Module exports.
28
+ * @public
29
+ */
30
+
31
+ exports.charset = charset
32
+ exports.charsets = { lookup: charset }
33
+ exports.contentType = contentType
34
+ exports.extension = extension
35
+ exports.extensions = Object.create(null)
36
+ exports.lookup = lookup
37
+ exports.types = Object.create(null)
38
+
39
+ // Populate the extensions/types maps
40
+ populateMaps(exports.extensions, exports.types)
41
+
42
+ /**
43
+ * Get the default charset for a MIME type.
44
+ *
45
+ * @param {string} type
46
+ * @return {boolean|string}
47
+ */
48
+
49
+ function charset (type) {
50
+ if (!type || typeof type !== 'string') {
51
+ return false
52
+ }
53
+
54
+ // TODO: use media-typer
55
+ var match = EXTRACT_TYPE_REGEXP.exec(type)
56
+ var mime = match && db[match[1].toLowerCase()]
57
+
58
+ if (mime && mime.charset) {
59
+ return mime.charset
60
+ }
61
+
62
+ // default text/* to utf-8
63
+ if (match && TEXT_TYPE_REGEXP.test(match[1])) {
64
+ return 'UTF-8'
65
+ }
66
+
67
+ return false
68
+ }
69
+
70
+ /**
71
+ * Create a full Content-Type header given a MIME type or extension.
72
+ *
73
+ * @param {string} str
74
+ * @return {boolean|string}
75
+ */
76
+
77
+ function contentType (str) {
78
+ // TODO: should this even be in this module?
79
+ if (!str || typeof str !== 'string') {
80
+ return false
81
+ }
82
+
83
+ var mime = str.indexOf('/') === -1
84
+ ? exports.lookup(str)
85
+ : str
86
+
87
+ if (!mime) {
88
+ return false
89
+ }
90
+
91
+ // TODO: use content-type or other module
92
+ if (mime.indexOf('charset') === -1) {
93
+ var charset = exports.charset(mime)
94
+ if (charset) mime += '; charset=' + charset.toLowerCase()
95
+ }
96
+
97
+ return mime
98
+ }
99
+
100
+ /**
101
+ * Get the default extension for a MIME type.
102
+ *
103
+ * @param {string} type
104
+ * @return {boolean|string}
105
+ */
106
+
107
+ function extension (type) {
108
+ if (!type || typeof type !== 'string') {
109
+ return false
110
+ }
111
+
112
+ // TODO: use media-typer
113
+ var match = EXTRACT_TYPE_REGEXP.exec(type)
114
+
115
+ // get extensions
116
+ var exts = match && exports.extensions[match[1].toLowerCase()]
117
+
118
+ if (!exts || !exts.length) {
119
+ return false
120
+ }
121
+
122
+ return exts[0]
123
+ }
124
+
125
+ /**
126
+ * Lookup the MIME type for a file path/extension.
127
+ *
128
+ * @param {string} path
129
+ * @return {boolean|string}
130
+ */
131
+
132
+ function lookup (path) {
133
+ if (!path || typeof path !== 'string') {
134
+ return false
135
+ }
136
+
137
+ // get the extension ("ext" or ".ext" or full path)
138
+ var extension = extname('x.' + path)
139
+ .toLowerCase()
140
+ .substr(1)
141
+
142
+ if (!extension) {
143
+ return false
144
+ }
145
+
146
+ return exports.types[extension] || false
147
+ }
148
+
149
+ /**
150
+ * Populate the extensions and types maps.
151
+ * @private
152
+ */
153
+
154
+ function populateMaps (extensions, types) {
155
+ // source preference (least -> most)
156
+ var preference = ['nginx', 'apache', undefined, 'iana']
157
+
158
+ Object.keys(db).forEach(function forEachMimeType (type) {
159
+ var mime = db[type]
160
+ var exts = mime.extensions
161
+
162
+ if (!exts || !exts.length) {
163
+ return
164
+ }
165
+
166
+ // mime -> extensions
167
+ extensions[type] = exts
168
+
169
+ // extension -> mime
170
+ for (var i = 0; i < exts.length; i++) {
171
+ var extension = exts[i]
172
+
173
+ if (types[extension]) {
174
+ var from = preference.indexOf(db[types[extension]].source)
175
+ var to = preference.indexOf(mime.source)
176
+
177
+ if (types[extension] !== 'application/octet-stream' &&
178
+ (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {
179
+ // skip the remapping
180
+ continue
181
+ }
182
+ }
183
+
184
+ // set the extension -> mime
185
+ types[extension] = type
186
+ }
187
+ })
188
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "_from": "mime-types@^2.1.12",
3
+ "_id": "mime-types@2.1.34",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
6
+ "_location": "/node-red-contrib-takfiles/mime-types",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "mime-types@^2.1.12",
12
+ "name": "mime-types",
13
+ "escapedName": "mime-types",
14
+ "rawSpec": "^2.1.12",
15
+ "saveSpec": null,
16
+ "fetchSpec": "^2.1.12"
17
+ },
18
+ "_requiredBy": [
19
+ "/node-red-contrib-takfiles/form-data"
20
+ ],
21
+ "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
22
+ "_shasum": "5a712f9ec1503511a945803640fafe09d3793c24",
23
+ "_spec": "mime-types@^2.1.12",
24
+ "_where": "/Users/conway/Projects/DCJNodes/takfile/node_modules/form-data",
25
+ "bugs": {
26
+ "url": "https://github.com/jshttp/mime-types/issues"
27
+ },
28
+ "bundleDependencies": false,
29
+ "contributors": [
30
+ {
31
+ "name": "Douglas Christopher Wilson",
32
+ "email": "doug@somethingdoug.com"
33
+ },
34
+ {
35
+ "name": "Jeremiah Senkpiel",
36
+ "email": "fishrock123@rocketmail.com",
37
+ "url": "https://searchbeam.jit.su"
38
+ },
39
+ {
40
+ "name": "Jonathan Ong",
41
+ "email": "me@jongleberry.com",
42
+ "url": "http://jongleberry.com"
43
+ }
44
+ ],
45
+ "dependencies": {
46
+ "mime-db": "1.51.0"
47
+ },
48
+ "deprecated": false,
49
+ "description": "The ultimate javascript content-type utility.",
50
+ "devDependencies": {
51
+ "eslint": "7.32.0",
52
+ "eslint-config-standard": "14.1.1",
53
+ "eslint-plugin-import": "2.25.2",
54
+ "eslint-plugin-markdown": "2.2.1",
55
+ "eslint-plugin-node": "11.1.0",
56
+ "eslint-plugin-promise": "5.1.1",
57
+ "eslint-plugin-standard": "4.1.0",
58
+ "mocha": "9.1.3",
59
+ "nyc": "15.1.0"
60
+ },
61
+ "engines": {
62
+ "node": ">= 0.6"
63
+ },
64
+ "files": [
65
+ "HISTORY.md",
66
+ "LICENSE",
67
+ "index.js"
68
+ ],
69
+ "homepage": "https://github.com/jshttp/mime-types#readme",
70
+ "keywords": [
71
+ "mime",
72
+ "types"
73
+ ],
74
+ "license": "MIT",
75
+ "name": "mime-types",
76
+ "repository": {
77
+ "type": "git",
78
+ "url": "git+https://github.com/jshttp/mime-types.git"
79
+ },
80
+ "scripts": {
81
+ "lint": "eslint .",
82
+ "test": "mocha --reporter spec test/test.js",
83
+ "test-ci": "nyc --reporter=lcov --reporter=text npm test",
84
+ "test-cov": "nyc --reporter=html --reporter=text npm test"
85
+ },
86
+ "version": "2.1.34"
87
+ }
@@ -0,0 +1,229 @@
1
+ # Changelog
2
+
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
+
5
+ ### [8.3.2](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08)
6
+
7
+ ### Bug Fixes
8
+
9
+ - lazy load getRandomValues ([#537](https://github.com/uuidjs/uuid/issues/537)) ([16c8f6d](https://github.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)), closes [#536](https://github.com/uuidjs/uuid/issues/536)
10
+
11
+ ### [8.3.1](https://github.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) (2020-10-04)
12
+
13
+ ### Bug Fixes
14
+
15
+ - support expo>=39.0.0 ([#515](https://github.com/uuidjs/uuid/issues/515)) ([c65a0f3](https://github.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)), closes [#375](https://github.com/uuidjs/uuid/issues/375)
16
+
17
+ ## [8.3.0](https://github.com/uuidjs/uuid/compare/v8.2.0...v8.3.0) (2020-07-27)
18
+
19
+ ### Features
20
+
21
+ - 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) [#480](https://github.com/uuidjs/uuid/issues/480) [#481](https://github.com/uuidjs/uuid/issues/481) [#180](https://github.com/uuidjs/uuid/issues/180)
22
+
23
+ ## [8.2.0](https://github.com/uuidjs/uuid/compare/v8.1.0...v8.2.0) (2020-06-23)
24
+
25
+ ### Features
26
+
27
+ - improve performance of v1 string representation ([#453](https://github.com/uuidjs/uuid/issues/453)) ([0ee0b67](https://github.com/uuidjs/uuid/commit/0ee0b67c37846529c66089880414d29f3ae132d5))
28
+ - 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)
29
+ - support jspm ([#473](https://github.com/uuidjs/uuid/issues/473)) ([e9f2587](https://github.com/uuidjs/uuid/commit/e9f2587a92575cac31bc1d4ae944e17c09756659))
30
+
31
+ ### Bug Fixes
32
+
33
+ - prepare package exports for webpack 5 ([#468](https://github.com/uuidjs/uuid/issues/468)) ([8d6e6a5](https://github.com/uuidjs/uuid/commit/8d6e6a5f8965ca9575eb4d92e99a43435f4a58a8))
34
+
35
+ ## [8.1.0](https://github.com/uuidjs/uuid/compare/v8.0.0...v8.1.0) (2020-05-20)
36
+
37
+ ### Features
38
+
39
+ - improve v4 performance by reusing random number array ([#435](https://github.com/uuidjs/uuid/issues/435)) ([bf4af0d](https://github.com/uuidjs/uuid/commit/bf4af0d711b4d2ed03d1f74fd12ad0baa87dc79d))
40
+ - optimize V8 performance of bytesToUuid ([#434](https://github.com/uuidjs/uuid/issues/434)) ([e156415](https://github.com/uuidjs/uuid/commit/e156415448ec1af2351fa0b6660cfb22581971f2))
41
+
42
+ ### Bug Fixes
43
+
44
+ - export package.json required by react-native and bundlers ([#449](https://github.com/uuidjs/uuid/issues/449)) ([be1c8fe](https://github.com/uuidjs/uuid/commit/be1c8fe9a3206c358e0059b52fafd7213aa48a52)), closes [ai/nanoevents#44](https://github.com/ai/nanoevents/issues/44#issuecomment-602010343) [#444](https://github.com/uuidjs/uuid/issues/444)
45
+
46
+ ## [8.0.0](https://github.com/uuidjs/uuid/compare/v7.0.3...v8.0.0) (2020-04-29)
47
+
48
+ ### ⚠ BREAKING CHANGES
49
+
50
+ - For native ECMAScript Module (ESM) usage in Node.js only named exports are exposed, there is no more default export.
51
+
52
+ ```diff
53
+ -import uuid from 'uuid';
54
+ -console.log(uuid.v4()); // -> 'cd6c3b08-0adc-4f4b-a6ef-36087a1c9869'
55
+ +import { v4 as uuidv4 } from 'uuid';
56
+ +uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
57
+ ```
58
+
59
+ - Deep requiring specific algorithms of this library like `require('uuid/v4')`, which has been deprecated in `uuid@7`, is no longer supported.
60
+
61
+ Instead use the named exports that this module exports.
62
+
63
+ For ECMAScript Modules (ESM):
64
+
65
+ ```diff
66
+ -import uuidv4 from 'uuid/v4';
67
+ +import { v4 as uuidv4 } from 'uuid';
68
+ uuidv4();
69
+ ```
70
+
71
+ For CommonJS:
72
+
73
+ ```diff
74
+ -const uuidv4 = require('uuid/v4');
75
+ +const { v4: uuidv4 } = require('uuid');
76
+ uuidv4();
77
+ ```
78
+
79
+ ### Features
80
+
81
+ - native Node.js ES Modules (wrapper approach) ([#423](https://github.com/uuidjs/uuid/issues/423)) ([2d9f590](https://github.com/uuidjs/uuid/commit/2d9f590ad9701d692625c07ed62f0a0f91227991)), closes [#245](https://github.com/uuidjs/uuid/issues/245) [#419](https://github.com/uuidjs/uuid/issues/419) [#342](https://github.com/uuidjs/uuid/issues/342)
82
+ - remove deep requires ([#426](https://github.com/uuidjs/uuid/issues/426)) ([daf72b8](https://github.com/uuidjs/uuid/commit/daf72b84ceb20272a81bb5fbddb05dd95922cbba))
83
+
84
+ ### Bug Fixes
85
+
86
+ - add CommonJS syntax example to README quickstart section ([#417](https://github.com/uuidjs/uuid/issues/417)) ([e0ec840](https://github.com/uuidjs/uuid/commit/e0ec8402c7ad44b7ef0453036c612f5db513fda0))
87
+
88
+ ### [7.0.3](https://github.com/uuidjs/uuid/compare/v7.0.2...v7.0.3) (2020-03-31)
89
+
90
+ ### Bug Fixes
91
+
92
+ - make deep require deprecation warning work in browsers ([#409](https://github.com/uuidjs/uuid/issues/409)) ([4b71107](https://github.com/uuidjs/uuid/commit/4b71107d8c0d2ef56861ede6403fc9dc35a1e6bf)), closes [#408](https://github.com/uuidjs/uuid/issues/408)
93
+
94
+ ### [7.0.2](https://github.com/uuidjs/uuid/compare/v7.0.1...v7.0.2) (2020-03-04)
95
+
96
+ ### Bug Fixes
97
+
98
+ - make access to msCrypto consistent ([#393](https://github.com/uuidjs/uuid/issues/393)) ([8bf2a20](https://github.com/uuidjs/uuid/commit/8bf2a20f3565df743da7215eebdbada9d2df118c))
99
+ - simplify link in deprecation warning ([#391](https://github.com/uuidjs/uuid/issues/391)) ([bb2c8e4](https://github.com/uuidjs/uuid/commit/bb2c8e4e9f4c5f9c1eaaf3ea59710c633cd90cb7))
100
+ - update links to match content in readme ([#386](https://github.com/uuidjs/uuid/issues/386)) ([44f2f86](https://github.com/uuidjs/uuid/commit/44f2f86e9d2bbf14ee5f0f00f72a3db1292666d4))
101
+
102
+ ### [7.0.1](https://github.com/uuidjs/uuid/compare/v7.0.0...v7.0.1) (2020-02-25)
103
+
104
+ ### Bug Fixes
105
+
106
+ - clean up esm builds for node and browser ([#383](https://github.com/uuidjs/uuid/issues/383)) ([59e6a49](https://github.com/uuidjs/uuid/commit/59e6a49e7ce7b3e8fb0f3ee52b9daae72af467dc))
107
+ - provide browser versions independent from module system ([#380](https://github.com/uuidjs/uuid/issues/380)) ([4344a22](https://github.com/uuidjs/uuid/commit/4344a22e7aed33be8627eeaaf05360f256a21753)), closes [#378](https://github.com/uuidjs/uuid/issues/378)
108
+
109
+ ## [7.0.0](https://github.com/uuidjs/uuid/compare/v3.4.0...v7.0.0) (2020-02-24)
110
+
111
+ ### ⚠ BREAKING CHANGES
112
+
113
+ - The default export, which used to be the v4() method but which was already discouraged in v3.x of this library, has been removed.
114
+ - 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.
115
+ - 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.
116
+ - Remove support for generating v3 and v5 UUIDs in Node.js<4.x
117
+ - Convert code base to ECMAScript Modules (ESM) and release CommonJS build for node and ESM build for browser bundlers.
118
+
119
+ ### Features
120
+
121
+ - add UMD build to npm package ([#357](https://github.com/uuidjs/uuid/issues/357)) ([4e75adf](https://github.com/uuidjs/uuid/commit/4e75adf435196f28e3fbbe0185d654b5ded7ca2c)), closes [#345](https://github.com/uuidjs/uuid/issues/345)
122
+ - add various es module and CommonJS examples ([b238510](https://github.com/uuidjs/uuid/commit/b238510bf352463521f74bab175a3af9b7a42555))
123
+ - ensure that docs are up-to-date in CI ([ee5e77d](https://github.com/uuidjs/uuid/commit/ee5e77db547474f5a8f23d6c857a6d399209986b))
124
+ - hybrid CommonJS & ECMAScript modules build ([a3f078f](https://github.com/uuidjs/uuid/commit/a3f078faa0baff69ab41aed08e041f8f9c8993d0))
125
+ - remove insecure fallback random number generator ([3a5842b](https://github.com/uuidjs/uuid/commit/3a5842b141a6e5de0ae338f391661e6b84b167c9)), closes [#173](https://github.com/uuidjs/uuid/issues/173)
126
+ - remove support for pre Node.js v4 Buffer API ([#356](https://github.com/uuidjs/uuid/issues/356)) ([b59b5c5](https://github.com/uuidjs/uuid/commit/b59b5c5ecad271c5453f1a156f011671f6d35627))
127
+ - rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([c37a518](https://github.com/uuidjs/uuid/commit/c37a518e367ac4b6d0aa62dba1bc6ce9e85020f7)), closes [#338](https://github.com/uuidjs/uuid/issues/338)
128
+
129
+ ### Bug Fixes
130
+
131
+ - add deep-require proxies for local testing and adjust tests ([#365](https://github.com/uuidjs/uuid/issues/365)) ([7fedc79](https://github.com/uuidjs/uuid/commit/7fedc79ac8fda4bfd1c566c7f05ef4ac13b2db48))
132
+ - add note about removal of default export ([#372](https://github.com/uuidjs/uuid/issues/372)) ([12749b7](https://github.com/uuidjs/uuid/commit/12749b700eb49db8a9759fd306d8be05dbfbd58c)), closes [#370](https://github.com/uuidjs/uuid/issues/370)
133
+ - deprecated deep requiring of the different algorithm versions ([#361](https://github.com/uuidjs/uuid/issues/361)) ([c0bdf15](https://github.com/uuidjs/uuid/commit/c0bdf15e417639b1aeb0b247b2fb11f7a0a26b23))
134
+
135
+ ## [3.4.0](https://github.com/uuidjs/uuid/compare/v3.3.3...v3.4.0) (2020-01-16)
136
+
137
+ ### Features
138
+
139
+ - rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([e2d7314](https://github.com/uuidjs/uuid/commit/e2d7314)), closes [#338](https://github.com/uuidjs/uuid/issues/338)
140
+
141
+ ## [3.3.3](https://github.com/uuidjs/uuid/compare/v3.3.2...v3.3.3) (2019-08-19)
142
+
143
+ ### Bug Fixes
144
+
145
+ - no longer run ci tests on node v4
146
+ - upgrade dependencies
147
+
148
+ ## [3.3.2](https://github.com/uuidjs/uuid/compare/v3.3.1...v3.3.2) (2018-06-28)
149
+
150
+ ### Bug Fixes
151
+
152
+ - typo ([305d877](https://github.com/uuidjs/uuid/commit/305d877))
153
+
154
+ ## [3.3.1](https://github.com/uuidjs/uuid/compare/v3.3.0...v3.3.1) (2018-06-28)
155
+
156
+ ### Bug Fixes
157
+
158
+ - fix [#284](https://github.com/uuidjs/uuid/issues/284) by setting function name in try-catch ([f2a60f2](https://github.com/uuidjs/uuid/commit/f2a60f2))
159
+
160
+ # [3.3.0](https://github.com/uuidjs/uuid/compare/v3.2.1...v3.3.0) (2018-06-22)
161
+
162
+ ### Bug Fixes
163
+
164
+ - assignment to readonly property to allow running in strict mode ([#270](https://github.com/uuidjs/uuid/issues/270)) ([d062fdc](https://github.com/uuidjs/uuid/commit/d062fdc))
165
+ - fix [#229](https://github.com/uuidjs/uuid/issues/229) ([c9684d4](https://github.com/uuidjs/uuid/commit/c9684d4))
166
+ - Get correct version of IE11 crypto ([#274](https://github.com/uuidjs/uuid/issues/274)) ([153d331](https://github.com/uuidjs/uuid/commit/153d331))
167
+ - mem issue when generating uuid ([#267](https://github.com/uuidjs/uuid/issues/267)) ([c47702c](https://github.com/uuidjs/uuid/commit/c47702c))
168
+
169
+ ### Features
170
+
171
+ - enforce Conventional Commit style commit messages ([#282](https://github.com/uuidjs/uuid/issues/282)) ([cc9a182](https://github.com/uuidjs/uuid/commit/cc9a182))
172
+
173
+ ## [3.2.1](https://github.com/uuidjs/uuid/compare/v3.2.0...v3.2.1) (2018-01-16)
174
+
175
+ ### Bug Fixes
176
+
177
+ - use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b))
178
+
179
+ # [3.2.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.2.0) (2018-01-16)
180
+
181
+ ### Bug Fixes
182
+
183
+ - remove mistakenly added typescript dependency, rollback version (standard-version will auto-increment) ([09fa824](https://github.com/uuidjs/uuid/commit/09fa824))
184
+ - use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b))
185
+
186
+ ### Features
187
+
188
+ - Add v3 Support ([#217](https://github.com/uuidjs/uuid/issues/217)) ([d94f726](https://github.com/uuidjs/uuid/commit/d94f726))
189
+
190
+ # [3.1.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.0.1) (2017-06-17)
191
+
192
+ ### Bug Fixes
193
+
194
+ - (fix) Add .npmignore file to exclude test/ and other non-essential files from packing. (#183)
195
+ - Fix typo (#178)
196
+ - Simple typo fix (#165)
197
+
198
+ ### Features
199
+
200
+ - v5 support in CLI (#197)
201
+ - V5 support (#188)
202
+
203
+ # 3.0.1 (2016-11-28)
204
+
205
+ - split uuid versions into separate files
206
+
207
+ # 3.0.0 (2016-11-17)
208
+
209
+ - remove .parse and .unparse
210
+
211
+ # 2.0.0
212
+
213
+ - Removed uuid.BufferClass
214
+
215
+ # 1.4.0
216
+
217
+ - Improved module context detection
218
+ - Removed public RNG functions
219
+
220
+ # 1.3.2
221
+
222
+ - Improve tests and handling of v1() options (Issue #24)
223
+ - Expose RNG option to allow for perf testing with different generators
224
+
225
+ # 1.3.0
226
+
227
+ - Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!
228
+ - Support for node.js crypto API
229
+ - De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code
@@ -0,0 +1,18 @@
1
+ # Contributing
2
+
3
+ Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library!
4
+
5
+ ## Testing
6
+
7
+ ```shell
8
+ npm test
9
+ ```
10
+
11
+ ## Releasing
12
+
13
+ Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version):
14
+
15
+ ```shell
16
+ npm run release -- --dry-run # verify output manually
17
+ npm run release # follow the instructions from the output of this command
18
+ ```
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2010-2020 Robert Kieffer and other contributors
4
+
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:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
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.