piclist 1.7.12 → 1.7.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/bin/picgo-server +71 -5
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/utils/common.d.ts +2 -2
- package/package.json +2 -2
- package/.yarnrc +0 -12
package/dist/utils/common.d.ts
CHANGED
|
@@ -110,8 +110,8 @@ export declare const forceNumber: (num?: string | number) => number;
|
|
|
110
110
|
export declare const isDev: () => boolean;
|
|
111
111
|
export declare const isProd: () => boolean;
|
|
112
112
|
export declare function AddWatermark(img: Buffer, watermarkType: 'text' | 'image', defaultWatermarkFontPath: string, isFullScreenWatermark?: boolean, watermarkDegree?: number, text?: string, watermarkFontPath?: string, watermarkScaleRatio?: number, watermarkColor?: string, watermarkImagePath?: string, position?: sharp.Gravity): Promise<Buffer>;
|
|
113
|
-
export declare function imageAddWaterMark(img: Buffer, options: IBuildInWaterMarkOptions, defaultWatermarkFontPath: string): Promise<Buffer>;
|
|
114
|
-
export declare function imageProcess(img: Buffer, options: IBuildInCompressOptions, rawFormat: string): Promise<Buffer>;
|
|
113
|
+
export declare function imageAddWaterMark(img: Buffer, options: IBuildInWaterMarkOptions, defaultWatermarkFontPath: string, logger: ILogger): Promise<Buffer>;
|
|
114
|
+
export declare function imageProcess(img: Buffer, options: IBuildInCompressOptions, rawFormat: string, logger: ILogger): Promise<Buffer>;
|
|
115
115
|
export declare function getConvertedFormat(options: IBuildInCompressOptions | undefined, rawFormat: string): string;
|
|
116
116
|
export declare const needAddWatermark: (watermarkOptions: IBuildInWaterMarkOptions | undefined, fileExt: string) => boolean;
|
|
117
117
|
export declare const needCompress: (compressOptions: IBuildInCompressOptions | undefined, fileExt: string) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piclist",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.14",
|
|
4
4
|
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kuingsmile",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@picgo/i18n": "^1.0.0",
|
|
109
109
|
"@picgo/store": "^2.1.0",
|
|
110
110
|
"@smithy/node-http-handler": "2.1.6",
|
|
111
|
-
"axios": "^1.6.
|
|
111
|
+
"axios": "^1.6.8",
|
|
112
112
|
"chalk": "^2.4.1",
|
|
113
113
|
"commander": "^8.1.0",
|
|
114
114
|
"cross-spawn": "^7.0.3",
|
package/.yarnrc
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
2
|
-
# yarn lockfile v1
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
registry "https://registry.npm.taobao.org"
|
|
6
|
-
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
|
|
7
|
-
phantomjs_cdnurl "http://cnpmjs.org/downloads"
|
|
8
|
-
electron_mirror "https://npm.taobao.org/mirrors/electron/"
|
|
9
|
-
sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
|
|
10
|
-
profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
|
|
11
|
-
chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
|
|
12
|
-
|