piclist 1.8.7 → 1.8.9

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.
Files changed (53) hide show
  1. package/.eslintrc.js +1 -0
  2. package/CHANGELOG.md +15 -0
  3. package/Dockerfile +6 -0
  4. package/dist/core/Lifecycle.d.ts +5 -1
  5. package/dist/core/PicGo.d.ts +2 -2
  6. package/dist/index.cjs.js +2 -2
  7. package/dist/index.esm.js +2 -2
  8. package/dist/lib/Commander.d.ts +1 -1
  9. package/dist/lib/LifecyclePlugins.d.ts +1 -1
  10. package/dist/lib/Logger.d.ts +1 -1
  11. package/dist/lib/PluginHandler.d.ts +1 -1
  12. package/dist/lib/PluginLoader.d.ts +1 -1
  13. package/dist/lib/Request.d.ts +2 -2
  14. package/dist/plugins/beforetransformer/compress.d.ts +1 -1
  15. package/dist/plugins/beforetransformer/watermark.d.ts +1 -1
  16. package/dist/plugins/beforeupload/buildInRename.d.ts +1 -1
  17. package/dist/plugins/commander/config.d.ts +1 -1
  18. package/dist/plugins/commander/i18n.d.ts +1 -1
  19. package/dist/plugins/commander/index.d.ts +1 -1
  20. package/dist/plugins/commander/init.d.ts +1 -1
  21. package/dist/plugins/commander/pluginHandler.d.ts +1 -1
  22. package/dist/plugins/commander/proxy.d.ts +1 -1
  23. package/dist/plugins/commander/setting.d.ts +1 -1
  24. package/dist/plugins/commander/upload.d.ts +1 -1
  25. package/dist/plugins/commander/use.d.ts +1 -1
  26. package/dist/plugins/transformer/base64.d.ts +1 -1
  27. package/dist/plugins/transformer/index.d.ts +1 -1
  28. package/dist/plugins/transformer/path.d.ts +1 -1
  29. package/dist/plugins/uploader/aliyun.d.ts +1 -1
  30. package/dist/plugins/uploader/awss3plist.d.ts +1 -1
  31. package/dist/plugins/uploader/github.d.ts +1 -1
  32. package/dist/plugins/uploader/imgur.d.ts +1 -1
  33. package/dist/plugins/uploader/index.d.ts +1 -1
  34. package/dist/plugins/uploader/local.d.ts +1 -1
  35. package/dist/plugins/uploader/lsky.d.ts +1 -1
  36. package/dist/plugins/uploader/qiniu.d.ts +1 -1
  37. package/dist/plugins/uploader/s3/uploader.d.ts +6 -7
  38. package/dist/plugins/uploader/s3/utils.d.ts +2 -2
  39. package/dist/plugins/uploader/sftp.d.ts +1 -1
  40. package/dist/plugins/uploader/smms.d.ts +1 -1
  41. package/dist/plugins/uploader/tcyun.d.ts +1 -1
  42. package/dist/plugins/uploader/telegraph.d.ts +1 -1
  43. package/dist/plugins/uploader/upyun.d.ts +1 -1
  44. package/dist/plugins/uploader/webdav.d.ts +1 -1
  45. package/dist/types/index.d.ts +4 -4
  46. package/dist/utils/common.d.ts +1 -1
  47. package/dist/utils/createContext.d.ts +1 -1
  48. package/dist/utils/db.d.ts +2 -2
  49. package/dist/utils/getClipboardImage.d.ts +1 -1
  50. package/dist/utils/initUtils.d.ts +1 -1
  51. package/dist/utils/interfaces.d.ts +2 -2
  52. package/dist/utils/sshClient.d.ts +1 -1
  53. package/package.json +155 -155
