byterover-cli 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@campfirein/brv-transport-client/package.json +1 -1
- package/node_modules/{socket.io-parser/node_modules/debug → debug}/package.json +7 -3
- package/node_modules/{socket.io-parser/node_modules/debug → debug}/src/browser.js +2 -1
- package/node_modules/{socket.io-client/node_modules/debug → debug}/src/common.js +57 -39
- package/node_modules/socket.io-client/build/cjs/index.d.ts +2 -2
- package/node_modules/socket.io-client/build/cjs/socket.js +2 -3
- package/node_modules/socket.io-client/build/esm/index.d.ts +2 -2
- package/node_modules/socket.io-client/build/esm/package.json +1 -1
- package/node_modules/socket.io-client/build/esm/socket.js +1 -3
- package/node_modules/socket.io-client/build/esm-debug/index.d.ts +2 -2
- package/node_modules/socket.io-client/build/esm-debug/package.json +1 -1
- package/node_modules/socket.io-client/build/esm-debug/socket.js +2 -3
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.js +89 -42
- package/node_modules/socket.io-client/dist/socket.io.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.min.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js.map +1 -1
- package/node_modules/socket.io-client/package.json +3 -3
- package/node_modules/socket.io-parser/LICENSE +1 -1
- package/node_modules/socket.io-parser/build/cjs/binary.js +2 -3
- package/node_modules/socket.io-parser/build/cjs/index.d.ts +15 -4
- package/node_modules/socket.io-parser/build/cjs/index.js +62 -16
- package/node_modules/socket.io-parser/build/cjs/is-binary.d.ts +1 -1
- package/node_modules/socket.io-parser/build/cjs/is-binary.js +2 -3
- package/node_modules/socket.io-parser/build/esm/index.d.ts +15 -4
- package/node_modules/socket.io-parser/build/esm/index.js +60 -15
- package/node_modules/socket.io-parser/build/esm/is-binary.d.ts +1 -1
- package/node_modules/socket.io-parser/build/esm-debug/index.d.ts +15 -4
- package/node_modules/socket.io-parser/build/esm-debug/index.js +60 -15
- package/node_modules/socket.io-parser/build/esm-debug/is-binary.d.ts +1 -1
- package/node_modules/socket.io-parser/package.json +8 -22
- package/oclif.manifest.json +1 -1
- package/package.json +1 -3
- package/node_modules/socket.io-client/node_modules/debug/package.json +0 -60
- package/node_modules/socket.io-client/node_modules/debug/src/browser.js +0 -271
- package/node_modules/socket.io-parser/node_modules/debug/LICENSE +0 -20
- package/node_modules/socket.io-parser/node_modules/debug/README.md +0 -481
- package/node_modules/socket.io-parser/node_modules/debug/src/common.js +0 -274
- package/node_modules/socket.io-parser/node_modules/debug/src/index.js +0 -10
- package/node_modules/socket.io-parser/node_modules/debug/src/node.js +0 -263
- /package/node_modules/{socket.io-client/node_modules/debug → debug}/LICENSE +0 -0
- /package/node_modules/{socket.io-client/node_modules/debug → debug}/README.md +0 -0
- /package/node_modules/{socket.io-client/node_modules/debug → debug}/src/index.js +0 -0
- /package/node_modules/{socket.io-client/node_modules/debug → debug}/src/node.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Socket.IO v4.8.
|
|
3
|
-
* (c) 2014-
|
|
2
|
+
* Socket.IO v4.8.3
|
|
3
|
+
* (c) 2014-2025 Guillermo Rauch
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
@@ -899,7 +899,7 @@
|
|
|
899
899
|
return hostname.indexOf(":") === -1 ? hostname : "[" + hostname + "]";
|
|
900
900
|
};
|
|
901
901
|
_proto._port = function _port() {
|
|
902
|
-
if (this.opts.port && (this.opts.secure && Number(this.opts.port !== 443
|
|
902
|
+
if (this.opts.port && (this.opts.secure && Number(this.opts.port) !== 443 || !this.opts.secure && Number(this.opts.port) !== 80)) {
|
|
903
903
|
return ":" + this.opts.port;
|
|
904
904
|
} else {
|
|
905
905
|
return "";
|
|
@@ -2669,21 +2669,65 @@
|
|
|
2669
2669
|
createDebug.namespaces = namespaces;
|
|
2670
2670
|
createDebug.names = [];
|
|
2671
2671
|
createDebug.skips = [];
|
|
2672
|
-
var
|
|
2673
|
-
var
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2672
|
+
var split = (typeof namespaces === 'string' ? namespaces : '').trim().replace(/\s+/g, ',').split(',').filter(Boolean);
|
|
2673
|
+
var _iterator = _createForOfIteratorHelper(split),
|
|
2674
|
+
_step;
|
|
2675
|
+
try {
|
|
2676
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
2677
|
+
var ns = _step.value;
|
|
2678
|
+
if (ns[0] === '-') {
|
|
2679
|
+
createDebug.skips.push(ns.slice(1));
|
|
2680
|
+
} else {
|
|
2681
|
+
createDebug.names.push(ns);
|
|
2682
|
+
}
|
|
2679
2683
|
}
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2684
|
+
} catch (err) {
|
|
2685
|
+
_iterator.e(err);
|
|
2686
|
+
} finally {
|
|
2687
|
+
_iterator.f();
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* Checks if the given string matches a namespace template, honoring
|
|
2693
|
+
* asterisks as wildcards.
|
|
2694
|
+
*
|
|
2695
|
+
* @param {String} search
|
|
2696
|
+
* @param {String} template
|
|
2697
|
+
* @return {Boolean}
|
|
2698
|
+
*/
|
|
2699
|
+
function matchesTemplate(search, template) {
|
|
2700
|
+
var searchIndex = 0;
|
|
2701
|
+
var templateIndex = 0;
|
|
2702
|
+
var starIndex = -1;
|
|
2703
|
+
var matchIndex = 0;
|
|
2704
|
+
while (searchIndex < search.length) {
|
|
2705
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
|
|
2706
|
+
// Match character or proceed with wildcard
|
|
2707
|
+
if (template[templateIndex] === '*') {
|
|
2708
|
+
starIndex = templateIndex;
|
|
2709
|
+
matchIndex = searchIndex;
|
|
2710
|
+
templateIndex++; // Skip the '*'
|
|
2711
|
+
} else {
|
|
2712
|
+
searchIndex++;
|
|
2713
|
+
templateIndex++;
|
|
2714
|
+
}
|
|
2715
|
+
} else if (starIndex !== -1) {
|
|
2716
|
+
// eslint-disable-line no-negated-condition
|
|
2717
|
+
// Backtrack to the last '*' and try to match more characters
|
|
2718
|
+
templateIndex = starIndex + 1;
|
|
2719
|
+
matchIndex++;
|
|
2720
|
+
searchIndex = matchIndex;
|
|
2683
2721
|
} else {
|
|
2684
|
-
|
|
2722
|
+
return false; // No match
|
|
2685
2723
|
}
|
|
2686
2724
|
}
|
|
2725
|
+
|
|
2726
|
+
// Handle trailing '*' in template
|
|
2727
|
+
while (templateIndex < template.length && template[templateIndex] === '*') {
|
|
2728
|
+
templateIndex++;
|
|
2729
|
+
}
|
|
2730
|
+
return templateIndex === template.length;
|
|
2687
2731
|
}
|
|
2688
2732
|
|
|
2689
2733
|
/**
|
|
@@ -2693,7 +2737,7 @@
|
|
|
2693
2737
|
* @api public
|
|
2694
2738
|
*/
|
|
2695
2739
|
function disable() {
|
|
2696
|
-
var namespaces = [].concat(_toConsumableArray(createDebug.names
|
|
2740
|
+
var namespaces = [].concat(_toConsumableArray(createDebug.names), _toConsumableArray(createDebug.skips.map(function (namespace) {
|
|
2697
2741
|
return '-' + namespace;
|
|
2698
2742
|
}))).join(',');
|
|
2699
2743
|
createDebug.enable('');
|
|
@@ -2708,35 +2752,37 @@
|
|
|
2708
2752
|
* @api public
|
|
2709
2753
|
*/
|
|
2710
2754
|
function enabled(name) {
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2755
|
+
var _iterator2 = _createForOfIteratorHelper(createDebug.skips),
|
|
2756
|
+
_step2;
|
|
2757
|
+
try {
|
|
2758
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
2759
|
+
var skip = _step2.value;
|
|
2760
|
+
if (matchesTemplate(name, skip)) {
|
|
2761
|
+
return false;
|
|
2762
|
+
}
|
|
2719
2763
|
}
|
|
2764
|
+
} catch (err) {
|
|
2765
|
+
_iterator2.e(err);
|
|
2766
|
+
} finally {
|
|
2767
|
+
_iterator2.f();
|
|
2720
2768
|
}
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2769
|
+
var _iterator3 = _createForOfIteratorHelper(createDebug.names),
|
|
2770
|
+
_step3;
|
|
2771
|
+
try {
|
|
2772
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
2773
|
+
var ns = _step3.value;
|
|
2774
|
+
if (matchesTemplate(name, ns)) {
|
|
2775
|
+
return true;
|
|
2776
|
+
}
|
|
2724
2777
|
}
|
|
2778
|
+
} catch (err) {
|
|
2779
|
+
_iterator3.e(err);
|
|
2780
|
+
} finally {
|
|
2781
|
+
_iterator3.f();
|
|
2725
2782
|
}
|
|
2726
2783
|
return false;
|
|
2727
2784
|
}
|
|
2728
2785
|
|
|
2729
|
-
/**
|
|
2730
|
-
* Convert regexp to namespace
|
|
2731
|
-
*
|
|
2732
|
-
* @param {RegExp} regxep
|
|
2733
|
-
* @return {String} namespace
|
|
2734
|
-
* @api private
|
|
2735
|
-
*/
|
|
2736
|
-
function toNamespace(regexp) {
|
|
2737
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*');
|
|
2738
|
-
}
|
|
2739
|
-
|
|
2740
2786
|
/**
|
|
2741
2787
|
* Coerce `val`.
|
|
2742
2788
|
*
|
|
@@ -2812,15 +2858,17 @@
|
|
|
2812
2858
|
if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
2813
2859
|
return false;
|
|
2814
2860
|
}
|
|
2861
|
+
var m;
|
|
2815
2862
|
|
|
2816
2863
|
// Is webkit? http://stackoverflow.com/a/16459606/376773
|
|
2817
2864
|
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
|
|
2865
|
+
// eslint-disable-next-line no-return-assign
|
|
2818
2866
|
return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance ||
|
|
2819
2867
|
// Is firebug? http://stackoverflow.com/a/398120/376773
|
|
2820
2868
|
typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) ||
|
|
2821
2869
|
// Is firefox >= v31?
|
|
2822
2870
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
2823
|
-
typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
|
2871
|
+
typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 ||
|
|
2824
2872
|
// Double check webkit in userAgent just in case we are in a worker
|
|
2825
2873
|
typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
2826
2874
|
}
|
|
@@ -2896,7 +2944,7 @@
|
|
|
2896
2944
|
function load() {
|
|
2897
2945
|
var r;
|
|
2898
2946
|
try {
|
|
2899
|
-
r = exports.storage.getItem('debug');
|
|
2947
|
+
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG');
|
|
2900
2948
|
} catch (error) {
|
|
2901
2949
|
// Swallow
|
|
2902
2950
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -3828,8 +3876,7 @@
|
|
|
3828
3876
|
};
|
|
3829
3877
|
args.push(function (err) {
|
|
3830
3878
|
if (packet !== _this4._queue[0]) {
|
|
3831
|
-
|
|
3832
|
-
return;
|
|
3879
|
+
return debug$2("packet [%d] already acknowledged", packet.id);
|
|
3833
3880
|
}
|
|
3834
3881
|
var hasError = err !== null;
|
|
3835
3882
|
if (hasError) {
|
|
@@ -4100,8 +4147,8 @@
|
|
|
4100
4147
|
this._pid = pid; // defined only if connection state recovery is enabled
|
|
4101
4148
|
this.connected = true;
|
|
4102
4149
|
this.emitBuffered();
|
|
4103
|
-
this.emitReserved("connect");
|
|
4104
4150
|
this._drainQueue(true);
|
|
4151
|
+
this.emitReserved("connect");
|
|
4105
4152
|
}
|
|
4106
4153
|
/**
|
|
4107
4154
|
* Emit buffered events (received and emitted).
|