@asteroidai/cli 1.9.487 → 1.9.502
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/asteroid.js +5 -2
- package/dist/core.js +4 -1
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -7507,7 +7507,10 @@ var PREFERRED = [
|
|
|
7507
7507
|
var HIDDEN = /^agent[A-Z]|Url$/;
|
|
7508
7508
|
var MAX_COLUMNS = 6;
|
|
7509
7509
|
var MAX_CELL = 60;
|
|
7510
|
-
var CONTROL =
|
|
7510
|
+
var CONTROL = (
|
|
7511
|
+
// eslint-disable-next-line no-control-regex -- strips terminal escape sequences and C0/C1 controls from cell text
|
|
7512
|
+
/\x1b\[[0-?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)?|\x1b[@-_]?|[\x00-\x08\x0b-\x1f\x7f-\x9f]/g
|
|
7513
|
+
);
|
|
7511
7514
|
function clean(text3) {
|
|
7512
7515
|
return text3.replace(CONTROL, "");
|
|
7513
7516
|
}
|
|
@@ -8506,7 +8509,7 @@ var ApiError = class extends Error {
|
|
|
8506
8509
|
status;
|
|
8507
8510
|
body;
|
|
8508
8511
|
};
|
|
8509
|
-
var VERSION = "1.9.
|
|
8512
|
+
var VERSION = "1.9.502";
|
|
8510
8513
|
function problem(status, body, fallback) {
|
|
8511
8514
|
if (body && typeof body === "object") {
|
|
8512
8515
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -7341,7 +7341,10 @@ var PREFERRED = [
|
|
|
7341
7341
|
var HIDDEN = /^agent[A-Z]|Url$/;
|
|
7342
7342
|
var MAX_COLUMNS = 6;
|
|
7343
7343
|
var MAX_CELL = 60;
|
|
7344
|
-
var CONTROL =
|
|
7344
|
+
var CONTROL = (
|
|
7345
|
+
// eslint-disable-next-line no-control-regex -- strips terminal escape sequences and C0/C1 controls from cell text
|
|
7346
|
+
/\x1b\[[0-?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)?|\x1b[@-_]?|[\x00-\x08\x0b-\x1f\x7f-\x9f]/g
|
|
7347
|
+
);
|
|
7345
7348
|
function clean(text2) {
|
|
7346
7349
|
return text2.replace(CONTROL, "");
|
|
7347
7350
|
}
|