node-red-contrib-tak-registration 0.11.4 → 0.11.6

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 (202) hide show
  1. package/node_modules/@types/node/README.md +1 -1
  2. package/node_modules/@types/node/buffer.d.ts +8 -7
  3. package/node_modules/@types/node/crypto.d.ts +38 -7
  4. package/node_modules/@types/node/dgram.d.ts +10 -0
  5. package/node_modules/@types/node/diagnostics_channel.d.ts +355 -1
  6. package/node_modules/@types/node/fs.d.ts +28 -8
  7. package/node_modules/@types/node/globals.d.ts +26 -0
  8. package/node_modules/@types/node/http.d.ts +6 -7
  9. package/node_modules/@types/node/module.d.ts +14 -0
  10. package/node_modules/@types/node/net.d.ts +8 -3
  11. package/node_modules/@types/node/package.json +3 -4
  12. package/node_modules/@types/node/perf_hooks.d.ts +12 -6
  13. package/node_modules/@types/node/process.d.ts +25 -3
  14. package/node_modules/@types/node/querystring.d.ts +3 -3
  15. package/node_modules/@types/node/stream/web.d.ts +17 -1
  16. package/node_modules/@types/node/string_decoder.d.ts +2 -2
  17. package/node_modules/@types/node/test.d.ts +98 -15
  18. package/node_modules/@types/node/tls.d.ts +1 -1
  19. package/node_modules/@types/node/ts4.8/buffer.d.ts +8 -7
  20. package/node_modules/@types/node/ts4.8/crypto.d.ts +41 -9
  21. package/node_modules/@types/node/ts4.8/dgram.d.ts +10 -0
  22. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +355 -1
  23. package/node_modules/@types/node/ts4.8/fs.d.ts +28 -8
  24. package/node_modules/@types/node/ts4.8/globals.d.ts +26 -0
  25. package/node_modules/@types/node/ts4.8/http.d.ts +6 -7
  26. package/node_modules/@types/node/ts4.8/module.d.ts +14 -0
  27. package/node_modules/@types/node/ts4.8/net.d.ts +8 -3
  28. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +13 -7
  29. package/node_modules/@types/node/ts4.8/process.d.ts +25 -3
  30. package/node_modules/@types/node/ts4.8/querystring.d.ts +3 -3
  31. package/node_modules/@types/node/ts4.8/stream/web.d.ts +17 -1
  32. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +2 -2
  33. package/node_modules/@types/node/ts4.8/test.d.ts +98 -15
  34. package/node_modules/@types/node/ts4.8/tls.d.ts +1 -1
  35. package/node_modules/@types/node/ts4.8/url.d.ts +59 -42
  36. package/node_modules/@types/node/ts4.8/util.d.ts +1 -1
  37. package/node_modules/@types/node/ts4.8/v8.d.ts +134 -5
  38. package/node_modules/@types/node/ts4.8/wasi.d.ts +26 -5
  39. package/node_modules/@types/node/url.d.ts +59 -42
  40. package/node_modules/@types/node/v8.d.ts +134 -5
  41. package/node_modules/@types/node/wasi.d.ts +26 -5
  42. package/node_modules/axios/CHANGELOG.md +53 -0
  43. package/node_modules/axios/README.md +47 -5
  44. package/node_modules/axios/dist/axios.js +368 -4
  45. package/node_modules/axios/dist/axios.js.map +1 -1
  46. package/node_modules/axios/dist/axios.min.js +1 -1
  47. package/node_modules/axios/dist/axios.min.js.map +1 -1
  48. package/node_modules/axios/dist/browser/axios.cjs +28 -4
  49. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  50. package/node_modules/axios/dist/esm/axios.js +28 -4
  51. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  52. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  53. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  54. package/node_modules/axios/dist/node/axios.cjs +34 -6
  55. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  56. package/node_modules/axios/index.d.cts +1 -1
  57. package/node_modules/axios/index.d.ts +1 -1
  58. package/node_modules/axios/lib/adapters/http.js +6 -2
  59. package/node_modules/axios/lib/core/Axios.js +22 -1
  60. package/node_modules/axios/lib/env/data.js +1 -1
  61. package/node_modules/axios/lib/helpers/combineURLs.js +1 -1
  62. package/node_modules/axios/lib/helpers/formDataToJSON.js +3 -0
  63. package/node_modules/axios/package.json +2 -2
  64. package/node_modules/call-bind/CHANGELOG.md +16 -0
  65. package/node_modules/call-bind/index.js +2 -11
  66. package/node_modules/call-bind/package.json +11 -6
  67. package/node_modules/define-data-property/CHANGELOG.md +29 -0
  68. package/node_modules/define-data-property/index.d.ts +12 -3
  69. package/node_modules/define-data-property/index.js +4 -16
  70. package/node_modules/define-data-property/package.json +26 -33
  71. package/node_modules/define-data-property/test/index.js +10 -10
  72. package/node_modules/es-define-property/.eslintrc +13 -0
  73. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  74. package/node_modules/es-define-property/.nycrc +9 -0
  75. package/node_modules/es-define-property/CHANGELOG.md +15 -0
  76. package/node_modules/es-define-property/LICENSE +21 -0
  77. package/node_modules/es-define-property/README.md +49 -0
  78. package/node_modules/es-define-property/index.d.ts +3 -0
  79. package/node_modules/es-define-property/index.js +16 -0
  80. package/node_modules/es-define-property/package.json +81 -0
  81. package/node_modules/es-define-property/test/index.js +55 -0
  82. package/node_modules/es-define-property/tsconfig.json +50 -0
  83. package/node_modules/es-errors/.eslintrc +5 -0
  84. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  85. package/node_modules/es-errors/CHANGELOG.md +40 -0
  86. package/node_modules/es-errors/LICENSE +21 -0
  87. package/node_modules/es-errors/README.md +55 -0
  88. package/node_modules/es-errors/eval.d.ts +3 -0
  89. package/node_modules/es-errors/eval.js +4 -0
  90. package/node_modules/es-errors/index.d.ts +3 -0
  91. package/node_modules/es-errors/index.js +4 -0
  92. package/node_modules/es-errors/package.json +80 -0
  93. package/node_modules/es-errors/range.d.ts +3 -0
  94. package/node_modules/es-errors/range.js +4 -0
  95. package/node_modules/es-errors/ref.d.ts +3 -0
  96. package/node_modules/es-errors/ref.js +4 -0
  97. package/node_modules/es-errors/syntax.d.ts +3 -0
  98. package/node_modules/es-errors/syntax.js +4 -0
  99. package/node_modules/es-errors/test/index.js +19 -0
  100. package/node_modules/es-errors/tsconfig.json +49 -0
  101. package/node_modules/es-errors/type.d.ts +3 -0
  102. package/node_modules/es-errors/type.js +4 -0
  103. package/node_modules/es-errors/uri.d.ts +3 -0
  104. package/node_modules/es-errors/uri.js +4 -0
  105. package/node_modules/fast-xml-parser/CHANGELOG.md +3 -0
  106. package/node_modules/fast-xml-parser/README.md +2 -1
  107. package/node_modules/fast-xml-parser/package.json +4 -1
  108. package/node_modules/fast-xml-parser/src/fxp.d.ts +363 -69
  109. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +5 -5
  110. package/node_modules/follow-redirects/index.js +114 -75
  111. package/node_modules/follow-redirects/package.json +1 -1
  112. package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
  113. package/node_modules/get-intrinsic/index.js +15 -7
  114. package/node_modules/get-intrinsic/package.json +12 -12
  115. package/node_modules/has-property-descriptors/CHANGELOG.md +8 -0
  116. package/node_modules/has-property-descriptors/index.js +3 -14
  117. package/node_modules/has-property-descriptors/package.json +5 -5
  118. package/node_modules/has-proto/CHANGELOG.md +15 -0
  119. package/node_modules/has-proto/index.d.ts +3 -0
  120. package/node_modules/has-proto/index.js +5 -1
  121. package/node_modules/has-proto/package.json +9 -5
  122. package/node_modules/has-proto/tsconfig.json +49 -0
  123. package/node_modules/has-tostringtag/.eslintrc +0 -6
  124. package/node_modules/has-tostringtag/.nycrc +13 -0
  125. package/node_modules/has-tostringtag/CHANGELOG.md +22 -0
  126. package/node_modules/has-tostringtag/index.d.ts +3 -0
  127. package/node_modules/has-tostringtag/index.js +1 -0
  128. package/node_modules/has-tostringtag/package.json +37 -13
  129. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  130. package/node_modules/has-tostringtag/shams.js +1 -0
  131. package/node_modules/has-tostringtag/test/shams/core-js.js +3 -0
  132. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +2 -0
  133. package/node_modules/has-tostringtag/test/tests.js +2 -1
  134. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  135. package/node_modules/hasown/CHANGELOG.md +8 -0
  136. package/node_modules/hasown/index.d.ts +3 -3
  137. package/node_modules/hasown/index.js +1 -1
  138. package/node_modules/hasown/package.json +13 -15
  139. package/node_modules/polygon-clipping/README.md +29 -26
  140. package/node_modules/polygon-clipping/dist/polygon-clipping.cjs.js +1398 -1421
  141. package/node_modules/polygon-clipping/dist/polygon-clipping.d.ts +13 -10
  142. package/node_modules/polygon-clipping/dist/polygon-clipping.esm.js +1139 -1427
  143. package/node_modules/polygon-clipping/dist/polygon-clipping.umd.js +1770 -1831
  144. package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js +22 -8
  145. package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js.map +1 -1
  146. package/node_modules/polygon-clipping/node_modules/robust-predicates/LICENSE +24 -0
  147. package/node_modules/polygon-clipping/node_modules/robust-predicates/README.md +82 -0
  148. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/incircle.js +765 -0
  149. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/insphere.js +766 -0
  150. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient2d.js +184 -0
  151. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient3d.js +462 -0
  152. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/util.js +138 -0
  153. package/node_modules/polygon-clipping/node_modules/robust-predicates/index.d.ts +49 -0
  154. package/node_modules/polygon-clipping/node_modules/robust-predicates/index.js +5 -0
  155. package/node_modules/polygon-clipping/node_modules/robust-predicates/package.json +75 -0
  156. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.js +908 -0
  157. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.min.js +1 -0
  158. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.js +914 -0
  159. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.min.js +1 -0
  160. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.js +280 -0
  161. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
  162. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.js +601 -0
  163. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
  164. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.js +2328 -0
  165. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.min.js +1 -0
  166. package/node_modules/polygon-clipping/package.json +30 -25
  167. package/node_modules/protobufjs/dist/light/protobuf.js +4 -4
  168. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  169. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  170. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  171. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  172. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  173. package/node_modules/protobufjs/dist/protobuf.js +4 -4
  174. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  175. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  176. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  177. package/node_modules/protobufjs/package.json +1 -1
  178. package/node_modules/protobufjs/src/root.js +2 -2
  179. package/node_modules/regexp.prototype.flags/CHANGELOG.md +13 -0
  180. package/node_modules/regexp.prototype.flags/implementation.js +2 -2
  181. package/node_modules/regexp.prototype.flags/package.json +11 -10
  182. package/node_modules/regexp.prototype.flags/test/tests.js +13 -13
  183. package/node_modules/set-function-length/CHANGELOG.md +18 -0
  184. package/node_modules/set-function-length/env.d.ts +6 -0
  185. package/node_modules/set-function-length/env.d.ts.map +1 -0
  186. package/node_modules/set-function-length/env.js +9 -4
  187. package/node_modules/set-function-length/index.d.ts +7 -0
  188. package/node_modules/set-function-length/index.d.ts.map +1 -0
  189. package/node_modules/set-function-length/index.js +6 -3
  190. package/node_modules/set-function-length/package.json +33 -13
  191. package/node_modules/set-function-length/tsconfig.json +59 -0
  192. package/node_modules/set-function-name/.eslintrc +1 -0
  193. package/node_modules/set-function-name/CHANGELOG.md +9 -0
  194. package/node_modules/set-function-name/index.d.ts +5 -0
  195. package/node_modules/set-function-name/index.js +4 -3
  196. package/node_modules/set-function-name/package.json +28 -9
  197. package/node_modules/set-function-name/tsconfig.json +59 -0
  198. package/package.json +4 -4
  199. package/tak-ingest.js +15 -7
  200. package/node_modules/define-data-property/index.d.ts.map +0 -1
  201. package/node_modules/hasown/index.d.ts.map +0 -1
  202. package/node_modules/polygon-clipping/CHANGELOG.md +0 -129
