@modern-js/repo-generator 0.0.0-next-20221209041021 → 0.0.0-next-20221209054133
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.js +662 -141
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -47639,7 +47639,7 @@ var require_axios2 = __commonJS({
|
|
|
47639
47639
|
}
|
|
47640
47640
|
});
|
|
47641
47641
|
var require_high_level_opt = __commonJS({
|
|
47642
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
47642
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/high-level-opt.js"(exports, module2) {
|
|
47643
47643
|
"use strict";
|
|
47644
47644
|
var argmap = /* @__PURE__ */ new Map([
|
|
47645
47645
|
["C", "cwd"],
|
|
@@ -47669,6 +47669,640 @@ var require_high_level_opt = __commonJS({
|
|
|
47669
47669
|
}
|
|
47670
47670
|
});
|
|
47671
47671
|
var require_minipass = __commonJS({
|
|
47672
|
+
"../../../../node_modules/.pnpm/minipass@4.0.0/node_modules/minipass/index.js"(exports, module2) {
|
|
47673
|
+
"use strict";
|
|
47674
|
+
var proc = typeof process === "object" && process ? process : {
|
|
47675
|
+
stdout: null,
|
|
47676
|
+
stderr: null
|
|
47677
|
+
};
|
|
47678
|
+
var EE = __require("events");
|
|
47679
|
+
var Stream = __require("stream");
|
|
47680
|
+
var SD = __require("string_decoder").StringDecoder;
|
|
47681
|
+
var EOF = Symbol("EOF");
|
|
47682
|
+
var MAYBE_EMIT_END = Symbol("maybeEmitEnd");
|
|
47683
|
+
var EMITTED_END = Symbol("emittedEnd");
|
|
47684
|
+
var EMITTING_END = Symbol("emittingEnd");
|
|
47685
|
+
var EMITTED_ERROR = Symbol("emittedError");
|
|
47686
|
+
var CLOSED = Symbol("closed");
|
|
47687
|
+
var READ = Symbol("read");
|
|
47688
|
+
var FLUSH = Symbol("flush");
|
|
47689
|
+
var FLUSHCHUNK = Symbol("flushChunk");
|
|
47690
|
+
var ENCODING = Symbol("encoding");
|
|
47691
|
+
var DECODER = Symbol("decoder");
|
|
47692
|
+
var FLOWING = Symbol("flowing");
|
|
47693
|
+
var PAUSED = Symbol("paused");
|
|
47694
|
+
var RESUME = Symbol("resume");
|
|
47695
|
+
var BUFFER = Symbol("buffer");
|
|
47696
|
+
var PIPES = Symbol("pipes");
|
|
47697
|
+
var BUFFERLENGTH = Symbol("bufferLength");
|
|
47698
|
+
var BUFFERPUSH = Symbol("bufferPush");
|
|
47699
|
+
var BUFFERSHIFT = Symbol("bufferShift");
|
|
47700
|
+
var OBJECTMODE = Symbol("objectMode");
|
|
47701
|
+
var DESTROYED = Symbol("destroyed");
|
|
47702
|
+
var EMITDATA = Symbol("emitData");
|
|
47703
|
+
var EMITEND = Symbol("emitEnd");
|
|
47704
|
+
var EMITEND2 = Symbol("emitEnd2");
|
|
47705
|
+
var ASYNC = Symbol("async");
|
|
47706
|
+
var defer = (fn) => Promise.resolve().then(fn);
|
|
47707
|
+
var doIter = global._MP_NO_ITERATOR_SYMBOLS_ !== "1";
|
|
47708
|
+
var ASYNCITERATOR = doIter && Symbol.asyncIterator || Symbol("asyncIterator not implemented");
|
|
47709
|
+
var ITERATOR = doIter && Symbol.iterator || Symbol("iterator not implemented");
|
|
47710
|
+
var isEndish = (ev) => ev === "end" || ev === "finish" || ev === "prefinish";
|
|
47711
|
+
var isArrayBuffer = (b) => b instanceof ArrayBuffer || typeof b === "object" && b.constructor && b.constructor.name === "ArrayBuffer" && b.byteLength >= 0;
|
|
47712
|
+
var isArrayBufferView = (b) => !Buffer.isBuffer(b) && ArrayBuffer.isView(b);
|
|
47713
|
+
var Pipe = class {
|
|
47714
|
+
constructor(src, dest, opts) {
|
|
47715
|
+
this.src = src;
|
|
47716
|
+
this.dest = dest;
|
|
47717
|
+
this.opts = opts;
|
|
47718
|
+
this.ondrain = () => src[RESUME]();
|
|
47719
|
+
dest.on("drain", this.ondrain);
|
|
47720
|
+
}
|
|
47721
|
+
unpipe() {
|
|
47722
|
+
this.dest.removeListener("drain", this.ondrain);
|
|
47723
|
+
}
|
|
47724
|
+
proxyErrors() {
|
|
47725
|
+
}
|
|
47726
|
+
end() {
|
|
47727
|
+
this.unpipe();
|
|
47728
|
+
if (this.opts.end)
|
|
47729
|
+
this.dest.end();
|
|
47730
|
+
}
|
|
47731
|
+
};
|
|
47732
|
+
var PipeProxyErrors = class extends Pipe {
|
|
47733
|
+
unpipe() {
|
|
47734
|
+
this.src.removeListener("error", this.proxyErrors);
|
|
47735
|
+
super.unpipe();
|
|
47736
|
+
}
|
|
47737
|
+
constructor(src, dest, opts) {
|
|
47738
|
+
super(src, dest, opts);
|
|
47739
|
+
this.proxyErrors = (er) => dest.emit("error", er);
|
|
47740
|
+
src.on("error", this.proxyErrors);
|
|
47741
|
+
}
|
|
47742
|
+
};
|
|
47743
|
+
module2.exports = class Minipass extends Stream {
|
|
47744
|
+
constructor(options) {
|
|
47745
|
+
super();
|
|
47746
|
+
this[FLOWING] = false;
|
|
47747
|
+
this[PAUSED] = false;
|
|
47748
|
+
this[PIPES] = [];
|
|
47749
|
+
this[BUFFER] = [];
|
|
47750
|
+
this[OBJECTMODE] = options && options.objectMode || false;
|
|
47751
|
+
if (this[OBJECTMODE])
|
|
47752
|
+
this[ENCODING] = null;
|
|
47753
|
+
else
|
|
47754
|
+
this[ENCODING] = options && options.encoding || null;
|
|
47755
|
+
if (this[ENCODING] === "buffer")
|
|
47756
|
+
this[ENCODING] = null;
|
|
47757
|
+
this[ASYNC] = options && !!options.async || false;
|
|
47758
|
+
this[DECODER] = this[ENCODING] ? new SD(this[ENCODING]) : null;
|
|
47759
|
+
this[EOF] = false;
|
|
47760
|
+
this[EMITTED_END] = false;
|
|
47761
|
+
this[EMITTING_END] = false;
|
|
47762
|
+
this[CLOSED] = false;
|
|
47763
|
+
this[EMITTED_ERROR] = null;
|
|
47764
|
+
this.writable = true;
|
|
47765
|
+
this.readable = true;
|
|
47766
|
+
this[BUFFERLENGTH] = 0;
|
|
47767
|
+
this[DESTROYED] = false;
|
|
47768
|
+
if (options && options.debugExposeBuffer === true) {
|
|
47769
|
+
Object.defineProperty(this, "buffer", { get: () => this[BUFFER] });
|
|
47770
|
+
}
|
|
47771
|
+
if (options && options.debugExposePipes === true) {
|
|
47772
|
+
Object.defineProperty(this, "pipes", { get: () => this[PIPES] });
|
|
47773
|
+
}
|
|
47774
|
+
}
|
|
47775
|
+
get bufferLength() {
|
|
47776
|
+
return this[BUFFERLENGTH];
|
|
47777
|
+
}
|
|
47778
|
+
get encoding() {
|
|
47779
|
+
return this[ENCODING];
|
|
47780
|
+
}
|
|
47781
|
+
set encoding(enc) {
|
|
47782
|
+
if (this[OBJECTMODE])
|
|
47783
|
+
throw new Error("cannot set encoding in objectMode");
|
|
47784
|
+
if (this[ENCODING] && enc !== this[ENCODING] && (this[DECODER] && this[DECODER].lastNeed || this[BUFFERLENGTH]))
|
|
47785
|
+
throw new Error("cannot change encoding");
|
|
47786
|
+
if (this[ENCODING] !== enc) {
|
|
47787
|
+
this[DECODER] = enc ? new SD(enc) : null;
|
|
47788
|
+
if (this[BUFFER].length)
|
|
47789
|
+
this[BUFFER] = this[BUFFER].map((chunk) => this[DECODER].write(chunk));
|
|
47790
|
+
}
|
|
47791
|
+
this[ENCODING] = enc;
|
|
47792
|
+
}
|
|
47793
|
+
setEncoding(enc) {
|
|
47794
|
+
this.encoding = enc;
|
|
47795
|
+
}
|
|
47796
|
+
get objectMode() {
|
|
47797
|
+
return this[OBJECTMODE];
|
|
47798
|
+
}
|
|
47799
|
+
set objectMode(om) {
|
|
47800
|
+
this[OBJECTMODE] = this[OBJECTMODE] || !!om;
|
|
47801
|
+
}
|
|
47802
|
+
get ["async"]() {
|
|
47803
|
+
return this[ASYNC];
|
|
47804
|
+
}
|
|
47805
|
+
set ["async"](a) {
|
|
47806
|
+
this[ASYNC] = this[ASYNC] || !!a;
|
|
47807
|
+
}
|
|
47808
|
+
write(chunk, encoding, cb) {
|
|
47809
|
+
if (this[EOF])
|
|
47810
|
+
throw new Error("write after end");
|
|
47811
|
+
if (this[DESTROYED]) {
|
|
47812
|
+
this.emit("error", Object.assign(
|
|
47813
|
+
new Error("Cannot call write after a stream was destroyed"),
|
|
47814
|
+
{ code: "ERR_STREAM_DESTROYED" }
|
|
47815
|
+
));
|
|
47816
|
+
return true;
|
|
47817
|
+
}
|
|
47818
|
+
if (typeof encoding === "function")
|
|
47819
|
+
cb = encoding, encoding = "utf8";
|
|
47820
|
+
if (!encoding)
|
|
47821
|
+
encoding = "utf8";
|
|
47822
|
+
const fn = this[ASYNC] ? defer : (f) => f();
|
|
47823
|
+
if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) {
|
|
47824
|
+
if (isArrayBufferView(chunk))
|
|
47825
|
+
chunk = Buffer.from(chunk.buffer, chunk.byteOffset, chunk.byteLength);
|
|
47826
|
+
else if (isArrayBuffer(chunk))
|
|
47827
|
+
chunk = Buffer.from(chunk);
|
|
47828
|
+
else if (typeof chunk !== "string")
|
|
47829
|
+
this.objectMode = true;
|
|
47830
|
+
}
|
|
47831
|
+
if (this[OBJECTMODE]) {
|
|
47832
|
+
if (this.flowing && this[BUFFERLENGTH] !== 0)
|
|
47833
|
+
this[FLUSH](true);
|
|
47834
|
+
if (this.flowing)
|
|
47835
|
+
this.emit("data", chunk);
|
|
47836
|
+
else
|
|
47837
|
+
this[BUFFERPUSH](chunk);
|
|
47838
|
+
if (this[BUFFERLENGTH] !== 0)
|
|
47839
|
+
this.emit("readable");
|
|
47840
|
+
if (cb)
|
|
47841
|
+
fn(cb);
|
|
47842
|
+
return this.flowing;
|
|
47843
|
+
}
|
|
47844
|
+
if (!chunk.length) {
|
|
47845
|
+
if (this[BUFFERLENGTH] !== 0)
|
|
47846
|
+
this.emit("readable");
|
|
47847
|
+
if (cb)
|
|
47848
|
+
fn(cb);
|
|
47849
|
+
return this.flowing;
|
|
47850
|
+
}
|
|
47851
|
+
if (typeof chunk === "string" && !(encoding === this[ENCODING] && !this[DECODER].lastNeed)) {
|
|
47852
|
+
chunk = Buffer.from(chunk, encoding);
|
|
47853
|
+
}
|
|
47854
|
+
if (Buffer.isBuffer(chunk) && this[ENCODING])
|
|
47855
|
+
chunk = this[DECODER].write(chunk);
|
|
47856
|
+
if (this.flowing && this[BUFFERLENGTH] !== 0)
|
|
47857
|
+
this[FLUSH](true);
|
|
47858
|
+
if (this.flowing)
|
|
47859
|
+
this.emit("data", chunk);
|
|
47860
|
+
else
|
|
47861
|
+
this[BUFFERPUSH](chunk);
|
|
47862
|
+
if (this[BUFFERLENGTH] !== 0)
|
|
47863
|
+
this.emit("readable");
|
|
47864
|
+
if (cb)
|
|
47865
|
+
fn(cb);
|
|
47866
|
+
return this.flowing;
|
|
47867
|
+
}
|
|
47868
|
+
read(n) {
|
|
47869
|
+
if (this[DESTROYED])
|
|
47870
|
+
return null;
|
|
47871
|
+
if (this[BUFFERLENGTH] === 0 || n === 0 || n > this[BUFFERLENGTH]) {
|
|
47872
|
+
this[MAYBE_EMIT_END]();
|
|
47873
|
+
return null;
|
|
47874
|
+
}
|
|
47875
|
+
if (this[OBJECTMODE])
|
|
47876
|
+
n = null;
|
|
47877
|
+
if (this[BUFFER].length > 1 && !this[OBJECTMODE]) {
|
|
47878
|
+
if (this.encoding)
|
|
47879
|
+
this[BUFFER] = [this[BUFFER].join("")];
|
|
47880
|
+
else
|
|
47881
|
+
this[BUFFER] = [Buffer.concat(this[BUFFER], this[BUFFERLENGTH])];
|
|
47882
|
+
}
|
|
47883
|
+
const ret = this[READ](n || null, this[BUFFER][0]);
|
|
47884
|
+
this[MAYBE_EMIT_END]();
|
|
47885
|
+
return ret;
|
|
47886
|
+
}
|
|
47887
|
+
[READ](n, chunk) {
|
|
47888
|
+
if (n === chunk.length || n === null)
|
|
47889
|
+
this[BUFFERSHIFT]();
|
|
47890
|
+
else {
|
|
47891
|
+
this[BUFFER][0] = chunk.slice(n);
|
|
47892
|
+
chunk = chunk.slice(0, n);
|
|
47893
|
+
this[BUFFERLENGTH] -= n;
|
|
47894
|
+
}
|
|
47895
|
+
this.emit("data", chunk);
|
|
47896
|
+
if (!this[BUFFER].length && !this[EOF])
|
|
47897
|
+
this.emit("drain");
|
|
47898
|
+
return chunk;
|
|
47899
|
+
}
|
|
47900
|
+
end(chunk, encoding, cb) {
|
|
47901
|
+
if (typeof chunk === "function")
|
|
47902
|
+
cb = chunk, chunk = null;
|
|
47903
|
+
if (typeof encoding === "function")
|
|
47904
|
+
cb = encoding, encoding = "utf8";
|
|
47905
|
+
if (chunk)
|
|
47906
|
+
this.write(chunk, encoding);
|
|
47907
|
+
if (cb)
|
|
47908
|
+
this.once("end", cb);
|
|
47909
|
+
this[EOF] = true;
|
|
47910
|
+
this.writable = false;
|
|
47911
|
+
if (this.flowing || !this[PAUSED])
|
|
47912
|
+
this[MAYBE_EMIT_END]();
|
|
47913
|
+
return this;
|
|
47914
|
+
}
|
|
47915
|
+
[RESUME]() {
|
|
47916
|
+
if (this[DESTROYED])
|
|
47917
|
+
return;
|
|
47918
|
+
this[PAUSED] = false;
|
|
47919
|
+
this[FLOWING] = true;
|
|
47920
|
+
this.emit("resume");
|
|
47921
|
+
if (this[BUFFER].length)
|
|
47922
|
+
this[FLUSH]();
|
|
47923
|
+
else if (this[EOF])
|
|
47924
|
+
this[MAYBE_EMIT_END]();
|
|
47925
|
+
else
|
|
47926
|
+
this.emit("drain");
|
|
47927
|
+
}
|
|
47928
|
+
resume() {
|
|
47929
|
+
return this[RESUME]();
|
|
47930
|
+
}
|
|
47931
|
+
pause() {
|
|
47932
|
+
this[FLOWING] = false;
|
|
47933
|
+
this[PAUSED] = true;
|
|
47934
|
+
}
|
|
47935
|
+
get destroyed() {
|
|
47936
|
+
return this[DESTROYED];
|
|
47937
|
+
}
|
|
47938
|
+
get flowing() {
|
|
47939
|
+
return this[FLOWING];
|
|
47940
|
+
}
|
|
47941
|
+
get paused() {
|
|
47942
|
+
return this[PAUSED];
|
|
47943
|
+
}
|
|
47944
|
+
[BUFFERPUSH](chunk) {
|
|
47945
|
+
if (this[OBJECTMODE])
|
|
47946
|
+
this[BUFFERLENGTH] += 1;
|
|
47947
|
+
else
|
|
47948
|
+
this[BUFFERLENGTH] += chunk.length;
|
|
47949
|
+
this[BUFFER].push(chunk);
|
|
47950
|
+
}
|
|
47951
|
+
[BUFFERSHIFT]() {
|
|
47952
|
+
if (this[BUFFER].length) {
|
|
47953
|
+
if (this[OBJECTMODE])
|
|
47954
|
+
this[BUFFERLENGTH] -= 1;
|
|
47955
|
+
else
|
|
47956
|
+
this[BUFFERLENGTH] -= this[BUFFER][0].length;
|
|
47957
|
+
}
|
|
47958
|
+
return this[BUFFER].shift();
|
|
47959
|
+
}
|
|
47960
|
+
[FLUSH](noDrain) {
|
|
47961
|
+
do {
|
|
47962
|
+
} while (this[FLUSHCHUNK](this[BUFFERSHIFT]()));
|
|
47963
|
+
if (!noDrain && !this[BUFFER].length && !this[EOF])
|
|
47964
|
+
this.emit("drain");
|
|
47965
|
+
}
|
|
47966
|
+
[FLUSHCHUNK](chunk) {
|
|
47967
|
+
return chunk ? (this.emit("data", chunk), this.flowing) : false;
|
|
47968
|
+
}
|
|
47969
|
+
pipe(dest, opts) {
|
|
47970
|
+
if (this[DESTROYED])
|
|
47971
|
+
return;
|
|
47972
|
+
const ended = this[EMITTED_END];
|
|
47973
|
+
opts = opts || {};
|
|
47974
|
+
if (dest === proc.stdout || dest === proc.stderr)
|
|
47975
|
+
opts.end = false;
|
|
47976
|
+
else
|
|
47977
|
+
opts.end = opts.end !== false;
|
|
47978
|
+
opts.proxyErrors = !!opts.proxyErrors;
|
|
47979
|
+
if (ended) {
|
|
47980
|
+
if (opts.end)
|
|
47981
|
+
dest.end();
|
|
47982
|
+
} else {
|
|
47983
|
+
this[PIPES].push(!opts.proxyErrors ? new Pipe(this, dest, opts) : new PipeProxyErrors(this, dest, opts));
|
|
47984
|
+
if (this[ASYNC])
|
|
47985
|
+
defer(() => this[RESUME]());
|
|
47986
|
+
else
|
|
47987
|
+
this[RESUME]();
|
|
47988
|
+
}
|
|
47989
|
+
return dest;
|
|
47990
|
+
}
|
|
47991
|
+
unpipe(dest) {
|
|
47992
|
+
const p = this[PIPES].find((p2) => p2.dest === dest);
|
|
47993
|
+
if (p) {
|
|
47994
|
+
this[PIPES].splice(this[PIPES].indexOf(p), 1);
|
|
47995
|
+
p.unpipe();
|
|
47996
|
+
}
|
|
47997
|
+
}
|
|
47998
|
+
addListener(ev, fn) {
|
|
47999
|
+
return this.on(ev, fn);
|
|
48000
|
+
}
|
|
48001
|
+
on(ev, fn) {
|
|
48002
|
+
const ret = super.on(ev, fn);
|
|
48003
|
+
if (ev === "data" && !this[PIPES].length && !this.flowing)
|
|
48004
|
+
this[RESUME]();
|
|
48005
|
+
else if (ev === "readable" && this[BUFFERLENGTH] !== 0)
|
|
48006
|
+
super.emit("readable");
|
|
48007
|
+
else if (isEndish(ev) && this[EMITTED_END]) {
|
|
48008
|
+
super.emit(ev);
|
|
48009
|
+
this.removeAllListeners(ev);
|
|
48010
|
+
} else if (ev === "error" && this[EMITTED_ERROR]) {
|
|
48011
|
+
if (this[ASYNC])
|
|
48012
|
+
defer(() => fn.call(this, this[EMITTED_ERROR]));
|
|
48013
|
+
else
|
|
48014
|
+
fn.call(this, this[EMITTED_ERROR]);
|
|
48015
|
+
}
|
|
48016
|
+
return ret;
|
|
48017
|
+
}
|
|
48018
|
+
get emittedEnd() {
|
|
48019
|
+
return this[EMITTED_END];
|
|
48020
|
+
}
|
|
48021
|
+
[MAYBE_EMIT_END]() {
|
|
48022
|
+
if (!this[EMITTING_END] && !this[EMITTED_END] && !this[DESTROYED] && this[BUFFER].length === 0 && this[EOF]) {
|
|
48023
|
+
this[EMITTING_END] = true;
|
|
48024
|
+
this.emit("end");
|
|
48025
|
+
this.emit("prefinish");
|
|
48026
|
+
this.emit("finish");
|
|
48027
|
+
if (this[CLOSED])
|
|
48028
|
+
this.emit("close");
|
|
48029
|
+
this[EMITTING_END] = false;
|
|
48030
|
+
}
|
|
48031
|
+
}
|
|
48032
|
+
emit(ev, data, ...extra) {
|
|
48033
|
+
if (ev !== "error" && ev !== "close" && ev !== DESTROYED && this[DESTROYED])
|
|
48034
|
+
return;
|
|
48035
|
+
else if (ev === "data") {
|
|
48036
|
+
return !data ? false : this[ASYNC] ? defer(() => this[EMITDATA](data)) : this[EMITDATA](data);
|
|
48037
|
+
} else if (ev === "end") {
|
|
48038
|
+
return this[EMITEND]();
|
|
48039
|
+
} else if (ev === "close") {
|
|
48040
|
+
this[CLOSED] = true;
|
|
48041
|
+
if (!this[EMITTED_END] && !this[DESTROYED])
|
|
48042
|
+
return;
|
|
48043
|
+
const ret2 = super.emit("close");
|
|
48044
|
+
this.removeAllListeners("close");
|
|
48045
|
+
return ret2;
|
|
48046
|
+
} else if (ev === "error") {
|
|
48047
|
+
this[EMITTED_ERROR] = data;
|
|
48048
|
+
const ret2 = super.emit("error", data);
|
|
48049
|
+
this[MAYBE_EMIT_END]();
|
|
48050
|
+
return ret2;
|
|
48051
|
+
} else if (ev === "resume") {
|
|
48052
|
+
const ret2 = super.emit("resume");
|
|
48053
|
+
this[MAYBE_EMIT_END]();
|
|
48054
|
+
return ret2;
|
|
48055
|
+
} else if (ev === "finish" || ev === "prefinish") {
|
|
48056
|
+
const ret2 = super.emit(ev);
|
|
48057
|
+
this.removeAllListeners(ev);
|
|
48058
|
+
return ret2;
|
|
48059
|
+
}
|
|
48060
|
+
const ret = super.emit(ev, data, ...extra);
|
|
48061
|
+
this[MAYBE_EMIT_END]();
|
|
48062
|
+
return ret;
|
|
48063
|
+
}
|
|
48064
|
+
[EMITDATA](data) {
|
|
48065
|
+
for (const p of this[PIPES]) {
|
|
48066
|
+
if (p.dest.write(data) === false)
|
|
48067
|
+
this.pause();
|
|
48068
|
+
}
|
|
48069
|
+
const ret = super.emit("data", data);
|
|
48070
|
+
this[MAYBE_EMIT_END]();
|
|
48071
|
+
return ret;
|
|
48072
|
+
}
|
|
48073
|
+
[EMITEND]() {
|
|
48074
|
+
if (this[EMITTED_END])
|
|
48075
|
+
return;
|
|
48076
|
+
this[EMITTED_END] = true;
|
|
48077
|
+
this.readable = false;
|
|
48078
|
+
if (this[ASYNC])
|
|
48079
|
+
defer(() => this[EMITEND2]());
|
|
48080
|
+
else
|
|
48081
|
+
this[EMITEND2]();
|
|
48082
|
+
}
|
|
48083
|
+
[EMITEND2]() {
|
|
48084
|
+
if (this[DECODER]) {
|
|
48085
|
+
const data = this[DECODER].end();
|
|
48086
|
+
if (data) {
|
|
48087
|
+
for (const p of this[PIPES]) {
|
|
48088
|
+
p.dest.write(data);
|
|
48089
|
+
}
|
|
48090
|
+
super.emit("data", data);
|
|
48091
|
+
}
|
|
48092
|
+
}
|
|
48093
|
+
for (const p of this[PIPES]) {
|
|
48094
|
+
p.end();
|
|
48095
|
+
}
|
|
48096
|
+
const ret = super.emit("end");
|
|
48097
|
+
this.removeAllListeners("end");
|
|
48098
|
+
return ret;
|
|
48099
|
+
}
|
|
48100
|
+
collect() {
|
|
48101
|
+
const buf = [];
|
|
48102
|
+
if (!this[OBJECTMODE])
|
|
48103
|
+
buf.dataLength = 0;
|
|
48104
|
+
const p = this.promise();
|
|
48105
|
+
this.on("data", (c) => {
|
|
48106
|
+
buf.push(c);
|
|
48107
|
+
if (!this[OBJECTMODE])
|
|
48108
|
+
buf.dataLength += c.length;
|
|
48109
|
+
});
|
|
48110
|
+
return p.then(() => buf);
|
|
48111
|
+
}
|
|
48112
|
+
concat() {
|
|
48113
|
+
return this[OBJECTMODE] ? Promise.reject(new Error("cannot concat in objectMode")) : this.collect().then((buf) => this[OBJECTMODE] ? Promise.reject(new Error("cannot concat in objectMode")) : this[ENCODING] ? buf.join("") : Buffer.concat(buf, buf.dataLength));
|
|
48114
|
+
}
|
|
48115
|
+
promise() {
|
|
48116
|
+
return new Promise((resolve, reject) => {
|
|
48117
|
+
this.on(DESTROYED, () => reject(new Error("stream destroyed")));
|
|
48118
|
+
this.on("error", (er) => reject(er));
|
|
48119
|
+
this.on("end", () => resolve());
|
|
48120
|
+
});
|
|
48121
|
+
}
|
|
48122
|
+
[ASYNCITERATOR]() {
|
|
48123
|
+
const next = () => {
|
|
48124
|
+
const res = this.read();
|
|
48125
|
+
if (res !== null)
|
|
48126
|
+
return Promise.resolve({ done: false, value: res });
|
|
48127
|
+
if (this[EOF])
|
|
48128
|
+
return Promise.resolve({ done: true });
|
|
48129
|
+
let resolve = null;
|
|
48130
|
+
let reject = null;
|
|
48131
|
+
const onerr = (er) => {
|
|
48132
|
+
this.removeListener("data", ondata);
|
|
48133
|
+
this.removeListener("end", onend);
|
|
48134
|
+
reject(er);
|
|
48135
|
+
};
|
|
48136
|
+
const ondata = (value) => {
|
|
48137
|
+
this.removeListener("error", onerr);
|
|
48138
|
+
this.removeListener("end", onend);
|
|
48139
|
+
this.pause();
|
|
48140
|
+
resolve({ value, done: !!this[EOF] });
|
|
48141
|
+
};
|
|
48142
|
+
const onend = () => {
|
|
48143
|
+
this.removeListener("error", onerr);
|
|
48144
|
+
this.removeListener("data", ondata);
|
|
48145
|
+
resolve({ done: true });
|
|
48146
|
+
};
|
|
48147
|
+
const ondestroy = () => onerr(new Error("stream destroyed"));
|
|
48148
|
+
return new Promise((res2, rej) => {
|
|
48149
|
+
reject = rej;
|
|
48150
|
+
resolve = res2;
|
|
48151
|
+
this.once(DESTROYED, ondestroy);
|
|
48152
|
+
this.once("error", onerr);
|
|
48153
|
+
this.once("end", onend);
|
|
48154
|
+
this.once("data", ondata);
|
|
48155
|
+
});
|
|
48156
|
+
};
|
|
48157
|
+
return { next };
|
|
48158
|
+
}
|
|
48159
|
+
[ITERATOR]() {
|
|
48160
|
+
const next = () => {
|
|
48161
|
+
const value = this.read();
|
|
48162
|
+
const done = value === null;
|
|
48163
|
+
return { value, done };
|
|
48164
|
+
};
|
|
48165
|
+
return { next };
|
|
48166
|
+
}
|
|
48167
|
+
destroy(er) {
|
|
48168
|
+
if (this[DESTROYED]) {
|
|
48169
|
+
if (er)
|
|
48170
|
+
this.emit("error", er);
|
|
48171
|
+
else
|
|
48172
|
+
this.emit(DESTROYED);
|
|
48173
|
+
return this;
|
|
48174
|
+
}
|
|
48175
|
+
this[DESTROYED] = true;
|
|
48176
|
+
this[BUFFER].length = 0;
|
|
48177
|
+
this[BUFFERLENGTH] = 0;
|
|
48178
|
+
if (typeof this.close === "function" && !this[CLOSED])
|
|
48179
|
+
this.close();
|
|
48180
|
+
if (er)
|
|
48181
|
+
this.emit("error", er);
|
|
48182
|
+
else
|
|
48183
|
+
this.emit(DESTROYED);
|
|
48184
|
+
return this;
|
|
48185
|
+
}
|
|
48186
|
+
static isStream(s) {
|
|
48187
|
+
return !!s && (s instanceof Minipass || s instanceof Stream || s instanceof EE && (typeof s.pipe === "function" || typeof s.write === "function" && typeof s.end === "function"));
|
|
48188
|
+
}
|
|
48189
|
+
};
|
|
48190
|
+
}
|
|
48191
|
+
});
|
|
48192
|
+
var require_constants4 = __commonJS({
|
|
48193
|
+
"../../../../node_modules/.pnpm/minizlib@2.1.2/node_modules/minizlib/constants.js"(exports, module2) {
|
|
48194
|
+
var realZlibConstants = __require("zlib").constants || { ZLIB_VERNUM: 4736 };
|
|
48195
|
+
module2.exports = Object.freeze(Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
48196
|
+
Z_NO_FLUSH: 0,
|
|
48197
|
+
Z_PARTIAL_FLUSH: 1,
|
|
48198
|
+
Z_SYNC_FLUSH: 2,
|
|
48199
|
+
Z_FULL_FLUSH: 3,
|
|
48200
|
+
Z_FINISH: 4,
|
|
48201
|
+
Z_BLOCK: 5,
|
|
48202
|
+
Z_OK: 0,
|
|
48203
|
+
Z_STREAM_END: 1,
|
|
48204
|
+
Z_NEED_DICT: 2,
|
|
48205
|
+
Z_ERRNO: -1,
|
|
48206
|
+
Z_STREAM_ERROR: -2,
|
|
48207
|
+
Z_DATA_ERROR: -3,
|
|
48208
|
+
Z_MEM_ERROR: -4,
|
|
48209
|
+
Z_BUF_ERROR: -5,
|
|
48210
|
+
Z_VERSION_ERROR: -6,
|
|
48211
|
+
Z_NO_COMPRESSION: 0,
|
|
48212
|
+
Z_BEST_SPEED: 1,
|
|
48213
|
+
Z_BEST_COMPRESSION: 9,
|
|
48214
|
+
Z_DEFAULT_COMPRESSION: -1,
|
|
48215
|
+
Z_FILTERED: 1,
|
|
48216
|
+
Z_HUFFMAN_ONLY: 2,
|
|
48217
|
+
Z_RLE: 3,
|
|
48218
|
+
Z_FIXED: 4,
|
|
48219
|
+
Z_DEFAULT_STRATEGY: 0,
|
|
48220
|
+
DEFLATE: 1,
|
|
48221
|
+
INFLATE: 2,
|
|
48222
|
+
GZIP: 3,
|
|
48223
|
+
GUNZIP: 4,
|
|
48224
|
+
DEFLATERAW: 5,
|
|
48225
|
+
INFLATERAW: 6,
|
|
48226
|
+
UNZIP: 7,
|
|
48227
|
+
BROTLI_DECODE: 8,
|
|
48228
|
+
BROTLI_ENCODE: 9,
|
|
48229
|
+
Z_MIN_WINDOWBITS: 8,
|
|
48230
|
+
Z_MAX_WINDOWBITS: 15,
|
|
48231
|
+
Z_DEFAULT_WINDOWBITS: 15,
|
|
48232
|
+
Z_MIN_CHUNK: 64,
|
|
48233
|
+
Z_MAX_CHUNK: Infinity,
|
|
48234
|
+
Z_DEFAULT_CHUNK: 16384,
|
|
48235
|
+
Z_MIN_MEMLEVEL: 1,
|
|
48236
|
+
Z_MAX_MEMLEVEL: 9,
|
|
48237
|
+
Z_DEFAULT_MEMLEVEL: 8,
|
|
48238
|
+
Z_MIN_LEVEL: -1,
|
|
48239
|
+
Z_MAX_LEVEL: 9,
|
|
48240
|
+
Z_DEFAULT_LEVEL: -1,
|
|
48241
|
+
BROTLI_OPERATION_PROCESS: 0,
|
|
48242
|
+
BROTLI_OPERATION_FLUSH: 1,
|
|
48243
|
+
BROTLI_OPERATION_FINISH: 2,
|
|
48244
|
+
BROTLI_OPERATION_EMIT_METADATA: 3,
|
|
48245
|
+
BROTLI_MODE_GENERIC: 0,
|
|
48246
|
+
BROTLI_MODE_TEXT: 1,
|
|
48247
|
+
BROTLI_MODE_FONT: 2,
|
|
48248
|
+
BROTLI_DEFAULT_MODE: 0,
|
|
48249
|
+
BROTLI_MIN_QUALITY: 0,
|
|
48250
|
+
BROTLI_MAX_QUALITY: 11,
|
|
48251
|
+
BROTLI_DEFAULT_QUALITY: 11,
|
|
48252
|
+
BROTLI_MIN_WINDOW_BITS: 10,
|
|
48253
|
+
BROTLI_MAX_WINDOW_BITS: 24,
|
|
48254
|
+
BROTLI_LARGE_MAX_WINDOW_BITS: 30,
|
|
48255
|
+
BROTLI_DEFAULT_WINDOW: 22,
|
|
48256
|
+
BROTLI_MIN_INPUT_BLOCK_BITS: 16,
|
|
48257
|
+
BROTLI_MAX_INPUT_BLOCK_BITS: 24,
|
|
48258
|
+
BROTLI_PARAM_MODE: 0,
|
|
48259
|
+
BROTLI_PARAM_QUALITY: 1,
|
|
48260
|
+
BROTLI_PARAM_LGWIN: 2,
|
|
48261
|
+
BROTLI_PARAM_LGBLOCK: 3,
|
|
48262
|
+
BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: 4,
|
|
48263
|
+
BROTLI_PARAM_SIZE_HINT: 5,
|
|
48264
|
+
BROTLI_PARAM_LARGE_WINDOW: 6,
|
|
48265
|
+
BROTLI_PARAM_NPOSTFIX: 7,
|
|
48266
|
+
BROTLI_PARAM_NDIRECT: 8,
|
|
48267
|
+
BROTLI_DECODER_RESULT_ERROR: 0,
|
|
48268
|
+
BROTLI_DECODER_RESULT_SUCCESS: 1,
|
|
48269
|
+
BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: 2,
|
|
48270
|
+
BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: 3,
|
|
48271
|
+
BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: 0,
|
|
48272
|
+
BROTLI_DECODER_PARAM_LARGE_WINDOW: 1,
|
|
48273
|
+
BROTLI_DECODER_NO_ERROR: 0,
|
|
48274
|
+
BROTLI_DECODER_SUCCESS: 1,
|
|
48275
|
+
BROTLI_DECODER_NEEDS_MORE_INPUT: 2,
|
|
48276
|
+
BROTLI_DECODER_NEEDS_MORE_OUTPUT: 3,
|
|
48277
|
+
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: -1,
|
|
48278
|
+
BROTLI_DECODER_ERROR_FORMAT_RESERVED: -2,
|
|
48279
|
+
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: -3,
|
|
48280
|
+
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: -4,
|
|
48281
|
+
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: -5,
|
|
48282
|
+
BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: -6,
|
|
48283
|
+
BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: -7,
|
|
48284
|
+
BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: -8,
|
|
48285
|
+
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: -9,
|
|
48286
|
+
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: -10,
|
|
48287
|
+
BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: -11,
|
|
48288
|
+
BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: -12,
|
|
48289
|
+
BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: -13,
|
|
48290
|
+
BROTLI_DECODER_ERROR_FORMAT_PADDING_1: -14,
|
|
48291
|
+
BROTLI_DECODER_ERROR_FORMAT_PADDING_2: -15,
|
|
48292
|
+
BROTLI_DECODER_ERROR_FORMAT_DISTANCE: -16,
|
|
48293
|
+
BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: -19,
|
|
48294
|
+
BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: -20,
|
|
48295
|
+
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: -21,
|
|
48296
|
+
BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: -22,
|
|
48297
|
+
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: -25,
|
|
48298
|
+
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: -26,
|
|
48299
|
+
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: -27,
|
|
48300
|
+
BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: -30,
|
|
48301
|
+
BROTLI_DECODER_ERROR_UNREACHABLE: -31
|
|
48302
|
+
}, realZlibConstants));
|
|
48303
|
+
}
|
|
48304
|
+
});
|
|
48305
|
+
var require_minipass2 = __commonJS({
|
|
47672
48306
|
"../../../../node_modules/.pnpm/minipass@3.3.6/node_modules/minipass/index.js"(exports, module2) {
|
|
47673
48307
|
"use strict";
|
|
47674
48308
|
var proc = typeof process === "object" && process ? process : {
|
|
@@ -48181,119 +48815,6 @@ var require_minipass = __commonJS({
|
|
|
48181
48815
|
};
|
|
48182
48816
|
}
|
|
48183
48817
|
});
|
|
48184
|
-
var require_constants4 = __commonJS({
|
|
48185
|
-
"../../../../node_modules/.pnpm/minizlib@2.1.2/node_modules/minizlib/constants.js"(exports, module2) {
|
|
48186
|
-
var realZlibConstants = __require("zlib").constants || { ZLIB_VERNUM: 4736 };
|
|
48187
|
-
module2.exports = Object.freeze(Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
48188
|
-
Z_NO_FLUSH: 0,
|
|
48189
|
-
Z_PARTIAL_FLUSH: 1,
|
|
48190
|
-
Z_SYNC_FLUSH: 2,
|
|
48191
|
-
Z_FULL_FLUSH: 3,
|
|
48192
|
-
Z_FINISH: 4,
|
|
48193
|
-
Z_BLOCK: 5,
|
|
48194
|
-
Z_OK: 0,
|
|
48195
|
-
Z_STREAM_END: 1,
|
|
48196
|
-
Z_NEED_DICT: 2,
|
|
48197
|
-
Z_ERRNO: -1,
|
|
48198
|
-
Z_STREAM_ERROR: -2,
|
|
48199
|
-
Z_DATA_ERROR: -3,
|
|
48200
|
-
Z_MEM_ERROR: -4,
|
|
48201
|
-
Z_BUF_ERROR: -5,
|
|
48202
|
-
Z_VERSION_ERROR: -6,
|
|
48203
|
-
Z_NO_COMPRESSION: 0,
|
|
48204
|
-
Z_BEST_SPEED: 1,
|
|
48205
|
-
Z_BEST_COMPRESSION: 9,
|
|
48206
|
-
Z_DEFAULT_COMPRESSION: -1,
|
|
48207
|
-
Z_FILTERED: 1,
|
|
48208
|
-
Z_HUFFMAN_ONLY: 2,
|
|
48209
|
-
Z_RLE: 3,
|
|
48210
|
-
Z_FIXED: 4,
|
|
48211
|
-
Z_DEFAULT_STRATEGY: 0,
|
|
48212
|
-
DEFLATE: 1,
|
|
48213
|
-
INFLATE: 2,
|
|
48214
|
-
GZIP: 3,
|
|
48215
|
-
GUNZIP: 4,
|
|
48216
|
-
DEFLATERAW: 5,
|
|
48217
|
-
INFLATERAW: 6,
|
|
48218
|
-
UNZIP: 7,
|
|
48219
|
-
BROTLI_DECODE: 8,
|
|
48220
|
-
BROTLI_ENCODE: 9,
|
|
48221
|
-
Z_MIN_WINDOWBITS: 8,
|
|
48222
|
-
Z_MAX_WINDOWBITS: 15,
|
|
48223
|
-
Z_DEFAULT_WINDOWBITS: 15,
|
|
48224
|
-
Z_MIN_CHUNK: 64,
|
|
48225
|
-
Z_MAX_CHUNK: Infinity,
|
|
48226
|
-
Z_DEFAULT_CHUNK: 16384,
|
|
48227
|
-
Z_MIN_MEMLEVEL: 1,
|
|
48228
|
-
Z_MAX_MEMLEVEL: 9,
|
|
48229
|
-
Z_DEFAULT_MEMLEVEL: 8,
|
|
48230
|
-
Z_MIN_LEVEL: -1,
|
|
48231
|
-
Z_MAX_LEVEL: 9,
|
|
48232
|
-
Z_DEFAULT_LEVEL: -1,
|
|
48233
|
-
BROTLI_OPERATION_PROCESS: 0,
|
|
48234
|
-
BROTLI_OPERATION_FLUSH: 1,
|
|
48235
|
-
BROTLI_OPERATION_FINISH: 2,
|
|
48236
|
-
BROTLI_OPERATION_EMIT_METADATA: 3,
|
|
48237
|
-
BROTLI_MODE_GENERIC: 0,
|
|
48238
|
-
BROTLI_MODE_TEXT: 1,
|
|
48239
|
-
BROTLI_MODE_FONT: 2,
|
|
48240
|
-
BROTLI_DEFAULT_MODE: 0,
|
|
48241
|
-
BROTLI_MIN_QUALITY: 0,
|
|
48242
|
-
BROTLI_MAX_QUALITY: 11,
|
|
48243
|
-
BROTLI_DEFAULT_QUALITY: 11,
|
|
48244
|
-
BROTLI_MIN_WINDOW_BITS: 10,
|
|
48245
|
-
BROTLI_MAX_WINDOW_BITS: 24,
|
|
48246
|
-
BROTLI_LARGE_MAX_WINDOW_BITS: 30,
|
|
48247
|
-
BROTLI_DEFAULT_WINDOW: 22,
|
|
48248
|
-
BROTLI_MIN_INPUT_BLOCK_BITS: 16,
|
|
48249
|
-
BROTLI_MAX_INPUT_BLOCK_BITS: 24,
|
|
48250
|
-
BROTLI_PARAM_MODE: 0,
|
|
48251
|
-
BROTLI_PARAM_QUALITY: 1,
|
|
48252
|
-
BROTLI_PARAM_LGWIN: 2,
|
|
48253
|
-
BROTLI_PARAM_LGBLOCK: 3,
|
|
48254
|
-
BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: 4,
|
|
48255
|
-
BROTLI_PARAM_SIZE_HINT: 5,
|
|
48256
|
-
BROTLI_PARAM_LARGE_WINDOW: 6,
|
|
48257
|
-
BROTLI_PARAM_NPOSTFIX: 7,
|
|
48258
|
-
BROTLI_PARAM_NDIRECT: 8,
|
|
48259
|
-
BROTLI_DECODER_RESULT_ERROR: 0,
|
|
48260
|
-
BROTLI_DECODER_RESULT_SUCCESS: 1,
|
|
48261
|
-
BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: 2,
|
|
48262
|
-
BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: 3,
|
|
48263
|
-
BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: 0,
|
|
48264
|
-
BROTLI_DECODER_PARAM_LARGE_WINDOW: 1,
|
|
48265
|
-
BROTLI_DECODER_NO_ERROR: 0,
|
|
48266
|
-
BROTLI_DECODER_SUCCESS: 1,
|
|
48267
|
-
BROTLI_DECODER_NEEDS_MORE_INPUT: 2,
|
|
48268
|
-
BROTLI_DECODER_NEEDS_MORE_OUTPUT: 3,
|
|
48269
|
-
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: -1,
|
|
48270
|
-
BROTLI_DECODER_ERROR_FORMAT_RESERVED: -2,
|
|
48271
|
-
BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: -3,
|
|
48272
|
-
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: -4,
|
|
48273
|
-
BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: -5,
|
|
48274
|
-
BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: -6,
|
|
48275
|
-
BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: -7,
|
|
48276
|
-
BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: -8,
|
|
48277
|
-
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: -9,
|
|
48278
|
-
BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: -10,
|
|
48279
|
-
BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: -11,
|
|
48280
|
-
BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: -12,
|
|
48281
|
-
BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: -13,
|
|
48282
|
-
BROTLI_DECODER_ERROR_FORMAT_PADDING_1: -14,
|
|
48283
|
-
BROTLI_DECODER_ERROR_FORMAT_PADDING_2: -15,
|
|
48284
|
-
BROTLI_DECODER_ERROR_FORMAT_DISTANCE: -16,
|
|
48285
|
-
BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: -19,
|
|
48286
|
-
BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: -20,
|
|
48287
|
-
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: -21,
|
|
48288
|
-
BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: -22,
|
|
48289
|
-
BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: -25,
|
|
48290
|
-
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: -26,
|
|
48291
|
-
BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: -27,
|
|
48292
|
-
BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: -30,
|
|
48293
|
-
BROTLI_DECODER_ERROR_UNREACHABLE: -31
|
|
48294
|
-
}, realZlibConstants));
|
|
48295
|
-
}
|
|
48296
|
-
});
|
|
48297
48818
|
var require_minizlib = __commonJS({
|
|
48298
48819
|
"../../../../node_modules/.pnpm/minizlib@2.1.2/node_modules/minizlib/index.js"(exports) {
|
|
48299
48820
|
"use strict";
|
|
@@ -48301,7 +48822,7 @@ var require_minizlib = __commonJS({
|
|
|
48301
48822
|
var Buffer2 = __require("buffer").Buffer;
|
|
48302
48823
|
var realZlib = __require("zlib");
|
|
48303
48824
|
var constants = exports.constants = require_constants4();
|
|
48304
|
-
var Minipass =
|
|
48825
|
+
var Minipass = require_minipass2();
|
|
48305
48826
|
var OriginalBufferConcat = Buffer2.concat;
|
|
48306
48827
|
var _superWrite = Symbol("_superWrite");
|
|
48307
48828
|
var ZlibError = class extends Error {
|
|
@@ -48557,13 +49078,13 @@ var require_minizlib = __commonJS({
|
|
|
48557
49078
|
}
|
|
48558
49079
|
});
|
|
48559
49080
|
var require_normalize_windows_path = __commonJS({
|
|
48560
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49081
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/normalize-windows-path.js"(exports, module2) {
|
|
48561
49082
|
var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
48562
49083
|
module2.exports = platform !== "win32" ? (p) => p : (p) => p && p.replace(/\\/g, "/");
|
|
48563
49084
|
}
|
|
48564
49085
|
});
|
|
48565
49086
|
var require_read_entry = __commonJS({
|
|
48566
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49087
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/read-entry.js"(exports, module2) {
|
|
48567
49088
|
"use strict";
|
|
48568
49089
|
var MiniPass = require_minipass();
|
|
48569
49090
|
var normPath = require_normalize_windows_path();
|
|
@@ -48655,7 +49176,7 @@ var require_read_entry = __commonJS({
|
|
|
48655
49176
|
}
|
|
48656
49177
|
});
|
|
48657
49178
|
var require_types = __commonJS({
|
|
48658
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49179
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/types.js"(exports) {
|
|
48659
49180
|
"use strict";
|
|
48660
49181
|
exports.name = /* @__PURE__ */ new Map([
|
|
48661
49182
|
["0", "File"],
|
|
@@ -48684,7 +49205,7 @@ var require_types = __commonJS({
|
|
|
48684
49205
|
}
|
|
48685
49206
|
});
|
|
48686
49207
|
var require_large_numbers = __commonJS({
|
|
48687
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49208
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/large-numbers.js"(exports, module2) {
|
|
48688
49209
|
"use strict";
|
|
48689
49210
|
var encode = (num, buf) => {
|
|
48690
49211
|
if (!Number.isSafeInteger(num)) {
|
|
@@ -48772,7 +49293,7 @@ var require_large_numbers = __commonJS({
|
|
|
48772
49293
|
}
|
|
48773
49294
|
});
|
|
48774
49295
|
var require_header = __commonJS({
|
|
48775
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49296
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/header.js"(exports, module2) {
|
|
48776
49297
|
"use strict";
|
|
48777
49298
|
var types = require_types();
|
|
48778
49299
|
var pathModule = __require("path").posix;
|
|
@@ -48990,7 +49511,7 @@ var require_header = __commonJS({
|
|
|
48990
49511
|
}
|
|
48991
49512
|
});
|
|
48992
49513
|
var require_pax = __commonJS({
|
|
48993
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49514
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/pax.js"(exports, module2) {
|
|
48994
49515
|
"use strict";
|
|
48995
49516
|
var Header = require_header();
|
|
48996
49517
|
var path9 = __require("path");
|
|
@@ -49086,7 +49607,7 @@ var require_pax = __commonJS({
|
|
|
49086
49607
|
}
|
|
49087
49608
|
});
|
|
49088
49609
|
var require_strip_trailing_slashes = __commonJS({
|
|
49089
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49610
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/strip-trailing-slashes.js"(exports, module2) {
|
|
49090
49611
|
module2.exports = (str) => {
|
|
49091
49612
|
let i = str.length - 1;
|
|
49092
49613
|
let slashesStart = -1;
|
|
@@ -49099,7 +49620,7 @@ var require_strip_trailing_slashes = __commonJS({
|
|
|
49099
49620
|
}
|
|
49100
49621
|
});
|
|
49101
49622
|
var require_warn_mixin = __commonJS({
|
|
49102
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49623
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/warn-mixin.js"(exports, module2) {
|
|
49103
49624
|
"use strict";
|
|
49104
49625
|
module2.exports = (Base) => class extends Base {
|
|
49105
49626
|
warn(code, message, data = {}) {
|
|
@@ -49127,7 +49648,7 @@ var require_warn_mixin = __commonJS({
|
|
|
49127
49648
|
}
|
|
49128
49649
|
});
|
|
49129
49650
|
var require_winchars = __commonJS({
|
|
49130
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49651
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/winchars.js"(exports, module2) {
|
|
49131
49652
|
"use strict";
|
|
49132
49653
|
var raw2 = [
|
|
49133
49654
|
"|",
|
|
@@ -49146,7 +49667,7 @@ var require_winchars = __commonJS({
|
|
|
49146
49667
|
}
|
|
49147
49668
|
});
|
|
49148
49669
|
var require_strip_absolute_path = __commonJS({
|
|
49149
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49670
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
|
|
49150
49671
|
var { isAbsolute, parse: parse2 } = __require("path").win32;
|
|
49151
49672
|
module2.exports = (path9) => {
|
|
49152
49673
|
let r = "";
|
|
@@ -49162,7 +49683,7 @@ var require_strip_absolute_path = __commonJS({
|
|
|
49162
49683
|
}
|
|
49163
49684
|
});
|
|
49164
49685
|
var require_mode_fix = __commonJS({
|
|
49165
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49686
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/mode-fix.js"(exports, module2) {
|
|
49166
49687
|
"use strict";
|
|
49167
49688
|
module2.exports = (mode, isDir, portable) => {
|
|
49168
49689
|
mode &= 4095;
|
|
@@ -49185,7 +49706,7 @@ var require_mode_fix = __commonJS({
|
|
|
49185
49706
|
}
|
|
49186
49707
|
});
|
|
49187
49708
|
var require_write_entry = __commonJS({
|
|
49188
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
49709
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/write-entry.js"(exports, module2) {
|
|
49189
49710
|
"use strict";
|
|
49190
49711
|
var MiniPass = require_minipass();
|
|
49191
49712
|
var Pax = require_pax();
|
|
@@ -50022,7 +50543,7 @@ var require_yallist = __commonJS({
|
|
|
50022
50543
|
}
|
|
50023
50544
|
});
|
|
50024
50545
|
var require_pack = __commonJS({
|
|
50025
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
50546
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/pack.js"(exports, module2) {
|
|
50026
50547
|
"use strict";
|
|
50027
50548
|
var PackJob = class {
|
|
50028
50549
|
constructor(path10, absolute) {
|
|
@@ -50377,7 +50898,7 @@ var require_pack = __commonJS({
|
|
|
50377
50898
|
var require_fs_minipass = __commonJS({
|
|
50378
50899
|
"../../../../node_modules/.pnpm/fs-minipass@2.1.0/node_modules/fs-minipass/index.js"(exports) {
|
|
50379
50900
|
"use strict";
|
|
50380
|
-
var MiniPass =
|
|
50901
|
+
var MiniPass = require_minipass2();
|
|
50381
50902
|
var EE = __require("events").EventEmitter;
|
|
50382
50903
|
var fs3 = __require("fs");
|
|
50383
50904
|
var writev = fs3.writev;
|
|
@@ -50748,7 +51269,7 @@ var require_fs_minipass = __commonJS({
|
|
|
50748
51269
|
}
|
|
50749
51270
|
});
|
|
50750
51271
|
var require_parse2 = __commonJS({
|
|
50751
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
51272
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/parse.js"(exports, module2) {
|
|
50752
51273
|
"use strict";
|
|
50753
51274
|
var warner = require_warn_mixin();
|
|
50754
51275
|
var Header = require_header();
|
|
@@ -51147,7 +51668,7 @@ var require_parse2 = __commonJS({
|
|
|
51147
51668
|
}
|
|
51148
51669
|
});
|
|
51149
51670
|
var require_list = __commonJS({
|
|
51150
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
51671
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/list.js"(exports, module2) {
|
|
51151
51672
|
"use strict";
|
|
51152
51673
|
var hlo = require_high_level_opt();
|
|
51153
51674
|
var Parser2 = require_parse2();
|
|
@@ -51259,7 +51780,7 @@ var require_list = __commonJS({
|
|
|
51259
51780
|
}
|
|
51260
51781
|
});
|
|
51261
51782
|
var require_create = __commonJS({
|
|
51262
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
51783
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/create.js"(exports, module2) {
|
|
51263
51784
|
"use strict";
|
|
51264
51785
|
var hlo = require_high_level_opt();
|
|
51265
51786
|
var Pack = require_pack();
|
|
@@ -51351,7 +51872,7 @@ var require_create = __commonJS({
|
|
|
51351
51872
|
}
|
|
51352
51873
|
});
|
|
51353
51874
|
var require_replace = __commonJS({
|
|
51354
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
51875
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/replace.js"(exports, module2) {
|
|
51355
51876
|
"use strict";
|
|
51356
51877
|
var hlo = require_high_level_opt();
|
|
51357
51878
|
var Pack = require_pack();
|
|
@@ -51565,7 +52086,7 @@ var require_replace = __commonJS({
|
|
|
51565
52086
|
}
|
|
51566
52087
|
});
|
|
51567
52088
|
var require_update = __commonJS({
|
|
51568
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
52089
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/update.js"(exports, module2) {
|
|
51569
52090
|
"use strict";
|
|
51570
52091
|
var hlo = require_high_level_opt();
|
|
51571
52092
|
var r = require_replace();
|
|
@@ -51933,7 +52454,7 @@ var require_chownr = __commonJS({
|
|
|
51933
52454
|
}
|
|
51934
52455
|
});
|
|
51935
52456
|
var require_mkdir = __commonJS({
|
|
51936
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
52457
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/mkdir.js"(exports, module2) {
|
|
51937
52458
|
"use strict";
|
|
51938
52459
|
var mkdirp = require_mkdirp();
|
|
51939
52460
|
var fs3 = __require("fs");
|
|
@@ -52123,7 +52644,7 @@ var require_mkdir = __commonJS({
|
|
|
52123
52644
|
}
|
|
52124
52645
|
});
|
|
52125
52646
|
var require_normalize_unicode = __commonJS({
|
|
52126
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
52647
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/normalize-unicode.js"(exports, module2) {
|
|
52127
52648
|
var normalizeCache = /* @__PURE__ */ Object.create(null);
|
|
52128
52649
|
var { hasOwnProperty: hasOwnProperty6 } = Object.prototype;
|
|
52129
52650
|
module2.exports = (s) => {
|
|
@@ -52135,7 +52656,7 @@ var require_normalize_unicode = __commonJS({
|
|
|
52135
52656
|
}
|
|
52136
52657
|
});
|
|
52137
52658
|
var require_path_reservations = __commonJS({
|
|
52138
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
52659
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/path-reservations.js"(exports, module2) {
|
|
52139
52660
|
var assert = __require("assert");
|
|
52140
52661
|
var normalize = require_normalize_unicode();
|
|
52141
52662
|
var stripSlashes = require_strip_trailing_slashes();
|
|
@@ -52247,7 +52768,7 @@ var require_path_reservations = __commonJS({
|
|
|
52247
52768
|
}
|
|
52248
52769
|
});
|
|
52249
52770
|
var require_get_write_flag = __commonJS({
|
|
52250
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
52771
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/get-write-flag.js"(exports, module2) {
|
|
52251
52772
|
var platform = process.env.__FAKE_PLATFORM__ || process.platform;
|
|
52252
52773
|
var isWindows = platform === "win32";
|
|
52253
52774
|
var fs3 = global.__FAKE_TESTING_FS__ || __require("fs");
|
|
@@ -52259,7 +52780,7 @@ var require_get_write_flag = __commonJS({
|
|
|
52259
52780
|
}
|
|
52260
52781
|
});
|
|
52261
52782
|
var require_unpack = __commonJS({
|
|
52262
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
52783
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/unpack.js"(exports, module2) {
|
|
52263
52784
|
"use strict";
|
|
52264
52785
|
var assert = __require("assert");
|
|
52265
52786
|
var Parser2 = require_parse2();
|
|
@@ -52932,7 +53453,7 @@ var require_unpack = __commonJS({
|
|
|
52932
53453
|
}
|
|
52933
53454
|
});
|
|
52934
53455
|
var require_extract = __commonJS({
|
|
52935
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
53456
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/lib/extract.js"(exports, module2) {
|
|
52936
53457
|
"use strict";
|
|
52937
53458
|
var hlo = require_high_level_opt();
|
|
52938
53459
|
var Unpack = require_unpack();
|
|
@@ -53015,7 +53536,7 @@ var require_extract = __commonJS({
|
|
|
53015
53536
|
}
|
|
53016
53537
|
});
|
|
53017
53538
|
var require_tar = __commonJS({
|
|
53018
|
-
"../../../../node_modules/.pnpm/tar@6.1.
|
|
53539
|
+
"../../../../node_modules/.pnpm/tar@6.1.13/node_modules/tar/index.js"(exports) {
|
|
53019
53540
|
"use strict";
|
|
53020
53541
|
exports.c = exports.create = require_create();
|
|
53021
53542
|
exports.r = exports.replace = require_replace();
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221209054133",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@types/node": "^14",
|
|
27
27
|
"jest": "^27",
|
|
28
28
|
"typescript": "^4",
|
|
29
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
30
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
31
|
-
"@modern-js/generator-
|
|
32
|
-
"@modern-js/generator-
|
|
33
|
-
"@modern-js/module-generator": "0.0.0-next-
|
|
34
|
-
"@modern-js/monorepo-generator": "0.0.0-next-
|
|
35
|
-
"@modern-js/mwa-generator": "0.0.0-next-
|
|
36
|
-
"@modern-js/utils": "0.0.0-next-
|
|
37
|
-
"@scripts/
|
|
38
|
-
"@scripts/
|
|
29
|
+
"@modern-js/base-generator": "0.0.0-next-20221209054133",
|
|
30
|
+
"@modern-js/generator-common": "0.0.0-next-20221209054133",
|
|
31
|
+
"@modern-js/generator-plugin": "0.0.0-next-20221209054133",
|
|
32
|
+
"@modern-js/generator-utils": "0.0.0-next-20221209054133",
|
|
33
|
+
"@modern-js/module-generator": "0.0.0-next-20221209054133",
|
|
34
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20221209054133",
|
|
35
|
+
"@modern-js/mwa-generator": "0.0.0-next-20221209054133",
|
|
36
|
+
"@modern-js/utils": "0.0.0-next-20221209054133",
|
|
37
|
+
"@scripts/build": "0.0.0-next-20221209054133",
|
|
38
|
+
"@scripts/jest-config": "0.0.0-next-20221209054133"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|