piclist 0.8.12 → 0.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n/zh-CN.d.ts +6 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/types/index.d.ts +5 -0
- package/package.json +4 -4
package/dist/types/index.d.ts
CHANGED
|
@@ -298,6 +298,8 @@ export interface ITcyunConfig {
|
|
|
298
298
|
/** 存储区域,例如 ap-beijing-1 */
|
|
299
299
|
area: string;
|
|
300
300
|
/** 自定义存储路径,比如 img/ */
|
|
301
|
+
/** endpoint: string */
|
|
302
|
+
endpoint: string;
|
|
301
303
|
path: string;
|
|
302
304
|
/** 自定义域名,注意要加 `http://` 或者 `https://` */
|
|
303
305
|
customUrl: string;
|
|
@@ -305,6 +307,8 @@ export interface ITcyunConfig {
|
|
|
305
307
|
version: 'v5' | 'v4';
|
|
306
308
|
/** 针对图片的一些后缀处理参数 PicGo 2.4.0+ PicGo-Core 1.5.0+ */
|
|
307
309
|
options: string;
|
|
310
|
+
/** 是否支持极智压缩 */
|
|
311
|
+
slim: boolean;
|
|
308
312
|
}
|
|
309
313
|
/** GitHub 图床配置项 */
|
|
310
314
|
export interface IGithubConfig {
|
|
@@ -509,6 +513,7 @@ export interface IImgSize {
|
|
|
509
513
|
width: number;
|
|
510
514
|
height: number;
|
|
511
515
|
real?: boolean;
|
|
516
|
+
extname?: string;
|
|
512
517
|
}
|
|
513
518
|
/**
|
|
514
519
|
* for initUtils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piclist",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.14",
|
|
4
4
|
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kuingsmile",
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@picgo/i18n": "^1.0.0",
|
|
107
107
|
"@picgo/store": "^2.0.4",
|
|
108
|
-
"axios": "^1.
|
|
108
|
+
"axios": "^1.5.0",
|
|
109
109
|
"chalk": "^2.4.1",
|
|
110
110
|
"commander": "^8.1.0",
|
|
111
111
|
"comment-json": "^2.3.1",
|
|
112
112
|
"cross-spawn": "^6.0.5",
|
|
113
|
-
"dayjs": "^1.11.
|
|
113
|
+
"dayjs": "^1.11.9",
|
|
114
114
|
"download-git-repo": "^3.0.2",
|
|
115
115
|
"ejs": "^2.6.1",
|
|
116
116
|
"form-data": "^4.0.0",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"minimatch": "^3.0.4",
|
|
128
128
|
"minimist": "^1.2.5",
|
|
129
129
|
"node-ssh-no-cpu-features": "^1.0.1",
|
|
130
|
-
"qiniu": "^7.
|
|
130
|
+
"qiniu": "^7.9.0",
|
|
131
131
|
"resolve": "^1.8.1",
|
|
132
132
|
"rimraf": "^3.0.2",
|
|
133
133
|
"sharp": "^0.32.1",
|