package/package.json CHANGED
@@ -1,155 +1,155 @@
1
- {
2
- "name": "piclist",
3
- "version": "1.8.7",
4
- "description": "Modified PicGo core, A tool for picture uploading",
5
- "author": {
6
- "name": "Kuingsmile",
7
- "email": "pkukuing@gmail.com"
8
- },
9
- "homepage": "https://piclist.cn",
10
- "bugs": {
11
- "url": "https://github.com/Kuingsmile/PicList-core/issues",
12
- "email": "pkukuing@gmail.com"
13
- },
14
- "main": "dist/index.cjs.js",
15
- "module": "dist/index.esm.js",
16
- "typings": "dist/index.d.ts",
17
- "bin": {
18
- "picgo": "./bin/picgo",
19
- "picgo-server": "./bin/picgo-server"
20
- },
21
- "publishConfig": {
22
- "access": "public"
23
- },
24
- "scripts": {
25
- "start": "node ./bin/picgo",
26
- "server": "node ./bin/picgo-server",
27
- "lint": "eslint src/**/*.ts",
28
- "build": "cross-env NODE_ENV=production rimraf ./dist && rollup -c rollup.config.js",
29
- "dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
30
- "cz": "git-cz",
31
- "release": "bump-version",
32
- "lint:dpdm": "dpdm -T --tsconfig ./tsconfig.json --no-tree --no-warning --exit-code circular:1 src/index.ts"
33
- },
34
- "keywords": [
35
- "picture",
36
- "upload",
37
- "util"
38
- ],
39
- "husky": {
40
- "hooks": {
41
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
42
- }
43
- },
44
- "config": {
45
- "commitizen": {
46
- "path": "./node_modules/cz-customizable"
47
- },
48
- "cz-customizable": {
49
- "config": "./node_modules/node-bump-version/.cz-config.js"
50
- }
51
- },
52
- "commitlint": {
53
- "extends": [
54
- "./node_modules/node-bump-version/commitlint-node"
55
- ]
56
- },
57
- "license": "MIT",
58
- "devDependencies": {
59
- "@rollup/plugin-commonjs": "^25.0.7",
60
- "@rollup/plugin-json": "^6.0.1",
61
- "@rollup/plugin-node-resolve": "^15.2.3",
62
- "@rollup/plugin-replace": "^5.0.5",
63
- "@types/cross-spawn": "^6.0.5",
64
- "@types/ejs": "^3.1.5",
65
- "@types/fs-extra": "^11.0.4",
66
- "@types/heic-convert": "^1.2.3",
67
- "@types/image-size": "^0.8.0",
68
- "@types/inquirer": "^0.0.42",
69
- "@types/js-yaml": "^4.0.9",
70
- "@types/lodash": "^4.14.201",
71
- "@types/mime": "^3.0.4",
72
- "@types/mime-types": "^2.1.3",
73
- "@types/minimatch": "^3.0.3",
74
- "@types/node": "16.11.7",
75
- "@types/resolve": "^0.0.8",
76
- "@types/text-to-svg": "^3.1.4",
77
- "@types/tunnel": "^0.0.6",
78
- "@types/uuid": "^9.0.7",
79
- "@typescript-eslint/eslint-plugin": "^6.11.0",
80
- "@typescript-eslint/parser": "^6.11.0",
81
- "babel-eslint": "^10.1.0",
82
- "builtins": "^4.0.0",
83
- "conventional-changelog": "^3.0.6",
84
- "cross-env": "^7.0.3",
85
- "cz-customizable": "^5.10.0",
86
- "dpdm": "^3.14.0",
87
- "eslint": "^8.53.0",
88
- "eslint-config-standard-with-typescript": "^39.1.1",
89
- "eslint-plugin-import": "^2.29.0",
90
- "eslint-plugin-n": "^16.3.1",
91
- "eslint-plugin-node": "^11.1.0",
92
- "eslint-plugin-promise": "^6.1.1",
93
- "eslint-plugin-standard": "^5.0.0",
94
- "husky": "^1.3.1",
95
- "node-bump-version": "^1.0.2",
96
- "pre-commit": "^1.2.2",
97
- "rollup": "^2.79.1",
98
- "rollup-plugin-copy": "^3.5.0",
99
- "rollup-plugin-string": "^3.0.0",
100
- "rollup-plugin-terser": "^7.0.2",
101
- "rollup-plugin-typescript2": "^0.35.0",
102
- "typescript": "^4.9.5"
103
- },
104
- "dependencies": {
105
- "@aws-sdk/client-s3": "3.421.0",
106
- "@aws-sdk/lib-storage": "3.421.0",
107
- "@aws-sdk/s3-request-presigner": "3.421.0",
108
- "@picgo/i18n": "^1.0.0",
109
- "@picgo/store": "^2.1.0",
110
- "@smithy/node-http-handler": "2.1.6",
111
- "axios": "^1.6.8",
112
- "chalk": "^2.4.1",
113
- "commander": "^8.1.0",
114
- "cross-spawn": "^7.0.3",
115
- "dayjs": "^1.11.10",
116
- "download-git-repo": "^3.0.2",
117
- "ejs": "^2.6.1",
118
- "file-type": "16.2.0",
119
- "form-data": "^4.0.0",
120
- "fs-extra": "^11.2.0",
121
- "globby": "^11.1.0",
122
- "heic-convert": "^1.2.4",
123
- "hpagent": "1.2.0",
124
- "image-size": "^1.0.2",
125
- "inquirer": "^6.0.0",
126
- "is-wsl": "^2.2.0",
127
- "js-yaml": "^4.1.0",
128
- "lodash": "^4.17.21",
129
- "mime": "2.5.2",
130
- "mime-types": "2.1.35",
131
- "minimatch": "^3.0.4",
132
- "minimist": "^1.2.8",
133
- "multer": "^1.4.5-lts.1",
134
- "node-ssh-no-cpu-features": "^1.0.1",
135
- "qiniu": "7.9.0",
136
- "resolve": "^1.8.1",
137
- "rimraf": "^5.0.1",
138
- "sharp": "^0.32.1",
139
- "text-to-svg": "^3.1.5",
140
- "tunnel": "^0.0.6",
141
- "uuid": "^9.0.1",
142
- "webdav": "^4.11.2"
143
- },
144
- "repository": {
145
- "type": "git",
146
- "url": "git+https://github.com/Kuingsmile/PicList-Core.git"
147
- },
148
- "picBed": {
149
- "current": "smms"
150
- },
151
- "plugins": {},
152
- "engines": {
153
- "node": ">= 16.0.0"
154
- }
155
- }
1
+ {
2
+ "name": "piclist",
3
+ "version": "1.8.9",
4
+ "description": "Modified PicGo core, A tool for picture uploading",
5
+ "author": {
6
+ "name": "Kuingsmile",
7
+ "email": "pkukuing@gmail.com"
8
+ },
9
+ "homepage": "https://piclist.cn",
10
+ "bugs": {
11
+ "url": "https://github.com/Kuingsmile/PicList-core/issues",
12
+ "email": "pkukuing@gmail.com"
13
+ },
14
+ "main": "dist/index.cjs.js",
15
+ "module": "dist/index.esm.js",
16
+ "typings": "dist/index.d.ts",
17
+ "bin": {
18
+ "picgo": "./bin/picgo",
19
+ "picgo-server": "./bin/picgo-server"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "scripts": {
25
+ "start": "node ./bin/picgo",
26
+ "server": "node ./bin/picgo-server",
27
+ "lint": "eslint src/**/*.ts",
28
+ "build": "cross-env NODE_ENV=production rimraf ./dist && rollup -c rollup.config.js",
29
+ "dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
30
+ "cz": "git-cz",
31
+ "release": "bump-version",
32
+ "lint:dpdm": "dpdm -T --tsconfig ./tsconfig.json --no-tree --no-warning --exit-code circular:1 src/index.ts"
33
+ },
34
+ "keywords": [
35
+ "picture",
36
+ "upload",
37
+ "util"
38
+ ],
39
+ "husky": {
40
+ "hooks": {
41
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
42
+ }
43
+ },
44
+ "config": {
45
+ "commitizen": {
46
+ "path": "./node_modules/cz-customizable"
47
+ },
48
+ "cz-customizable": {
49
+ "config": "./node_modules/node-bump-version/.cz-config.js"
50
+ }
51
+ },
52
+ "commitlint": {
53
+ "extends": [
54
+ "./node_modules/node-bump-version/commitlint-node"
55
+ ]
56
+ },
57
+ "license": "MIT",
58
+ "devDependencies": {
59
+ "@rollup/plugin-commonjs": "^25.0.7",
60
+ "@rollup/plugin-json": "^6.0.1",
61
+ "@rollup/plugin-node-resolve": "^15.2.3",
62
+ "@rollup/plugin-replace": "^5.0.5",
63
+ "@types/cross-spawn": "^6.0.5",
64
+ "@types/ejs": "^3.1.5",
65
+ "@types/fs-extra": "^11.0.4",
66
+ "@types/heic-convert": "^1.2.3",
67
+ "@types/image-size": "^0.8.0",
68
+ "@types/inquirer": "^0.0.42",
69
+ "@types/js-yaml": "^4.0.9",
70
+ "@types/lodash": "^4.14.201",
71
+ "@types/mime": "^3.0.4",
72
+ "@types/mime-types": "^2.1.3",
73
+ "@types/minimatch": "^3.0.3",
74
+ "@types/node": "16.11.7",
75
+ "@types/resolve": "^0.0.8",
76
+ "@types/text-to-svg": "^3.1.4",
77
+ "@types/tunnel": "^0.0.6",
78
+ "@types/uuid": "^9.0.7",
79
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
80
+ "@typescript-eslint/parser": "^6.21.0",
81
+ "babel-eslint": "^10.1.0",
82
+ "builtins": "^4.0.0",
83
+ "conventional-changelog": "^3.0.6",
84
+ "cross-env": "^7.0.3",
85
+ "cz-customizable": "^5.10.0",
86
+ "dpdm": "^3.14.0",
87
+ "eslint": "^8.57.0",
88
+ "eslint-config-standard-with-typescript": "^39.1.1",
89
+ "eslint-plugin-import": "^2.29.1",
90
+ "eslint-plugin-n": "^16.3.1",
91
+ "eslint-plugin-node": "^11.1.0",
92
+ "eslint-plugin-promise": "^6.2.0",
93
+ "eslint-plugin-standard": "^5.0.0",
94
+ "husky": "^1.3.1",
95
+ "node-bump-version": "^1.0.2",
96
+ "pre-commit": "^1.2.2",
97
+ "rollup": "^2.79.1",
98
+ "rollup-plugin-copy": "^3.5.0",
99
+ "rollup-plugin-string": "^3.0.0",
100
+ "rollup-plugin-terser": "^7.0.2",
101
+ "rollup-plugin-typescript2": "^0.35.0",
102
+ "typescript": "^4.9.5"
103
+ },
104
+ "dependencies": {
105
+ "@aws-sdk/client-s3": "3.421.0",
106
+ "@aws-sdk/lib-storage": "3.421.0",
107
+ "@aws-sdk/s3-request-presigner": "3.421.0",
108
+ "@picgo/i18n": "^1.0.0",
109
+ "@picgo/store": "^2.1.0",
110
+ "@smithy/node-http-handler": "2.1.6",
111
+ "axios": "^1.6.8",
112
+ "chalk": "^2.4.1",
113
+ "commander": "^8.1.0",
114
+ "cross-spawn": "^7.0.3",
115
+ "dayjs": "^1.11.10",
116
+ "download-git-repo": "^3.0.2",
117
+ "ejs": "^2.6.1",
118
+ "file-type": "16.2.0",
119
+ "form-data": "^4.0.0",
120
+ "fs-extra": "^11.2.0",
121
+ "globby": "^11.1.0",
122
+ "heic-convert": "^1.2.4",
123
+ "hpagent": "1.2.0",
124
+ "image-size": "^1.0.2",
125
+ "inquirer": "^6.0.0",
126
+ "is-wsl": "^2.2.0",
127
+ "js-yaml": "^4.1.0",
128
+ "lodash": "^4.17.21",
129
+ "mime": "2.5.2",
130
+ "mime-types": "2.1.35",
131
+ "minimatch": "^3.0.4",
132
+ "minimist": "^1.2.8",
133
+ "multer": "^1.4.5-lts.1",
134
+ "node-ssh-no-cpu-features": "^1.0.1",
135
+ "qiniu": "7.9.0",
136
+ "resolve": "^1.8.1",
137
+ "rimraf": "^5.0.1",
138
+ "sharp": "^0.32.1",
139
+ "text-to-svg": "^3.1.5",
140
+ "tunnel": "^0.0.6",
141
+ "uuid": "^9.0.1",
142
+ "webdav": "^4.11.2"
143
+ },
144
+ "repository": {
145
+ "type": "git",
146
+ "url": "git+https://github.com/Kuingsmile/PicList-Core.git"
147
+ },
148
+ "picBed": {
149
+ "current": "smms"
150
+ },
151
+ "plugins": {},
152
+ "engines": {
153
+ "node": ">= 16.0.0"
154
+ }
155
+ }