Socket
Socket
Sign inDemoInstall

asdfui

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asdfui - npm Package Compare versions

Comparing version 1.0.12 to 1.0.14

4

dist/App.js
import { Box } from "ink";
import React from "react";
import { CommandInfo, PanesContainer } from "@components/index.js";
import { CommandInfo, PanesContainer } from "./components/index.js";
import { BorderColor } from "./utils/types.js";
import { Versions, Info, Plugins } from "@panes/index.js";
import { Versions, Info, Plugins } from "./panes/index.js";
export default function App() {

@@ -7,0 +7,0 @@ return (React.createElement(React.Fragment, null,

@@ -5,4 +5,4 @@ #!/usr/bin/env node

import App from "./App.js";
import { clearConsole } from "@utils/index.js";
import { clearConsole } from "./utils/index.js";
clearConsole();
render(React.createElement(App, null));

@@ -1,2 +0,2 @@

import { getCommandInfo } from "@utils/index.js";
import { getCommandInfo } from "../utils/index.js";
import { Box, Text } from "ink";

@@ -3,0 +3,0 @@ import React from "react";

import { Box, useApp, useInput } from "ink";
import React from "react";
import { Keys } from "@utils/index.js";
import { Keys } from "../utils/index.js";
export const PanesContainer = ({ children, borderColor }) => {

@@ -5,0 +5,0 @@ const { exit } = useApp();

import { Box, Spacer, Text } from "ink";
import React, { useEffect } from "react";
import { useInfosStore } from "@stores/index.js";
import { BorderColor, totalNumber } from "@utils/index.js";
import { Loader, CustomAlert, Title } from "@components/index.js";
import { useInfosStore } from "../stores/index.js";
import { BorderColor, totalNumber } from "../utils/index.js";
import { Loader, CustomAlert, Title } from "../components/index.js";
export function Info() {

@@ -7,0 +7,0 @@ const getAllInfo = useInfosStore((state) => state.getAllInfo);

import Select from "ink-select-input";
import { Box, useFocus } from "ink";
import React, { useEffect } from "react";
import { usePluginsStore } from "@stores/index.js";
import { Loader, CustomAlert, Title } from "@components/index.js";
import { getBorderColorOnFocus, totalNumber } from "@utils/index.js";
import { usePluginsStore } from "../stores/index.js";
import { Loader, CustomAlert, Title } from "../components/index.js";
import { getBorderColorOnFocus, totalNumber } from "../utils/index.js";
export function Plugins() {

@@ -8,0 +8,0 @@ const { isFocused } = useFocus({ id: "plugins", autoFocus: true });

@@ -1,7 +0,7 @@

import { Title } from "@components/index.js";
import { Title } from "../components/index.js";
import { Box, useFocus, useInput } from "ink";
import React, { useEffect, useState } from "react";
import { VersionsDisplay } from "@components/index.js";
import { useInfosStore, usePluginsStore, useVersionsStore } from "@stores/index.js";
import { getBorderColorOnFocus, installToolVersion, setVersionGlobal, totalNumber, uninstallToolVersion, Keys, } from "@utils/index.js";
import { VersionsDisplay } from "../components/index.js";
import { useInfosStore, usePluginsStore, useVersionsStore } from "../stores/index.js";
import { getBorderColorOnFocus, installToolVersion, setVersionGlobal, totalNumber, uninstallToolVersion, Keys, } from "../utils/index.js";
import isInternetAvailable from "is-online";

@@ -8,0 +8,0 @@ export function Versions() {

import { create } from "zustand";
import { getInfo } from "@utils/index.js";
import { getInfo } from "../utils/index.js";
export const useInfosStore = create()((set) => ({

@@ -4,0 +4,0 @@ isLoading: false,

import { create } from "zustand";
import { listAllPlugins } from "@utils/index.js";
import { listAllPlugins } from "../utils/index.js";
const emptySelection = {

@@ -4,0 +4,0 @@ value: "",

@@ -1,2 +0,2 @@

import { listInstalledToolsVersions, listToolsVersions } from "@utils/index.js";
import { listInstalledToolsVersions, listToolsVersions } from "../utils/index.js";
import { create } from "zustand";

@@ -3,0 +3,0 @@ export const useVersionsStore = create()((set) => ({

{
"name": "asdfui",
"version": "1.0.12",
"version": "1.0.14",
"bin": "dist/cli.js",

@@ -33,9 +33,9 @@ "type": "module",

"scripts": {
"build": "rimraf dist && tsc",
"dev": "tsc --watch",
"build": "rimraf 'dist' && tsc && tsc-alias",
"dev": "tsc && (concurrently \"tsc -w\" \"tsc-alias -w\")",
"format": "prettier --write .",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint '{src,test}/**/*.ts' --cache",
"lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint '{src,test}/**/*.ts' --cache --fix",
"prerelease": "npm run build",
"release": "bumpp && npm publish",
"format": "prettier --write ."
"release": "bumpp && npm publish"
},

@@ -55,5 +55,5 @@ "files": [

"devDependencies": {
"@rubiin/eslint-config": "^1.9.15",
"@rubiin/eslint-config": "^1.9.16",
"@sindresorhus/tsconfig": "^5.0.0",
"@types/node": "^20.9.4",
"@types/node": "^20.10.0",
"@types/react": "^18.2.38",

@@ -67,4 +67,5 @@ "bumpp": "^9.2.0",

"rimraf": "^5.0.5",
"tsc-alias": "^1.8.8",
"typescript": "^5.3.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc