node-red-contrib-tak-registration 0.8.0 → 0.9.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/README.md +2 -0
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/node/dgram.d.ts +5 -0
- package/node_modules/@types/node/events.d.ts +35 -0
- package/node_modules/@types/node/fs/promises.d.ts +5 -0
- package/node_modules/@types/node/fs.d.ts +43 -5
- package/node_modules/@types/node/globals.d.ts +22 -0
- package/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/node/module.d.ts +103 -0
- package/node_modules/@types/node/net.d.ts +5 -0
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/stream.d.ts +143 -0
- package/node_modules/@types/node/test.d.ts +33 -4
- package/node_modules/@types/node/timers.d.ts +12 -2
- package/node_modules/@types/node/ts4.8/child_process.d.ts +5 -0
- package/node_modules/@types/node/ts4.8/dgram.d.ts +5 -0
- package/node_modules/@types/node/ts4.8/events.d.ts +35 -0
- package/node_modules/@types/node/ts4.8/fs/promises.d.ts +5 -0
- package/node_modules/@types/node/ts4.8/fs.d.ts +43 -5
- package/node_modules/@types/node/ts4.8/globals.d.ts +22 -0
- package/node_modules/@types/node/ts4.8/inspector.d.ts +1 -1
- package/node_modules/@types/node/ts4.8/module.d.ts +103 -0
- package/node_modules/@types/node/ts4.8/net.d.ts +5 -0
- package/node_modules/@types/node/ts4.8/stream.d.ts +762 -728
- package/node_modules/@types/node/ts4.8/test.d.ts +97 -50
- package/node_modules/@types/node/ts4.8/timers.d.ts +12 -2
- package/node_modules/@types/node/ts4.8/vm.d.ts +2 -1
- package/node_modules/@types/node/vm.d.ts +2 -1
- package/node_modules/axios/CHANGELOG.md +23 -0
- package/node_modules/axios/README.md +33 -5
- package/node_modules/axios/dist/axios.js +26 -18
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +24 -20
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +26 -21
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +27 -21
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +1 -0
- package/node_modules/axios/index.d.ts +3 -0
- package/node_modules/axios/index.js +2 -0
- package/node_modules/axios/lib/adapters/http.js +3 -1
- package/node_modules/axios/lib/axios.js +3 -0
- package/node_modules/axios/lib/core/Axios.js +2 -4
- package/node_modules/axios/lib/core/AxiosHeaders.js +11 -1
- package/node_modules/axios/lib/defaults/index.js +4 -11
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/utils.js +3 -2
- package/node_modules/axios/package.json +3 -1
- package/node_modules/protobufjs/dist/light/protobuf.js +24 -13
- 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 +12 -7
- package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.js +40 -18
- 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/package.json +1 -1
- package/node_modules/protobufjs/src/converter.js +2 -2
- package/node_modules/protobufjs/src/parse.js +4 -1
- package/node_modules/protobufjs/src/reader.js +8 -3
- package/node_modules/protobufjs/src/tokenize.js +2 -4
- package/package.json +3 -3
- package/tak-ingest.js +1 -1
- package/tak-registration.js +38 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* protobuf.js v7.
|
|
3
|
-
* compiled
|
|
2
|
+
* protobuf.js v7.2.5 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled tue, 22 aug 2023 00:04:28 utc
|
|
4
4
|
* licensed under the bsd-3-clause license
|
|
5
5
|
* see: https://github.com/dcodeio/protobuf.js for details
|
|
6
6
|
*/
|
|
@@ -1530,18 +1530,20 @@ var Enum = require(15),
|
|
|
1530
1530
|
* @ignore
|
|
1531
1531
|
*/
|
|
1532
1532
|
function genValuePartial_fromObject(gen, field, fieldIndex, prop) {
|
|
1533
|
+
var defaultAlreadyEmitted = false;
|
|
1533
1534
|
/* eslint-disable no-unexpected-multiline, block-scoped-var, no-redeclare */
|
|
1534
1535
|
if (field.resolvedType) {
|
|
1535
1536
|
if (field.resolvedType instanceof Enum) { gen
|
|
1536
1537
|
("switch(d%s){", prop);
|
|
1537
1538
|
for (var values = field.resolvedType.values, keys = Object.keys(values), i = 0; i < keys.length; ++i) {
|
|
1538
1539
|
// enum unknown values passthrough
|
|
1539
|
-
if (values[keys[i]] === field.typeDefault) { gen
|
|
1540
|
+
if (values[keys[i]] === field.typeDefault && !defaultAlreadyEmitted) { gen
|
|
1540
1541
|
("default:")
|
|
1541
1542
|
("if(typeof(d%s)===\"number\"){m%s=d%s;break}", prop, prop, prop);
|
|
1542
1543
|
if (!field.repeated) gen // fallback to default value only for
|
|
1543
1544
|
// arrays, to avoid leaving holes.
|
|
1544
1545
|
("break"); // for non-repeated fields, just ignore
|
|
1546
|
+
defaultAlreadyEmitted = true;
|
|
1545
1547
|
}
|
|
1546
1548
|
gen
|
|
1547
1549
|
("case%j:", keys[i])
|
|
@@ -1572,7 +1574,7 @@ function genValuePartial_fromObject(gen, field, fieldIndex, prop) {
|
|
|
1572
1574
|
break;
|
|
1573
1575
|
case "uint64":
|
|
1574
1576
|
isUnsigned = true;
|
|
1575
|
-
// eslint-disable-line no-fallthrough
|
|
1577
|
+
// eslint-disable-next-line no-fallthrough
|
|
1576
1578
|
case "int64":
|
|
1577
1579
|
case "sint64":
|
|
1578
1580
|
case "fixed64":
|
|
@@ -1686,7 +1688,7 @@ function genValuePartial_toObject(gen, field, fieldIndex, prop) {
|
|
|
1686
1688
|
break;
|
|
1687
1689
|
case "uint64":
|
|
1688
1690
|
isUnsigned = true;
|
|
1689
|
-
// eslint-disable-line no-fallthrough
|
|
1691
|
+
// eslint-disable-next-line no-fallthrough
|
|
1690
1692
|
case "int64":
|
|
1691
1693
|
case "sint64":
|
|
1692
1694
|
case "fixed64":
|
|
@@ -3356,9 +3358,8 @@ Object.defineProperty(Namespace.prototype, "nestedArray", {
|
|
|
3356
3358
|
/**
|
|
3357
3359
|
* Any nested object descriptor.
|
|
3358
3360
|
* @typedef AnyNestedObject
|
|
3359
|
-
* @type {IEnum|IType|IService|AnyExtensionField|INamespace}
|
|
3361
|
+
* @type {IEnum|IType|IService|AnyExtensionField|INamespace|IOneOf}
|
|
3360
3362
|
*/
|
|
3361
|
-
// ^ BEWARE: VSCode hangs forever when using more than 5 types (that's why AnyExtensionField exists in the first place)
|
|
3362
3363
|
|
|
3363
3364
|
/**
|
|
3364
3365
|
* Converts this namespace to a namespace descriptor.
|
|
@@ -4326,7 +4327,7 @@ function parse(source, root, options) {
|
|
|
4326
4327
|
break;
|
|
4327
4328
|
case "public":
|
|
4328
4329
|
next();
|
|
4329
|
-
// eslint-disable-line no-fallthrough
|
|
4330
|
+
// eslint-disable-next-line no-fallthrough
|
|
4330
4331
|
default:
|
|
4331
4332
|
whichImports = imports || (imports = []);
|
|
4332
4333
|
break;
|
|
@@ -4459,6 +4460,16 @@ function parse(source, root, options) {
|
|
|
4459
4460
|
parseGroup(parent, rule);
|
|
4460
4461
|
return;
|
|
4461
4462
|
}
|
|
4463
|
+
// Type names can consume multiple tokens, in multiple variants:
|
|
4464
|
+
// package.subpackage field tokens: "package.subpackage" [TYPE NAME ENDS HERE] "field"
|
|
4465
|
+
// package . subpackage field tokens: "package" "." "subpackage" [TYPE NAME ENDS HERE] "field"
|
|
4466
|
+
// package. subpackage field tokens: "package." "subpackage" [TYPE NAME ENDS HERE] "field"
|
|
4467
|
+
// package .subpackage field tokens: "package" ".subpackage" [TYPE NAME ENDS HERE] "field"
|
|
4468
|
+
// Keep reading tokens until we get a type name with no period at the end,
|
|
4469
|
+
// and the next token does not start with a period.
|
|
4470
|
+
while (type.endsWith(".") || peek().startsWith(".")) {
|
|
4471
|
+
type += next();
|
|
4472
|
+
}
|
|
4462
4473
|
|
|
4463
4474
|
/* istanbul ignore if */
|
|
4464
4475
|
if (!typeRefRe.test(type))
|
|
@@ -4710,6 +4721,9 @@ function parse(source, root, options) {
|
|
|
4710
4721
|
if (!nameRe.test(token = next())) {
|
|
4711
4722
|
throw illegal(token, "name");
|
|
4712
4723
|
}
|
|
4724
|
+
if (token === null) {
|
|
4725
|
+
throw illegal(token, "end of input");
|
|
4726
|
+
}
|
|
4713
4727
|
|
|
4714
4728
|
var value;
|
|
4715
4729
|
var propName = token;
|
|
@@ -5272,9 +5286,14 @@ Reader.prototype.bytes = function read_bytes() {
|
|
|
5272
5286
|
this.pos += length;
|
|
5273
5287
|
if (Array.isArray(this.buf)) // plain array
|
|
5274
5288
|
return this.buf.slice(start, end);
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5289
|
+
|
|
5290
|
+
if (start === end) { // fix for IE 10/Win8 and others' subarray returning array of size 1
|
|
5291
|
+
var nativeBuffer = util.Buffer;
|
|
5292
|
+
return nativeBuffer
|
|
5293
|
+
? nativeBuffer.alloc(0)
|
|
5294
|
+
: new this.buf.constructor(0);
|
|
5295
|
+
}
|
|
5296
|
+
return this._slice.call(this.buf, start, end);
|
|
5278
5297
|
};
|
|
5279
5298
|
|
|
5280
5299
|
/**
|
|
@@ -5571,6 +5590,7 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
5571
5590
|
|
|
5572
5591
|
// Fetches a single file
|
|
5573
5592
|
function fetch(filename, weak) {
|
|
5593
|
+
filename = getBundledFileName(filename) || filename;
|
|
5574
5594
|
|
|
5575
5595
|
// Skip if already loaded / attempted
|
|
5576
5596
|
if (self.files.indexOf(filename) > -1)
|
|
@@ -5699,6 +5719,10 @@ function tryHandleExtension(root, field) {
|
|
|
5699
5719
|
var extendedType = field.parent.lookup(field.extend);
|
|
5700
5720
|
if (extendedType) {
|
|
5701
5721
|
var sisterField = new Field(field.fullName, field.id, field.type, field.rule, undefined, field.options);
|
|
5722
|
+
//do not allow to extend same field twice to prevent the error
|
|
5723
|
+
if (extendedType.get(sisterField.name)) {
|
|
5724
|
+
return true;
|
|
5725
|
+
}
|
|
5702
5726
|
sisterField.declaringField = field;
|
|
5703
5727
|
field.extensionField = sisterField;
|
|
5704
5728
|
extendedType.add(sisterField);
|
|
@@ -6359,9 +6383,7 @@ function tokenize(source, alternateCommentMode) {
|
|
|
6359
6383
|
|
|
6360
6384
|
// see if remaining line matches comment pattern
|
|
6361
6385
|
var lineText = source.substring(startOffset, endOffset);
|
|
6362
|
-
|
|
6363
|
-
// the first slash that started the comment.
|
|
6364
|
-
var isComment = /^\s*\/{1,2}/.test(lineText);
|
|
6386
|
+
var isComment = /^\s*\/\//.test(lineText);
|
|
6365
6387
|
return isComment;
|
|
6366
6388
|
}
|
|
6367
6389
|
|
|
@@ -6430,7 +6452,7 @@ function tokenize(source, alternateCommentMode) {
|
|
|
6430
6452
|
// check for double-slash comments, consolidating consecutive lines
|
|
6431
6453
|
start = offset;
|
|
6432
6454
|
isDoc = false;
|
|
6433
|
-
if (isDoubleSlashCommentLine(offset)) {
|
|
6455
|
+
if (isDoubleSlashCommentLine(offset - 1)) {
|
|
6434
6456
|
isDoc = true;
|
|
6435
6457
|
do {
|
|
6436
6458
|
offset = findEndOfLine(offset);
|
|
@@ -7547,7 +7569,7 @@ util.decorateEnum = function decorateEnum(object) {
|
|
|
7547
7569
|
util.setProperty = function setProperty(dst, path, value) {
|
|
7548
7570
|
function setProp(dst, path, value) {
|
|
7549
7571
|
var part = path.shift();
|
|
7550
|
-
if (part === "__proto__") {
|
|
7572
|
+
if (part === "__proto__" || part === "prototype") {
|
|
7551
7573
|
return dst;
|
|
7552
7574
|
}
|
|
7553
7575
|
if (path.length > 0) {
|
|
@@ -8075,7 +8097,7 @@ function newError(name) {
|
|
|
8075
8097
|
configurable: true,
|
|
8076
8098
|
},
|
|
8077
8099
|
name: {
|
|
8078
|
-
get() { return name; },
|
|
8100
|
+
get: function get() { return name; },
|
|
8079
8101
|
set: undefined,
|
|
8080
8102
|
enumerable: false,
|
|
8081
8103
|
// configurable: false would accurately preserve the behavior of
|
|
@@ -8085,7 +8107,7 @@ function newError(name) {
|
|
|
8085
8107
|
configurable: true,
|
|
8086
8108
|
},
|
|
8087
8109
|
toString: {
|
|
8088
|
-
value() { return this.name + ": " + this.message; },
|
|
8110
|
+
value: function value() { return this.name + ": " + this.message; },
|
|
8089
8111
|
writable: true,
|
|
8090
8112
|
enumerable: false,
|
|
8091
8113
|
configurable: true,
|