From 39b6e96078e2491b82038f7b2ffef2d3e882ec17 Mon Sep 17 00:00:00 2001 From: Amal Nanavati Date: Sat, 22 Apr 2023 00:11:45 -0700 Subject: [PATCH 1/4] Fixed build that got botched in merge --- build/roslib.js | 1174 +++++++++++++++---------------------------- build/roslib.min.js | 2 +- 2 files changed, 407 insertions(+), 769 deletions(-) diff --git a/build/roslib.js b/build/roslib.js index 814b0d8be..2292d4ea7 100644 --- a/build/roslib.js +++ b/build/roslib.js @@ -1,410 +1,410 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i - * - * 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: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * 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. - */ - -(function(global, undefined) { "use strict"; -var POW_2_24 = Math.pow(2, -24), - POW_2_32 = Math.pow(2, 32), - POW_2_53 = Math.pow(2, 53); - -function encode(value) { - var data = new ArrayBuffer(256); - var dataView = new DataView(data); - var lastLength; - var offset = 0; - - function ensureSpace(length) { - var newByteLength = data.byteLength; - var requiredLength = offset + length; - while (newByteLength < requiredLength) - newByteLength *= 2; - if (newByteLength !== data.byteLength) { - var oldDataView = dataView; - data = new ArrayBuffer(newByteLength); - dataView = new DataView(data); - var uint32count = (offset + 3) >> 2; - for (var i = 0; i < uint32count; ++i) - dataView.setUint32(i * 4, oldDataView.getUint32(i * 4)); - } - - lastLength = length; - return dataView; - } - function write() { - offset += lastLength; - } - function writeFloat64(value) { - write(ensureSpace(8).setFloat64(offset, value)); - } - function writeUint8(value) { - write(ensureSpace(1).setUint8(offset, value)); - } - function writeUint8Array(value) { - var dataView = ensureSpace(value.length); - for (var i = 0; i < value.length; ++i) - dataView.setUint8(offset + i, value[i]); - write(); - } - function writeUint16(value) { - write(ensureSpace(2).setUint16(offset, value)); - } - function writeUint32(value) { - write(ensureSpace(4).setUint32(offset, value)); - } - function writeUint64(value) { - var low = value % POW_2_32; - var high = (value - low) / POW_2_32; - var dataView = ensureSpace(8); - dataView.setUint32(offset, high); - dataView.setUint32(offset + 4, low); - write(); - } - function writeTypeAndLength(type, length) { - if (length < 24) { - writeUint8(type << 5 | length); - } else if (length < 0x100) { - writeUint8(type << 5 | 24); - writeUint8(length); - } else if (length < 0x10000) { - writeUint8(type << 5 | 25); - writeUint16(length); - } else if (length < 0x100000000) { - writeUint8(type << 5 | 26); - writeUint32(length); - } else { - writeUint8(type << 5 | 27); - writeUint64(length); - } - } - - function encodeItem(value) { - var i; - - if (value === false) - return writeUint8(0xf4); - if (value === true) - return writeUint8(0xf5); - if (value === null) - return writeUint8(0xf6); - if (value === undefined) - return writeUint8(0xf7); - - switch (typeof value) { - case "number": - if (Math.floor(value) === value) { - if (0 <= value && value <= POW_2_53) - return writeTypeAndLength(0, value); - if (-POW_2_53 <= value && value < 0) - return writeTypeAndLength(1, -(value + 1)); - } - writeUint8(0xfb); - return writeFloat64(value); - - case "string": - var utf8data = []; - for (i = 0; i < value.length; ++i) { - var charCode = value.charCodeAt(i); - if (charCode < 0x80) { - utf8data.push(charCode); - } else if (charCode < 0x800) { - utf8data.push(0xc0 | charCode >> 6); - utf8data.push(0x80 | charCode & 0x3f); - } else if (charCode < 0xd800) { - utf8data.push(0xe0 | charCode >> 12); - utf8data.push(0x80 | (charCode >> 6) & 0x3f); - utf8data.push(0x80 | charCode & 0x3f); - } else { - charCode = (charCode & 0x3ff) << 10; - charCode |= value.charCodeAt(++i) & 0x3ff; - charCode += 0x10000; - - utf8data.push(0xf0 | charCode >> 18); - utf8data.push(0x80 | (charCode >> 12) & 0x3f); - utf8data.push(0x80 | (charCode >> 6) & 0x3f); - utf8data.push(0x80 | charCode & 0x3f); - } - } - - writeTypeAndLength(3, utf8data.length); - return writeUint8Array(utf8data); - - default: - var length; - if (Array.isArray(value)) { - length = value.length; - writeTypeAndLength(4, length); - for (i = 0; i < length; ++i) - encodeItem(value[i]); - } else if (value instanceof Uint8Array) { - writeTypeAndLength(2, value.length); - writeUint8Array(value); - } else { - var keys = Object.keys(value); - length = keys.length; - writeTypeAndLength(5, length); - for (i = 0; i < length; ++i) { - var key = keys[i]; - encodeItem(key); - encodeItem(value[key]); - } - } - } - } - - encodeItem(value); - - if ("slice" in data) - return data.slice(0, offset); - - var ret = new ArrayBuffer(offset); - var retView = new DataView(ret); - for (var i = 0; i < offset; ++i) - retView.setUint8(i, dataView.getUint8(i)); - return ret; -} - -function decode(data, tagger, simpleValue) { - var dataView = new DataView(data); - var offset = 0; - - if (typeof tagger !== "function") - tagger = function(value) { return value; }; - if (typeof simpleValue !== "function") - simpleValue = function() { return undefined; }; - - function read(value, length) { - offset += length; - return value; - } - function readArrayBuffer(length) { - return read(new Uint8Array(data, offset, length), length); - } - function readFloat16() { - var tempArrayBuffer = new ArrayBuffer(4); - var tempDataView = new DataView(tempArrayBuffer); - var value = readUint16(); - - var sign = value & 0x8000; - var exponent = value & 0x7c00; - var fraction = value & 0x03ff; - - if (exponent === 0x7c00) - exponent = 0xff << 10; - else if (exponent !== 0) - exponent += (127 - 15) << 10; - else if (fraction !== 0) - return fraction * POW_2_24; - - tempDataView.setUint32(0, sign << 16 | exponent << 13 | fraction << 13); - return tempDataView.getFloat32(0); - } - function readFloat32() { - return read(dataView.getFloat32(offset), 4); - } - function readFloat64() { - return read(dataView.getFloat64(offset), 8); - } - function readUint8() { - return read(dataView.getUint8(offset), 1); - } - function readUint16() { - return read(dataView.getUint16(offset), 2); - } - function readUint32() { - return read(dataView.getUint32(offset), 4); - } - function readUint64() { - return readUint32() * POW_2_32 + readUint32(); - } - function readBreak() { - if (dataView.getUint8(offset) !== 0xff) - return false; - offset += 1; - return true; - } - function readLength(additionalInformation) { - if (additionalInformation < 24) - return additionalInformation; - if (additionalInformation === 24) - return readUint8(); - if (additionalInformation === 25) - return readUint16(); - if (additionalInformation === 26) - return readUint32(); - if (additionalInformation === 27) - return readUint64(); - if (additionalInformation === 31) - return -1; - throw "Invalid length encoding"; - } - function readIndefiniteStringLength(majorType) { - var initialByte = readUint8(); - if (initialByte === 0xff) - return -1; - var length = readLength(initialByte & 0x1f); - if (length < 0 || (initialByte >> 5) !== majorType) - throw "Invalid indefinite length element"; - return length; - } - - function appendUtf16data(utf16data, length) { - for (var i = 0; i < length; ++i) { - var value = readUint8(); - if (value & 0x80) { - if (value < 0xe0) { - value = (value & 0x1f) << 6 - | (readUint8() & 0x3f); - length -= 1; - } else if (value < 0xf0) { - value = (value & 0x0f) << 12 - | (readUint8() & 0x3f) << 6 - | (readUint8() & 0x3f); - length -= 2; - } else { - value = (value & 0x0f) << 18 - | (readUint8() & 0x3f) << 12 - | (readUint8() & 0x3f) << 6 - | (readUint8() & 0x3f); - length -= 3; - } - } - - if (value < 0x10000) { - utf16data.push(value); - } else { - value -= 0x10000; - utf16data.push(0xd800 | (value >> 10)); - utf16data.push(0xdc00 | (value & 0x3ff)); - } - } - } - - function decodeItem() { - var initialByte = readUint8(); - var majorType = initialByte >> 5; - var additionalInformation = initialByte & 0x1f; - var i; - var length; - - if (majorType === 7) { - switch (additionalInformation) { - case 25: - return readFloat16(); - case 26: - return readFloat32(); - case 27: - return readFloat64(); - } - } - - length = readLength(additionalInformation); - if (length < 0 && (majorType < 2 || 6 < majorType)) - throw "Invalid length"; - - switch (majorType) { - case 0: - return length; - case 1: - return -1 - length; - case 2: - if (length < 0) { - var elements = []; - var fullArrayLength = 0; - while ((length = readIndefiniteStringLength(majorType)) >= 0) { - fullArrayLength += length; - elements.push(readArrayBuffer(length)); - } - var fullArray = new Uint8Array(fullArrayLength); - var fullArrayOffset = 0; - for (i = 0; i < elements.length; ++i) { - fullArray.set(elements[i], fullArrayOffset); - fullArrayOffset += elements[i].length; - } - return fullArray; - } - return readArrayBuffer(length); - case 3: - var utf16data = []; - if (length < 0) { - while ((length = readIndefiniteStringLength(majorType)) >= 0) - appendUtf16data(utf16data, length); - } else - appendUtf16data(utf16data, length); - return String.fromCharCode.apply(null, utf16data); - case 4: - var retArray; - if (length < 0) { - retArray = []; - while (!readBreak()) - retArray.push(decodeItem()); - } else { - retArray = new Array(length); - for (i = 0; i < length; ++i) - retArray[i] = decodeItem(); - } - return retArray; - case 5: - var retObject = {}; - for (i = 0; i < length || length < 0 && !readBreak(); ++i) { - var key = decodeItem(); - retObject[key] = decodeItem(); - } - return retObject; - case 6: - return tagger(decodeItem(), length); - case 7: - switch (length) { - case 20: - return false; - case 21: - return true; - case 22: - return null; - case 23: - return undefined; - default: - return simpleValue(length); - } - } - } - - var ret = decodeItem(); - if (offset !== data.byteLength) - throw "Remaining bytes"; - return ret; -} - -var obj = { encode: encode, decode: decode }; - -if (typeof define === "function" && define.amd) - define("cbor/cbor", obj); -else if (typeof module !== 'undefined' && module.exports) - module.exports = obj; -else if (!global.CBOR) - global.CBOR = obj; - -})(this); +/* + * The MIT License (MIT) + * + * Copyright (c) 2014 Patrick Gansterer + * + * 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: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * 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. + */ + +(function(global, undefined) { "use strict"; +var POW_2_24 = Math.pow(2, -24), + POW_2_32 = Math.pow(2, 32), + POW_2_53 = Math.pow(2, 53); + +function encode(value) { + var data = new ArrayBuffer(256); + var dataView = new DataView(data); + var lastLength; + var offset = 0; + + function ensureSpace(length) { + var newByteLength = data.byteLength; + var requiredLength = offset + length; + while (newByteLength < requiredLength) + newByteLength *= 2; + if (newByteLength !== data.byteLength) { + var oldDataView = dataView; + data = new ArrayBuffer(newByteLength); + dataView = new DataView(data); + var uint32count = (offset + 3) >> 2; + for (var i = 0; i < uint32count; ++i) + dataView.setUint32(i * 4, oldDataView.getUint32(i * 4)); + } + + lastLength = length; + return dataView; + } + function write() { + offset += lastLength; + } + function writeFloat64(value) { + write(ensureSpace(8).setFloat64(offset, value)); + } + function writeUint8(value) { + write(ensureSpace(1).setUint8(offset, value)); + } + function writeUint8Array(value) { + var dataView = ensureSpace(value.length); + for (var i = 0; i < value.length; ++i) + dataView.setUint8(offset + i, value[i]); + write(); + } + function writeUint16(value) { + write(ensureSpace(2).setUint16(offset, value)); + } + function writeUint32(value) { + write(ensureSpace(4).setUint32(offset, value)); + } + function writeUint64(value) { + var low = value % POW_2_32; + var high = (value - low) / POW_2_32; + var dataView = ensureSpace(8); + dataView.setUint32(offset, high); + dataView.setUint32(offset + 4, low); + write(); + } + function writeTypeAndLength(type, length) { + if (length < 24) { + writeUint8(type << 5 | length); + } else if (length < 0x100) { + writeUint8(type << 5 | 24); + writeUint8(length); + } else if (length < 0x10000) { + writeUint8(type << 5 | 25); + writeUint16(length); + } else if (length < 0x100000000) { + writeUint8(type << 5 | 26); + writeUint32(length); + } else { + writeUint8(type << 5 | 27); + writeUint64(length); + } + } + + function encodeItem(value) { + var i; + + if (value === false) + return writeUint8(0xf4); + if (value === true) + return writeUint8(0xf5); + if (value === null) + return writeUint8(0xf6); + if (value === undefined) + return writeUint8(0xf7); + + switch (typeof value) { + case "number": + if (Math.floor(value) === value) { + if (0 <= value && value <= POW_2_53) + return writeTypeAndLength(0, value); + if (-POW_2_53 <= value && value < 0) + return writeTypeAndLength(1, -(value + 1)); + } + writeUint8(0xfb); + return writeFloat64(value); + + case "string": + var utf8data = []; + for (i = 0; i < value.length; ++i) { + var charCode = value.charCodeAt(i); + if (charCode < 0x80) { + utf8data.push(charCode); + } else if (charCode < 0x800) { + utf8data.push(0xc0 | charCode >> 6); + utf8data.push(0x80 | charCode & 0x3f); + } else if (charCode < 0xd800) { + utf8data.push(0xe0 | charCode >> 12); + utf8data.push(0x80 | (charCode >> 6) & 0x3f); + utf8data.push(0x80 | charCode & 0x3f); + } else { + charCode = (charCode & 0x3ff) << 10; + charCode |= value.charCodeAt(++i) & 0x3ff; + charCode += 0x10000; + + utf8data.push(0xf0 | charCode >> 18); + utf8data.push(0x80 | (charCode >> 12) & 0x3f); + utf8data.push(0x80 | (charCode >> 6) & 0x3f); + utf8data.push(0x80 | charCode & 0x3f); + } + } + + writeTypeAndLength(3, utf8data.length); + return writeUint8Array(utf8data); + + default: + var length; + if (Array.isArray(value)) { + length = value.length; + writeTypeAndLength(4, length); + for (i = 0; i < length; ++i) + encodeItem(value[i]); + } else if (value instanceof Uint8Array) { + writeTypeAndLength(2, value.length); + writeUint8Array(value); + } else { + var keys = Object.keys(value); + length = keys.length; + writeTypeAndLength(5, length); + for (i = 0; i < length; ++i) { + var key = keys[i]; + encodeItem(key); + encodeItem(value[key]); + } + } + } + } + + encodeItem(value); + + if ("slice" in data) + return data.slice(0, offset); + + var ret = new ArrayBuffer(offset); + var retView = new DataView(ret); + for (var i = 0; i < offset; ++i) + retView.setUint8(i, dataView.getUint8(i)); + return ret; +} + +function decode(data, tagger, simpleValue) { + var dataView = new DataView(data); + var offset = 0; + + if (typeof tagger !== "function") + tagger = function(value) { return value; }; + if (typeof simpleValue !== "function") + simpleValue = function() { return undefined; }; + + function read(value, length) { + offset += length; + return value; + } + function readArrayBuffer(length) { + return read(new Uint8Array(data, offset, length), length); + } + function readFloat16() { + var tempArrayBuffer = new ArrayBuffer(4); + var tempDataView = new DataView(tempArrayBuffer); + var value = readUint16(); + + var sign = value & 0x8000; + var exponent = value & 0x7c00; + var fraction = value & 0x03ff; + + if (exponent === 0x7c00) + exponent = 0xff << 10; + else if (exponent !== 0) + exponent += (127 - 15) << 10; + else if (fraction !== 0) + return fraction * POW_2_24; + + tempDataView.setUint32(0, sign << 16 | exponent << 13 | fraction << 13); + return tempDataView.getFloat32(0); + } + function readFloat32() { + return read(dataView.getFloat32(offset), 4); + } + function readFloat64() { + return read(dataView.getFloat64(offset), 8); + } + function readUint8() { + return read(dataView.getUint8(offset), 1); + } + function readUint16() { + return read(dataView.getUint16(offset), 2); + } + function readUint32() { + return read(dataView.getUint32(offset), 4); + } + function readUint64() { + return readUint32() * POW_2_32 + readUint32(); + } + function readBreak() { + if (dataView.getUint8(offset) !== 0xff) + return false; + offset += 1; + return true; + } + function readLength(additionalInformation) { + if (additionalInformation < 24) + return additionalInformation; + if (additionalInformation === 24) + return readUint8(); + if (additionalInformation === 25) + return readUint16(); + if (additionalInformation === 26) + return readUint32(); + if (additionalInformation === 27) + return readUint64(); + if (additionalInformation === 31) + return -1; + throw "Invalid length encoding"; + } + function readIndefiniteStringLength(majorType) { + var initialByte = readUint8(); + if (initialByte === 0xff) + return -1; + var length = readLength(initialByte & 0x1f); + if (length < 0 || (initialByte >> 5) !== majorType) + throw "Invalid indefinite length element"; + return length; + } + + function appendUtf16data(utf16data, length) { + for (var i = 0; i < length; ++i) { + var value = readUint8(); + if (value & 0x80) { + if (value < 0xe0) { + value = (value & 0x1f) << 6 + | (readUint8() & 0x3f); + length -= 1; + } else if (value < 0xf0) { + value = (value & 0x0f) << 12 + | (readUint8() & 0x3f) << 6 + | (readUint8() & 0x3f); + length -= 2; + } else { + value = (value & 0x0f) << 18 + | (readUint8() & 0x3f) << 12 + | (readUint8() & 0x3f) << 6 + | (readUint8() & 0x3f); + length -= 3; + } + } + + if (value < 0x10000) { + utf16data.push(value); + } else { + value -= 0x10000; + utf16data.push(0xd800 | (value >> 10)); + utf16data.push(0xdc00 | (value & 0x3ff)); + } + } + } + + function decodeItem() { + var initialByte = readUint8(); + var majorType = initialByte >> 5; + var additionalInformation = initialByte & 0x1f; + var i; + var length; + + if (majorType === 7) { + switch (additionalInformation) { + case 25: + return readFloat16(); + case 26: + return readFloat32(); + case 27: + return readFloat64(); + } + } + + length = readLength(additionalInformation); + if (length < 0 && (majorType < 2 || 6 < majorType)) + throw "Invalid length"; + + switch (majorType) { + case 0: + return length; + case 1: + return -1 - length; + case 2: + if (length < 0) { + var elements = []; + var fullArrayLength = 0; + while ((length = readIndefiniteStringLength(majorType)) >= 0) { + fullArrayLength += length; + elements.push(readArrayBuffer(length)); + } + var fullArray = new Uint8Array(fullArrayLength); + var fullArrayOffset = 0; + for (i = 0; i < elements.length; ++i) { + fullArray.set(elements[i], fullArrayOffset); + fullArrayOffset += elements[i].length; + } + return fullArray; + } + return readArrayBuffer(length); + case 3: + var utf16data = []; + if (length < 0) { + while ((length = readIndefiniteStringLength(majorType)) >= 0) + appendUtf16data(utf16data, length); + } else + appendUtf16data(utf16data, length); + return String.fromCharCode.apply(null, utf16data); + case 4: + var retArray; + if (length < 0) { + retArray = []; + while (!readBreak()) + retArray.push(decodeItem()); + } else { + retArray = new Array(length); + for (i = 0; i < length; ++i) + retArray[i] = decodeItem(); + } + return retArray; + case 5: + var retObject = {}; + for (i = 0; i < length || length < 0 && !readBreak(); ++i) { + var key = decodeItem(); + retObject[key] = decodeItem(); + } + return retObject; + case 6: + return tagger(decodeItem(), length); + case 7: + switch (length) { + case 20: + return false; + case 21: + return true; + case 22: + return null; + case 23: + return undefined; + default: + return simpleValue(length); + } + } + } + + var ret = decodeItem(); + if (offset !== data.byteLength) + throw "Remaining bytes"; + return ret; +} + +var obj = { encode: encode, decode: decode }; + +if (typeof define === "function" && define.amd) + define("cbor/cbor", obj); +else if (typeof module !== 'undefined' && module.exports) + module.exports = obj; +else if (!global.CBOR) + global.CBOR = obj; + +})(this); },{}],2:[function(require,module,exports){ (function (process,setImmediate){(function (){ @@ -2692,7 +2692,6 @@ module.exports = function (fn, options) { * If you use roslib in a browser, all the classes will be exported to a global variable called ROSLIB. * * If you use nodejs, this is the variable you get when you require('roslib'). - * If you use nodejs, this is the variable you get when you require('roslib'). */ var ROSLIB = this.ROSLIB || { /** @@ -2743,10 +2742,6 @@ var EventEmitter2 = require('eventemitter2').EventEmitter2; * * 'status' - The status messages received from the action server. * * 'feedback' - The feedback messages received from the action server. * * 'result' - The result returned from the action server. - * * 'timeout' - If a timeout occurred while sending a goal. - * * 'status' - The status messages received from the action server. - * * 'feedback' - The feedback messages received from the action server. - * * 'result' - The result returned from the action server. * * @constructor * @param {Object} options @@ -2757,15 +2752,6 @@ var EventEmitter2 = require('eventemitter2').EventEmitter2; * @param {boolean} [options.omitFeedback] - The flag to indicate whether to omit the feedback channel or not. * @param {boolean} [options.omitStatus] - The flag to indicate whether to omit the status channel or not. * @param {boolean} [options.omitResult] - The flag to indicate whether to omit the result channel or not. - * @constructor - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} options.serverName - The action server name, like '/fibonacci'. - * @param {string} options.actionName - The action message name, like 'actionlib_tutorials/FibonacciAction'. - * @param {number} [options.timeout] - The timeout length when connecting to the action server. - * @param {boolean} [options.omitFeedback] - The flag to indicate whether to omit the feedback channel or not. - * @param {boolean} [options.omitStatus] - The flag to indicate whether to omit the status channel or not. - * @param {boolean} [options.omitResult] - The flag to indicate whether to omit the result channel or not. */ function ActionClient(options) { var that = this; @@ -2898,27 +2884,18 @@ var Message = require('../core/Message'); var EventEmitter2 = require('eventemitter2').EventEmitter2; /** - * An actionlib action listener. * An actionlib action listener. * * Emits the following events: * * 'status' - The status messages received from the action server. * * 'feedback' - The feedback messages received from the action server. * * 'result' - The result returned from the action server. - * * 'status' - The status messages received from the action server. - * * 'feedback' - The feedback messages received from the action server. - * * 'result' - The result returned from the action server. * * @constructor * @param {Object} options * @param {Ros} options.ros - The ROSLIB.Ros connection handle. * @param {string} options.serverName - The action server name, like '/fibonacci'. * @param {string} options.actionName - The action message name, like 'actionlib_tutorials/FibonacciAction'. - * @constructor - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} options.serverName - The action server name, like '/fibonacci'. - * @param {string} options.actionName - The action message name, like 'actionlib_tutorials/FibonacciAction'. */ function ActionListener(options) { var that = this; @@ -2990,21 +2967,15 @@ var Message = require('../core/Message'); var EventEmitter2 = require('eventemitter2').EventEmitter2; /** - * An actionlib goal that is associated with an action server. * An actionlib goal that is associated with an action server. * * Emits the following events: * * 'timeout' - If a timeout occurred while sending a goal. - * * 'timeout' - If a timeout occurred while sending a goal. * * @constructor * @param {Object} options * @param {ActionClient} options.actionClient - The ROSLIB.ActionClient to use with this goal. * @param {Object} options.goalMessage - The JSON object containing the goal for the action server. - * @constructor - * @param {Object} options - * @param {ActionClient} options.actionClient - The ROSLIB.ActionClient to use with this goal. - * @param {Object} options.goalMessage - The JSON object containing the goal for the action server. */ function Goal(options) { var that = this; @@ -3052,7 +3023,6 @@ Goal.prototype.__proto__ = EventEmitter2.prototype; * Send the goal to the action server. * * @param {number} [timeout] - A timeout length for the goal's result. - * @param {number} [timeout] - A timeout length for the goal's result. */ Goal.prototype.send = function(timeout) { var that = this; @@ -3078,7 +3048,6 @@ Goal.prototype.cancel = function() { module.exports = Goal; - },{"../core/Message":15,"eventemitter2":2}],13:[function(require,module,exports){ /** * @fileOverview @@ -3095,19 +3064,12 @@ var EventEmitter2 = require('eventemitter2').EventEmitter2; * Emits the following events: * * 'goal' - Goal sent by action client. * * 'cancel' - Action client has canceled the request. - * * 'goal' - Goal sent by action client. - * * 'cancel' - Action client has canceled the request. * * @constructor * @param {Object} options * @param {Ros} options.ros - The ROSLIB.Ros connection handle. * @param {string} options.serverName - The action server name, like '/fibonacci'. * @param {string} options.actionName - The action message name, like 'actionlib_tutorials/FibonacciAction'. - * @constructor - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} options.serverName - The action server name, like '/fibonacci'. - * @param {string} options.actionName - The action message name, like 'actionlib_tutorials/FibonacciAction'. */ function SimpleActionServer(options) { var that = this; @@ -3166,7 +3128,6 @@ function SimpleActionServer(options) { goalListener.subscribe(function(goalMessage) { - if(that.currentGoal) { that.nextGoal = goalMessage; // needs to happen AFTER rest is set up @@ -3178,7 +3139,6 @@ function SimpleActionServer(options) { } }); - // helper function to determine ordering of timestamps // helper function to determine ordering of timestamps // returns t1 < t2 var isEarlier = function(t1, t2) { @@ -3242,16 +3202,10 @@ SimpleActionServer.prototype.__proto__ = EventEmitter2.prototype; * * @param {Object} result - The result to return to the client. */ -SimpleActionServer.prototype.setSucceeded = function(result) { - * Set action state to succeeded and return to client. - * - * @param {Object} result - The result to return to the client. - */ SimpleActionServer.prototype.setSucceeded = function(result) { var resultMessage = new Message({ status : {goal_id : this.currentGoal.goal_id, status : 3}, result : result - result : result }); this.resultPublisher.publish(resultMessage); @@ -3270,16 +3224,10 @@ SimpleActionServer.prototype.setSucceeded = function(result) { * * @param {Object} result - The result to return to the client. */ -SimpleActionServer.prototype.setAborted = function(result) { - * Set action state to aborted and return to client. - * - * @param {Object} result - The result to return to the client. - */ SimpleActionServer.prototype.setAborted = function(result) { var resultMessage = new Message({ status : {goal_id : this.currentGoal.goal_id, status : 4}, result : result - result : result }); this.resultPublisher.publish(resultMessage); @@ -3298,16 +3246,10 @@ SimpleActionServer.prototype.setAborted = function(result) { * * @param {Object} feedback - The feedback to send to the client. */ -SimpleActionServer.prototype.sendFeedback = function(feedback) { - * Send a feedback message. - * - * @param {Object} feedback - The feedback to send to the client. - */ SimpleActionServer.prototype.sendFeedback = function(feedback) { var feedbackMessage = new Message({ status : {goal_id : this.currentGoal.goal_id, status : 1}, feedback : feedback - feedback : feedback }); this.feedbackPublisher.publish(feedbackMessage); }; @@ -3315,8 +3257,6 @@ SimpleActionServer.prototype.sendFeedback = function(feedback) { /** * Handle case where client requests preemption. */ - * Handle case where client requests preemption. - */ SimpleActionServer.prototype.setPreempted = function() { this.statusMessage.status_list = []; var resultMessage = new Message({ @@ -3335,7 +3275,6 @@ SimpleActionServer.prototype.setPreempted = function() { module.exports = SimpleActionServer; - },{"../core/Message":15,"../core/Topic":22,"eventemitter2":2}],14:[function(require,module,exports){ var Ros = require('../core/Ros'); var mixin = require('../mixin'); @@ -3351,7 +3290,6 @@ mixin(Ros, ['ActionClient', 'SimpleActionServer'], action); },{"../core/Ros":17,"../mixin":29,"./ActionClient":10,"./ActionListener":11,"./Goal":12,"./SimpleActionServer":13}],15:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - baalexander@gmail.com */ @@ -3363,7 +3301,6 @@ var assign = require('object-assign'); * * @constructor * @param {Object} values - An object matching the fields defined in the .msg definition file. - * @param {Object} values - An object matching the fields defined in the .msg definition file. */ function Message(values) { assign(this, values); @@ -3372,7 +3309,6 @@ function Message(values) { module.exports = Message; },{"object-assign":3}],16:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - baalexander@gmail.com */ @@ -3387,9 +3323,6 @@ var ServiceRequest = require('./ServiceRequest'); * @param {Object} options * @param {Ros} options.ros - The ROSLIB.Ros connection handle. * @param {string} options.name - The param name, like max_vel_x. - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} options.name - The param name, like max_vel_x. */ function Param(options) { options = options || {}; @@ -3398,13 +3331,10 @@ function Param(options) { } /** - * Fetch the value of the param. * Fetch the value of the param. * * @param {function} callback - Function with the following params: * @param {Object} callback.value - The value of the param from ROS. - * @param {function} callback - Function with the following params: - * @param {Object} callback.value - The value of the param from ROS. */ Param.prototype.get = function(callback) { var paramClient = new Service({ @@ -3425,13 +3355,10 @@ Param.prototype.get = function(callback) { }; /** - * Set the value of the param in ROS. * Set the value of the param in ROS. * * @param {Object} value - The value to set param to. * @param {function} callback - The callback function. - * @param {Object} value - The value to set param to. - * @param {function} callback - The callback function. */ Param.prototype.set = function(value, callback) { var paramClient = new Service({ @@ -3452,8 +3379,6 @@ Param.prototype.set = function(value, callback) { * Delete this parameter on the ROS server. * * @param {function} callback - The callback function. - * - * @param {function} callback - The callback function. */ Param.prototype.delete = function(callback) { var paramClient = new Service({ @@ -3471,10 +3396,8 @@ Param.prototype.delete = function(callback) { module.exports = Param; - },{"./Service":18,"./ServiceRequest":19}],17:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - baalexander@gmail.com */ @@ -3498,11 +3421,6 @@ var EventEmitter2 = require('eventemitter2').EventEmitter2; * * 'close' - Disconnected to the WebSocket server. * * <topicName> - A message came from rosbridge with the given topic name. * * <serviceID> - A service response came from rosbridge with the given ID. - * * 'error' - There was an error with ROS. - * * 'connection' - Connected to the WebSocket server. - * * 'close' - Disconnected to the WebSocket server. - * * <topicName> - A message came from rosbridge with the given topic name. - * * <serviceID> - A service response came from rosbridge with the given ID. * * @constructor * @param {Object} options @@ -3510,11 +3428,6 @@ var EventEmitter2 = require('eventemitter2').EventEmitter2; * @param {boolean} [options.groovyCompatibility=true] - Don't use interfaces that changed after the last groovy release or rosbridge_suite and related tools. * @param {string} [options.transportLibrary=websocket] - One of 'websocket', 'workersocket', 'socket.io' or RTCPeerConnection instance controlling how the connection is created in `connect`. * @param {Object} [options.transportOptions={}] - The options to use when creating a connection. Currently only used if `transportLibrary` is RTCPeerConnection. - * @param {Object} options - * @param {string} [options.url] - The WebSocket URL for rosbridge or the node server URL to connect using socket.io (if socket.io exists in the page). Can be specified later with `connect`. - * @param {boolean} [options.groovyCompatibility=true] - Don't use interfaces that changed after the last groovy release or rosbridge_suite and related tools. - * @param {string} [options.transportLibrary=websocket] - One of 'websocket', 'workersocket', 'socket.io' or RTCPeerConnection instance controlling how the connection is created in `connect`. - * @param {Object} [options.transportOptions={}] - The options to use when creating a connection. Currently only used if `transportLibrary` is RTCPeerConnection. */ function Ros(options) { options = options || {}; @@ -3548,7 +3461,6 @@ Ros.prototype.__proto__ = EventEmitter2.prototype; * Connect to the specified WebSocket. * * @param {string} url - WebSocket URL or RTCDataChannel label for rosbridge. - * @param {string} url - WebSocket URL or RTCDataChannel label for rosbridge. */ Ros.prototype.connect = function(url) { if (this.transportLibrary === 'socket.io') { @@ -3583,7 +3495,6 @@ Ros.prototype.close = function() { }; /** - * Send an authorization request to the server. * Send an authorization request to the server. * * @param {string} mac - MAC (hash) string given by the trusted source. @@ -3593,13 +3504,6 @@ Ros.prototype.close = function() { * @param {Object} t - Time of the authorization request. * @param {string} level - User level as a string given by the client. * @param {Object} end - End time of the client's session. - * @param {string} mac - MAC (hash) string given by the trusted source. - * @param {string} client - IP of the client. - * @param {string} dest - IP of the destination. - * @param {string} rand - Random string given by the trusted source. - * @param {Object} t - Time of the authorization request. - * @param {string} level - User level as a string given by the client. - * @param {Object} end - End time of the client's session. */ Ros.prototype.authenticate = function(mac, client, dest, rand, t, level, end) { // create the request @@ -3617,12 +3521,6 @@ Ros.prototype.authenticate = function(mac, client, dest, rand, t, level, end) { this.callOnConnection(auth); }; -/** - * Send an encoded message over the WebSocket. - * - * @param {Object} messageEncoded - The encoded message to be sent. - */ -Ros.prototype.sendEncodedMessage = function(messageEncoded) { /** * Send an encoded message over the WebSocket. * @@ -3647,13 +3545,10 @@ Ros.prototype.sendEncodedMessage = function(messageEncoded) { }; /** - * Send the message over the WebSocket, but queue the message up if not yet * Send the message over the WebSocket, but queue the message up if not yet * connected. * * @param {Object} message - The message to be sent. - * - * @param {Object} message - The message to be sent. */ Ros.prototype.callOnConnection = function(message) { console.log("call on connection"); @@ -3665,13 +3560,10 @@ Ros.prototype.callOnConnection = function(message) { }; /** - * Send a set_level request to the server. * Send a set_level request to the server. * * @param {string} level - Status level (none, error, warning, info). * @param {number} [id] - Operation ID to change status level on. - * @param {string} level - Status level (none, error, warning, info). - * @param {number} [id] - Operation ID to change status level on. */ Ros.prototype.setStatusLevel = function(level, id){ var levelMsg = { @@ -3684,17 +3576,12 @@ Ros.prototype.setStatusLevel = function(level, id){ }; /** - * Retrieve a list of action servers in ROS as an array of string. * Retrieve a list of action servers in ROS as an array of string. * * @param {function} callback - Function with the following params: * @param {string[]} callback.actionservers - Array of action server names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.actionservers - Array of action server names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getActionServers = function(callback, failedCallback) { var getActionServers = new Service({ @@ -3721,7 +3608,6 @@ Ros.prototype.getActionServers = function(callback, failedCallback) { }; /** - * Retrieve a list of topics in ROS as an array. * Retrieve a list of topics in ROS as an array. * * @param {function} callback - Function with the following params: @@ -3730,12 +3616,6 @@ Ros.prototype.getActionServers = function(callback, failedCallback) { * @param {string[]} callback.result.types - Array of message type names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {function} callback - Function with the following params: - * @param {Object} callback.result - The result object with the following params: - * @param {string[]} callback.result.topics - Array of topic names. - * @param {string[]} callback.result.types - Array of message type names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getTopics = function(callback, failedCallback) { var topicsClient = new Service({ @@ -3762,7 +3642,6 @@ Ros.prototype.getTopics = function(callback, failedCallback) { }; /** - * Retrieve a list of topics in ROS as an array of a specific type. * Retrieve a list of topics in ROS as an array of a specific type. * * @param {string} topicType - The topic type to find. @@ -3770,11 +3649,6 @@ Ros.prototype.getTopics = function(callback, failedCallback) { * @param {string[]} callback.topics - Array of topic names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {string} topicType - The topic type to find. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.topics - Array of topic names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getTopicsForType = function(topicType, callback, failedCallback) { var topicsForTypeClient = new Service({ @@ -3803,17 +3677,12 @@ Ros.prototype.getTopicsForType = function(topicType, callback, failedCallback) { }; /** - * Retrieve a list of active service names in ROS. * Retrieve a list of active service names in ROS. * * @param {function} callback - Function with the following params: * @param {string[]} callback.services - Array of service names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.services - Array of service names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getServices = function(callback, failedCallback) { var servicesClient = new Service({ @@ -3840,7 +3709,6 @@ Ros.prototype.getServices = function(callback, failedCallback) { }; /** - * Retrieve a list of services in ROS as an array as specific type. * Retrieve a list of services in ROS as an array as specific type. * * @param {string} serviceType - The service type to find. @@ -3848,11 +3716,6 @@ Ros.prototype.getServices = function(callback, failedCallback) { * @param {string[]} callback.topics - Array of service names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {string} serviceType - The service type to find. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.topics - Array of service names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getServicesForType = function(serviceType, callback, failedCallback) { var servicesForTypeClient = new Service({ @@ -4025,7 +3888,6 @@ Ros.prototype.getServiceRequestDetails = function(type, callback, failedCallback }; /** - * Retrieve the details of a ROS service response. * Retrieve the details of a ROS service response. * * @param {string} type - The type of the service. @@ -4034,12 +3896,6 @@ Ros.prototype.getServiceRequestDetails = function(type, callback, failedCallback * @param {string[]} callback.result.typedefs - An array containing the details of the service response. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {string} type - The type of the service. - * @param {function} callback - Function with the following params: - * @param {Object} callback.result - The result object with the following params: - * @param {string[]} callback.result.typedefs - An array containing the details of the service response. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getServiceResponseDetails = function(type, callback, failedCallback) { var serviceTypeClient = new Service({ @@ -4068,17 +3924,12 @@ Ros.prototype.getServiceResponseDetails = function(type, callback, failedCallbac }; /** - * Retrieve a list of active node names in ROS. * Retrieve a list of active node names in ROS. * * @param {function} callback - Function with the following params: * @param {string[]} callback.nodes - Array of node names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.nodes - Array of node names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getNodes = function(callback, failedCallback) { var nodesClient = new Service({ @@ -4132,33 +3983,6 @@ Ros.prototype.getNodes = function(callback, failedCallback) { * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. */ - * Retrieve a list of subscribed topics, publishing topics and services of a specific node. - *
- * These are the parameters if failedCallback is defined. - * - * @param {string} node - Name of the node. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.subscriptions - Array of subscribed topic names. - * @param {string[]} callback.publications - Array of published topic names. - * @param {string[]} callback.services - Array of service names hosted. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. - * - * @also - * - * Retrieve a list of subscribed topics, publishing topics and services of a specific node. - *
- * These are the parameters if failedCallback is undefined. - * - * @param {string} node - Name of the node. - * @param {function} callback - Function with the following params: - * @param {Object} callback.result - The result object with the following params: - * @param {string[]} callback.result.subscribing - Array of subscribed topic names. - * @param {string[]} callback.result.publishing - Array of published topic names. - * @param {string[]} callback.result.services - Array of service names hosted. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. - */ Ros.prototype.getNodeDetails = function(node, callback, failedCallback) { var nodesClient = new Service({ ros : this, @@ -4186,17 +4010,12 @@ Ros.prototype.getNodeDetails = function(node, callback, failedCallback) { }; /** - * Retrieve a list of parameter names from the ROS Parameter Server. * Retrieve a list of parameter names from the ROS Parameter Server. * * @param {function} callback - Function with the following params: * @param {string[]} callback.params - Array of param names. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {function} callback - Function with the following params: - * @param {string[]} callback.params - Array of param names. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getParams = function(callback, failedCallback) { var paramsClient = new Service({ @@ -4292,7 +4111,6 @@ Ros.prototype.getTopicType = function(topic, callback, failedCallback) { }; /** - * Retrieve the type of a ROS service. * Retrieve the type of a ROS service. * * @param {string} service - Name of the service. @@ -4300,11 +4118,6 @@ Ros.prototype.getTopicType = function(topic, callback, failedCallback) { * @param {string} callback.type - The type of the service. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {string} service - Name of the service. - * @param {function} callback - Function with the following params: - * @param {string} callback.type - The type of the service. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getServiceType = function(service, callback, failedCallback) { var serviceTypeClient = new Service({ @@ -4333,7 +4146,6 @@ Ros.prototype.getServiceType = function(service, callback, failedCallback) { }; /** - * Retrieve the details of a ROS message. * Retrieve the details of a ROS message. * * @param {string} message - The name of the message type. @@ -4341,11 +4153,6 @@ Ros.prototype.getServiceType = function(service, callback, failedCallback) { * @param {string} callback.details - An array of the message details. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {string} message - The name of the message type. - * @param {function} callback - Function with the following params: - * @param {string} callback.details - An array of the message details. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getMessageDetails = function(message, callback, failedCallback) { var messageDetailClient = new Service({ @@ -4374,11 +4181,9 @@ Ros.prototype.getMessageDetails = function(message, callback, failedCallback) { }; /** - * Decode a typedef array into a dictionary like `rosmsg show foo/bar`. * Decode a typedef array into a dictionary like `rosmsg show foo/bar`. * * @param {Object[]} defs - Array of type_def dictionary. - * @param {Object[]} defs - Array of type_def dictionary. */ Ros.prototype.decodeTypeDefs = function(defs) { var that = this; @@ -4427,7 +4232,6 @@ Ros.prototype.decodeTypeDefs = function(defs) { }; /** - * Retrieve a list of topics and their associated type definitions. * Retrieve a list of topics and their associated type definitions. * * @param {function} callback - Function with the following params: @@ -4437,13 +4241,6 @@ Ros.prototype.decodeTypeDefs = function(defs) { * @param {string[]} callback.result.typedefs_full_text - Array of full definitions of message types, similar to `gendeps --cat`. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {function} callback - Function with the following params: - * @param {Object} callback.result - The result object with the following params: - * @param {string[]} callback.result.topics - Array of topic names. - * @param {string[]} callback.result.types - Array of message type names. - * @param {string[]} callback.result.typedefs_full_text - Array of full definitions of message types, similar to `gendeps --cat`. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Ros.prototype.getTopicsAndRawTypes = function(callback, failedCallback) { var topicsAndRawTypesClient = new Service({ @@ -4474,7 +4271,6 @@ module.exports = Ros; },{"../util/workerSocket":54,"./Service":18,"./ServiceRequest":19,"./SocketAdapter.js":21,"eventemitter2":2,"object-assign":3,"ws":51}],18:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - baalexander@gmail.com */ @@ -4491,10 +4287,6 @@ var EventEmitter2 = require('eventemitter2').EventEmitter2; * @param {Ros} options.ros - The ROSLIB.Ros connection handle. * @param {string} options.name - The service name, like '/add_two_ints'. * @param {string} options.serviceType - The service type, like 'rospy_tutorials/AddTwoInts'. - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} options.name - The service name, like '/add_two_ints'. - * @param {string} options.serviceType - The service type, like 'rospy_tutorials/AddTwoInts'. */ function Service(options) { options = options || {}; @@ -4507,7 +4299,6 @@ function Service(options) { } Service.prototype.__proto__ = EventEmitter2.prototype; /** - * Call the service. Returns the service response in the * Call the service. Returns the service response in the * callback. Does nothing if this service is currently advertised. * @@ -4516,11 +4307,6 @@ Service.prototype.__proto__ = EventEmitter2.prototype; * @param {Object} callback.response - The response from the service request. * @param {function} [failedCallback] - The callback function when the service call failed with params: * @param {string} failedCallback.error - The error message reported by ROS. - * @param {ServiceRequest} request - The ROSLIB.ServiceRequest to send. - * @param {function} callback - Function with the following params: - * @param {Object} callback.response - The response from the service request. - * @param {function} [failedCallback] - The callback function when the service call failed with params: - * @param {string} failedCallback.error - The error message reported by ROS. */ Service.prototype.callService = function(request, callback, failedCallback) { if (this.isAdvertised) { @@ -4561,11 +4347,6 @@ Service.prototype.callService = function(request, callback, failedCallback) { * @param {Object} callback.response - An empty dictionary. Take care not to overwrite this. Instead, only modify the values within. * It should return true if the service has finished successfully, * i.e., without any fatal errors. - * @param {function} callback - This works similarly to the callback for a C++ service and should take the following params: - * @param {ServiceRequest} callback.request - The service request. - * @param {Object} callback.response - An empty dictionary. Take care not to overwrite this. Instead, only modify the values within. - * It should return true if the service has finished successfully, - * i.e., without any fatal errors. */ Service.prototype.advertise = function(callback) { if (this.isAdvertised || typeof callback !== 'function') { @@ -4615,7 +4396,6 @@ module.exports = Service; },{"./ServiceRequest":19,"./ServiceResponse":20,"eventemitter2":2}],19:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - balexander@willowgarage.com */ @@ -4627,7 +4407,6 @@ var assign = require('object-assign'); * * @constructor * @param {Object} values - Object matching the fields defined in the .srv definition file. - * @param {Object} values - Object matching the fields defined in the .srv definition file. */ function ServiceRequest(values) { assign(this, values); @@ -4636,7 +4415,6 @@ function ServiceRequest(values) { module.exports = ServiceRequest; },{"object-assign":3}],20:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - balexander@willowgarage.com */ @@ -4648,7 +4426,6 @@ var assign = require('object-assign'); * * @constructor * @param {Object} values - Object matching the fields defined in the .srv definition file. - * @param {Object} values - Object matching the fields defined in the .srv definition file. */ function ServiceResponse(values) { assign(this, values); @@ -4675,7 +4452,6 @@ if(typeof bson !== 'undefined'){ } /** - * Event listeners for a WebSocket or TCP socket to a JavaScript * Event listeners for a WebSocket or TCP socket to a JavaScript * ROS Client. Sets up Messages for a given topic to trigger an * event on the ROS client. @@ -4730,11 +4506,9 @@ function SocketAdapter(client) { return { /** - * Emit a 'connection' event on WebSocket connection. * Emit a 'connection' event on WebSocket connection. * * @param {function} event - The argument to emit with the event. - * @param {function} event - The argument to emit with the event. * @memberof SocketAdapter */ onopen: function onOpen(event) { @@ -4743,11 +4517,9 @@ function SocketAdapter(client) { }, /** - * Emit a 'close' event on WebSocket disconnection. * Emit a 'close' event on WebSocket disconnection. * * @param {function} event - The argument to emit with the event. - * @param {function} event - The argument to emit with the event. * @memberof SocketAdapter */ onclose: function onClose(event) { @@ -4756,11 +4528,9 @@ function SocketAdapter(client) { }, /** - * Emit an 'error' event whenever there was an error. * Emit an 'error' event whenever there was an error. * * @param {function} event - The argument to emit with the event. - * @param {function} event - The argument to emit with the event. * @memberof SocketAdapter */ onerror: function onError(event) { @@ -4768,12 +4538,10 @@ function SocketAdapter(client) { }, /** - * Parse message responses from rosbridge and send to the appropriate * Parse message responses from rosbridge and send to the appropriate * topic, service, or param. * * @param {Object} data - The raw JSON message from rosbridge. - * @param {Object} data - The raw JSON message from rosbridge. * @memberof SocketAdapter */ onmessage: function onMessage(data) { @@ -4800,7 +4568,6 @@ module.exports = SocketAdapter; },{"../util/cborTypedArrayTags":49,"../util/decompressPng":53,"cbor-js":1}],22:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Brandon Alexander - baalexander@gmail.com */ @@ -4814,8 +4581,6 @@ var Message = require('./Message'); * Emits the following events: * * 'warning' - If there are any warning during the Topic creation. * * 'message' - The message data from rosbridge. - * * 'warning' - If there are any warning during the Topic creation. - * * 'message' - The message data from rosbridge. * * @constructor * @param {Object} options @@ -4828,16 +4593,6 @@ var Message = require('./Message'); * @param {boolean} [options.latch=false] - Latch the topic when publishing. * @param {number} [options.queue_length=0] - The queue length at bridge side used when subscribing. * @param {boolean} [options.reconnect_on_close=true] - The flag to enable resubscription and readvertisement on close event. - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} options.name - The topic name, like '/cmd_vel'. - * @param {string} options.messageType - The message type, like 'std_msgs/String'. - * @param {string} [options.compression=none] - The type of compression to use, like 'png', 'cbor', or 'cbor-raw'. - * @param {number} [options.throttle_rate=0] - The rate (in ms in between messages) at which to throttle the topics. - * @param {number} [options.queue_size=100] - The queue created at bridge side for re-publishing webtopics. - * @param {boolean} [options.latch=false] - Latch the topic when publishing. - * @param {number} [options.queue_length=0] - The queue length at bridge side used when subscribing. - * @param {boolean} [options.reconnect_on_close=true] - The flag to enable resubscription and readvertisement on close event. */ function Topic(options) { options = options || {}; @@ -4901,8 +4656,6 @@ Topic.prototype.__proto__ = EventEmitter2.prototype; * * @param {function} callback - Function with the following params: * @param {Object} callback.message - The published message. - * @param {function} callback - Function with the following params: - * @param {Object} callback.message - The published message. */ Topic.prototype.subscribe = function(callback) { if (typeof callback === 'function') { @@ -4926,9 +4679,6 @@ Topic.prototype.subscribe = function(callback) { }; /** - * Unregister as a subscriber for the topic. Unsubscribing will stop - * and remove all subscribe callbacks. To remove a callback, you must - * explicitly pass the callback function in. * Unregister as a subscriber for the topic. Unsubscribing will stop * and remove all subscribe callbacks. To remove a callback, you must * explicitly pass the callback function in. @@ -4936,9 +4686,6 @@ Topic.prototype.subscribe = function(callback) { * @param {function} [callback] - The callback to unregister, if * provided and other listeners are registered the topic won't * unsubscribe, just stop emitting to the passed listener. - * @param {function} [callback] - The callback to unregister, if - * provided and other listeners are registered the topic won't - * unsubscribe, just stop emitting to the passed listener. */ Topic.prototype.unsubscribe = function(callback) { if (callback) { @@ -4963,7 +4710,6 @@ Topic.prototype.unsubscribe = function(callback) { /** - * Register as a publisher for the topic. * Register as a publisher for the topic. */ Topic.prototype.advertise = function() { @@ -4990,7 +4736,6 @@ Topic.prototype.advertise = function() { }; /** - * Unregister as a publisher for the topic. * Unregister as a publisher for the topic. */ Topic.prototype.unadvertise = function() { @@ -5013,7 +4758,6 @@ Topic.prototype.unadvertise = function() { * Publish the message. * * @param {Message} message - A ROSLIB.Message object. - * @param {Message} message - A ROSLIB.Message object. */ Topic.prototype.publish = function(message) { if (!this.isAdvertised) { @@ -5050,7 +4794,6 @@ mixin(core.Ros, ['Param', 'Service', 'Topic'], core); },{"../mixin":29,"./Message":15,"./Param":16,"./Ros":17,"./Service":18,"./ServiceRequest":19,"./ServiceResponse":20,"./Topic":22}],24:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author David Gossow - dgossow@willowgarage.com */ @@ -5065,10 +4808,6 @@ var Quaternion = require('./Quaternion'); * @param {Object} options * @param {Vector3} options.position - The ROSLIB.Vector3 describing the position. * @param {Quaternion} options.orientation - The ROSLIB.Quaternion describing the orientation. - * @constructor - * @param {Object} options - * @param {Vector3} options.position - The ROSLIB.Vector3 describing the position. - * @param {Quaternion} options.orientation - The ROSLIB.Quaternion describing the orientation. */ function Pose(options) { options = options || {}; @@ -5081,7 +4820,6 @@ function Pose(options) { * Apply a transform against this pose. * * @param {Transform} tf - The transform to be applied. - * @param {Transform} tf - The transform to be applied. */ Pose.prototype.applyTransform = function(tf) { this.position.multiplyQuaternion(tf.rotation); @@ -5095,18 +4833,15 @@ Pose.prototype.applyTransform = function(tf) { * Clone a copy of this pose. * * @returns {Pose} The cloned pose. - * @returns {Pose} The cloned pose. */ Pose.prototype.clone = function() { return new Pose(this); }; /** - * Multiply this pose with another pose without altering this pose. * Multiply this pose with another pose without altering this pose. * * @returns {Pose} The result of the multiplication. - * @returns {Pose} The result of the multiplication. */ Pose.prototype.multiply = function(pose) { var p = pose.clone(); @@ -5115,11 +4850,9 @@ Pose.prototype.multiply = function(pose) { }; /** - * Compute the inverse of this pose. * Compute the inverse of this pose. * * @returns {Pose} The inverse of the pose. - * @returns {Pose} The inverse of the pose. */ Pose.prototype.getInverse = function() { var inverse = this.clone(); @@ -5133,10 +4866,8 @@ Pose.prototype.getInverse = function() { module.exports = Pose; - },{"./Quaternion":25,"./Vector3":27}],25:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author David Gossow - dgossow@willowgarage.com */ @@ -5150,12 +4881,6 @@ module.exports = Pose; * @param {number} [options.y=0] - The y value. * @param {number} [options.z=0] - The z value. * @param {number} [options.w=1] - The w value. - * @constructor - * @param {Object} options - * @param {number} [options.x=0] - The x value. - * @param {number} [options.y=0] - The y value. - * @param {number} [options.z=0] - The z value. - * @param {number} [options.w=1] - The w value. */ function Quaternion(options) { options = options || {}; @@ -5212,7 +4937,6 @@ Quaternion.prototype.invert = function() { * Set the values of this quaternion to the product of itself and the given quaternion. * * @param {Quaternion} q - The quaternion to multiply with. - * @param {Quaternion} q - The quaternion to multiply with. */ Quaternion.prototype.multiply = function(q) { var newX = this.x * q.w + this.y * q.z - this.z * q.y + this.w * q.x; @@ -5229,7 +4953,6 @@ Quaternion.prototype.multiply = function(q) { * Clone a copy of this quaternion. * * @returns {Quaternion} The cloned quaternion. - * @returns {Quaternion} The cloned quaternion. */ Quaternion.prototype.clone = function() { return new Quaternion(this); @@ -5239,7 +4962,6 @@ module.exports = Quaternion; },{}],26:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author David Gossow - dgossow@willowgarage.com */ @@ -5254,10 +4976,6 @@ var Quaternion = require('./Quaternion'); * @param {Object} options * @param {Vector3} options.translation - The ROSLIB.Vector3 describing the translation. * @param {Quaternion} options.rotation - The ROSLIB.Quaternion describing the rotation. - * @constructor - * @param {Object} options - * @param {Vector3} options.translation - The ROSLIB.Vector3 describing the translation. - * @param {Quaternion} options.rotation - The ROSLIB.Quaternion describing the rotation. */ function Transform(options) { options = options || {}; @@ -5270,7 +4988,6 @@ function Transform(options) { * Clone a copy of this transform. * * @returns {Transform} The cloned transform. - * @returns {Transform} The cloned transform. */ Transform.prototype.clone = function() { return new Transform(this); @@ -5278,10 +4995,8 @@ Transform.prototype.clone = function() { module.exports = Transform; - },{"./Quaternion":25,"./Vector3":27}],27:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author David Gossow - dgossow@willowgarage.com */ @@ -5294,11 +5009,6 @@ module.exports = Transform; * @param {number} [options.x=0] - The x value. * @param {number} [options.y=0] - The y value. * @param {number} [options.z=0] - The z value. - * @constructor - * @param {Object} options - * @param {number} [options.x=0] - The x value. - * @param {number} [options.y=0] - The y value. - * @param {number} [options.z=0] - The z value. */ function Vector3(options) { options = options || {}; @@ -5311,7 +5021,6 @@ function Vector3(options) { * Set the values of this vector to the sum of itself and the given vector. * * @param {Vector3} v - The vector to add with. - * @param {Vector3} v - The vector to add with. */ Vector3.prototype.add = function(v) { this.x += v.x; @@ -5323,7 +5032,6 @@ Vector3.prototype.add = function(v) { * Set the values of this vector to the difference of itself and the given vector. * * @param {Vector3} v - The vector to subtract with. - * @param {Vector3} v - The vector to subtract with. */ Vector3.prototype.subtract = function(v) { this.x -= v.x; @@ -5335,7 +5043,6 @@ Vector3.prototype.subtract = function(v) { * Multiply the given Quaternion with this vector. * * @param {Quaternion} q - The quaternion to multiply with. - * @param {Quaternion} q - The quaternion to multiply with. */ Vector3.prototype.multiplyQuaternion = function(q) { var ix = q.w * this.x + q.y * this.z - q.z * this.y; @@ -5351,7 +5058,6 @@ Vector3.prototype.multiplyQuaternion = function(q) { * Clone a copy of this vector. * * @returns {Vector3} The cloned vector. - * @returns {Vector3} The cloned vector. */ Vector3.prototype.clone = function() { return new Vector3(this); @@ -5359,7 +5065,6 @@ Vector3.prototype.clone = function() { module.exports = Vector3; - },{}],28:[function(require,module,exports){ module.exports = { Pose: require('./Pose'), @@ -5573,24 +5278,11 @@ var Transform = require('../math/Transform'); * @param {number} [options.topicTimeout=2.0] - The timeout parameter for the TF republisher. * @param {string} [options.serverName=/tf2_web_republisher] - The name of the tf2_web_republisher server. * @param {string} [options.repubServiceName=/republish_tfs] - The name of the republish_tfs service (non groovy compatibility mode only). - * @constructor - * @param {Object} options - * @param {Ros} options.ros - The ROSLIB.Ros connection handle. - * @param {string} [options.fixedFrame=base_link] - The fixed frame. - * @param {number} [options.angularThres=2.0] - The angular threshold for the TF republisher. - * @param {number} [options.transThres=0.01] - The translation threshold for the TF republisher. - * @param {number} [options.rate=10.0] - The rate for the TF republisher. - * @param {number} [options.updateDelay=50] - The time (in ms) to wait after a new subscription - * to update the TF republisher's list of TFs. - * @param {number} [options.topicTimeout=2.0] - The timeout parameter for the TF republisher. - * @param {string} [options.serverName=/tf2_web_republisher] - The name of the tf2_web_republisher server. - * @param {string} [options.repubServiceName=/republish_tfs] - The name of the republish_tfs service (non groovy compatibility mode only). */ function TFClient(options) { options = options || {}; this.ros = options.ros; this.fixedFrame = options.fixedFrame || 'base_link'; - this.fixedFrame = options.fixedFrame || 'base_link'; this.angularThres = options.angularThres || 2.0; this.transThres = options.transThres || 0.01; this.rate = options.rate || 10.0; @@ -5612,7 +5304,6 @@ function TFClient(options) { this._subscribeCB = null; this._isDisposed = false; - // Create an Action Client // Create an Action Client this.actionClient = new ActionClient({ ros : options.ros, @@ -5622,7 +5313,6 @@ function TFClient(options) { omitResult : true }); - // Create a Service Client // Create a Service Client this.serviceClient = new Service({ ros: options.ros, @@ -5636,7 +5326,6 @@ function TFClient(options) { * functions. * * @param {Object} tf - The TF message from the server. - * @param {Object} tf - The TF message from the server. */ TFClient.prototype.processTFArray = function(tf) { var that = this; @@ -5702,10 +5391,8 @@ TFClient.prototype.updateGoal = function() { /** * Process the service response and subscribe to the tf republisher * topic. - * topic. * * @param {Object} response - The service response containing the topic name. - * @param {Object} response - The service response containing the topic name. */ TFClient.prototype.processResponse = function(response) { // Do not setup a topic subscription if already disposed. Prevents a race condition where @@ -5735,9 +5422,6 @@ TFClient.prototype.processResponse = function(response) { * @param {string} frameID - The TF frame to subscribe to. * @param {function} callback - Function with the following params: * @param {Transform} callback.transform - The transform data. - * @param {string} frameID - The TF frame to subscribe to. - * @param {function} callback - Function with the following params: - * @param {Transform} callback.transform - The transform data. */ TFClient.prototype.subscribe = function(frameID, callback) { // remove leading slash, if it's there @@ -5746,7 +5430,6 @@ TFClient.prototype.subscribe = function(frameID, callback) { frameID = frameID.substring(1); } // if there is no callback registered for the given frame, create empty callback list - // if there is no callback registered for the given frame, create empty callback list if (!this.frameInfos[frameID]) { this.frameInfos[frameID] = { cbs: [] @@ -5757,7 +5440,6 @@ TFClient.prototype.subscribe = function(frameID, callback) { } } // if we already have a transform, callback immediately - // if we already have a transform, callback immediately else if (this.frameInfos[frameID].transform) { callback(this.frameInfos[frameID].transform); } @@ -5769,8 +5451,6 @@ TFClient.prototype.subscribe = function(frameID, callback) { * * @param {string} frameID - The TF frame to unsubscribe from. * @param {function} callback - The callback function to remove. - * @param {string} frameID - The TF frame to unsubscribe from. - * @param {function} callback - The callback function to remove. */ TFClient.prototype.unsubscribe = function(frameID, callback) { // remove leading slash, if it's there @@ -5813,7 +5493,6 @@ var tf = module.exports = { mixin(Ros, ['TFClient'], tf); },{"../core/Ros":17,"../mixin":29,"./TFClient":35}],37:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -5828,8 +5507,6 @@ var UrdfTypes = require('./UrdfTypes'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfBox(options) { this.dimension = null; @@ -5848,7 +5525,6 @@ module.exports = UrdfBox; },{"../math/Vector3":27,"./UrdfTypes":46}],38:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -5860,8 +5536,6 @@ module.exports = UrdfBox; * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfColor(options) { // Parse the xml string @@ -5876,7 +5550,6 @@ module.exports = UrdfColor; },{}],39:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -5890,8 +5563,6 @@ var UrdfTypes = require('./UrdfTypes'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfCylinder(options) { this.type = UrdfTypes.URDF_CYLINDER; @@ -5905,7 +5576,6 @@ module.exports = UrdfCylinder; /** * @fileOverview * @author David V. Lu!! - davidvlu@gmail.com - * @author David V. Lu!! - davidvlu@gmail.com */ var Pose = require('../math/Pose'); @@ -5918,8 +5588,6 @@ var Quaternion = require('../math/Quaternion'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfJoint(options) { this.name = options.xml.getAttribute('name'); @@ -5999,7 +5667,6 @@ module.exports = UrdfJoint; },{"../math/Pose":24,"../math/Quaternion":25,"../math/Vector3":27}],41:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -6013,8 +5680,6 @@ var UrdfVisual = require('./UrdfVisual'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfLink(options) { this.name = options.xml.getAttribute('name'); @@ -6032,7 +5697,6 @@ module.exports = UrdfLink; },{"./UrdfVisual":47}],42:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -6046,8 +5710,6 @@ var UrdfColor = require('./UrdfColor'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfMaterial(options) { this.textureFilename = null; @@ -6085,7 +5747,6 @@ module.exports = UrdfMaterial; },{"./UrdfColor":38,"object-assign":3}],43:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -6100,8 +5761,6 @@ var UrdfTypes = require('./UrdfTypes'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfMesh(options) { this.scale = null; @@ -6146,9 +5805,6 @@ var XPATH_FIRST_ORDERED_NODE_TYPE = 9; * @param {Object} options * @param {Element} options.xml - The XML element to parse. * @param {string} options.string - The XML element to parse as a string. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. - * @param {string} options.string - The XML element to parse as a string. */ function UrdfModel(options) { options = options || {}; @@ -6226,7 +5882,6 @@ module.exports = UrdfModel; },{"./UrdfJoint":40,"./UrdfLink":41,"./UrdfMaterial":42,"@xmldom/xmldom":50}],45:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -6240,8 +5895,6 @@ var UrdfTypes = require('./UrdfTypes'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfSphere(options) { this.type = UrdfTypes.URDF_SPHERE; @@ -6260,7 +5913,6 @@ module.exports = { },{}],47:[function(require,module,exports){ /** - * @fileOverview * @fileOverview * @author Benjamin Pitzer - ben.pitzer@gmail.com * @author Russell Toris - rctoris@wpi.edu @@ -6282,8 +5934,6 @@ var UrdfSphere = require('./UrdfSphere'); * @constructor * @param {Object} options * @param {Element} options.xml - The XML element to parse. - * @param {Object} options - * @param {Element} options.xml - The XML element to parse. */ function UrdfVisual(options) { var xml = options.xml; @@ -6420,7 +6070,6 @@ function warnPrecision() { } /** - * Unpack 64-bit unsigned integer from byte array. * Unpack 64-bit unsigned integer from byte array. * @param {Uint8Array} bytes */ @@ -6446,7 +6095,6 @@ function decodeUint64LE(bytes) { } /** - * Unpack 64-bit signed integer from byte array. * Unpack 64-bit signed integer from byte array. * @param {Uint8Array} bytes */ @@ -6473,11 +6121,9 @@ function decodeInt64LE(bytes) { } /** - * Unpack typed array from byte array. * Unpack typed array from byte array. * @param {Uint8Array} bytes * @param {type} ArrayType - Desired output array type - * @param {type} ArrayType - Desired output array type */ function decodeNativeArray(bytes, ArrayType) { var byteLen = bytes.byteLength; @@ -6487,10 +6133,6 @@ function decodeNativeArray(bytes, ArrayType) { } /** - * Supports a subset of draft CBOR typed array tags: - * - * - * Only supports little-endian tags for now. * Supports a subset of draft CBOR typed array tags: * * @@ -6516,7 +6158,6 @@ var conversionArrayTypes = { }; /** - * Handle CBOR typed array tags during decoding. * Handle CBOR typed array tags during decoding. * @param {Uint8Array} data * @param {Number} tag @@ -6569,9 +6210,6 @@ var Image = Canvas.Image || window.Image; * @param data - An object containing the PNG data. * @param callback - Function with the following params: * @param callback.data - The uncompressed data. - * @param data - An object containing the PNG data. - * @param callback - Function with the following params: - * @param callback.data - The uncompressed data. */ function decompressPng(data, callback) { // Uncompresses the data before sending it through (use image/canvas to do so). diff --git a/build/roslib.min.js b/build/roslib.min.js index 506562ba1..27c0f6242 100644 --- a/build/roslib.min.js +++ b/build/roslib.min.js @@ -1 +1 @@ -!function n(r,s,o){function a(t,e){if(!s[t]){if(!r[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}i=s[t]={exports:{}},r[t][0].call(i.exports,function(e){return a(r[t][1][e]||e)},i,i.exports,n,r,s,o)}return s[t].exports}for(var c="function"==typeof require&&require,e=0;e>2),s=0;s>6):(s<55296?n.push(224|s>>12):(s=65536+((s=(1023&s)<<10)|1023&t.charCodeAt(++r)),n.push(240|s>>18),n.push(128|s>>12&63)),n.push(128|s>>6&63)),n.push(128|63&s))}return m(3,n.length),p(n);default:if(Array.isArray(t))for(m(4,o=t.length),r=0;r>5!==e)throw"Invalid indefinite length element";return i}function M(e,t){for(var i=0;i>10),e.push(56320|1023&n))}}"function"!=typeof d&&(d=function(e){return e}),"function"!=typeof y&&(y=function(){return A});var e=function e(){var t,i,n=x(),r=n>>5,n=31&n;if(7==r)switch(n){case 25:var s=new ArrayBuffer(4),s=new DataView(s),o=T(),a=31744&o,c=1023&o;if(31744===a)a=261120;else if(0!==a)a+=114688;else if(0!=c)return c*U;return s.setUint32(0,(32768&o)<<16|a<<13|c<<13),s.getFloat32(0);case 26:return w(g.getFloat32(b),4);case 27:return w(g.getFloat64(b),8)}if((t=S(n))<0&&(r<2||6this._maxListeners&&(l._listeners.warned=!0,f.call(this,l._listeners.length,c))):l._listeners=t,!0;return!0}.call(this,e,t,i):this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),i?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&0this._maxListeners&&(this._events[e].warned=!0,f.call(this,this._events[e].length,e))):this._events[e]=t,r},r.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var i=[];if(this.wildcard){var n="string"==typeof e?e.split(this.delimiter):e.slice();if(!(i=_.call(this,null,n,this.listenerTree,0)))return this}else{if(!this._events[e])return this;o=this._events[e],i.push({_listeners:o})}for(var r=0;rt.secs)&&(e.secs>2),r=0;r>6):(r<55296?n.push(224|r>>12):(r=65536+((r=(1023&r)<<10)|1023&t.charCodeAt(++s)),n.push(240|r>>18),n.push(128|r>>12&63)),n.push(128|r>>6&63)),n.push(128|63&r))}return m(3,n.length),p(n);default:if(Array.isArray(t))for(m(4,o=t.length),s=0;s>5!==e)throw"Invalid indefinite length element";return i}function A(e,t){for(var i=0;i>10),e.push(56320|1023&n))}}"function"!=typeof d&&(d=function(e){return e}),"function"!=typeof y&&(y=function(){return M});var e=function e(){var t,i,n=T(),s=n>>5,n=31&n;if(7==s)switch(n){case 25:var r=new ArrayBuffer(4),r=new DataView(r),o=x(),a=31744&o,c=1023&o;if(31744===a)a=261120;else if(0!==a)a+=114688;else if(0!=c)return c*U;return r.setUint32(0,(32768&o)<<16|a<<13|c<<13),r.getFloat32(0);case 26:return w(g.getFloat32(b),4);case 27:return w(g.getFloat64(b),8)}if((t=S(n))<0&&(s<2||6this._maxListeners&&(l._listeners.warned=!0,f.call(this,l._listeners.length,c))):l._listeners=t,!0;return!0}.call(this,e,t,i):this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),i?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&0this._maxListeners&&(this._events[e].warned=!0,f.call(this,this._events[e].length,e))):this._events[e]=t,s},s.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var i=[];if(this.wildcard){var n="string"==typeof e?e.split(this.delimiter):e.slice();if(!(i=_.call(this,null,n,this.listenerTree,0)))return this}else{if(!this._events[e])return this;o=this._events[e],i.push({_listeners:o})}for(var s=0;st.secs)&&(e.secs Date: Sat, 22 Apr 2023 00:20:43 -0700 Subject: [PATCH 2/4] Remove console.log calls --- build/roslib.js | 4 ---- build/roslib.min.js | 2 +- src/core/Param.js | 1 - src/core/Ros.js | 1 - src/ros2action/Actions.js | 2 -- 5 files changed, 1 insertion(+), 9 deletions(-) diff --git a/build/roslib.js b/build/roslib.js index 2292d4ea7..bff09ace0 100644 --- a/build/roslib.js +++ b/build/roslib.js @@ -3348,7 +3348,6 @@ Param.prototype.get = function(callback) { }); paramClient.callService(request, function(result) { - console.log("result of get param ", result.value) var value = JSON.stringify(result.value); callback(value); }); @@ -3551,7 +3550,6 @@ Ros.prototype.sendEncodedMessage = function(messageEncoded) { * @param {Object} message - The message to be sent. */ Ros.prototype.callOnConnection = function(message) { - console.log("call on connection"); if (this.transportOptions.encoder) { this.transportOptions.encoder(message, this._sendFunc); } else { @@ -5157,12 +5155,10 @@ function ActionHandle(options) { }; this.on("feedback", function (msg) { - //console.log("feedback", msg.values); that.feedback = msg.values; }) this.on("result", function (msg) { - console.log("result", msg); that.status = msg.values; }) diff --git a/build/roslib.min.js b/build/roslib.min.js index 27c0f6242..910d95d44 100644 --- a/build/roslib.min.js +++ b/build/roslib.min.js @@ -1 +1 @@ -!function n(s,r,o){function a(t,e){if(!r[t]){if(!s[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}i=r[t]={exports:{}},s[t][0].call(i.exports,function(e){return a(s[t][1][e]||e)},i,i.exports,n,s,r,o)}return r[t].exports}for(var c="function"==typeof require&&require,e=0;e>2),r=0;r>6):(r<55296?n.push(224|r>>12):(r=65536+((r=(1023&r)<<10)|1023&t.charCodeAt(++s)),n.push(240|r>>18),n.push(128|r>>12&63)),n.push(128|r>>6&63)),n.push(128|63&r))}return m(3,n.length),p(n);default:if(Array.isArray(t))for(m(4,o=t.length),s=0;s>5!==e)throw"Invalid indefinite length element";return i}function A(e,t){for(var i=0;i>10),e.push(56320|1023&n))}}"function"!=typeof d&&(d=function(e){return e}),"function"!=typeof y&&(y=function(){return M});var e=function e(){var t,i,n=T(),s=n>>5,n=31&n;if(7==s)switch(n){case 25:var r=new ArrayBuffer(4),r=new DataView(r),o=x(),a=31744&o,c=1023&o;if(31744===a)a=261120;else if(0!==a)a+=114688;else if(0!=c)return c*U;return r.setUint32(0,(32768&o)<<16|a<<13|c<<13),r.getFloat32(0);case 26:return w(g.getFloat32(b),4);case 27:return w(g.getFloat64(b),8)}if((t=S(n))<0&&(s<2||6this._maxListeners&&(l._listeners.warned=!0,f.call(this,l._listeners.length,c))):l._listeners=t,!0;return!0}.call(this,e,t,i):this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),i?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&0this._maxListeners&&(this._events[e].warned=!0,f.call(this,this._events[e].length,e))):this._events[e]=t,s},s.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var i=[];if(this.wildcard){var n="string"==typeof e?e.split(this.delimiter):e.slice();if(!(i=_.call(this,null,n,this.listenerTree,0)))return this}else{if(!this._events[e])return this;o=this._events[e],i.push({_listeners:o})}for(var s=0;st.secs)&&(e.secs>2),r=0;r>6):(r<55296?n.push(224|r>>12):(r=65536+((r=(1023&r)<<10)|1023&t.charCodeAt(++s)),n.push(240|r>>18),n.push(128|r>>12&63)),n.push(128|r>>6&63)),n.push(128|63&r))}return m(3,n.length),p(n);default:if(Array.isArray(t))for(m(4,o=t.length),s=0;s>5!==e)throw"Invalid indefinite length element";return i}function A(e,t){for(var i=0;i>10),e.push(56320|1023&n))}}"function"!=typeof d&&(d=function(e){return e}),"function"!=typeof y&&(y=function(){return M});var e=function e(){var t,i,n=T(),s=n>>5,n=31&n;if(7==s)switch(n){case 25:var r=new ArrayBuffer(4),r=new DataView(r),o=x(),a=31744&o,c=1023&o;if(31744===a)a=261120;else if(0!==a)a+=114688;else if(0!=c)return c*U;return r.setUint32(0,(32768&o)<<16|a<<13|c<<13),r.getFloat32(0);case 26:return w(g.getFloat32(b),4);case 27:return w(g.getFloat64(b),8)}if((t=S(n))<0&&(s<2||6this._maxListeners&&(l._listeners.warned=!0,f.call(this,l._listeners.length,c))):l._listeners=t,!0;return!0}.call(this,e,t,i):this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),i?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&0this._maxListeners&&(this._events[e].warned=!0,f.call(this,this._events[e].length,e))):this._events[e]=t,s},s.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var i=[];if(this.wildcard){var n="string"==typeof e?e.split(this.delimiter):e.slice();if(!(i=_.call(this,null,n,this.listenerTree,0)))return this}else{if(!this._events[e])return this;o=this._events[e],i.push({_listeners:o})}for(var s=0;st.secs)&&(e.secs Date: Sat, 22 Apr 2023 00:47:52 -0700 Subject: [PATCH 3/4] Downgrade Puppeteer to 19.2.0 due to arm64 compatibility issues --- package-lock.json | 446 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 317 insertions(+), 129 deletions(-) diff --git a/package-lock.json b/package-lock.json index b37a622e6..f1f53d2eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,9 +46,9 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz", + "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==", "dev": true, "dependencies": { "@babel/highlight": "^7.18.6" @@ -172,6 +172,100 @@ "node": ">=0.1.90" } }, + "node_modules/@puppeteer/browsers": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-0.5.0.tgz", + "integrity": "sha512-Uw6oB7VvmPRLE4iKsjuOh8zgDabhNX67dzo8U/BB0f9527qx+4eeUs+korU98OhG5C4ubg7ufBgVi63XYwS6TQ==", + "dev": true, + "dependencies": { + "debug": "4.3.4", + "extract-zip": "2.0.1", + "https-proxy-agent": "5.0.1", + "progress": "2.0.3", + "proxy-from-env": "1.1.0", + "tar-fs": "2.1.1", + "unbzip2-stream": "1.4.3", + "yargs": "17.7.1" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=14.1.0" + }, + "peerDependencies": { + "typescript": ">= 4.7.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@puppeteer/browsers/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@puppeteer/browsers/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@puppeteer/browsers/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/@puppeteer/browsers/node_modules/yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "dev": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@puppeteer/browsers/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "engines": { + "node": ">=12" + } + }, "node_modules/@socket.io/base64-arraybuffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@socket.io/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", @@ -238,10 +332,16 @@ "@types/node": "*" } }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, "node_modules/@xmldom/xmldom": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.4.tgz", - "integrity": "sha512-JIsjTbWBWJHb2t1D4UNZIJ6ohlRYCdoGzeHSzTorMH2zOq3UKlSBzFBMBdFK3xnUD/ANHw/SUzl/vx0z0JrqRw==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.1.tgz", + "integrity": "sha512-4wOae+5N2RZ+CZXd9ZKwkaDi55IxrSTOjHpxTvQQ4fomtOJmqVxbmICA9jE1jvnqNhpfgz8cnfFagG86wV/xLQ==", "engines": { "node": ">=10.0.0" } @@ -484,9 +584,9 @@ } }, "node_modules/async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", "dev": true, "dependencies": { "lodash": "^4.17.14" @@ -583,9 +683,9 @@ } }, "node_modules/bl/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -1114,6 +1214,18 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, + "node_modules/chromium-bidi": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.6.tgz", + "integrity": "sha512-TQOkWRaLI/IWvoP8XC+7jO4uHTIiAUiklXU1T0qszlUFEai9LgKXIBXy3pOS3EnQZ3bQtMbKUPkug0fTAEHCSw==", + "dev": true, + "dependencies": { + "mitt": "3.0.0" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, "node_modules/cipher-base": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", @@ -1288,9 +1400,9 @@ } }, "node_modules/cosmiconfig": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz", + "integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==", "dev": true, "dependencies": { "import-fresh": "^3.2.1", @@ -1300,6 +1412,9 @@ }, "engines": { "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" } }, "node_modules/cosmiconfig/node_modules/argparse": { @@ -1568,9 +1683,9 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.1068969", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1068969.tgz", - "integrity": "sha512-ATFTrPbY1dKYhPPvpjtwWKSK2mIwGmRwX54UASn9THEuIZCe2n9k3vVuMmt6jWeL+e5QaaguEv/pMyR+JQB7VQ==", + "version": "0.0.1107588", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz", + "integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg==", "dev": true }, "node_modules/di": { @@ -1750,9 +1865,9 @@ } }, "node_modules/engine.io": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.1.tgz", - "integrity": "sha512-ECceEFcAaNRybd3lsGQKas3ZlMVjN3cyWwMP25D2i0zWfyiytVbTpRPa34qrr+FHddtpBVOmq4H/DCv1O0lZRA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.0.tgz", + "integrity": "sha512-4KzwW3F3bk+KlzSOY57fj/Jx6LyRQ1nbcyIadehl+AnXjKT7gDO0ORdRi/84ixvMKTym6ZKuxvbzN62HDDU1Lg==", "dependencies": { "@types/cookie": "^0.4.1", "@types/cors": "^2.8.12", @@ -3790,9 +3905,9 @@ } }, "node_modules/karma-chrome-launcher": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", - "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.2.0.tgz", + "integrity": "sha512-rE9RkUPI7I9mAxByQWkGJFXfFD6lE4gC5nPuZdobf/QdTEJI6EU4yIay/cfU/xV4ZxlM5JiTv7zWYgA64NpS5Q==", "dev": true, "dependencies": { "which": "^1.2.1" @@ -4277,6 +4392,12 @@ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, + "node_modules/mitt": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", + "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", + "dev": true + }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -4296,11 +4417,12 @@ "dev": true }, "node_modules/mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", "dev": true, "dependencies": { + "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", "chokidar": "3.5.3", @@ -5179,42 +5301,48 @@ "dev": true }, "node_modules/puppeteer": { - "version": "19.4.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.4.0.tgz", - "integrity": "sha512-sRzWEfFSZCCcFUJflGtYI2V7A6qK4Jht+2JiI2LZgn+Nv/LOZZsBDEaGl98ZrS8oEcUA5on4p2yJbE0nzHNzIg==", + "version": "19.10.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.10.1.tgz", + "integrity": "sha512-HqpY8sWqz28JfyZE8cGG9kBPgASD7iRHn/ryWLvVLXE10poR5AyU/mMsLmL175qoYl/chwMTN2pxKSz7HobaCg==", "dev": true, "hasInstallScript": true, "dependencies": { - "cosmiconfig": "8.0.0", - "devtools-protocol": "0.0.1068969", + "@puppeteer/browsers": "0.5.0", + "cosmiconfig": "8.1.3", "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "19.4.0" - }, - "engines": { - "node": ">=14.1.0" + "puppeteer-core": "19.10.1" } }, "node_modules/puppeteer-core": { - "version": "19.4.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.4.0.tgz", - "integrity": "sha512-gG/jxseleZStinBn86x8r7trjcE4jcjx1hIQWOpACQhquHYMuKnrWxkzg+EDn8sN3wUtF/Ry9mtJgjM49oUOFQ==", + "version": "19.10.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.10.1.tgz", + "integrity": "sha512-vD4ojslBtnIWd56IQIEADIcAWrNel/Qt7YGlAxcSNB0b33U3tYe0A+0FLmPNgSa7UTlCOCCVEmzXi5QlDtLGjQ==", "dev": true, "dependencies": { + "@puppeteer/browsers": "0.5.0", + "chromium-bidi": "0.4.6", "cross-fetch": "3.1.5", "debug": "4.3.4", - "devtools-protocol": "0.0.1068969", + "devtools-protocol": "0.0.1107588", "extract-zip": "2.0.1", "https-proxy-agent": "5.0.1", "proxy-from-env": "1.1.0", - "rimraf": "3.0.2", "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", - "ws": "8.10.0" + "ws": "8.13.0" }, "engines": { - "node": ">=14.1.0" + "node": ">=14.14.0" + }, + "peerDependencies": { + "typescript": ">= 4.7.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/puppeteer-core/node_modules/debug": { @@ -5240,27 +5368,6 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, - "node_modules/puppeteer-core/node_modules/ws": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.10.0.tgz", - "integrity": "sha512-+s49uSmZpvtAsd2h37vIPy1RBusaLawVe8of+GyEPsaJTCMpj/2v8NpeK1SHXjBlQ95lQTmQofOJnFiLoaN3yw==", - "dev": true, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/qjobs": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", @@ -5665,9 +5772,9 @@ "integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==" }, "node_modules/socket.io-parser": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz", - "integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.4.tgz", + "integrity": "sha512-t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g==", "dependencies": { "@types/component-emitter": "^1.2.10", "component-emitter": "~1.3.0", @@ -6006,9 +6113,9 @@ } }, "node_modules/tar-stream/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -6649,15 +6756,15 @@ "dev": true }, "node_modules/ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -6759,9 +6866,9 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz", + "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==", "dev": true, "requires": { "@babel/highlight": "^7.18.6" @@ -6854,6 +6961,71 @@ "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "dev": true }, + "@puppeteer/browsers": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-0.5.0.tgz", + "integrity": "sha512-Uw6oB7VvmPRLE4iKsjuOh8zgDabhNX67dzo8U/BB0f9527qx+4eeUs+korU98OhG5C4ubg7ufBgVi63XYwS6TQ==", + "dev": true, + "requires": { + "debug": "4.3.4", + "extract-zip": "2.0.1", + "https-proxy-agent": "5.0.1", + "progress": "2.0.3", + "proxy-from-env": "1.1.0", + "tar-fs": "2.1.1", + "unbzip2-stream": "1.4.3", + "yargs": "17.7.1" + }, + "dependencies": { + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true + } + } + }, "@socket.io/base64-arraybuffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@socket.io/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", @@ -6917,10 +7089,16 @@ "@types/node": "*" } }, + "@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, "@xmldom/xmldom": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.4.tgz", - "integrity": "sha512-JIsjTbWBWJHb2t1D4UNZIJ6ohlRYCdoGzeHSzTorMH2zOq3UKlSBzFBMBdFK3xnUD/ANHw/SUzl/vx0z0JrqRw==" + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.1.tgz", + "integrity": "sha512-4wOae+5N2RZ+CZXd9ZKwkaDi55IxrSTOjHpxTvQQ4fomtOJmqVxbmICA9jE1jvnqNhpfgz8cnfFagG86wV/xLQ==" }, "abbrev": { "version": "1.1.1", @@ -7110,9 +7288,9 @@ "dev": true }, "async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", "dev": true, "requires": { "lodash": "^4.17.14" @@ -7169,9 +7347,9 @@ } }, "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "requires": { "inherits": "^2.0.3", @@ -7627,6 +7805,15 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, + "chromium-bidi": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.6.tgz", + "integrity": "sha512-TQOkWRaLI/IWvoP8XC+7jO4uHTIiAUiklXU1T0qszlUFEai9LgKXIBXy3pOS3EnQZ3bQtMbKUPkug0fTAEHCSw==", + "dev": true, + "requires": { + "mitt": "3.0.0" + } + }, "cipher-base": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", @@ -7777,9 +7964,9 @@ } }, "cosmiconfig": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz", + "integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==", "dev": true, "requires": { "import-fresh": "^3.2.1", @@ -8013,9 +8200,9 @@ } }, "devtools-protocol": { - "version": "0.0.1068969", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1068969.tgz", - "integrity": "sha512-ATFTrPbY1dKYhPPvpjtwWKSK2mIwGmRwX54UASn9THEuIZCe2n9k3vVuMmt6jWeL+e5QaaguEv/pMyR+JQB7VQ==", + "version": "0.0.1107588", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz", + "integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg==", "dev": true }, "di": { @@ -8182,9 +8369,9 @@ } }, "engine.io": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.1.tgz", - "integrity": "sha512-ECceEFcAaNRybd3lsGQKas3ZlMVjN3cyWwMP25D2i0zWfyiytVbTpRPa34qrr+FHddtpBVOmq4H/DCv1O0lZRA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.2.0.tgz", + "integrity": "sha512-4KzwW3F3bk+KlzSOY57fj/Jx6LyRQ1nbcyIadehl+AnXjKT7gDO0ORdRi/84ixvMKTym6ZKuxvbzN62HDDU1Lg==", "requires": { "@types/cookie": "^0.4.1", "@types/cors": "^2.8.12", @@ -9733,9 +9920,9 @@ "requires": {} }, "karma-chrome-launcher": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", - "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.2.0.tgz", + "integrity": "sha512-rE9RkUPI7I9mAxByQWkGJFXfFD6lE4gC5nPuZdobf/QdTEJI6EU4yIay/cfU/xV4ZxlM5JiTv7zWYgA64NpS5Q==", "dev": true, "requires": { "which": "^1.2.1" @@ -10107,6 +10294,12 @@ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, + "mitt": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", + "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==", + "dev": true + }, "mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -10120,11 +10313,12 @@ "dev": true }, "mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", "dev": true, "requires": { + "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", "chokidar": "3.5.3", @@ -10787,35 +10981,36 @@ "dev": true }, "puppeteer": { - "version": "19.4.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.4.0.tgz", - "integrity": "sha512-sRzWEfFSZCCcFUJflGtYI2V7A6qK4Jht+2JiI2LZgn+Nv/LOZZsBDEaGl98ZrS8oEcUA5on4p2yJbE0nzHNzIg==", + "version": "19.10.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.10.1.tgz", + "integrity": "sha512-HqpY8sWqz28JfyZE8cGG9kBPgASD7iRHn/ryWLvVLXE10poR5AyU/mMsLmL175qoYl/chwMTN2pxKSz7HobaCg==", "dev": true, "requires": { - "cosmiconfig": "8.0.0", - "devtools-protocol": "0.0.1068969", + "@puppeteer/browsers": "0.5.0", + "cosmiconfig": "8.1.3", "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "19.4.0" + "puppeteer-core": "19.10.1" } }, "puppeteer-core": { - "version": "19.4.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.4.0.tgz", - "integrity": "sha512-gG/jxseleZStinBn86x8r7trjcE4jcjx1hIQWOpACQhquHYMuKnrWxkzg+EDn8sN3wUtF/Ry9mtJgjM49oUOFQ==", + "version": "19.10.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.10.1.tgz", + "integrity": "sha512-vD4ojslBtnIWd56IQIEADIcAWrNel/Qt7YGlAxcSNB0b33U3tYe0A+0FLmPNgSa7UTlCOCCVEmzXi5QlDtLGjQ==", "dev": true, "requires": { + "@puppeteer/browsers": "0.5.0", + "chromium-bidi": "0.4.6", "cross-fetch": "3.1.5", "debug": "4.3.4", - "devtools-protocol": "0.0.1068969", + "devtools-protocol": "0.0.1107588", "extract-zip": "2.0.1", "https-proxy-agent": "5.0.1", "proxy-from-env": "1.1.0", - "rimraf": "3.0.2", "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", - "ws": "8.10.0" + "ws": "8.13.0" }, "dependencies": { "debug": { @@ -10832,13 +11027,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true - }, - "ws": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.10.0.tgz", - "integrity": "sha512-+s49uSmZpvtAsd2h37vIPy1RBusaLawVe8of+GyEPsaJTCMpj/2v8NpeK1SHXjBlQ95lQTmQofOJnFiLoaN3yw==", - "dev": true, - "requires": {} } } }, @@ -11168,9 +11356,9 @@ "integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==" }, "socket.io-parser": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz", - "integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.4.tgz", + "integrity": "sha512-t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g==", "requires": { "@types/component-emitter": "^1.2.10", "component-emitter": "~1.3.0", @@ -11432,9 +11620,9 @@ }, "dependencies": { "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "requires": { "inherits": "^2.0.3", @@ -11950,9 +12138,9 @@ "dev": true }, "ws": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", - "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "requires": {} }, "xmlcreate": { From af51b1550d4cc5241e19010ff2c4f980610f64b3 Mon Sep 17 00:00:00 2001 From: Amal Nanavati Date: Sat, 22 Apr 2023 01:31:21 -0700 Subject: [PATCH 4/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7bc280bd4..2b6ea0d7e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +**NOTE** (April 2023): This [PRL fork of `roslibjs`](https://github.com/personalrobotics/roslibjs), and the corresponding [PRL fork of `rosbridge_suite`](https://github.com/personalrobotics/rosbridge_suite), is to account for the fact that the [official `rosbridge_suite`](https://github.com/RobotWebTools/rosbridge_suite) and [official `roslibjs`](https://github.com/RobotWebTools/roslibjs) do not currently work with ROS2 actions. [This is a PR to address that](https://github.com/RobotWebTools/rosbridge_suite/pull/813), and it formed the basis for these two PRL forks. If ROS2 action support is added to both `rosbridge_suite` and `roslibjs`, then these two PRL forks can be removed (and any code that uses them, like the [PRL `feeding_web_interface`](https://github.com/personalrobotics/feeding_web_interface), updated). + # roslibjs [![CI](https://github.com/RobotWebTools/roslibjs/actions/workflows/main.yml/badge.svg)](https://github.com/RobotWebTools/roslibjs/actions/workflows/main.yml)