@evitcastudio/kit 3.3.0 → 3.3.1
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/lib/bundle/cli/cli.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// @bun
|
|
3
3
|
|
|
4
4
|
/*!
|
|
5
|
-
* @evitcastudio/kit@3.3.
|
|
6
|
-
* Compiled Wed, 09 Sep 2026
|
|
5
|
+
* @evitcastudio/kit@3.3.1 git+https://github.com/EvitcaStudio/Kit.git
|
|
6
|
+
* Compiled Wed, 09 Sep 2026 16:18:17 UTC
|
|
7
7
|
* Copyright (c) 2026 Jared Bates, Evitca Studio, "doubleactii"
|
|
8
8
|
*
|
|
9
9
|
* @evitcastudio/kit is licensed under the MIT License.
|
|
@@ -2213,6 +2213,12 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
2213
2213
|
if (env.TERM === "xterm-kitty") {
|
|
2214
2214
|
return 3;
|
|
2215
2215
|
}
|
|
2216
|
+
if (env.TERM === "xterm-ghostty") {
|
|
2217
|
+
return 3;
|
|
2218
|
+
}
|
|
2219
|
+
if (env.TERM === "wezterm") {
|
|
2220
|
+
return 3;
|
|
2221
|
+
}
|
|
2216
2222
|
if ("TERM_PROGRAM" in env) {
|
|
2217
2223
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
2218
2224
|
switch (env.TERM_PROGRAM) {
|
|
@@ -2435,7 +2441,7 @@ import { stat as statcb, Stats } from "fs";
|
|
|
2435
2441
|
import { readdir as readdir2, stat as stat3 } from "fs/promises";
|
|
2436
2442
|
import * as sp2 from "path";
|
|
2437
2443
|
|
|
2438
|
-
// node_modules/readdirp/index.js
|
|
2444
|
+
// node_modules/chokidar/node_modules/readdirp/index.js
|
|
2439
2445
|
import { lstat, readdir, realpath, stat } from "fs/promises";
|
|
2440
2446
|
import { join as pjoin, resolve as presolve, sep as psep } from "path";
|
|
2441
2447
|
import { Readable } from "stream";
|
|
@@ -4093,11 +4099,17 @@ function v4(options, buf, offset) {
|
|
|
4093
4099
|
return native_default.randomUUID();
|
|
4094
4100
|
}
|
|
4095
4101
|
options = options || {};
|
|
4096
|
-
const rnds = options.random
|
|
4102
|
+
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
4103
|
+
if (rnds.length < 16) {
|
|
4104
|
+
throw new Error("Random bytes length must be >= 16");
|
|
4105
|
+
}
|
|
4097
4106
|
rnds[6] = rnds[6] & 15 | 64;
|
|
4098
4107
|
rnds[8] = rnds[8] & 63 | 128;
|
|
4099
4108
|
if (buf) {
|
|
4100
4109
|
offset = offset || 0;
|
|
4110
|
+
if (offset < 0 || offset + 16 > buf.length) {
|
|
4111
|
+
throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
|
|
4112
|
+
}
|
|
4101
4113
|
for (let i = 0;i < 16; ++i) {
|
|
4102
4114
|
buf[offset + i] = rnds[i];
|
|
4103
4115
|
}
|
|
@@ -11398,7 +11410,7 @@ import os2 from "os";
|
|
|
11398
11410
|
// package.json
|
|
11399
11411
|
var package_default = {
|
|
11400
11412
|
name: "@evitcastudio/kit",
|
|
11401
|
-
version: "3.3.
|
|
11413
|
+
version: "3.3.1",
|
|
11402
11414
|
author: "doubleactii 56242467+doubleactii@users.noreply.github.com (https://evitcastudio.com)",
|
|
11403
11415
|
main: "./lib/index.js",
|
|
11404
11416
|
types: "./lib/index.d.ts",
|