@@ -1,4 +1,4 @@
1
- // Axios v1.6.2 Copyright (c) 2023 Matt Zabriskie and contributors
1
+ // Axios v1.6.6 Copyright (c) 2024 Matt Zabriskie and contributors
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -26,6 +26,297 @@
26
26
  }
27
27
  return target;
28
28
  }
29
+ function _regeneratorRuntime() {
30
+ _regeneratorRuntime = function () {
31
+ return exports;
32
+ };
33
+ var exports = {},
34
+ Op = Object.prototype,
35
+ hasOwn = Op.hasOwnProperty,
36
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
37
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
38
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
39
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
40
+ function define(obj, key, value) {
41
+ return Object.defineProperty(obj, key, {
42
+ value: value,
43
+ enumerable: !0,
44
+ configurable: !0,
45
+ writable: !0
46
+ }), obj[key];
47
+ }
48
+ try {
49
+ define({}, "");
50
+ } catch (err) {
51
+ define = function (obj, key, value) {
52
+ return obj[key] = value;
53
+ };
54
+ }
55
+ function wrap(innerFn, outerFn, self, tryLocsList) {
56
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
57
+ generator = Object.create(protoGenerator.prototype),
58
+ context = new Context(tryLocsList || []);
59
+ return generator._invoke = function (innerFn, self, context) {
60
+ var state = "suspendedStart";
61
+ return function (method, arg) {
62
+ if ("executing" === state) throw new Error("Generator is already running");
63
+ if ("completed" === state) {
64
+ if ("throw" === method) throw arg;
65
+ return doneResult();
66
+ }
67
+ for (context.method = method, context.arg = arg;;) {
68
+ var delegate = context.delegate;
69
+ if (delegate) {
70
+ var delegateResult = maybeInvokeDelegate(delegate, context);
71
+ if (delegateResult) {
72
+ if (delegateResult === ContinueSentinel) continue;
73
+ return delegateResult;
74
+ }
75
+ }
76
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
77
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
78
+ context.dispatchException(context.arg);
79
+ } else "return" === context.method && context.abrupt("return", context.arg);
80
+ state = "executing";
81
+ var record = tryCatch(innerFn, self, context);
82
+ if ("normal" === record.type) {
83
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
84
+ return {
85
+ value: record.arg,
86
+ done: context.done
87
+ };
88
+ }
89
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
90
+ }
91
+ };
92
+ }(innerFn, self, context), generator;
93
+ }
94
+ function tryCatch(fn, obj, arg) {
95
+ try {
96
+ return {
97
+ type: "normal",
98
+ arg: fn.call(obj, arg)
99
+ };
100
+ } catch (err) {
101
+ return {
102
+ type: "throw",
103
+ arg: err
104
+ };
105
+ }
106
+ }
107
+ exports.wrap = wrap;
108
+ var ContinueSentinel = {};
109
+ function Generator() {}
110
+ function GeneratorFunction() {}
111
+ function GeneratorFunctionPrototype() {}
112
+ var IteratorPrototype = {};
113
+ define(IteratorPrototype, iteratorSymbol, function () {
114
+ return this;
115
+ });
116
+ var getProto = Object.getPrototypeOf,
117
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
118
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
119
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
120
+ function defineIteratorMethods(prototype) {
121
+ ["next", "throw", "return"].forEach(function (method) {
122
+ define(prototype, method, function (arg) {
123
+ return this._invoke(method, arg);
124
+ });
125
+ });
126
+ }
127
+ function AsyncIterator(generator, PromiseImpl) {
128
+ function invoke(method, arg, resolve, reject) {
129
+ var record = tryCatch(generator[method], generator, arg);
130
+ if ("throw" !== record.type) {
131
+ var result = record.arg,
132
+ value = result.value;
133
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
134
+ invoke("next", value, resolve, reject);
135
+ }, function (err) {
136
+ invoke("throw", err, resolve, reject);
137
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
138
+ result.value = unwrapped, resolve(result);
139
+ }, function (error) {
140
+ return invoke("throw", error, resolve, reject);
141
+ });
142
+ }
143
+ reject(record.arg);
144
+ }
145
+ var previousPromise;
146
+ this._invoke = function (method, arg) {
147
+ function callInvokeWithMethodAndArg() {
148
+ return new PromiseImpl(function (resolve, reject) {
149
+ invoke(method, arg, resolve, reject);
150
+ });
151
+ }
152
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
153
+ };
154
+ }
155
+ function maybeInvokeDelegate(delegate, context) {
156
+ var method = delegate.iterator[context.method];
157
+ if (undefined === method) {
158
+ if (context.delegate = null, "throw" === context.method) {
159
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
160
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
161
+ }
162
+ return ContinueSentinel;
163
+ }
164
+ var record = tryCatch(method, delegate.iterator, context.arg);
165
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
166
+ var info = record.arg;
167
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
168
+ }
169
+ function pushTryEntry(locs) {
170
+ var entry = {
171
+ tryLoc: locs[0]
172
+ };
173
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
174
+ }
175
+ function resetTryEntry(entry) {
176
+ var record = entry.completion || {};
177
+ record.type = "normal", delete record.arg, entry.completion = record;
178
+ }
179
+ function Context(tryLocsList) {
180
+ this.tryEntries = [{
181
+ tryLoc: "root"
182
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
183
+ }
184
+ function values(iterable) {
185
+ if (iterable) {
186
+ var iteratorMethod = iterable[iteratorSymbol];
187
+ if (iteratorMethod) return iteratorMethod.call(iterable);
188
+ if ("function" == typeof iterable.next) return iterable;
189
+ if (!isNaN(iterable.length)) {
190
+ var i = -1,
191
+ next = function next() {
192
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
193
+ return next.value = undefined, next.done = !0, next;
194
+ };
195
+ return next.next = next;
196
+ }
197
+ }
198
+ return {
199
+ next: doneResult
200
+ };
201
+ }
202
+ function doneResult() {
203
+ return {
204
+ value: undefined,
205
+ done: !0
206
+ };
207
+ }
208
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
209
+ var ctor = "function" == typeof genFun && genFun.constructor;
210
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
211
+ }, exports.mark = function (genFun) {
212
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
213
+ }, exports.awrap = function (arg) {
214
+ return {
215
+ __await: arg
216
+ };
217
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
218
+ return this;
219
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
220
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
221
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
222
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
223
+ return result.done ? result.value : iter.next();
224
+ });
225
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
226
+ return this;
227
+ }), define(Gp, "toString", function () {
228
+ return "[object Generator]";
229
+ }), exports.keys = function (object) {
230
+ var keys = [];
231
+ for (var key in object) keys.push(key);
232
+ return keys.reverse(), function next() {
233
+ for (; keys.length;) {
234
+ var key = keys.pop();
235
+ if (key in object) return next.value = key, next.done = !1, next;
236
+ }
237
+ return next.done = !0, next;
238
+ };
239
+ }, exports.values = values, Context.prototype = {
240
+ constructor: Context,
241
+ reset: function (skipTempReset) {
242
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
243
+ },
244
+ stop: function () {
245
+ this.done = !0;
246
+ var rootRecord = this.tryEntries[0].completion;
247
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
248
+ return this.rval;
249
+ },
250
+ dispatchException: function (exception) {
251
+ if (this.done) throw exception;
252
+ var context = this;
253
+ function handle(loc, caught) {
254
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
255
+ }
256
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
257
+ var entry = this.tryEntries[i],
258
+ record = entry.completion;
259
+ if ("root" === entry.tryLoc) return handle("end");
260
+ if (entry.tryLoc <= this.prev) {
261
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
262
+ hasFinally = hasOwn.call(entry, "finallyLoc");
263
+ if (hasCatch && hasFinally) {
264
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
265
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
266
+ } else if (hasCatch) {
267
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
268
+ } else {
269
+ if (!hasFinally) throw new Error("try statement without catch or finally");
270
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
271
+ }
272
+ }
273
+ }
274
+ },
275
+ abrupt: function (type, arg) {
276
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
277
+ var entry = this.tryEntries[i];
278
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
279
+ var finallyEntry = entry;
280
+ break;
281
+ }
282
+ }
283
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
284
+ var record = finallyEntry ? finallyEntry.completion : {};
285
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
286
+ },
287
+ complete: function (record, afterLoc) {
288
+ if ("throw" === record.type) throw record.arg;
289
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
290
+ },
291
+ finish: function (finallyLoc) {
292
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
293
+ var entry = this.tryEntries[i];
294
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
295
+ }
296
+ },
297
+ catch: function (tryLoc) {
298
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
299
+ var entry = this.tryEntries[i];
300
+ if (entry.tryLoc === tryLoc) {
301
+ var record = entry.completion;
302
+ if ("throw" === record.type) {
303
+ var thrown = record.arg;
304
+ resetTryEntry(entry);
305
+ }
306
+ return thrown;
307
+ }
308
+ }
309
+ throw new Error("illegal catch attempt");
310
+ },
311
+ delegateYield: function (iterable, resultName, nextLoc) {
312
+ return this.delegate = {
313
+ iterator: values(iterable),
314
+ resultName: resultName,
315
+ nextLoc: nextLoc
316
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
317
+ }
318
+ }, exports;
319
+ }
29
320
  function _typeof(obj) {
30
321
  "@babel/helpers - typeof";
31
322
 
@@ -35,6 +326,36 @@
35
326
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
36
327
  }, _typeof(obj);
