From 431439bd9949eb2313dbb16d2d1bf492ddd4cf7a Mon Sep 17 00:00:00 2001 From: LitoMore Date: Sun, 22 Sep 2024 04:52:20 +0800 Subject: [PATCH] Use remapped specifiers --- deno.json | 8 +- deno.lock | 348 +++++------------------------------------ source/add-platform.ts | 4 +- source/add.ts | 4 +- source/build.ts | 2 +- source/check.ts | 2 +- source/reset.ts | 2 +- source/search.ts | 2 +- source/utils.ts | 2 +- 9 files changed, 54 insertions(+), 320 deletions(-) diff --git a/deno.json b/deno.json index f9e0b7c..751840f 100644 --- a/deno.json +++ b/deno.json @@ -2,10 +2,14 @@ "fmt": { "useTabs": true, "singleQuote": true, - "exclude": ["README.md"] + "exclude": [ + "README.md" + ] }, "imports": { + "@inquirer/input": "npm:@inquirer/input@^3.0.1", "@std/fmt": "jsr:@std/fmt@^0.224.0", - "@std/path": "jsr:@std/path@^0.224.0" + "@std/path": "jsr:@std/path@^0.224.0", + "log-symbols": "npm:log-symbols@^7.0.0" } } diff --git a/deno.lock b/deno.lock index a9e7f08..e937b45 100644 --- a/deno.lock +++ b/deno.lock @@ -5,9 +5,8 @@ "jsr:@std/assert@^0.224.0": "jsr:@std/assert@0.224.0", "jsr:@std/fmt@^0.224.0": "jsr:@std/fmt@0.224.0", "jsr:@std/path@^0.224.0": "jsr:@std/path@0.224.0", - "npm:@inquirer/input": "npm:@inquirer/input@2.1.6", - "npm:litomore": "npm:litomore@0.0.8_react@18.3.1", - "npm:log-symbols": "npm:log-symbols@6.0.0" + "npm:@inquirer/input@^3.0.1": "npm:@inquirer/input@3.0.1", + "npm:log-symbols@^7.0.0": "npm:log-symbols@7.0.0" }, "jsr": { "@std/assert@0.224.0": { @@ -24,45 +23,39 @@ } }, "npm": { - "@alcalzone/ansi-tokenize@0.1.3": { - "integrity": "sha512-3yWxPTq3UQ/FY9p1ErPxIyfT64elWaMvM9lIHnaqpyft63tkxodF5aUElYHrdisWve5cETkh1+KBw1yJuW0aRw==", + "@inquirer/core@9.2.1": { + "integrity": "sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==", "dependencies": { - "ansi-styles": "ansi-styles@6.2.1", - "is-fullwidth-code-point": "is-fullwidth-code-point@4.0.0" - } - }, - "@inquirer/core@8.1.0": { - "integrity": "sha512-kfx0SU9nWgGe1f03ao/uXc85SFH1v2w3vQVH7QDGjKxdtJz+7vPitFtG++BTyJMYyYgH8MpXigutcXJeiQwVRw==", - "dependencies": { - "@inquirer/figures": "@inquirer/figures@1.0.1", - "@inquirer/type": "@inquirer/type@1.3.1", + "@inquirer/figures": "@inquirer/figures@1.0.6", + "@inquirer/type": "@inquirer/type@2.0.0", "@types/mute-stream": "@types/mute-stream@0.0.4", - "@types/node": "@types/node@20.12.8", + "@types/node": "@types/node@22.5.5", "@types/wrap-ansi": "@types/wrap-ansi@3.0.0", "ansi-escapes": "ansi-escapes@4.3.2", - "chalk": "chalk@4.1.2", - "cli-spinners": "cli-spinners@2.9.2", "cli-width": "cli-width@4.1.0", "mute-stream": "mute-stream@1.0.0", "signal-exit": "signal-exit@4.1.0", "strip-ansi": "strip-ansi@6.0.1", - "wrap-ansi": "wrap-ansi@6.2.0" + "wrap-ansi": "wrap-ansi@6.2.0", + "yoctocolors-cjs": "yoctocolors-cjs@2.1.2" } }, - "@inquirer/figures@1.0.1": { - "integrity": "sha512-mtup3wVKia3ZwULPHcbs4Mor8Voi+iIXEWD7wCNbIO6lYR62oPCTQyrddi5OMYVXHzeCSoneZwJuS8sBvlEwDw==", + "@inquirer/figures@1.0.6": { + "integrity": "sha512-yfZzps3Cso2UbM7WlxKwZQh2Hs6plrbjs1QnzQDZhK2DgyCo6D8AaHps9olkNcUFlcYERMqU3uJSp1gmy3s/qQ==", "dependencies": {} }, - "@inquirer/input@2.1.6": { - "integrity": "sha512-M8bUFOlcn/kQcVYskl4kkB6dYrHtymJJ1S4nSg/khXT3W3l71u2qhSzfo6PdBG3jUe6ILJZ0gUh4Kef2uJ5pxw==", + "@inquirer/input@3.0.1": { + "integrity": "sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==", "dependencies": { - "@inquirer/core": "@inquirer/core@8.1.0", - "@inquirer/type": "@inquirer/type@1.3.1" + "@inquirer/core": "@inquirer/core@9.2.1", + "@inquirer/type": "@inquirer/type@2.0.0" } }, - "@inquirer/type@1.3.1": { - "integrity": "sha512-Pe3PFccjPVJV1vtlfVvm9OnlbxqdnP5QcscFEFEnK5quChf1ufZtM0r8mR5ToWHMxZOh0s8o/qp9ANGRTo/DAw==", - "dependencies": {} + "@inquirer/type@2.0.0": { + "integrity": "sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==", + "dependencies": { + "mute-stream": "mute-stream@1.0.0" + } }, "@types/mute-stream@0.0.4": { "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==", @@ -74,10 +67,10 @@ "integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==", "dependencies": {} }, - "@types/node@20.12.8": { - "integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==", + "@types/node@22.5.5": { + "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", "dependencies": { - "undici-types": "undici-types@5.26.5" + "undici-types": "undici-types@6.19.8" } }, "@types/wrap-ansi@3.0.0": { @@ -90,78 +83,20 @@ "type-fest": "type-fest@0.21.3" } }, - "ansi-escapes@6.2.1": { - "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", - "dependencies": {} - }, "ansi-regex@5.0.1": { "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dependencies": {} }, - "ansi-regex@6.0.1": { - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dependencies": {} - }, "ansi-styles@4.3.0": { "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { "color-convert": "color-convert@2.0.1" } }, - "ansi-styles@6.2.1": { - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dependencies": {} - }, - "auto-bind@5.0.1": { - "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==", - "dependencies": {} - }, - "chalk@4.1.2": { - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "ansi-styles@4.3.0", - "supports-color": "supports-color@7.2.0" - } - }, - "chalk@5.3.0": { - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "dependencies": {} - }, - "ci-info@3.9.0": { - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "dependencies": {} - }, - "cli-boxes@3.0.0": { - "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", - "dependencies": {} - }, - "cli-cursor@4.0.0": { - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "dependencies": { - "restore-cursor": "restore-cursor@4.0.0" - } - }, - "cli-spinners@2.9.2": { - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "dependencies": {} - }, - "cli-truncate@3.1.0": { - "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", - "dependencies": { - "slice-ansi": "slice-ansi@5.0.0", - "string-width": "string-width@5.1.2" - } - }, "cli-width@4.1.0": { "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", "dependencies": {} }, - "code-excerpt@4.0.0": { - "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", - "dependencies": { - "convert-to-spaces": "convert-to-spaces@2.0.1" - } - }, "color-convert@2.0.1": { "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { @@ -172,196 +107,33 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dependencies": {} }, - "convert-to-spaces@2.0.1": { - "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", - "dependencies": {} - }, - "eastasianwidth@0.2.0": { - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dependencies": {} - }, "emoji-regex@8.0.0": { "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dependencies": {} }, - "emoji-regex@9.2.2": { - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dependencies": {} - }, - "escape-string-regexp@2.0.0": { - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dependencies": {} - }, - "has-flag@4.0.0": { - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dependencies": {} - }, - "indent-string@5.0.0": { - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dependencies": {} - }, - "ink@4.4.1_react@18.3.1": { - "integrity": "sha512-rXckvqPBB0Krifk5rn/5LvQGmyXwCUpBfmTwbkQNBY9JY8RSl3b8OftBNEYxg4+SWUhEKcPifgope28uL9inlA==", - "dependencies": { - "@alcalzone/ansi-tokenize": "@alcalzone/ansi-tokenize@0.1.3", - "ansi-escapes": "ansi-escapes@6.2.1", - "auto-bind": "auto-bind@5.0.1", - "chalk": "chalk@5.3.0", - "cli-boxes": "cli-boxes@3.0.0", - "cli-cursor": "cli-cursor@4.0.0", - "cli-truncate": "cli-truncate@3.1.0", - "code-excerpt": "code-excerpt@4.0.0", - "indent-string": "indent-string@5.0.0", - "is-ci": "is-ci@3.0.1", - "is-lower-case": "is-lower-case@2.0.2", - "is-upper-case": "is-upper-case@2.0.2", - "lodash": "lodash@4.17.21", - "patch-console": "patch-console@2.0.0", - "react": "react@18.3.1", - "react-reconciler": "react-reconciler@0.29.2_react@18.3.1", - "scheduler": "scheduler@0.23.2", - "signal-exit": "signal-exit@3.0.7", - "slice-ansi": "slice-ansi@6.0.0", - "stack-utils": "stack-utils@2.0.6", - "string-width": "string-width@5.1.2", - "type-fest": "type-fest@0.12.0", - "widest-line": "widest-line@4.0.1", - "wrap-ansi": "wrap-ansi@8.1.0", - "ws": "ws@8.18.0", - "yoga-wasm-web": "yoga-wasm-web@0.3.3" - } - }, - "is-ci@3.0.1": { - "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", - "dependencies": { - "ci-info": "ci-info@3.9.0" - } - }, "is-fullwidth-code-point@3.0.0": { "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dependencies": {} }, - "is-fullwidth-code-point@4.0.0": { - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "is-unicode-supported@2.1.0": { + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "dependencies": {} }, - "is-lower-case@2.0.2": { - "integrity": "sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==", + "log-symbols@7.0.0": { + "integrity": "sha512-zrc91EDk2M+2AXo/9BTvK91pqb7qrPg2nX/Hy+u8a5qQlbaOflCKO+6SqgZ+M+xUFxGdKTgwnGiL96b1W3ikRA==", "dependencies": { - "tslib": "tslib@2.7.0" + "is-unicode-supported": "is-unicode-supported@2.1.0", + "yoctocolors": "yoctocolors@2.1.1" } }, - "is-unicode-supported@1.3.0": { - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "dependencies": {} - }, - "is-upper-case@2.0.2": { - "integrity": "sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==", - "dependencies": { - "tslib": "tslib@2.7.0" - } - }, - "js-tokens@4.0.0": { - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dependencies": {} - }, - "litomore@0.0.8_react@18.3.1": { - "integrity": "sha512-mexXH9JFzGRFOulkPqPrAdWkoxSJCK0G9q5nwe1kaf4nE6QgoQQQ82ehpeRIB6AQRblT+0qP3/aePD0iTrVVbA==", - "dependencies": { - "ink": "ink@4.4.1_react@18.3.1", - "react": "react@18.3.1" - } - }, - "lodash@4.17.21": { - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dependencies": {} - }, - "log-symbols@6.0.0": { - "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", - "dependencies": { - "chalk": "chalk@5.3.0", - "is-unicode-supported": "is-unicode-supported@1.3.0" - } - }, - "loose-envify@1.4.0": { - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dependencies": { - "js-tokens": "js-tokens@4.0.0" - } - }, - "mimic-fn@2.1.0": { - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dependencies": {} - }, "mute-stream@1.0.0": { "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", "dependencies": {} }, - "onetime@5.1.2": { - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "mimic-fn@2.1.0" - } - }, - "patch-console@2.0.0": { - "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==", - "dependencies": {} - }, - "react-reconciler@0.29.2_react@18.3.1": { - "integrity": "sha512-zZQqIiYgDCTP/f1N/mAR10nJGrPD2ZR+jDSEsKWJHYC7Cm2wodlwbR3upZRdC3cjIjSlTLNVyO7Iu0Yy7t2AYg==", - "dependencies": { - "loose-envify": "loose-envify@1.4.0", - "react": "react@18.3.1", - "scheduler": "scheduler@0.23.2" - } - }, - "react@18.3.1": { - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", - "dependencies": { - "loose-envify": "loose-envify@1.4.0" - } - }, - "restore-cursor@4.0.0": { - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "dependencies": { - "onetime": "onetime@5.1.2", - "signal-exit": "signal-exit@3.0.7" - } - }, - "scheduler@0.23.2": { - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "dependencies": { - "loose-envify": "loose-envify@1.4.0" - } - }, - "signal-exit@3.0.7": { - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dependencies": {} - }, "signal-exit@4.1.0": { "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dependencies": {} }, - "slice-ansi@5.0.0": { - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dependencies": { - "ansi-styles": "ansi-styles@6.2.1", - "is-fullwidth-code-point": "is-fullwidth-code-point@4.0.0" - } - }, - "slice-ansi@6.0.0": { - "integrity": "sha512-6bn4hRfkTvDfUoEQYkERg0BVF1D0vrX9HEkMl08uDiNWvVvjylLHvZFZWkDo6wjT8tUctbYl1nCOuE66ZTaUtA==", - "dependencies": { - "ansi-styles": "ansi-styles@6.2.1", - "is-fullwidth-code-point": "is-fullwidth-code-point@4.0.0" - } - }, - "stack-utils@2.0.6": { - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dependencies": { - "escape-string-regexp": "escape-string-regexp@2.0.0" - } - }, "string-width@4.2.3": { "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dependencies": { @@ -370,54 +142,20 @@ "strip-ansi": "strip-ansi@6.0.1" } }, - "string-width@5.1.2": { - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "eastasianwidth@0.2.0", - "emoji-regex": "emoji-regex@9.2.2", - "strip-ansi": "strip-ansi@7.1.0" - } - }, "strip-ansi@6.0.1": { "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dependencies": { "ansi-regex": "ansi-regex@5.0.1" } }, - "strip-ansi@7.1.0": { - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "ansi-regex@6.0.1" - } - }, - "supports-color@7.2.0": { - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "has-flag@4.0.0" - } - }, - "tslib@2.7.0": { - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", - "dependencies": {} - }, - "type-fest@0.12.0": { - "integrity": "sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg==", - "dependencies": {} - }, "type-fest@0.21.3": { "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "dependencies": {} }, - "undici-types@5.26.5": { - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "undici-types@6.19.8": { + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "dependencies": {} }, - "widest-line@4.0.1": { - "integrity": "sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==", - "dependencies": { - "string-width": "string-width@5.1.2" - } - }, "wrap-ansi@6.2.0": { "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dependencies": { @@ -426,31 +164,23 @@ "strip-ansi": "strip-ansi@6.0.1" } }, - "wrap-ansi@8.1.0": { - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dependencies": { - "ansi-styles": "ansi-styles@6.2.1", - "string-width": "string-width@5.1.2", - "strip-ansi": "strip-ansi@7.1.0" - } - }, - "ws@8.18.0": { - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "yoctocolors-cjs@2.1.2": { + "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", "dependencies": {} }, - "yoga-wasm-web@0.3.3": { - "integrity": "sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==", + "yoctocolors@2.1.1": { + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", "dependencies": {} } } }, - "remote": { - "npm:log-symbols": "5ce16b334611e392c40c6e9ac68fc71624cd9f8f64ad60c962862139a91285be" - }, + "remote": {}, "workspace": { "dependencies": [ "jsr:@std/fmt@^0.224.0", - "jsr:@std/path@^0.224.0" + "jsr:@std/path@^0.224.0", + "npm:@inquirer/input@^3.0.1", + "npm:log-symbols@^7.0.0" ] } } diff --git a/source/add-platform.ts b/source/add-platform.ts index b4e4a3b..b5bb2a7 100644 --- a/source/add-platform.ts +++ b/source/add-platform.ts @@ -1,6 +1,6 @@ import { bold, cyan } from '@std/fmt/colors'; -import logSymbols from 'npm:log-symbols'; -import input from 'npm:@inquirer/input'; +import logSymbols from 'log-symbols'; +import input from '@inquirer/input'; import { loadGamesJson, nameCompare, writeGamesJson } from './utils.ts'; const games = await loadGamesJson(); diff --git a/source/add.ts b/source/add.ts index b58f34d..0dab2bd 100644 --- a/source/add.ts +++ b/source/add.ts @@ -1,6 +1,6 @@ import { bold, cyan, green } from '@std/fmt/colors'; -import logSymbols from 'npm:log-symbols'; -import input from 'npm:@inquirer/input'; +import logSymbols from 'log-symbols'; +import input from '@inquirer/input'; import { loadGamesJson, nameCompare, diff --git a/source/build.ts b/source/build.ts index d63d7ce..a82b8b9 100644 --- a/source/build.ts +++ b/source/build.ts @@ -1,4 +1,4 @@ -import logSymbols from 'npm:log-symbols'; +import logSymbols from 'log-symbols'; import { loadGamesJson, nameCompare, writeReadme } from './utils.ts'; const games = await loadGamesJson(); diff --git a/source/check.ts b/source/check.ts index 6c374fa..b187ca9 100644 --- a/source/check.ts +++ b/source/check.ts @@ -1,4 +1,4 @@ -import logSymbols from 'npm:log-symbols'; +import logSymbols from 'log-symbols'; import { Game, Platform } from './types.ts'; import { loadGamesJson, diff --git a/source/reset.ts b/source/reset.ts index 1af424e..703ff7c 100644 --- a/source/reset.ts +++ b/source/reset.ts @@ -1,4 +1,4 @@ -import logSymbols from 'npm:log-symbols'; +import logSymbols from 'log-symbols'; import { loadGamesJson, writeGamesJson } from './utils.ts'; const games = await loadGamesJson(); diff --git a/source/search.ts b/source/search.ts index b166f39..33461a3 100644 --- a/source/search.ts +++ b/source/search.ts @@ -1,4 +1,4 @@ -import input from 'npm:@inquirer/input'; +import input from '@inquirer/input'; import { fuzzyMatched, loadGamesJson } from './utils.ts'; const games = await loadGamesJson(); diff --git a/source/utils.ts b/source/utils.ts index 4feb370..dda5c55 100644 --- a/source/utils.ts +++ b/source/utils.ts @@ -1,5 +1,5 @@ import { join } from '@std/path/join'; -import logSymbols from 'npm:log-symbols'; +import logSymbols from 'log-symbols'; import { Game, GamesJson, Platform } from './types.ts'; const gamesJsonPath = join(import.meta.dirname ?? '.', 'games.json');