Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aomex/console

Package Overview
Dependencies
Maintainers
0
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aomex/console - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

14

CHANGELOG.md
# @aomex/console
## 1.0.4
### Patch Changes
- [`8566e90`](https://github.com/aomex/aomex/commit/8566e90ef85dd7af8f232a41f32f814be74fc3bd) Thanks [@geekact](https://github.com/geekact)! - chore(console): 升级tsx 4.10.2 -> 4.15.6
- [`a1a1787`](https://github.com/aomex/aomex/commit/a1a1787c791bf113c7e87e4435ea364eb8ce8eb8) Thanks [@geekact](https://github.com/geekact)! - refactor: 使用node内置的 util.styleText 替换 chalk 包
- [`42447fb`](https://github.com/aomex/aomex/commit/42447fb9d3916c4d6242841d1fa3eab67e48be70) Thanks [@geekact](https://github.com/geekact)! - refactor(core): 重命名I18nFormat为I18nMessage
- Updated dependencies [[`a1a1787`](https://github.com/aomex/aomex/commit/a1a1787c791bf113c7e87e4435ea364eb8ce8eb8)]:
- @aomex/internal-tools@1.0.4
- @aomex/internal-file-import@1.0.4
## 1.0.3

@@ -4,0 +18,0 @@

6

dist/index.d.ts

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

import { I18nFormat, MiddlewareChain, MixinMiddlewareToken, MixinMiddlewareChain, I18n, Middleware, Next, Validator } from '@aomex/core';
import { I18nMessage, MiddlewareChain, MixinMiddlewareToken, MixinMiddlewareChain, I18n, Middleware, Next, Validator } from '@aomex/core';
import { NonReadonly } from '@aomex/internal-tools';

@@ -9,6 +9,6 @@ import EventEmitter from 'node:events';

console: {
command_not_found: I18nFormat<{
command_not_found: I18nMessage<{
command: string;
}>;
command_found_recommended: I18nFormat<{
command_found_recommended: I18nMessage<{
command: string;

@@ -15,0 +15,0 @@ recommended: string[];

@@ -30,3 +30,3 @@ // src/i18n/locales/zh-cn.ts

// src/utils/meta.ts
var version = "1.0.3";
var version = "1.0.4";
var scriptName = "aomex";

@@ -129,2 +129,3 @@

import { EOL } from "node:os";
import { styleText as styleText2 } from "node:util";
import { hideBin } from "yargs/helpers";

@@ -136,3 +137,2 @@ import {

} from "@aomex/core";
import { chalk as chalk2 } from "@aomex/internal-tools";

@@ -179,3 +179,3 @@ // src/cli/input.ts

import yargs from "yargs";
import { chalk } from "@aomex/internal-tools";
import { styleText } from "node:util";

@@ -237,3 +237,3 @@ // src/utils/get-distance.ts

if (commandItem.show === false) return;
cli.command(chalk.yellow(commandName), commandItem.summary || "");
cli.command(styleText("yellow", commandName), commandItem.summary || "");
});

@@ -255,3 +255,3 @@ cli.showHelp("log");

cli.usage(
`${scriptName} ${command} [\u9009\u9879]${description ? "\n\n" + chalk.bold(description) : ""}`
`${scriptName} ${command} [\u9009\u9879]${description ? "\n\n" + styleText("bold", description) : ""}`
);

@@ -338,3 +338,3 @@ parameters.forEach((parameter) => {

const stack = (err.stack || err.toString()).split(EOL).map((item) => " " + item);
console.error([chalk2.red(stack.shift()), stack.join(EOL)].join(EOL));
console.error([styleText2("red", stack.shift() || ""), stack.join(EOL)].join(EOL));
}

@@ -341,0 +341,0 @@ };

{
"name": "@aomex/console",
"version": "1.0.3",
"version": "1.0.4",
"description": "控制台应用",

@@ -35,7 +35,7 @@ "type": "module",

"dependencies": {
"tsx": "^4.10.2",
"tsx": "^4.15.6",
"yargs": "^17.7.1",
"yargs-parser": "^21.1.1",
"@aomex/internal-tools": "^1.0.3",
"@aomex/internal-file-import": "^1.0.3"
"@aomex/internal-tools": "^1.0.4",
"@aomex/internal-file-import": "^1.0.4"
},

@@ -45,3 +45,3 @@ "devDependencies": {

"@types/yargs-parser": "^21.0.0",
"@aomex/core": "^1.0.3"
"@aomex/core": "^1.0.4"
},

@@ -48,0 +48,0 @@ "scripts": {},

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc