@lifo-sh/core 0.4.3 → 0.4.4
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/{awk-hTIwWP1s.js → awk-CcXp_KP5.js} +1 -1
- package/dist/{basename-CRAxq6FD.js → basename-B9Y7-m0F.js} +1 -1
- package/dist/{cat-B6hpp96_.js → cat-mRaG7MqG.js} +1 -1
- package/dist/{chmod-BvaAfBQL.js → chmod-DYxODiUm.js} +1 -1
- package/dist/{chown-2BRNA5TL.js → chown-BokUeaxi.js} +1 -1
- package/dist/commands/system/lifo.d.ts.map +1 -1
- package/dist/{cp-DqVqtIX-.js → cp-CDK95-e6.js} +1 -1
- package/dist/{cut-ChgCOlQI.js → cut-Cvu6EFmO.js} +1 -1
- package/dist/{diff-D34PmvHe.js → diff-C6aUBHID.js} +1 -1
- package/dist/{dirname-yploEc62.js → dirname-C3PsYRm7.js} +1 -1
- package/dist/{du-Baxue1bF.js → du-DZu0IjF2.js} +1 -1
- package/dist/{file-5iYrPPzD.js → file-Biumt2-S.js} +1 -1
- package/dist/{find-V_hQYKpD.js → find--K4TVgx5.js} +1 -1
- package/dist/{grep-CgtBydXB.js → grep-CMlMfAsE.js} +1 -1
- package/dist/{gunzip-DXbz6udf.js → gunzip-DGIwZwgE.js} +1 -1
- package/dist/{gzip-Bm5a16M5.js → gzip-B7W2FndX.js} +1 -1
- package/dist/{head-CboRqWJV.js → head-BxFEIKbp.js} +1 -1
- package/dist/{index-DarWczsH.js → index-DZti_SKj.js} +3 -2
- package/dist/index.js +1 -1
- package/dist/{ls-BtiMXSzl.js → ls-Bl72FCLW.js} +1 -1
- package/dist/{mkdir-DDJi2hot.js → mkdir-Dt_PezRU.js} +1 -1
- package/dist/{mktemp-CBQxjQYZ.js → mktemp-B5l3FDBw.js} +1 -1
- package/dist/{mv-CCzzHuxA.js → mv-B4xhrOCG.js} +1 -1
- package/dist/{nl-CrU404D0.js → nl-BEq9KyjT.js} +1 -1
- package/dist/{realpath-DSiBb3iU.js → realpath-lJzxgIkv.js} +1 -1
- package/dist/{rev-CTB_hd4q.js → rev-BKSW6xpU.js} +1 -1
- package/dist/{rm-BKd2_xm1.js → rm-WKkbEWbr.js} +1 -1
- package/dist/{rmdir-IuFBfo7b.js → rmdir-DbihFDiU.js} +1 -1
- package/dist/{sed--chqwTXw.js → sed-BBtZUvxm.js} +1 -1
- package/dist/{sort-DgcPfOlm.js → sort-DpGn6D2i.js} +1 -1
- package/dist/{stat-BFpuFJZO.js → stat-ahW_VHj2.js} +1 -1
- package/dist/{tail-BtbMylqw.js → tail-Kwfe8Z-h.js} +1 -1
- package/dist/{tar-CcTO33ji.js → tar-hG6xWefp.js} +1 -1
- package/dist/{tee-DiQXg0Bf.js → tee-Cr8LQAML.js} +1 -1
- package/dist/{touch-WbJipGSg.js → touch-jiwoWQyc.js} +1 -1
- package/dist/{tree-Bl360xTq.js → tree-BG0-NOQV.js} +1 -1
- package/dist/{uniq-hyESMbu2.js → uniq-CzsWUlRd.js} +1 -1
- package/dist/{unzip-BTIALzy4.js → unzip-DcsURRt5.js} +1 -1
- package/dist/{wc-RIPcAX4-.js → wc-DqmwCVnw.js} +1 -1
- package/dist/{wget-Dryy4XXd.js → wget-Dvv6IfAZ.js} +1 -1
- package/dist/{zip-Dfz6tStt.js → zip-BOw-qXSd.js} +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifo.d.ts","sourceRoot":"","sources":["../../../src/commands/system/lifo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAuC,MAAM,aAAa,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAwY/C,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,eAAe,EACzB,aAAa,CAAC,EAAE,cAAc,GAC7B,OAAO,
|
|
1
|
+
{"version":3,"file":"lifo.d.ts","sourceRoot":"","sources":["../../../src/commands/system/lifo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAuC,MAAM,aAAa,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAwY/C,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,eAAe,EACzB,aAAa,CAAC,EAAE,cAAc,GAC7B,OAAO,CAmCT;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,eAAe,GAAG,IAAI,CAkC1E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as y, V as g } from "./index-
|
|
1
|
+
import { r as y, V as g } from "./index-DZti_SKj.js";
|
|
2
2
|
function u(t) {
|
|
3
3
|
return t < 1024 ? t + "B" : t < 1024 * 1024 ? (t / 1024).toFixed(1) + "K" : t < 1024 * 1024 * 1024 ? (t / (1024 * 1024)).toFixed(1) + "M" : (t / (1024 * 1024 * 1024)).toFixed(1) + "G";
|
|
4
4
|
}
|
|
@@ -4529,7 +4529,7 @@ class xn {
|
|
|
4529
4529
|
}
|
|
4530
4530
|
function Cn() {
|
|
4531
4531
|
const s = new xn();
|
|
4532
|
-
return s.registerLazy("ls", () => import("./ls-
|
|
4532
|
+
return s.registerLazy("ls", () => import("./ls-Bl72FCLW.js")), s.registerLazy("cat", () => import("./cat-mRaG7MqG.js")), s.registerLazy("mkdir", () => import("./mkdir-Dt_PezRU.js")), s.registerLazy("rm", () => import("./rm-WKkbEWbr.js")), s.registerLazy("cp", () => import("./cp-CDK95-e6.js")), s.registerLazy("mv", () => import("./mv-B4xhrOCG.js")), s.registerLazy("touch", () => import("./touch-jiwoWQyc.js")), s.registerLazy("find", () => import("./find--K4TVgx5.js")), s.registerLazy("tree", () => import("./tree-BG0-NOQV.js")), s.registerLazy("stat", () => import("./stat-ahW_VHj2.js")), s.registerLazy("ln", () => import("./ln-Bf3f3jVA.js")), s.registerLazy("du", () => import("./du-DZu0IjF2.js")), s.registerLazy("df", () => import("./df-CeZb4WOr.js")), s.registerLazy("chmod", () => import("./chmod-DYxODiUm.js")), s.registerLazy("file", () => import("./file-Biumt2-S.js")), s.registerLazy("grep", () => import("./grep-CMlMfAsE.js")), s.registerLazy("head", () => import("./head-BxFEIKbp.js")), s.registerLazy("tail", () => import("./tail-Kwfe8Z-h.js")), s.registerLazy("wc", () => import("./wc-DqmwCVnw.js")), s.registerLazy("sort", () => import("./sort-DpGn6D2i.js")), s.registerLazy("uniq", () => import("./uniq-CzsWUlRd.js")), s.registerLazy("cut", () => import("./cut-Cvu6EFmO.js")), s.registerLazy("tr", () => import("./tr-DsCiwSIu.js")), s.registerLazy("sed", () => import("./sed-BBtZUvxm.js")), s.registerLazy("awk", () => import("./awk-CcXp_KP5.js")), s.registerLazy("tee", () => import("./tee-Cr8LQAML.js")), s.registerLazy("xargs", () => import("./xargs-DfbCRFFd.js")), s.registerLazy("yes", () => import("./yes-DXEyHHD2.js")), s.registerLazy("printf", () => import("./printf-Cc2o7KZx.js")), s.registerLazy("env", () => import("./env-DXzvDKsN.js")), s.registerLazy("uname", () => import("./uname-BCn8HlJD.js")), s.registerLazy("date", () => import("./date-C8NB8v8G.js")), s.registerLazy("sleep", () => import("./sleep-B4C3fZiR.js")), s.registerLazy("uptime", () => import("./uptime-CgBJegqU.js")), s.registerLazy("whoami", () => import("./whoami-B1237V5e.js")), s.registerLazy("hostname", () => import("./hostname-BxU2S3nT.js")), s.registerLazy("free", () => import("./free-DAxE4b2U.js")), s.registerLazy("which", () => import("./which-D3u0cwyh.js")), s.registerLazy("curl", () => Promise.resolve().then(() => li)), s.registerLazy("wget", () => import("./wget-Dvv6IfAZ.js")), s.registerLazy("ping", () => import("./ping-DtVEwwda.js")), s.registerLazy("dig", () => import("./dig-BEJ8Ky96.js")), s.registerLazy("tar", () => import("./tar-hG6xWefp.js")), s.registerLazy("gzip", () => import("./gzip-B7W2FndX.js")), s.registerLazy("gunzip", () => import("./gunzip-DGIwZwgE.js")), s.registerLazy("zip", () => import("./zip-BOw-qXSd.js")), s.registerLazy("unzip", () => import("./unzip-DcsURRt5.js")), s.registerLazy("node", () => Promise.resolve().then(() => Dr)), s.registerLazy("rmdir", () => import("./rmdir-DbihFDiU.js")), s.registerLazy("realpath", () => import("./realpath-lJzxgIkv.js")), s.registerLazy("basename", () => import("./basename-B9Y7-m0F.js")), s.registerLazy("dirname", () => import("./dirname-C3PsYRm7.js")), s.registerLazy("mktemp", () => import("./mktemp-B5l3FDBw.js")), s.registerLazy("chown", () => import("./chown-BokUeaxi.js")), s.registerLazy("diff", () => import("./diff-C6aUBHID.js")), s.registerLazy("nl", () => import("./nl-BEq9KyjT.js")), s.registerLazy("rev", () => import("./rev-BKSW6xpU.js")), s.registerLazy("cal", () => import("./cal-DPULSAhj.js")), s.registerLazy("bc", () => import("./bc-BYiKVTNg.js")), s.registerLazy("man", () => import("./man-CJ5pI0_W.js")), s;
|
|
4533
4533
|
}
|
|
4534
4534
|
function Ln(s) {
|
|
4535
4535
|
return async (e) => {
|
|
@@ -7822,7 +7822,7 @@ function zi(s) {
|
|
|
7822
7822
|
s.write(`Usage: lifo <command> [args]
|
|
7823
7823
|
|
|
7824
7824
|
`), s.write(`Commands:
|
|
7825
|
-
`), s.write(` install <name>
|
|
7825
|
+
`), s.write(` install|add <name> install lifo-pkg-<name> from npm
|
|
7826
7826
|
`), s.write(` remove <name> remove a lifo package
|
|
7827
7827
|
`), s.write(` list list lifo packages & dev links
|
|
7828
7828
|
`), s.write(` search <term> search npm for lifo-pkg-* packages
|
|
@@ -8091,6 +8091,7 @@ function Gi(s, e) {
|
|
|
8091
8091
|
switch (r) {
|
|
8092
8092
|
case "install":
|
|
8093
8093
|
case "i":
|
|
8094
|
+
case "add":
|
|
8094
8095
|
return Mi(t, s);
|
|
8095
8096
|
case "remove":
|
|
8096
8097
|
case "rm":
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, B as r, n as o, o as n, q as m, s as t, t as d, u as i, v as c, C as l, w as E, x as C, y as B, z as T, D as L, E as R, G as I, H, I as N, A as g, F as M, J as b, K as k, M as y, L as D, N as G, O as P, P as S, Q as f, S as _, R as A, T as p, U as u, W as x, X as U, V as h, Y as v, Z as F, b as K, _ as O, $ as W, a0 as Y, a1 as V, a2 as j, a3 as q, a4 as w, a5 as z, a6 as J, a7 as Z, a8 as Q, a9 as X, aa as $, ab as aa, ac as sa, ad as ea, ae as ra, k as oa, e as na, af as ma, c as ta, ag as da, ah as ia, i as ca, ai as la, aj as Ea, ak as Ca, al as Ba, am as Ta, an as La, ao as Ra, r as Ia, ap as Ha, aq as Na } from "./index-
|
|
1
|
+
import { a as e, B as r, n as o, o as n, q as m, s as t, t as d, u as i, v as c, C as l, w as E, x as C, y as B, z as T, D as L, E as R, G as I, H, I as N, A as g, F as M, J as b, K as k, M as y, L as D, N as G, O as P, P as S, Q as f, S as _, R as A, T as p, U as u, W as x, X as U, V as h, Y as v, Z as F, b as K, _ as O, $ as W, a0 as Y, a1 as V, a2 as j, a3 as q, a4 as w, a5 as z, a6 as J, a7 as Z, a8 as Q, a9 as X, aa as $, ab as aa, ac as sa, ad as ea, ae as ra, k as oa, e as na, af as ma, c as ta, ag as da, ah as ia, i as ca, ai as la, aj as Ea, ak as Ca, al as Ba, am as Ta, an as La, ao as Ra, r as Ia, ap as Ha, aq as Na } from "./index-DZti_SKj.js";
|
|
2
2
|
export {
|
|
3
3
|
e as BLUE,
|
|
4
4
|
r as BOLD,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as h } from "./args-CG6b9cZt.js";
|
|
2
|
-
import { r as m, V as d, B as w, a as y, R as $ } from "./index-
|
|
2
|
+
import { r as m, V as d, B as w, a as y, R as $ } from "./index-DZti_SKj.js";
|
|
3
3
|
const S = {
|
|
4
4
|
long: { type: "boolean", short: "l" },
|
|
5
5
|
all: { type: "boolean", short: "a" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p } from "./args-CG6b9cZt.js";
|
|
2
|
-
import { r as m, i as u, c as h, V as f } from "./index-
|
|
2
|
+
import { r as m, i as u, c as h, V as f } from "./index-DZti_SKj.js";
|
|
3
3
|
const w = {
|
|
4
4
|
"body-numbering": { type: "string", short: "b" },
|
|
5
5
|
"number-width": { type: "string", short: "w" }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as p, d as b, f as F, h as z, j as y, p as m, k as $, V as C } from "./index-
|
|
1
|
+
import { r as p, d as b, f as F, h as z, j as y, p as m, k as $, V as C } from "./index-DZti_SKj.js";
|
|
2
2
|
const D = async (e) => {
|
|
3
3
|
let f = !1, l = !1, c = !1, n = !1, d = !1, u = "", o = "";
|
|
4
4
|
const h = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, d as c, l as f, V as h } from "./index-
|
|
1
|
+
import { r as d, d as c, l as f, V as h } from "./index-DZti_SKj.js";
|
|
2
2
|
const g = async (r) => {
|
|
3
3
|
if (r.args.length === 0 || r.args[0] === "--help")
|
|
4
4
|
return r.stdout.write(`Usage: zip archive.zip file1 [file2 ...]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifo-sh/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Linux-like OS engine for JavaScript -- kernel, shell, VFS, and 60+ commands",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@lifo-sh/ui": "0.4.
|
|
40
|
+
"@lifo-sh/ui": "0.4.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"@lifo-sh/ui": {
|