A simple, powerful CLI tool to spin up OpenIndiana virtual machines with QEMU
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Replace lodash with @es-toolkit/es-toolkit in multiple files for improved compatibility

+31 -4
+2 -1
deno.json
··· 10 10 "@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.8", 11 11 "@cliffy/table": "jsr:@cliffy/table@^1.0.0-rc.8", 12 12 "@db/sqlite": "jsr:@db/sqlite@^0.12.0", 13 + "@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.41.0", 13 14 "@paralleldrive/cuid2": "npm:@paralleldrive/cuid2@^3.0.4", 14 15 "@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.2.0", 15 16 "@std/assert": "jsr:@std/assert@1", 16 17 "chalk": "npm:chalk@^5.6.2", 17 18 "dayjs": "npm:dayjs@^1.11.19", 19 + "effect": "npm:effect@^3.19.2", 18 20 "kysely": "npm:kysely@0.27.6", 19 - "lodash": "npm:lodash@^4.17.21", 20 21 "moniker": "npm:moniker@^0.1.2" 21 22 } 22 23 }
+26
deno.lock
··· 8 8 "jsr:@cliffy/table@^1.0.0-rc.8": "1.0.0-rc.8", 9 9 "jsr:@db/sqlite@0.12": "0.12.0", 10 10 "jsr:@denosaurs/plug@1": "1.1.0", 11 + "jsr:@es-toolkit/es-toolkit@^1.41.0": "1.41.0", 11 12 "jsr:@soapbox/kysely-deno-sqlite@^2.2.0": "2.2.0", 12 13 "jsr:@std/assert@0.217": "0.217.0", 13 14 "jsr:@std/assert@1": "1.0.15", ··· 25 26 "npm:@paralleldrive/cuid2@^3.0.4": "3.0.4", 26 27 "npm:chalk@^5.6.2": "5.6.2", 27 28 "npm:dayjs@^1.11.19": "1.11.19", 29 + "npm:effect@^3.19.2": "3.19.2", 28 30 "npm:kysely@0.27.6": "0.27.6", 29 31 "npm:kysely@~0.27.2": "0.27.6", 30 32 "npm:lodash@^4.17.21": "4.17.21", ··· 72 74 "jsr:@std/path@1" 73 75 ] 74 76 }, 77 + "@es-toolkit/es-toolkit@1.41.0": { 78 + "integrity": "4df54a18e80b869880cee8a8a9ff7a5e1c424a9fd0916dccd38d34686f110071" 79 + }, 75 80 "@soapbox/kysely-deno-sqlite@2.2.0": { 76 81 "integrity": "668ec94600bc4b4d7bd618dd7ca65d4ef30ee61c46ffcb379b6f45203c08517a", 77 82 "dependencies": [ ··· 132 137 ], 133 138 "bin": true 134 139 }, 140 + "@standard-schema/spec@1.0.0": { 141 + "integrity": "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==" 142 + }, 135 143 "bignumber.js@9.3.1": { 136 144 "integrity": "sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==" 137 145 }, ··· 141 149 "dayjs@1.11.19": { 142 150 "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==" 143 151 }, 152 + "effect@3.19.2": { 153 + "integrity": "sha512-AHkxfzl5RbWfHO9HOdLE4oZ0c3nxqkXKHc69t83GWYoAquZmSeoCjmLP5rPgbHvwv4DcfLr8WW8PWbtNIQI+vw==", 154 + "dependencies": [ 155 + "@standard-schema/spec", 156 + "fast-check" 157 + ] 158 + }, 144 159 "error-causes@3.0.2": { 145 160 "integrity": "sha512-i0B8zq1dHL6mM85FGoxaJnVtx6LD5nL2v0hlpGdntg5FOSyzQ46c9lmz5qx0xRS2+PWHGOHcYxGIBC5Le2dRMw==" 146 161 }, 162 + "fast-check@3.23.2": { 163 + "integrity": "sha512-h5+1OzzfCC3Ef7VbtKdcv7zsstUQwUDlYpUTvjeUsJAssPgLn7QzbboPtL5ro04Mq0rPOsMzl7q5hIbRs2wD1A==", 164 + "dependencies": [ 165 + "pure-rand" 166 + ] 167 + }, 147 168 "kysely@0.27.6": { 148 169 "integrity": "sha512-FIyV/64EkKhJmjgC0g2hygpBv5RNWVPyNCqSAD7eTCv6eFWNIi4PN1UvdSJGicN/o35bnevgis4Y0UDC0qi8jQ==" 149 170 }, ··· 152 173 }, 153 174 "moniker@0.1.2": { 154 175 "integrity": "sha512-Uj9iV0QYr6281G+o0TvqhKwHHWB2Q/qUTT4LPQ3qDGc0r8cbMuqQjRXPZuVZ+gcL7APx+iQgE8lcfWPrj1LsLA==" 176 + }, 177 + "pure-rand@6.1.0": { 178 + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==" 155 179 } 156 180 }, 157 181 "workspace": { ··· 159 183 "jsr:@cliffy/command@^1.0.0-rc.8", 160 184 "jsr:@cliffy/table@^1.0.0-rc.8", 161 185 "jsr:@db/sqlite@0.12", 186 + "jsr:@es-toolkit/es-toolkit@^1.41.0", 162 187 "jsr:@soapbox/kysely-deno-sqlite@^2.2.0", 163 188 "jsr:@std/assert@1", 164 189 "npm:@paralleldrive/cuid2@^3.0.4", 165 190 "npm:chalk@^5.6.2", 166 191 "npm:dayjs@^1.11.19", 192 + "npm:effect@^3.19.2", 167 193 "npm:kysely@0.27.6", 168 194 "npm:lodash@^4.17.21", 169 195 "npm:moniker@~0.1.2"
+1 -1
src/subcommands/start.ts
··· 1 - import _ from "lodash"; 1 + import _ from "@es-toolkit/es-toolkit/compat"; 2 2 import { getInstanceState, updateInstanceState } from "../state.ts"; 3 3 4 4 export default async function (name: string) {
+1 -1
src/subcommands/stop.ts
··· 1 + import _ from "@es-toolkit/es-toolkit/compat"; 1 2 import chalk from "chalk"; 2 - import _ from "lodash"; 3 3 import { getInstanceState, updateInstanceState } from "../state.ts"; 4 4 5 5 export default async function (name: string) {
+1 -1
src/utils.ts
··· 1 + import _ from "@es-toolkit/es-toolkit/compat"; 1 2 import { createId } from "@paralleldrive/cuid2"; 2 3 import chalk from "chalk"; 3 - import _ from "lodash"; 4 4 import Moniker from "moniker"; 5 5 import { generateRandomMacAddress } from "./network.ts"; 6 6 import { saveInstanceState } from "./state.ts";