@swmansion/argent 0.25.1-next.13 → 0.25.1-next.15
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/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +1 -14
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -21857,7 +21857,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
21857
21857
|
var SESSION_ID2 = randomUUID5();
|
|
21858
21858
|
function readCliVersion() {
|
|
21859
21859
|
if (true) {
|
|
21860
|
-
return "0.25.1-next.
|
|
21860
|
+
return "0.25.1-next.15";
|
|
21861
21861
|
}
|
|
21862
21862
|
return "0.0.0";
|
|
21863
21863
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16710,7 +16710,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16710
16710
|
var SESSION_ID = randomUUID4();
|
|
16711
16711
|
function readCliVersion() {
|
|
16712
16712
|
if (true) {
|
|
16713
|
-
return "0.25.1-next.
|
|
16713
|
+
return "0.25.1-next.15";
|
|
16714
16714
|
}
|
|
16715
16715
|
return "0.0.0";
|
|
16716
16716
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -94702,7 +94702,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94702
94702
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94703
94703
|
function readCliVersion() {
|
|
94704
94704
|
if (true) {
|
|
94705
|
-
return "0.25.1-next.
|
|
94705
|
+
return "0.25.1-next.15";
|
|
94706
94706
|
}
|
|
94707
94707
|
return "0.0.0";
|
|
94708
94708
|
}
|
|
@@ -116744,7 +116744,6 @@ var LINE_RE = /^\[L:(\d+)\] (\S+) (\S+)\s+(\S+) \| (.*)$/;
|
|
|
116744
116744
|
var LogFileWriter = class {
|
|
116745
116745
|
filePath;
|
|
116746
116746
|
fd = null;
|
|
116747
|
-
writeBuffer = [];
|
|
116748
116747
|
bytesWritten = 0;
|
|
116749
116748
|
entryCount = 0;
|
|
116750
116749
|
levelCounts = {};
|
|
@@ -116762,18 +116761,9 @@ var LogFileWriter = class {
|
|
|
116762
116761
|
try {
|
|
116763
116762
|
this.fd = fs27.openSync(this.filePath, "w");
|
|
116764
116763
|
this.ready = true;
|
|
116765
|
-
this.flushBuffer();
|
|
116766
116764
|
} catch {
|
|
116767
116765
|
}
|
|
116768
116766
|
}
|
|
116769
|
-
flushBuffer() {
|
|
116770
|
-
if (!this.ready || this.fd === null) return;
|
|
116771
|
-
for (const line of this.writeBuffer) {
|
|
116772
|
-
const buf = Buffer.from(line);
|
|
116773
|
-
fs27.writeSync(this.fd, buf);
|
|
116774
|
-
}
|
|
116775
|
-
this.writeBuffer = [];
|
|
116776
|
-
}
|
|
116777
116767
|
write(entry) {
|
|
116778
116768
|
if (this.closed) throw new Error("LogFileWriter is closed");
|
|
116779
116769
|
if (this.entryCount >= MAX_ENTRIES) {
|
|
@@ -116794,8 +116784,6 @@ var LogFileWriter = class {
|
|
|
116794
116784
|
if (this.ready && this.fd !== null) {
|
|
116795
116785
|
const buf = Buffer.from(line);
|
|
116796
116786
|
fs27.writeSync(this.fd, buf);
|
|
116797
|
-
} else {
|
|
116798
|
-
this.writeBuffer.push(line);
|
|
116799
116787
|
}
|
|
116800
116788
|
this.bytesWritten += Buffer.byteLength(line);
|
|
116801
116789
|
this.entryCount++;
|
|
@@ -116843,7 +116831,6 @@ var LogFileWriter = class {
|
|
|
116843
116831
|
}
|
|
116844
116832
|
readAll() {
|
|
116845
116833
|
if (this.closed || !this.ready) return [];
|
|
116846
|
-
this.flushBuffer();
|
|
116847
116834
|
try {
|
|
116848
116835
|
const content = fs27.readFileSync(this.filePath, "utf-8");
|
|
116849
116836
|
return content.split("\n").filter((line) => line.length > 0).map(parseFlatLine).filter((entry) => entry !== null);
|
package/package.json
CHANGED