node-red-contrib-tak-registration 0.15.0 → 0.16.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/node_modules/axios/CHANGELOG.md +41 -0
- package/node_modules/axios/README.md +19 -19
- package/node_modules/axios/dist/axios.js +43 -6
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +51 -10
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +51 -10
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +51 -10
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +14 -3
- package/node_modules/axios/index.d.ts +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toFormData.js +4 -0
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +14 -5
- package/node_modules/fast-xml-parser/CHANGELOG.md +7 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +1 -2
- package/node_modules/fast-xml-parser/src/cli/cli.js +4 -0
- package/node_modules/fast-xml-parser/src/fxp.d.ts +5 -5
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +3 -3
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{Readme.md → README.md} +34 -37
- package/node_modules/form-data/lib/browser.js +3 -1
- package/node_modules/form-data/lib/form_data.js +126 -135
- package/node_modules/form-data/lib/populate.js +5 -5
- package/node_modules/form-data/package.json +24 -16
- package/node_modules/protobufjs/dist/light/protobuf.js +8 -7
- package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.js +8 -7
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
- package/node_modules/protobufjs/google/protobuf/descriptor.json +659 -16
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +254 -6
- package/node_modules/protobufjs/package.json +1 -1
- package/node_modules/protobufjs/src/namespace.js +3 -1
- package/node_modules/protobufjs/src/root.js +3 -4
- package/package.json +5 -5
- package/tak-registration.js +6 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Axios v1.
|
|
1
|
+
/*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */
|
|
2
2
|
function bind(fn, thisArg) {
|
|
3
3
|
return function wrap() {
|
|
4
4
|
return fn.apply(thisArg, arguments);
|
|
@@ -139,6 +139,27 @@ const isPlainObject = (val) => {
|
|
|
139
139
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
+
/**
|
|
143
|
+
* Determine if a value is an empty object (safely handles Buffers)
|
|
144
|
+
*
|
|
145
|
+
* @param {*} val The value to test
|
|
146
|
+
*
|
|
147
|
+
* @returns {boolean} True if value is an empty object, otherwise false
|
|
148
|
+
*/
|
|
149
|
+
const isEmptyObject = (val) => {
|
|
150
|
+
// Early return for non-objects or Buffers to prevent RangeError
|
|
151
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
152
|
+
return false;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
try {
|
|
156
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
157
|
+
} catch (e) {
|
|
158
|
+
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
159
|
+
return false;
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
|
|
142
163
|
/**
|
|
143
164
|
* Determine if a value is a Date
|
|
144
165
|
*
|
|
@@ -261,6 +282,11 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
261
282
|
fn.call(null, obj[i], i, obj);
|
|
262
283
|
}
|
|
263
284
|
} else {
|
|
285
|
+
// Buffer check
|
|
286
|
+
if (isBuffer(obj)) {
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
|
|
264
290
|
// Iterate over object keys
|
|
265
291
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
266
292
|
const len = keys.length;
|
|
@@ -274,6 +300,10 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
274
300
|
}
|
|
275
301
|
|
|
276
302
|
function findKey(obj, key) {
|
|
303
|
+
if (isBuffer(obj)){
|
|
304
|
+
return null;
|
|
305
|
+
}
|
|
306
|
+
|
|
277
307
|
key = key.toLowerCase();
|
|
278
308
|
const keys = Object.keys(obj);
|
|
279
309
|
let i = keys.length;
|
|
@@ -627,6 +657,11 @@ const toJSONObject = (obj) => {
|
|
|
627
657
|
return;
|
|
628
658
|
}
|
|
629
659
|
|
|
660
|
+
//Buffer check
|
|
661
|
+
if (isBuffer(source)) {
|
|
662
|
+
return source;
|
|
663
|
+
}
|
|
664
|
+
|
|
630
665
|
if(!('toJSON' in source)) {
|
|
631
666
|
stack[i] = source;
|
|
632
667
|
const target = isArray(source) ? [] : {};
|
|
@@ -698,6 +733,7 @@ const utils$1 = {
|
|
|
698
733
|
isBoolean,
|
|
699
734
|
isObject,
|
|
700
735
|
isPlainObject,
|
|
736
|
+
isEmptyObject,
|
|
701
737
|
isReadableStream,
|
|
702
738
|
isRequest,
|
|
703
739
|
isResponse,
|
|
@@ -962,6 +998,10 @@ function toFormData$1(obj, formData, options) {
|
|
|
962
998
|
return value.toISOString();
|
|
963
999
|
}
|
|
964
1000
|
|
|
1001
|
+
if (utils$1.isBoolean(value)) {
|
|
1002
|
+
return value.toString();
|
|
1003
|
+
}
|
|
1004
|
+
|
|
965
1005
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
966
1006
|
throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
|
|
967
1007
|
}
|
|
@@ -1325,7 +1365,7 @@ const platform = {
|
|
|
1325
1365
|
};
|
|
1326
1366
|
|
|
1327
1367
|
function toURLEncodedForm(data, options) {
|
|
1328
|
-
return toFormData$1(data, new platform.classes.URLSearchParams(),
|
|
1368
|
+
return toFormData$1(data, new platform.classes.URLSearchParams(), {
|
|
1329
1369
|
visitor: function(value, key, path, helpers) {
|
|
1330
1370
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1331
1371
|
this.append(key, value.toString('base64'));
|
|
@@ -1333,8 +1373,9 @@ function toURLEncodedForm(data, options) {
|
|
|
1333
1373
|
}
|
|
1334
1374
|
|
|
1335
1375
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1376
|
+
},
|
|
1377
|
+
...options
|
|
1378
|
+
});
|
|
1338
1379
|
}
|
|
1339
1380
|
|
|
1340
1381
|
/**
|
|
@@ -2087,7 +2128,7 @@ function throttle(fn, freq) {
|
|
|
2087
2128
|
clearTimeout(timer);
|
|
2088
2129
|
timer = null;
|
|
2089
2130
|
}
|
|
2090
|
-
fn
|
|
2131
|
+
fn(...args);
|
|
2091
2132
|
};
|
|
2092
2133
|
|
|
2093
2134
|
const throttled = (...args) => {
|
|
@@ -2343,7 +2384,7 @@ function mergeConfig$1(config1, config2) {
|
|
|
2343
2384
|
headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
|
|
2344
2385
|
};
|
|
2345
2386
|
|
|
2346
|
-
utils$1.forEach(Object.keys(
|
|
2387
|
+
utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
|
|
2347
2388
|
const merge = mergeMap[prop] || mergeDeepProperties;
|
|
2348
2389
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
2349
2390
|
(utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
@@ -2878,7 +2919,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
2878
2919
|
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
2879
2920
|
});
|
|
2880
2921
|
|
|
2881
|
-
let response = await fetch(request);
|
|
2922
|
+
let response = await fetch(request, fetchOptions);
|
|
2882
2923
|
|
|
2883
2924
|
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
2884
2925
|
|
|
@@ -3084,7 +3125,7 @@ function dispatchRequest(config) {
|
|
|
3084
3125
|
});
|
|
3085
3126
|
}
|
|
3086
3127
|
|
|
3087
|
-
const VERSION$1 = "1.
|
|
3128
|
+
const VERSION$1 = "1.11.0";
|
|
3088
3129
|
|
|
3089
3130
|
const validators$1 = {};
|
|
3090
3131
|
|
|
@@ -3323,8 +3364,8 @@ class Axios$1 {
|
|
|
3323
3364
|
|
|
3324
3365
|
if (!synchronousRequestInterceptors) {
|
|
3325
3366
|
const chain = [dispatchRequest.bind(this), undefined];
|
|
3326
|
-
chain.unshift
|
|
3327
|
-
chain.push
|
|
3367
|
+
chain.unshift(...requestInterceptorChain);
|
|
3368
|
+
chain.push(...responseInterceptorChain);
|
|
3328
3369
|
len = chain.length;
|
|
3329
3370
|
|
|
3330
3371
|
promise = Promise.resolve(config);
|