@kubb/core 0.37.13 → 0.37.14
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/dist/index.global.js +165 -3
- package/dist/index.global.js.map +1 -1
- package/package.json +4 -3
package/dist/index.global.js
CHANGED
|
@@ -6675,6 +6675,168 @@
|
|
|
6675
6675
|
}
|
|
6676
6676
|
});
|
|
6677
6677
|
|
|
6678
|
+
// ../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js
|
|
6679
|
+
var require_browser = __commonJS({
|
|
6680
|
+
"../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"(exports, module) {
|
|
6681
|
+
var process2 = module.exports = {};
|
|
6682
|
+
var cachedSetTimeout;
|
|
6683
|
+
var cachedClearTimeout;
|
|
6684
|
+
function defaultSetTimout() {
|
|
6685
|
+
throw new Error("setTimeout has not been defined");
|
|
6686
|
+
}
|
|
6687
|
+
function defaultClearTimeout() {
|
|
6688
|
+
throw new Error("clearTimeout has not been defined");
|
|
6689
|
+
}
|
|
6690
|
+
(function() {
|
|
6691
|
+
try {
|
|
6692
|
+
if (typeof setTimeout === "function") {
|
|
6693
|
+
cachedSetTimeout = setTimeout;
|
|
6694
|
+
} else {
|
|
6695
|
+
cachedSetTimeout = defaultSetTimout;
|
|
6696
|
+
}
|
|
6697
|
+
} catch (e) {
|
|
6698
|
+
cachedSetTimeout = defaultSetTimout;
|
|
6699
|
+
}
|
|
6700
|
+
try {
|
|
6701
|
+
if (typeof clearTimeout === "function") {
|
|
6702
|
+
cachedClearTimeout = clearTimeout;
|
|
6703
|
+
} else {
|
|
6704
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
6705
|
+
}
|
|
6706
|
+
} catch (e) {
|
|
6707
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
6708
|
+
}
|
|
6709
|
+
})();
|
|
6710
|
+
function runTimeout(fun) {
|
|
6711
|
+
if (cachedSetTimeout === setTimeout) {
|
|
6712
|
+
return setTimeout(fun, 0);
|
|
6713
|
+
}
|
|
6714
|
+
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
6715
|
+
cachedSetTimeout = setTimeout;
|
|
6716
|
+
return setTimeout(fun, 0);
|
|
6717
|
+
}
|
|
6718
|
+
try {
|
|
6719
|
+
return cachedSetTimeout(fun, 0);
|
|
6720
|
+
} catch (e) {
|
|
6721
|
+
try {
|
|
6722
|
+
return cachedSetTimeout.call(null, fun, 0);
|
|
6723
|
+
} catch (e2) {
|
|
6724
|
+
return cachedSetTimeout.call(this, fun, 0);
|
|
6725
|
+
}
|
|
6726
|
+
}
|
|
6727
|
+
}
|
|
6728
|
+
function runClearTimeout(marker) {
|
|
6729
|
+
if (cachedClearTimeout === clearTimeout) {
|
|
6730
|
+
return clearTimeout(marker);
|
|
6731
|
+
}
|
|
6732
|
+
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
6733
|
+
cachedClearTimeout = clearTimeout;
|
|
6734
|
+
return clearTimeout(marker);
|
|
6735
|
+
}
|
|
6736
|
+
try {
|
|
6737
|
+
return cachedClearTimeout(marker);
|
|
6738
|
+
} catch (e) {
|
|
6739
|
+
try {
|
|
6740
|
+
return cachedClearTimeout.call(null, marker);
|
|
6741
|
+
} catch (e2) {
|
|
6742
|
+
return cachedClearTimeout.call(this, marker);
|
|
6743
|
+
}
|
|
6744
|
+
}
|
|
6745
|
+
}
|
|
6746
|
+
var queue = [];
|
|
6747
|
+
var draining = false;
|
|
6748
|
+
var currentQueue;
|
|
6749
|
+
var queueIndex = -1;
|
|
6750
|
+
function cleanUpNextTick() {
|
|
6751
|
+
if (!draining || !currentQueue) {
|
|
6752
|
+
return;
|
|
6753
|
+
}
|
|
6754
|
+
draining = false;
|
|
6755
|
+
if (currentQueue.length) {
|
|
6756
|
+
queue = currentQueue.concat(queue);
|
|
6757
|
+
} else {
|
|
6758
|
+
queueIndex = -1;
|
|
6759
|
+
}
|
|
6760
|
+
if (queue.length) {
|
|
6761
|
+
drainQueue();
|
|
6762
|
+
}
|
|
6763
|
+
}
|
|
6764
|
+
function drainQueue() {
|
|
6765
|
+
if (draining) {
|
|
6766
|
+
return;
|
|
6767
|
+
}
|
|
6768
|
+
var timeout = runTimeout(cleanUpNextTick);
|
|
6769
|
+
draining = true;
|
|
6770
|
+
var len = queue.length;
|
|
6771
|
+
while (len) {
|
|
6772
|
+
currentQueue = queue;
|
|
6773
|
+
queue = [];
|
|
6774
|
+
while (++queueIndex < len) {
|
|
6775
|
+
if (currentQueue) {
|
|
6776
|
+
currentQueue[queueIndex].run();
|
|
6777
|
+
}
|
|
6778
|
+
}
|
|
6779
|
+
queueIndex = -1;
|
|
6780
|
+
len = queue.length;
|
|
6781
|
+
}
|
|
6782
|
+
currentQueue = null;
|
|
6783
|
+
draining = false;
|
|
6784
|
+
runClearTimeout(timeout);
|
|
6785
|
+
}
|
|
6786
|
+
process2.nextTick = function(fun) {
|
|
6787
|
+
var args = new Array(arguments.length - 1);
|
|
6788
|
+
if (arguments.length > 1) {
|
|
6789
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6790
|
+
args[i - 1] = arguments[i];
|
|
6791
|
+
}
|
|
6792
|
+
}
|
|
6793
|
+
queue.push(new Item(fun, args));
|
|
6794
|
+
if (queue.length === 1 && !draining) {
|
|
6795
|
+
runTimeout(drainQueue);
|
|
6796
|
+
}
|
|
6797
|
+
};
|
|
6798
|
+
function Item(fun, array) {
|
|
6799
|
+
this.fun = fun;
|
|
6800
|
+
this.array = array;
|
|
6801
|
+
}
|
|
6802
|
+
Item.prototype.run = function() {
|
|
6803
|
+
this.fun.apply(null, this.array);
|
|
6804
|
+
};
|
|
6805
|
+
process2.title = "browser";
|
|
6806
|
+
process2.browser = true;
|
|
6807
|
+
process2.env = {};
|
|
6808
|
+
process2.argv = [];
|
|
6809
|
+
process2.version = "";
|
|
6810
|
+
process2.versions = {};
|
|
6811
|
+
function noop() {
|
|
6812
|
+
}
|
|
6813
|
+
process2.on = noop;
|
|
6814
|
+
process2.addListener = noop;
|
|
6815
|
+
process2.once = noop;
|
|
6816
|
+
process2.off = noop;
|
|
6817
|
+
process2.removeListener = noop;
|
|
6818
|
+
process2.removeAllListeners = noop;
|
|
6819
|
+
process2.emit = noop;
|
|
6820
|
+
process2.prependListener = noop;
|
|
6821
|
+
process2.prependOnceListener = noop;
|
|
6822
|
+
process2.listeners = function(name2) {
|
|
6823
|
+
return [];
|
|
6824
|
+
};
|
|
6825
|
+
process2.binding = function(name2) {
|
|
6826
|
+
throw new Error("process.binding is not supported");
|
|
6827
|
+
};
|
|
6828
|
+
process2.cwd = function() {
|
|
6829
|
+
return "/";
|
|
6830
|
+
};
|
|
6831
|
+
process2.chdir = function(dir) {
|
|
6832
|
+
throw new Error("process.chdir is not supported");
|
|
6833
|
+
};
|
|
6834
|
+
process2.umask = function() {
|
|
6835
|
+
return 0;
|
|
6836
|
+
};
|
|
6837
|
+
}
|
|
6838
|
+
});
|
|
6839
|
+
|
|
6678
6840
|
// ../../node_modules/.pnpm/memfs@3.4.13/node_modules/memfs/lib/setImmediate.js
|
|
6679
6841
|
var require_setImmediate = __commonJS({
|
|
6680
6842
|
"../../node_modules/.pnpm/memfs@3.4.13/node_modules/memfs/lib/setImmediate.js"(exports) {
|
|
@@ -6698,7 +6860,7 @@
|
|
|
6698
6860
|
return process;
|
|
6699
6861
|
}
|
|
6700
6862
|
try {
|
|
6701
|
-
return
|
|
6863
|
+
return require_browser();
|
|
6702
6864
|
} catch (_a) {
|
|
6703
6865
|
return void 0;
|
|
6704
6866
|
}
|
|
@@ -7830,7 +7992,7 @@
|
|
|
7830
7992
|
});
|
|
7831
7993
|
|
|
7832
7994
|
// ../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js
|
|
7833
|
-
var
|
|
7995
|
+
var require_browser2 = __commonJS({
|
|
7834
7996
|
"../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js"(exports, module) {
|
|
7835
7997
|
module.exports = deprecate;
|
|
7836
7998
|
function deprecate(fn, msg) {
|
|
@@ -7883,7 +8045,7 @@
|
|
|
7883
8045
|
var Duplex;
|
|
7884
8046
|
Writable.WritableState = WritableState;
|
|
7885
8047
|
var internalUtil = {
|
|
7886
|
-
deprecate:
|
|
8048
|
+
deprecate: require_browser2()
|
|
7887
8049
|
};
|
|
7888
8050
|
var Stream = require_stream_browser();
|
|
7889
8051
|
var Buffer2 = require_buffer().Buffer;
|