piclist 0.0.1
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/.eslintignore +2 -0
- package/.eslintrc.js +25 -0
- package/.github/workflows/alpha.yml +22 -0
- package/.github/workflows/main.yml +22 -0
- package/.github/workflows/manually.yml +19 -0
- package/CHANGELOG.md +549 -0
- package/License +21 -0
- package/README.md +116 -0
- package/bin/picgo +22 -0
- package/dist/core/Lifecycle.d.ts +15 -0
- package/dist/core/PicGo.d.ts +49 -0
- package/dist/i18n/en.d.ts +2 -0
- package/dist/i18n/index.d.ts +18 -0
- package/dist/i18n/zh-CN.d.ts +91 -0
- package/dist/i18n/zh-TW.d.ts +2 -0
- package/dist/index.cjs.js +3807 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.esm.js +3769 -0
- package/dist/lib/Commander.d.ts +22 -0
- package/dist/lib/LifecyclePlugins.d.ts +17 -0
- package/dist/lib/Logger.d.ts +19 -0
- package/dist/lib/PluginHandler.d.ts +10 -0
- package/dist/lib/PluginLoader.d.ts +27 -0
- package/dist/lib/Request.d.ts +12 -0
- package/dist/plugins/commander/config.d.ts +3 -0
- package/dist/plugins/commander/i18n.d.ts +3 -0
- package/dist/plugins/commander/index.d.ts +3 -0
- package/dist/plugins/commander/init.d.ts +3 -0
- package/dist/plugins/commander/pluginHandler.d.ts +3 -0
- package/dist/plugins/commander/proxy.d.ts +3 -0
- package/dist/plugins/commander/setting.d.ts +5 -0
- package/dist/plugins/commander/upload.d.ts +3 -0
- package/dist/plugins/commander/use.d.ts +3 -0
- package/dist/plugins/transformer/base64.d.ts +5 -0
- package/dist/plugins/transformer/index.d.ts +3 -0
- package/dist/plugins/transformer/path.d.ts +5 -0
- package/dist/plugins/uploader/aliyun.d.ts +2 -0
- package/dist/plugins/uploader/github.d.ts +2 -0
- package/dist/plugins/uploader/imgur.d.ts +2 -0
- package/dist/plugins/uploader/index.d.ts +3 -0
- package/dist/plugins/uploader/qiniu.d.ts +2 -0
- package/dist/plugins/uploader/smms.d.ts +2 -0
- package/dist/plugins/uploader/tcyun.d.ts +8 -0
- package/dist/plugins/uploader/upyun.d.ts +2 -0
- package/dist/types/index.d.ts +537 -0
- package/dist/types/oldRequest.d.ts +19 -0
- package/dist/utils/common.d.ts +106 -0
- package/dist/utils/createContext.d.ts +6 -0
- package/dist/utils/db.d.ts +15 -0
- package/dist/utils/enum.d.ts +27 -0
- package/dist/utils/eventBus.d.ts +4 -0
- package/dist/utils/getClipboardImage.d.ts +4 -0
- package/dist/utils/initUtils.d.ts +26 -0
- package/dist/utils/interfaces.d.ts +203 -0
- package/dist/utils/static.d.ts +1 -0
- package/logo.png +0 -0
- package/package.json +133 -0
- package/rollup.config.js +87 -0
package/.eslintignore
ADDED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: 'standard-with-typescript',
|
|
3
|
+
parserOptions: {
|
|
4
|
+
project: './tsconfig.json'
|
|
5
|
+
},
|
|
6
|
+
rules: {
|
|
7
|
+
'@typescript-eslint/strict-boolean-expressions': 0,
|
|
8
|
+
// https://github.com/typescript-eslint/typescript-eslint/blob/ef88a696a157f617d38ce6d49207a4a4a089a19b/packages/eslint-plugin/docs/rules/naming-convention.md#enforce-that-interface-names-do-not-begin-with-an-i
|
|
9
|
+
'@typescript-eslint/naming-convention': [
|
|
10
|
+
'error',
|
|
11
|
+
{
|
|
12
|
+
selector: 'interface',
|
|
13
|
+
format: ['PascalCase'],
|
|
14
|
+
custom: {
|
|
15
|
+
regex: '^I[A-Z]',
|
|
16
|
+
match: true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
'@typescript-eslint/prefer-nullish-coalescing': 0,
|
|
21
|
+
'@typescript-eslint/return-await': 0,
|
|
22
|
+
'@typescript-eslint/no-floating-promises': 0,
|
|
23
|
+
'@typescript-eslint/no-non-null-assertion': 0
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: publish
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- alpha
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- name: Clone repo
|
|
11
|
+
uses: actions/checkout@v1
|
|
12
|
+
- name: Setup node
|
|
13
|
+
uses: actions/setup-node@v1
|
|
14
|
+
with:
|
|
15
|
+
node-version: '16.x'
|
|
16
|
+
registry-url: 'https://registry.npmjs.org'
|
|
17
|
+
- name: Install modules
|
|
18
|
+
run: yarn
|
|
19
|
+
- run: npm run build
|
|
20
|
+
- run: npm publish --tag alpha --access public
|
|
21
|
+
env:
|
|
22
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: publish
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- name: Clone repo
|
|
11
|
+
uses: actions/checkout@v1
|
|
12
|
+
- name: Setup node
|
|
13
|
+
uses: actions/setup-node@v1
|
|
14
|
+
with:
|
|
15
|
+
node-version: '16.x'
|
|
16
|
+
registry-url: 'https://registry.npmjs.org'
|
|
17
|
+
- name: Install modules
|
|
18
|
+
run: yarn
|
|
19
|
+
- run: npm run build
|
|
20
|
+
- run: npm publish --access public
|
|
21
|
+
env:
|
|
22
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: manually-trigger
|
|
2
|
+
on: workflow_dispatch
|
|
3
|
+
jobs:
|
|
4
|
+
build:
|
|
5
|
+
runs-on: ubuntu-latest
|
|
6
|
+
steps:
|
|
7
|
+
- name: Clone repo
|
|
8
|
+
uses: actions/checkout@v1
|
|
9
|
+
- name: Setup node
|
|
10
|
+
uses: actions/setup-node@v1
|
|
11
|
+
with:
|
|
12
|
+
node-version: '16.x'
|
|
13
|
+
registry-url: 'https://registry.npmjs.org'
|
|
14
|
+
- name: Install modules
|
|
15
|
+
run: yarn
|
|
16
|
+
- run: npm run build
|
|
17
|
+
- run: npm publish --access public
|
|
18
|
+
env:
|
|
19
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
# :tada: 1.5.0 (2022-11-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# :tada: 1.5.0-alpha.17 (2022-11-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### :sparkles: Features
|
|
9
|
+
|
|
10
|
+
* update picgo.use ([e19bb6e](https://github.com/PicGo/PicGo-Core/commit/e19bb6e))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### :bug: Bug Fixes
|
|
14
|
+
|
|
15
|
+
* some case will cause proxy not work ([6272303](https://github.com/PicGo/PicGo-Core/commit/6272303))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# :tada: 1.5.0-alpha.16 (2022-11-09)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### :bug: Bug Fixes
|
|
23
|
+
|
|
24
|
+
* upyun url-options is not required ([9736a11](https://github.com/PicGo/PicGo-Core/commit/9736a11))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# :tada: 1.5.0-alpha.15 (2022-10-24)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### :bug: Bug Fixes
|
|
32
|
+
|
|
33
|
+
* tencent cos url encode bug ([eafb70f](https://github.com/PicGo/PicGo-Core/commit/eafb70f))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# :tada: 1.5.0-alpha.14 (2022-10-24)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### :bug: Bug Fixes
|
|
41
|
+
|
|
42
|
+
* url encode bug ([4c70e9b](https://github.com/PicGo/PicGo-Core/commit/4c70e9b))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# :tada: 1.5.0-alpha.13 (2022-10-19)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### :bug: Bug Fixes
|
|
50
|
+
|
|
51
|
+
* type error ([b934e8a](https://github.com/PicGo/PicGo-Core/commit/b934e8a))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### :package: Chore
|
|
55
|
+
|
|
56
|
+
* create oldRequest types ([749359a](https://github.com/PicGo/PicGo-Core/commit/749359a))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# :tada: 1.5.0-alpha.12 (2022-10-14)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### :bug: Bug Fixes
|
|
64
|
+
|
|
65
|
+
* types bug ([d77e6f3](https://github.com/PicGo/PicGo-Core/commit/d77e6f3))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
# :tada: 1.5.0-alpha.11 (2022-10-13)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# :tada: 1.5.0-alpha.10 (2022-09-25)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### :sparkles: Features
|
|
77
|
+
|
|
78
|
+
* add zh-TW ([#135](https://github.com/PicGo/PicGo-Core/issues/135)) ([d111d6a](https://github.com/PicGo/PicGo-Core/commit/d111d6a))
|
|
79
|
+
* update linux.sh ([#134](https://github.com/PicGo/PicGo-Core/issues/134)) ([2910c20](https://github.com/PicGo/PicGo-Core/commit/2910c20))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### :bug: Bug Fixes
|
|
83
|
+
|
|
84
|
+
* some texts in zh-TW ([#136](https://github.com/PicGo/PicGo-Core/issues/136)) ([907e6c9](https://github.com/PicGo/PicGo-Core/commit/907e6c9))
|
|
85
|
+
* url image download bug & tencent cos url encode bug ([53d54f8](https://github.com/PicGo/PicGo-Core/commit/53d54f8))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# :tada: 1.5.0-alpha.9 (2022-09-03)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### :sparkles: Features
|
|
93
|
+
|
|
94
|
+
* finish request -> axios ([b89cf1e](https://github.com/PicGo/PicGo-Core/commit/b89cf1e))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### :bug: Bug Fixes
|
|
98
|
+
|
|
99
|
+
* qiniu error msg can't show ([0e4661b](https://github.com/PicGo/PicGo-Core/commit/0e4661b))
|
|
100
|
+
* sm.ms backupDomain message text ([45424d1](https://github.com/PicGo/PicGo-Core/commit/45424d1))
|
|
101
|
+
* when request-options resolveWithFullResponse is false bug ([eb8217a](https://github.com/PicGo/PicGo-Core/commit/eb8217a))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
# :tada: 1.5.0-alpha.8 (2022-08-27)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### :sparkles: Features
|
|
109
|
+
|
|
110
|
+
* add backupDomain for sm.ms ([c6d54f1](https://github.com/PicGo/PicGo-Core/commit/c6d54f1))
|
|
111
|
+
* add debug logger type ([4342268](https://github.com/PicGo/PicGo-Core/commit/4342268))
|
|
112
|
+
* add picgo.use for easily using plugin ([c0107f1](https://github.com/PicGo/PicGo-Core/commit/c0107f1))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### :bug: Bug Fixes
|
|
116
|
+
|
|
117
|
+
* sometime tencent-cloud error message is empty ([6355e1b](https://github.com/PicGo/PicGo-Core/commit/6355e1b))
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
# :tada: 1.5.0-alpha.7 (2022-08-20)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### :sparkles: Features
|
|
125
|
+
|
|
126
|
+
* finish i18n text ([11b3197](https://github.com/PicGo/PicGo-Core/commit/11b3197))
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### :bug: Bug Fixes
|
|
130
|
+
|
|
131
|
+
* aliyun content-type -> Content-Type ([a649fcc](https://github.com/PicGo/PicGo-Core/commit/a649fcc))
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
# :tada: 1.5.0-alpha.6 (2022-08-17)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### :bug: Bug Fixes
|
|
139
|
+
|
|
140
|
+
* tencent cos upload error ([61df53a](https://github.com/PicGo/PicGo-Core/commit/61df53a))
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
# :tada: 1.5.0-alpha.5 (2022-07-31)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### :sparkles: Features
|
|
148
|
+
|
|
149
|
+
* add log file size limit ([158be01](https://github.com/PicGo/PicGo-Core/commit/158be01))
|
|
150
|
+
* change inner db to @picgo/store ([0e90af3](https://github.com/PicGo/PicGo-Core/commit/0e90af3))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### :bug: Bug Fixes
|
|
154
|
+
|
|
155
|
+
* build error ([674a6b5](https://github.com/PicGo/PicGo-Core/commit/674a6b5))
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# :tada: 1.5.0-alpha.4 (2022-05-26)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### :sparkles: Features
|
|
163
|
+
|
|
164
|
+
* add userAgent for tencent cloud COS ([acac59a](https://github.com/PicGo/PicGo-Core/commit/acac59a))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
# :tada: 1.5.0-alpha.3 (2022-04-04)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### :bug: Bug Fixes
|
|
172
|
+
|
|
173
|
+
* picgo-gui clipboard image uploading error ([1302f76](https://github.com/PicGo/PicGo-Core/commit/1302f76))
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
# :tada: 1.5.0-alpha.2 (2022-04-03)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
### :sparkles: Features
|
|
181
|
+
|
|
182
|
+
* add wayland support for linux ([#119](https://github.com/PicGo/PicGo-Core/issues/119)) ([28905f2](https://github.com/PicGo/PicGo-Core/commit/28905f2))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### :bug: Bug Fixes
|
|
186
|
+
|
|
187
|
+
* qiniu && upyun errors ([587dd3f](https://github.com/PicGo/PicGo-Core/commit/587dd3f))
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
# :tada: 1.5.0-alpha.1 (2022-03-08)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### :sparkles: Features
|
|
195
|
+
|
|
196
|
+
* add options for tencent cos ([1fccdcc](https://github.com/PicGo/PicGo-Core/commit/1fccdcc)), closes [#117](https://github.com/PicGo/PicGo-Core/issues/117)
|
|
197
|
+
* **i18n:** add i18n for picgo ([4b93a76](https://github.com/PicGo/PicGo-Core/commit/4b93a76))
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### :bug: Bug Fixes
|
|
201
|
+
|
|
202
|
+
* build error in windows ([5616fb9](https://github.com/PicGo/PicGo-Core/commit/5616fb9))
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### :package: Chore
|
|
206
|
+
|
|
207
|
+
* add alpha branch for alpha version ([6882022](https://github.com/PicGo/PicGo-Core/commit/6882022)), closes [#106](https://github.com/PicGo/PicGo-Core/issues/106)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
# :tada: 1.5.0-alpha.0 (2021-10-26)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### :package: Chore
|
|
215
|
+
|
|
216
|
+
* **build:** migrate to esbuild and change export assignment to esm export ([#102](https://github.com/PicGo/PicGo-Core/issues/102)) ([2a6cd18](https://github.com/PicGo/PicGo-Core/commit/2a6cd18))
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
## :tada: 1.4.26 (2021-08-23)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### :bug: Bug Fixes
|
|
224
|
+
|
|
225
|
+
* engine bug in package.json ([1c65144](https://github.com/PicGo/PicGo-Core/commit/1c65144))
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
## :tada: 1.4.25 (2021-08-21)
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
### :bug: Bug Fixes
|
|
233
|
+
|
|
234
|
+
* handle clipboard file path error ([ff4ec86](https://github.com/PicGo/PicGo-Core/commit/ff4ec86)), closes [#97](https://github.com/PicGo/PicGo-Core/issues/97)
|
|
235
|
+
* **error:** throw error when transform failed ([#96](https://github.com/PicGo/PicGo-Core/issues/96)) ([57fce75](https://github.com/PicGo/PicGo-Core/commit/57fce75))
|
|
236
|
+
* clipboard path contains space ([#95](https://github.com/PicGo/PicGo-Core/issues/95)) ([d2b73c1](https://github.com/PicGo/PicGo-Core/commit/d2b73c1))
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
## :tada: 1.4.24 (2021-08-01)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### :sparkles: Features
|
|
244
|
+
|
|
245
|
+
* uploaded now can be modified since picgo will not use this value ([b6a8b58](https://github.com/PicGo/PicGo-Core/commit/b6a8b58))
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
## :tada: 1.4.23 (2021-07-27)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
### :bug: Bug Fixes
|
|
253
|
+
|
|
254
|
+
* cases when clipboard of wsl contain image file ([#91](https://github.com/PicGo/PicGo-Core/issues/91)) ([adfc55e](https://github.com/PicGo/PicGo-Core/commit/adfc55e))
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### :package: Chore
|
|
258
|
+
|
|
259
|
+
* add github actions for publishing ([caae80e](https://github.com/PicGo/PicGo-Core/commit/caae80e))
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
## :tada: 1.4.22 (2021-07-27)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### :sparkles: Features
|
|
267
|
+
|
|
268
|
+
* **smms:** smms now supports image without token ([#89](https://github.com/PicGo/PicGo-Core/issues/89)) ([456b81c](https://github.com/PicGo/PicGo-Core/commit/456b81c))
|
|
269
|
+
* add support for clipboard in wsl ([#87](https://github.com/PicGo/PicGo-Core/issues/87)) ([3e230de](https://github.com/PicGo/PicGo-Core/commit/3e230de))
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
## :tada: 1.4.21 (2021-05-09)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
### :bug: Bug Fixes
|
|
277
|
+
|
|
278
|
+
* output empty after uploading when using isolate context ([79c228b](https://github.com/PicGo/PicGo-Core/commit/79c228b))
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
## :tada: 1.4.20 (2021-05-09)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### :sparkles: Features
|
|
286
|
+
|
|
287
|
+
* add createContext for each upload process ([ecde023](https://github.com/PicGo/PicGo-Core/commit/ecde023))
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### :package: Chore
|
|
291
|
+
|
|
292
|
+
* add debug launch.json ([9950259](https://github.com/PicGo/PicGo-Core/commit/9950259))
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
## :tada: 1.4.19 (2021-04-04)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
### :sparkles: Features
|
|
300
|
+
|
|
301
|
+
* add current uploader && transformer log ([67b2bb1](https://github.com/PicGo/PicGo-Core/commit/67b2bb1))
|
|
302
|
+
* limit some of config's capabilities ([f901505](https://github.com/PicGo/PicGo-Core/commit/f901505))
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## :tada: 1.4.18 (2021-03-06)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
### :bug: Bug Fixes
|
|
310
|
+
|
|
311
|
+
* unregister plugin delete pluginMap ([85228d8](https://github.com/PicGo/PicGo-Core/commit/85228d8))
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
## :tada: 1.4.17 (2021-02-09)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
### :bug: Bug Fixes
|
|
319
|
+
|
|
320
|
+
* **type:** type error in index.d.ts ([f617658](https://github.com/PicGo/PicGo-Core/commit/f617658)), closes [#69](https://github.com/PicGo/PicGo-Core/issues/69)
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
## :tada: 1.4.16 (2021-02-08)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
### :sparkles: Features
|
|
328
|
+
|
|
329
|
+
* add proxy & registry options for pluginHandler ([b10b963](https://github.com/PicGo/PicGo-Core/commit/b10b963))
|
|
330
|
+
* dynamic proxy getter with ctx.Request.request ([687805f](https://github.com/PicGo/PicGo-Core/commit/687805f)), closes [#64](https://github.com/PicGo/PicGo-Core/issues/64)
|
|
331
|
+
* supporting install specific version of plugin ([35e15b0](https://github.com/PicGo/PicGo-Core/commit/35e15b0))
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
## :tada: 1.4.15 (2021-01-24)
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
### :sparkles: Features
|
|
339
|
+
|
|
340
|
+
* add local plugin install/uninstall/update support & imporve plugin name handler ([f8ec464](https://github.com/PicGo/PicGo-Core/commit/f8ec464))
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
## :tada: 1.4.14 (2020-12-19)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
### :bug: Bug Fixes
|
|
348
|
+
|
|
349
|
+
* types error ([303a4ec](https://github.com/PicGo/PicGo-Core/commit/303a4ec))
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
## :tada: 1.4.13 (2020-12-19)
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### :sparkles: Features
|
|
357
|
+
|
|
358
|
+
* new addPlugin api for node projects ([5a18432](https://github.com/PicGo/PicGo-Core/commit/5a18432))
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### :bug: Bug Fixes
|
|
362
|
+
|
|
363
|
+
* **type:** some type error ([233a6ca](https://github.com/PicGo/PicGo-Core/commit/233a6ca))
|
|
364
|
+
* pluginLoader can't get the full plugin list ([83535b9](https://github.com/PicGo/PicGo-Core/commit/83535b9)), closes [#60](https://github.com/PicGo/PicGo-Core/issues/60)
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
## :tada: 1.4.12 (2020-11-04)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
### :bug: Bug Fixes
|
|
372
|
+
|
|
373
|
+
* let tcyun error info more detail ([ddf645f](https://github.com/PicGo/PicGo-Core/commit/ddf645f))
|
|
374
|
+
* not encode before uploading an image with url ([c0aee32](https://github.com/PicGo/PicGo-Core/commit/c0aee32))
|
|
375
|
+
* qiniu error handler ([de94212](https://github.com/PicGo/PicGo-Core/commit/de94212))
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
## :tada: 1.4.11 (2020-07-12)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
### :bug: Bug Fixes
|
|
383
|
+
|
|
384
|
+
* initailize db function error ([df7d526](https://github.com/PicGo/PicGo-Core/commit/df7d526))
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
## :tada: 1.4.10 (2020-06-28)
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
### :bug: Bug Fixes
|
|
392
|
+
|
|
393
|
+
* url image hash bug ([e405221](https://github.com/PicGo/PicGo-Core/commit/e405221))
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
## :tada: 1.4.9 (2020-06-27)
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
### :sparkles: Features
|
|
401
|
+
|
|
402
|
+
* add plugin running && error logs ([6adc070](https://github.com/PicGo/PicGo-Core/commit/6adc070))
|
|
403
|
+
* **transformer:** add fallback to support more image formats such as HEIC ([0f5d2a9](https://github.com/PicGo/PicGo-Core/commit/0f5d2a9)), closes [#13](https://github.com/PicGo/PicGo-Core/issues/13)
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
### :bug: Bug Fixes
|
|
407
|
+
|
|
408
|
+
* multiline logs format ([444a42f](https://github.com/PicGo/PicGo-Core/commit/444a42f))
|
|
409
|
+
* the issue of lost logs ([daa7508](https://github.com/PicGo/PicGo-Core/commit/daa7508))
|
|
410
|
+
* the order of the uploaded list may not be the same as the order entered ([2bf1ed9](https://github.com/PicGo/PicGo-Core/commit/2bf1ed9)), closes [#40](https://github.com/PicGo/PicGo-Core/issues/40)
|
|
411
|
+
* unregisterPlugin's bug ([966bfd8](https://github.com/PicGo/PicGo-Core/commit/966bfd8))
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
### :package: Chore
|
|
415
|
+
|
|
416
|
+
* add vscode workspace settings & migrate tslint to eslint ([50a4842](https://github.com/PicGo/PicGo-Core/commit/50a4842))
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
## :tada: 1.4.8 (2020-04-04)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### :bug: Bug Fixes
|
|
424
|
+
|
|
425
|
+
* encode url before finishing ([7a6b39c](https://github.com/PicGo/PicGo-Core/commit/7a6b39c))
|
|
426
|
+
* return true if decodeURI throw error to avoid crash ([d09d77a](https://github.com/PicGo/PicGo-Core/commit/d09d77a))
|
|
427
|
+
* win10 cmd crash bug when "picgo upload" ([#35](https://github.com/PicGo/PicGo-Core/issues/35)) ([deec252](https://github.com/PicGo/PicGo-Core/commit/deec252))
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
## :tada: 1.4.7 (2020-03-07)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
### :sparkles: Features
|
|
435
|
+
|
|
436
|
+
* add smms-v2 support ([7e10655](https://github.com/PicGo/PicGo-Core/commit/7e10655))
|
|
437
|
+
* remove weibo support ([96b2b3a](https://github.com/PicGo/PicGo-Core/commit/96b2b3a))
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
### :pencil: Documentation
|
|
441
|
+
|
|
442
|
+
* update README ([aff6326](https://github.com/PicGo/PicGo-Core/commit/aff6326))
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
## :tada: 1.4.6 (2020-02-23)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
### :bug: Bug Fixes
|
|
450
|
+
|
|
451
|
+
* auto generate a local png bug ([c54ac67](https://github.com/PicGo/PicGo-Core/commit/c54ac67))
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
## :tada: 1.4.5 (2020-02-23)
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
### :sparkles: Features
|
|
459
|
+
|
|
460
|
+
* add upload image from URL support ([0d87342](https://github.com/PicGo/PicGo-Core/commit/0d87342))
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
### :package: Chore
|
|
464
|
+
|
|
465
|
+
* travis-ci deploy option ([a2a89cd](https://github.com/PicGo/PicGo-Core/commit/a2a89cd))
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
## :tada: 1.4.4 (2019-12-30)
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
### :bug: Bug Fixes
|
|
473
|
+
|
|
474
|
+
* image_repeated error from smms ([#28](https://github.com/PicGo/PicGo-Core/issues/28)) ([f246b8d](https://github.com/PicGo/PicGo-Core/commit/f246b8d))
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
## :tada: 1.4.3 (2019-12-27)
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
### :sparkles: Features
|
|
482
|
+
|
|
483
|
+
* add aliyun optionUrl option ([0a3bdea](https://github.com/PicGo/PicGo-Core/commit/0a3bdea))
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
## :tada: 1.4.2 (2019-12-26)
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
### :bug: Bug Fixes
|
|
491
|
+
|
|
492
|
+
* cli source ([be6cdcc](https://github.com/PicGo/PicGo-Core/commit/be6cdcc))
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
## :tada: 1.4.1 (2019-12-26)
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
# :tada: 1.4.0 (2019-12-26)
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
### :sparkles: Features
|
|
504
|
+
|
|
505
|
+
* add config methods && pluginHandler to ctx ([f9bb9fb](https://github.com/PicGo/PicGo-Core/commit/f9bb9fb))
|
|
506
|
+
* **plugin:** passing environment variables ([50467c7](https://github.com/PicGo/PicGo-Core/commit/50467c7))
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
### :bug: Bug Fixes
|
|
510
|
+
|
|
511
|
+
* correct sm.ms err msg ([#18](https://github.com/PicGo/PicGo-Core/issues/18)) ([f0a4e8a](https://github.com/PicGo/PicGo-Core/commit/f0a4e8a))
|
|
512
|
+
* pluginHandler args length error ([e15eac2](https://github.com/PicGo/PicGo-Core/commit/e15eac2))
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
### :package: Chore
|
|
516
|
+
|
|
517
|
+
* **types:** added typings field to export type inform… ([#23](https://github.com/PicGo/PicGo-Core/issues/23)) ([8bb16e7](https://github.com/PicGo/PicGo-Core/commit/8bb16e7))
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
## :tada: 1.3.7 (2019-05-12)
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
### :bug: Bug Fixes
|
|
525
|
+
|
|
526
|
+
* **clipboard:** clipboard image getter error in macOS ([8314604](https://github.com/PicGo/PicGo-Core/commit/8314604))
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
## :tada: 1.3.6 (2019-04-20)
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
### :bug: Bug Fixes
|
|
534
|
+
|
|
535
|
+
* clipboard image upload under win10 ([48b72ed](https://github.com/PicGo/PicGo-Core/commit/48b72ed))
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
## :tada: 1.3.5 (2019-04-15)
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
### :bug: Bug Fixes
|
|
543
|
+
|
|
544
|
+
* writing log sometimes disappeared ([d36c0ae](https://github.com/PicGo/PicGo-Core/commit/d36c0ae))
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
### :package: Chore
|
|
548
|
+
|
|
549
|
+
* add picgo bump version ([c312302](https://github.com/PicGo/PicGo-Core/commit/c312302))
|
package/License
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Molunerfinn
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|