37
328
  }
329
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
330
+ try {
331
+ var info = gen[key](arg);
332
+ var value = info.value;
333
+ } catch (error) {
334
+ reject(error);
335
+ return;
336
+ }
337
+ if (info.done) {
338
+ resolve(value);
339
+ } else {
340
+ Promise.resolve(value).then(_next, _throw);
341
+ }
342
+ }
343
+ function _asyncToGenerator(fn) {
344
+ return function () {
345
+ var self = this,
346
+ args = arguments;
347
+ return new Promise(function (resolve, reject) {
348
+ var gen = fn.apply(self, args);
349
+ function _next(value) {
350
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
351
+ }
352
+ function _throw(err) {
353
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
354
+ }
355
+ _next(undefined);
356
+ });
357
+ };
358
+ }
38
359
  function _classCallCheck(instance, Constructor) {
39
360
  if (!(instance instanceof Constructor)) {
40
361
  throw new TypeError("Cannot call a class as a function");
@@ -1387,6 +1708,7 @@
1387
1708
  function formDataToJSON(formData) {
1388
1709
  function buildPath(path, value, target, index) {
1389
1710
  var name = path[index++];
1711
+ if (name === '__proto__') return true;
1390
1712
  var isNumericKey = Number.isFinite(+name);
1391
1713
  var isLast = index >= path.length;
1392
1714
  name = !name && utils$1.isArray(target) ? target.length : name;
@@ -1959,7 +2281,7 @@
1959
2281
  * @returns {string} The combined URL
1960
2282
  */
1961
2283
  function combineURLs(baseURL, relativeURL) {
1962
- return relativeURL ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
2284
+ return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
1963
2285
  }
1964
2286
 
1965
2287
  /**
@@ -2519,7 +2841,7 @@
2519
2841
  return config;
2520
2842
  }
2521
2843
 
2522
- var VERSION = "1.6.2";
2844
+ var VERSION = "1.6.6";
2523
2845
 
2524
2846
  var validators$1 = {};
2525
2847
 
@@ -2625,7 +2947,49 @@
2625
2947
  */
2626
2948
  _createClass(Axios, [{
2627
2949
  key: "request",
2628
- value: function request(configOrUrl, config) {
2950
+ value: function () {
2951
+ var _request2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl, config) {
2952
+ var dummy;
2953
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
2954
+ while (1) {
2955
+ switch (_context.prev = _context.next) {
2956
+ case 0:
2957
+ _context.prev = 0;
2958
+ _context.next = 3;
2959
+ return this._request(configOrUrl, config);
2960
+ case 3:
2961
+ return _context.abrupt("return", _context.sent);
2962
+ case 6:
2963
+ _context.prev = 6;
2964
+ _context.t0 = _context["catch"](0);
2965
+ dummy = {};
2966
+ if (Error.captureStackTrace) {
2967
+ Error.captureStackTrace(dummy);
2968
+ } else {
2969
+ dummy.stack = new Error().stack;
2970
+ }
2971
+ // slice off the Error: ... line
2972
+ dummy.stack = dummy.stack.replace(/^.+\n/, '');
2973
+ // match without the 2 top stack lines
2974
+ if (!_context.t0.stack.endsWith(dummy.stack.replace(/^.+\n.+\n/, ''))) {
2975
+ _context.t0.stack += '\n' + dummy.stack;
2976
+ }
2977
+ throw _context.t0;
2978
+ case 13:
2979
+ case "end":
2980
+ return _context.stop();
2981
+ }
2982
+ }
2983
+ }, _callee, this, [[0, 6]]);
2984
+ }));
2985
+ function request(_x, _x2) {
2986
+ return _request2.apply(this, arguments);
2987
+ }
2988
+ return request;
2989
+ }()
2990
+ }, {
2991
+ key: "_request",
2992
+ value: function _request(configOrUrl, config) {
2629
2993
  /*eslint no-param-reassign:0*/
2630
2994
  // Allow for axios('example/url'[, config]) a la fetch API
2631
2995
  if (typeof configOrUrl === 'string') {