@koishijs/core
Advanced tools
Comparing version 4.15.6 to 4.15.7
{ | ||
"name": "@koishijs/core", | ||
"description": "Core Features for Koishi", | ||
"version": "4.15.6", | ||
"version": "4.15.7", | ||
"main": "lib/index.cjs", | ||
@@ -36,4 +36,4 @@ "module": "lib/index.mjs", | ||
"@koishijs/utils": "^7.1.1", | ||
"@minatojs/core": "^2.6.0", | ||
"@satorijs/core": "^3.2.1", | ||
"@minatojs/core": "^2.6.1", | ||
"@satorijs/core": "^3.2.3", | ||
"cordis": "^3.3.1", | ||
@@ -40,0 +40,0 @@ "cosmokit": "^1.5.1", |
@@ -0,1 +1,2 @@ | ||
import { isNullable } from 'cosmokit' | ||
import { Context } from '../context' | ||
@@ -42,2 +43,5 @@ import { Argv } from './parser' | ||
const source = await session.prompt() | ||
if (isNullable(source)) { | ||
return sendHint('internal.insufficient-arguments', decl.name) | ||
} | ||
args.push(Argv.parseValue(source, 'argument', argv, decl)) | ||
@@ -44,0 +48,0 @@ index++ |
@@ -88,2 +88,3 @@ import { distance } from 'fastest-levenshtein' | ||
for (const key in value) { | ||
if (key.startsWith('_')) continue | ||
yield* this.set(locale, prefix + key + '.', value[key]) | ||
@@ -90,0 +91,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
478766
8852
Updated@minatojs/core@^2.6.1
Updated@satorijs/core@^3.2.3