fix: docs

Merge branch 'master' of gitee.com:zhangfisher/voerka-i18n

# Conflicts:
#	docs/src/guide/intro/history.md
This commit is contained in:
wxzhang 2023-03-27 18:00:09 +08:00
commit 46e4e84b65
4 changed files with 24 additions and 4 deletions

View File

@ -2,7 +2,11 @@
## 2023/3/27
- [BUG] 修复`@voerkai18n/cli`命令因为`logsets`依赖问题导致的`RangeError: Invalid array length`错误
- [BUG] 修复`@voerkai18n/cli`命令因为`logsets`依赖升级后导致的`RangeError: Invalid array length`错误
## 2023/3/24
- 在`@voerkai18n/cli`中引入`string.prototype.replaceAll`,解决在`nodejs 15`以下无法正常使用的问题
## 2023/2/13

View File

@ -5,7 +5,9 @@ const semver = require('semver')
const logger = createLogger()
const { t } = require("./i18nProxy")
const { getPackageReleaseInfo } = require("@voerkai18n/utils");
const replaceAll = require('string.prototype.replaceall');
replaceAll.shim()
const program = new Command();
program

View File

@ -1,6 +1,6 @@
{
"name": "@voerkai18n/cli",
"version": "1.0.65",
"version": "1.0.66",
"description": "命令行工具,用来初始化/提取/编译/自动翻译等工具链",
"main": "index.js",
"homepage": "https://gitee.com/zhangfisher/voerka-i18n",
@ -45,8 +45,9 @@
"qs": "^6.10.3",
"semver": "^7.3.7",
"shelljs": "^0.8.5",
"string.prototype.replaceall": "^1.0.7",
"through2": "^4.0.2",
"vinyl": "^2.2.1"
},
"lastPublish": "2023-02-28T20:14:51+08:00"
"lastPublish": "2023-03-24T21:54:14+08:00"
}

13
pnpm-lock.yaml generated
View File

@ -224,6 +224,7 @@ importers:
qs: ^6.10.3
semver: ^7.3.7
shelljs: ^0.8.5
string.prototype.replaceall: ^1.0.7
through2: ^4.0.2
vinyl: ^2.2.1
dependencies:
@ -244,6 +245,7 @@ importers:
qs: 6.11.0
semver: 7.3.8
shelljs: 0.8.5
string.prototype.replaceall: 1.0.7
through2: 4.0.2
vinyl: 2.2.1
@ -15735,6 +15737,17 @@ packages:
regexp.prototype.flags: 1.4.3
side-channel: 1.0.4
/string.prototype.replaceall/1.0.7:
resolution: {integrity: sha512-xB2WV2GlSCSJT5dMGdhdH1noMPiAB91guiepwTYyWY9/0Vq/TZ7RPmnOSUGAEvry08QIK7EMr28aAii+9jC6kw==}
dependencies:
call-bind: 1.0.2
define-properties: 1.1.4
es-abstract: 1.21.1
get-intrinsic: 1.2.0
has-symbols: 1.0.3
is-regex: 1.1.4
dev: false
/string.prototype.trimend/1.0.6:
resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==}
dependencies: