@verdaccio/types 9.7.2 → 10.2.0
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/CHANGELOG.md +169 -314
- package/index.d.ts +38 -5
- package/package.json +9 -7
- package/.eslintrc.json +0 -9
- package/tsconfig.json +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,264 +1,197 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [9.7.2](https://github.com/verdaccio/monorepo/compare/v9.7.1...v9.7.2) (2020-07-20)
|
|
3
|
+
## 10.2.0
|
|
7
4
|
|
|
5
|
+
### Minor Changes
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
- 96b62c8: feat: add rate limit and convert user agent type to boolean
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
## 10.1.0
|
|
12
10
|
|
|
11
|
+
### Minor Changes
|
|
13
12
|
|
|
13
|
+
- 4e9a3d0: feat: remove core-js from bundle
|
|
14
14
|
|
|
15
|
+
By using babel.js core-js injects some requires that are not necessarily dependencies and fails on pnpm and yarn 2 due are strict. No need to add this feature so is removed.
|
|
15
16
|
|
|
17
|
+
- https://babeljs.io/docs/en/babel-preset-env#usebuiltins
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
## 10.0.1
|
|
18
20
|
|
|
21
|
+
### Patch Changes
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
- 6134415: fix: update dependencies
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
All notable changes to this project will be documented in this file.
|
|
26
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
23
27
|
|
|
28
|
+
# [10.0.0](https://github.com/verdaccio/monorepo/compare/v9.7.5...v10.0.0) (2021-03-29)
|
|
24
29
|
|
|
30
|
+
**Note:** Version bump only for package @verdaccio/types
|
|
25
31
|
|
|
32
|
+
## [9.7.2](https://github.com/verdaccio/monorepo/compare/v9.7.1...v9.7.2) (2020-07-20)
|
|
26
33
|
|
|
34
|
+
### Bug Fixes
|
|
27
35
|
|
|
28
|
-
# [
|
|
36
|
+
- incorrect AuthAccessCallback and AuthCallback ([#374](https://github.com/verdaccio/monorepo/issues/374)) ([97538f8](https://github.com/verdaccio/monorepo/commit/97538f886271ccdbea7862957f65c4a17c4cd831)), closes [/github.com/verdaccio/verdaccio/blob/master/src/lib/auth.ts#L264](https://github.com//github.com/verdaccio/verdaccio/blob/master/src/lib/auth.ts/issues/L264) [/github.com/verdaccio/verdaccio/blob/master/src/lib/auth.ts#L114](https://github.com//github.com/verdaccio/verdaccio/blob/master/src/lib/auth.ts/issues/L114)
|
|
29
37
|
|
|
38
|
+
# [9.7.0](https://github.com/verdaccio/monorepo/compare/v9.6.1...v9.7.0) (2020-06-24)
|
|
30
39
|
|
|
31
40
|
### Features
|
|
32
41
|
|
|
33
|
-
|
|
34
|
-
|
|
42
|
+
- types for https config ([#368](https://github.com/verdaccio/monorepo/issues/368)) ([aa4aa83](https://github.com/verdaccio/monorepo/commit/aa4aa83e8a2f6a29ebe7c0b43ccc560a37fe2da9))
|
|
35
43
|
|
|
44
|
+
# [9.5.0](https://github.com/verdaccio/monorepo/compare/v9.4.1...v9.5.0) (2020-05-02)
|
|
36
45
|
|
|
46
|
+
### Features
|
|
37
47
|
|
|
48
|
+
- **types:** custom favicon ([#356](https://github.com/verdaccio/monorepo/issues/356)) ([bd78861](https://github.com/verdaccio/monorepo/commit/bd78861f46cd5189808b6689d2018a7bac6755f7))
|
|
38
49
|
|
|
39
50
|
# [9.3.0](https://github.com/verdaccio/monorepo/compare/v9.2.0...v9.3.0) (2020-01-29)
|
|
40
51
|
|
|
41
|
-
|
|
42
52
|
### Features
|
|
43
53
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
54
|
+
- **types:** adding tag type for auth plugins ([#318](https://github.com/verdaccio/monorepo/issues/318)) ([7f07c94](https://github.com/verdaccio/monorepo/commit/7f07c94d9dba5ac45b35aef3bd1ffd3080fb35db))
|
|
49
55
|
|
|
50
56
|
# [9.0.0](https://github.com/verdaccio/monorepo/compare/v8.5.3...v9.0.0) (2020-01-07)
|
|
51
57
|
|
|
52
58
|
**Note:** Version bump only for package @verdaccio/types
|
|
53
59
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
60
|
## [8.5.2](https://github.com/verdaccio/monorepo/compare/v8.5.1...v8.5.2) (2019-12-25)
|
|
59
61
|
|
|
60
|
-
|
|
61
62
|
### Bug Fixes
|
|
62
63
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
- add types for storage handler ([#307](https://github.com/verdaccio/monorepo/issues/307)) ([c35746e](https://github.com/verdaccio/monorepo/commit/c35746ebba071900db172608dedff66a7d27c23d))
|
|
68
65
|
|
|
69
66
|
## [8.5.1](https://github.com/verdaccio/monorepo/compare/v8.5.0...v8.5.1) (2019-12-24)
|
|
70
67
|
|
|
71
|
-
|
|
72
68
|
### Bug Fixes
|
|
73
69
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
- add new types for local storage ([#306](https://github.com/verdaccio/monorepo/issues/306)) ([e715e24](https://github.com/verdaccio/monorepo/commit/e715e24ec7b7e7b3dca31a3321714ebccadf2a8d))
|
|
79
71
|
|
|
80
72
|
# [8.5.0](https://github.com/verdaccio/monorepo/compare/v8.4.2...v8.5.0) (2019-12-22)
|
|
81
73
|
|
|
82
|
-
|
|
83
74
|
### Bug Fixes
|
|
84
75
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
- **types:** add allow_unpublish generic ([#305](https://github.com/verdaccio/monorepo/issues/305)) ([aeaf64c](https://github.com/verdaccio/monorepo/commit/aeaf64c67cafb9ec16fa5a66aad9c4912f2a3710))
|
|
90
77
|
|
|
91
78
|
## [8.4.2](https://github.com/verdaccio/monorepo/compare/v8.4.1...v8.4.2) (2019-11-23)
|
|
92
79
|
|
|
93
80
|
**Note:** Version bump only for package @verdaccio/types
|
|
94
81
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
82
|
## [8.4.1](https://github.com/verdaccio/monorepo/compare/v8.4.0...v8.4.1) (2019-11-22)
|
|
100
83
|
|
|
101
84
|
**Note:** Version bump only for package @verdaccio/types
|
|
102
85
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
86
|
# [8.4.0](https://github.com/verdaccio/monorepo/compare/v8.3.0...v8.4.0) (2019-11-22)
|
|
108
87
|
|
|
109
|
-
|
|
110
88
|
### Bug Fixes
|
|
111
89
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
90
|
+
- adds sort_packages in WebConf Interface ([#227](https://github.com/verdaccio/monorepo/issues/227)) ([5b60ade](https://github.com/verdaccio/monorepo/commit/5b60adef5da49d7d1b62aa9f484b27c9fa319bdd))
|
|
117
91
|
|
|
118
92
|
# [8.3.0](https://github.com/verdaccio/monorepo/compare/v8.2.0...v8.3.0) (2019-10-27)
|
|
119
93
|
|
|
120
|
-
|
|
121
94
|
### Features
|
|
122
95
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
96
|
+
- improve auth callback TS types ([#225](https://github.com/verdaccio/monorepo/issues/225)) ([ee442a0](https://github.com/verdaccio/monorepo/commit/ee442a0))
|
|
128
97
|
|
|
129
98
|
# [8.1.0](https://github.com/verdaccio/monorepo/compare/v8.0.1-next.1...v8.1.0) (2019-09-07)
|
|
130
99
|
|
|
131
100
|
**Note:** Version bump only for package @verdaccio/types
|
|
132
101
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
102
|
## [8.0.1-next.1](https://github.com/verdaccio/monorepo/compare/v8.0.1-next.0...v8.0.1-next.1) (2019-08-29)
|
|
138
103
|
|
|
139
104
|
**Note:** Version bump only for package @verdaccio/types
|
|
140
105
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
106
|
## [8.0.1-next.0](https://github.com/verdaccio/monorepo/compare/v8.0.0...v8.0.1-next.0) (2019-08-29)
|
|
146
107
|
|
|
147
108
|
**Note:** Version bump only for package @verdaccio/types
|
|
148
109
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
110
|
# [8.0.0](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.4...v8.0.0) (2019-08-22)
|
|
154
111
|
|
|
155
112
|
**Note:** Version bump only for package @verdaccio/types
|
|
156
113
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
114
|
# [8.0.0-next.4](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.3...v8.0.0-next.4) (2019-08-18)
|
|
162
115
|
|
|
163
116
|
**Note:** Version bump only for package @verdaccio/types
|
|
164
117
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
118
|
# [8.0.0-next.2](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.1...v8.0.0-next.2) (2019-08-03)
|
|
170
119
|
|
|
171
|
-
|
|
172
120
|
### Bug Fixes
|
|
173
121
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
122
|
+
- update types for tokens ([9734fa8](https://github.com/verdaccio/monorepo/commit/9734fa8))
|
|
179
123
|
|
|
180
124
|
# [8.0.0-next.1](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.0...v8.0.0-next.1) (2019-08-01)
|
|
181
125
|
|
|
182
126
|
**Note:** Version bump only for package @verdaccio/types
|
|
183
127
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
128
|
# [8.0.0-next.0](https://github.com/verdaccio/monorepo/compare/v2.0.0...v8.0.0-next.0) (2019-08-01)
|
|
189
129
|
|
|
190
|
-
|
|
191
130
|
### Bug Fixes
|
|
192
131
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
132
|
+
- add \_autogenerated to UpLinkConf ([436bd91](https://github.com/verdaccio/monorepo/commit/436bd91))
|
|
133
|
+
- add config prop to IBasicAuth ([2481d6f](https://github.com/verdaccio/monorepo/commit/2481d6f))
|
|
134
|
+
- add missing adduser method ([22cdb4e](https://github.com/verdaccio/monorepo/commit/22cdb4e))
|
|
135
|
+
- add missing properties ([973c5e4](https://github.com/verdaccio/monorepo/commit/973c5e4))
|
|
136
|
+
- allow extend config ([0aea94f](https://github.com/verdaccio/monorepo/commit/0aea94f))
|
|
137
|
+
- allow sub types on allow auth methods ([7325f74](https://github.com/verdaccio/monorepo/commit/7325f74))
|
|
138
|
+
- deprecated methods are optional ([b77155a](https://github.com/verdaccio/monorepo/commit/b77155a))
|
|
139
|
+
- entry point [#14](https://github.com/verdaccio/monorepo/issues/14) ([7575e75](https://github.com/verdaccio/monorepo/commit/7575e75))
|
|
140
|
+
- export Author type ([bf7115b](https://github.com/verdaccio/monorepo/commit/bf7115b))
|
|
141
|
+
- fix/token i local package manager ([#61](https://github.com/verdaccio/monorepo/issues/61)) ([a7e0fc8](https://github.com/verdaccio/monorepo/commit/a7e0fc8))
|
|
142
|
+
- fixes for storage plugin types per code review ([#59](https://github.com/verdaccio/monorepo/issues/59)) ([04fccb8](https://github.com/verdaccio/monorepo/commit/04fccb8))
|
|
143
|
+
- getPackageStorage allowed to return undefined ([8a859d0](https://github.com/verdaccio/monorepo/commit/8a859d0))
|
|
144
|
+
- improvements config interface ([1dac321](https://github.com/verdaccio/monorepo/commit/1dac321))
|
|
145
|
+
- methods return Stream ([22e0672](https://github.com/verdaccio/monorepo/commit/22e0672))
|
|
146
|
+
- remove options from get package metadata ([2bfc048](https://github.com/verdaccio/monorepo/commit/2bfc048))
|
|
147
|
+
- remove wrong definition ([acba624](https://github.com/verdaccio/monorepo/commit/acba624))
|
|
148
|
+
- remove wrong imports ([c82f51c](https://github.com/verdaccio/monorepo/commit/c82f51c))
|
|
149
|
+
- restore missing type on RemoteUser ([b596896](https://github.com/verdaccio/monorepo/commit/b596896))
|
|
150
|
+
- storage types ([1285675](https://github.com/verdaccio/monorepo/commit/1285675))
|
|
151
|
+
- tokens are accesible also in local-storage ([08b342d](https://github.com/verdaccio/monorepo/commit/08b342d))
|
|
152
|
+
- update https ([c93c3fc](https://github.com/verdaccio/monorepo/commit/c93c3fc))
|
|
153
|
+
- update readTarball with right parameters ([8cbc7d1](https://github.com/verdaccio/monorepo/commit/8cbc7d1))
|
|
154
|
+
- update streams type ([7fa7be5](https://github.com/verdaccio/monorepo/commit/7fa7be5))
|
|
155
|
+
- update types for local data ([6706770](https://github.com/verdaccio/monorepo/commit/6706770))
|
|
156
|
+
- update utils types ([7c37133](https://github.com/verdaccio/monorepo/commit/7c37133))
|
|
157
|
+
- wrong signature for auth plugin ([e3e2508](https://github.com/verdaccio/monorepo/commit/e3e2508))
|
|
220
158
|
|
|
221
159
|
### Features
|
|
222
160
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
161
|
+
- add AuthPluginPackage type ([f0e1cea](https://github.com/verdaccio/monorepo/commit/f0e1cea))
|
|
162
|
+
- add callback to database methods ([d0d55e9](https://github.com/verdaccio/monorepo/commit/d0d55e9))
|
|
163
|
+
- add config file types ([188a3e5](https://github.com/verdaccio/monorepo/commit/188a3e5))
|
|
164
|
+
- add gravatar prop for web config ([b3ac873](https://github.com/verdaccio/monorepo/commit/b3ac873))
|
|
165
|
+
- add interface for middleware and storage plugin ([2b18e22](https://github.com/verdaccio/monorepo/commit/2b18e22))
|
|
166
|
+
- add IStorageManager for middleware plugin ([0ac1cc4](https://github.com/verdaccio/monorepo/commit/0ac1cc4))
|
|
167
|
+
- Add locking library on typings ([7f7ab67](https://github.com/verdaccio/monorepo/commit/7f7ab67))
|
|
168
|
+
- add RemoteUser type ([7d11892](https://github.com/verdaccio/monorepo/commit/7d11892))
|
|
169
|
+
- add search method BREAKING CHANGE: search method must be implemented to allow search functionality ([b6d94e6](https://github.com/verdaccio/monorepo/commit/b6d94e6))
|
|
170
|
+
- add secret gateway methods ([5300147](https://github.com/verdaccio/monorepo/commit/5300147))
|
|
171
|
+
- add Security configuration ([0cdc0dd](https://github.com/verdaccio/monorepo/commit/0cdc0dd))
|
|
172
|
+
- add types for auth plugin ([6378186](https://github.com/verdaccio/monorepo/commit/6378186))
|
|
173
|
+
- add types for PackageUsers ([ad5f917](https://github.com/verdaccio/monorepo/commit/ad5f917))
|
|
174
|
+
- add types for search class ([e23782d](https://github.com/verdaccio/monorepo/commit/e23782d))
|
|
175
|
+
- callback does not return ([fd78bfc](https://github.com/verdaccio/monorepo/commit/fd78bfc))
|
|
176
|
+
- merge changes from 5.x ([5f61009](https://github.com/verdaccio/monorepo/commit/5f61009))
|
|
177
|
+
- package access props are not optional ([61708e2](https://github.com/verdaccio/monorepo/commit/61708e2))
|
|
178
|
+
- remove flow [#70](https://github.com/verdaccio/monorepo/issues/70) ([2218b74](https://github.com/verdaccio/monorepo/commit/2218b74))
|
|
179
|
+
- remove sync method ([f60f81c](https://github.com/verdaccio/monorepo/commit/f60f81c))
|
|
180
|
+
- secret methods are async ([d5eacf5](https://github.com/verdaccio/monorepo/commit/d5eacf5))
|
|
181
|
+
- support for an IPluginStorageFilter ([#58](https://github.com/verdaccio/monorepo/issues/58)) ([eab219e](https://github.com/verdaccio/monorepo/commit/eab219e))
|
|
182
|
+
- token types ([#60](https://github.com/verdaccio/monorepo/issues/60)) @Eomm ([6e74da6](https://github.com/verdaccio/monorepo/commit/6e74da6))
|
|
183
|
+
- **auth:** add method to update password ([e257c3a](https://github.com/verdaccio/monorepo/commit/e257c3a))
|
|
184
|
+
- **storage:** path is not mandatory ([2c42931](https://github.com/verdaccio/monorepo/commit/2c42931))
|
|
248
185
|
|
|
249
186
|
### BREAKING CHANGES
|
|
250
187
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
* add: token types
|
|
255
|
-
|
|
256
|
-
* add: typescripts types
|
|
257
|
-
* **auth:** it will affect all auth plugins
|
|
258
|
-
|
|
259
|
-
|
|
188
|
+
- remove flow definitions
|
|
189
|
+
- storage needs to add new methods
|
|
260
190
|
|
|
191
|
+
- add: token types
|
|
261
192
|
|
|
193
|
+
- add: typescripts types
|
|
194
|
+
- **auth:** it will affect all auth plugins
|
|
262
195
|
|
|
263
196
|
# Changelog
|
|
264
197
|
|
|
@@ -266,400 +199,322 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
266
199
|
|
|
267
200
|
## [7.0.0](https://github.com/verdaccio/flow-types/compare/v6.2.0...v7.0.0) (2019-07-25)
|
|
268
201
|
|
|
269
|
-
|
|
270
202
|
### Bug Fixes
|
|
271
203
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
204
|
+
- add \_autogenerated to UpLinkConf ([971e52e](https://github.com/verdaccio/flow-types/commit/971e52e))
|
|
205
|
+
- **IPluginAuth:** adduser, changePassword optional ([40d4e7a](https://github.com/verdaccio/flow-types/commit/40d4e7a)), closes [/github.com/verdaccio/verdaccio/blob/66f4197236d9d71af149314aae15102b336f45e1/src/lib/auth.ts#L67-L71](https://github.com/verdaccio/flow-types/issues/L67-L71) [/github.com/verdaccio/verdaccio/blob/66f4197236d9d71af149314aae15102b336f45e1/src/lib/auth.ts#L138-L166](https://github.com/verdaccio/flow-types/issues/L138-L166)
|
|
206
|
+
- **IPluginAuth:** remove `login_url` ([1663c07](https://github.com/verdaccio/flow-types/commit/1663c07)), closes [#69](https://github.com/verdaccio/flow-types/issues/69)
|
|
276
207
|
|
|
277
208
|
### Features
|
|
278
209
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
210
|
+
- merge changes from 5.x ([7d2d526](https://github.com/verdaccio/flow-types/commit/7d2d526))
|
|
211
|
+
- remove flow [#70](https://github.com/verdaccio/flow-types/issues/70) ([826d5fe](https://github.com/verdaccio/flow-types/commit/826d5fe))
|
|
282
212
|
|
|
283
213
|
### BREAKING CHANGES
|
|
284
214
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
215
|
+
- remove flow definitions
|
|
288
216
|
|
|
289
217
|
<a name="6.2.0"></a>
|
|
290
|
-
# [6.2.0](https://github.com/verdaccio/flow-types/compare/v6.1.0...v6.2.0) (2019-05-28)
|
|
291
218
|
|
|
219
|
+
# [6.2.0](https://github.com/verdaccio/flow-types/compare/v6.1.0...v6.2.0) (2019-05-28)
|
|
292
220
|
|
|
293
221
|
### Features
|
|
294
222
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
223
|
+
- add types for Version ([900861d](https://github.com/verdaccio/flow-types/commit/900861d))
|
|
298
224
|
|
|
299
225
|
<a name="6.1.0"></a>
|
|
300
|
-
# [6.1.0](https://github.com/verdaccio/flow-types/compare/v6.0.2...v6.1.0) (2019-05-14)
|
|
301
226
|
|
|
227
|
+
# [6.1.0](https://github.com/verdaccio/flow-types/compare/v6.0.2...v6.1.0) (2019-05-14)
|
|
302
228
|
|
|
303
229
|
### Bug Fixes
|
|
304
230
|
|
|
305
|
-
|
|
306
|
-
|
|
231
|
+
- revert token signature ([59a03e7](https://github.com/verdaccio/flow-types/commit/59a03e7))
|
|
307
232
|
|
|
308
233
|
### Features
|
|
309
234
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
235
|
+
- moved token api signature ([e51991c](https://github.com/verdaccio/flow-types/commit/e51991c))
|
|
313
236
|
|
|
314
237
|
<a name="6.0.2"></a>
|
|
315
|
-
## [6.0.2](https://github.com/verdaccio/flow-types/compare/v6.0.1...v6.0.2) (2019-05-06)
|
|
316
238
|
|
|
239
|
+
## [6.0.2](https://github.com/verdaccio/flow-types/compare/v6.0.1...v6.0.2) (2019-05-06)
|
|
317
240
|
|
|
318
241
|
### Bug Fixes
|
|
319
242
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
243
|
+
- fix/token i local package manager ([#61](https://github.com/verdaccio/flow-types/issues/61)) ([14adfb2](https://github.com/verdaccio/flow-types/commit/14adfb2))
|
|
323
244
|
|
|
324
245
|
<a name="6.0.1"></a>
|
|
325
|
-
## [6.0.1](https://github.com/verdaccio/flow-types/compare/v6.0.0...v6.0.1) (2019-05-04)
|
|
326
246
|
|
|
247
|
+
## [6.0.1](https://github.com/verdaccio/flow-types/compare/v6.0.0...v6.0.1) (2019-05-04)
|
|
327
248
|
|
|
328
249
|
### Bug Fixes
|
|
329
250
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
251
|
+
- tokens are accesible also in local-storage ([56551cf](https://github.com/verdaccio/flow-types/commit/56551cf))
|
|
333
252
|
|
|
334
253
|
<a name="6.0.0"></a>
|
|
335
|
-
# [6.0.0](https://github.com/verdaccio/flow-types/compare/v5.0.2...v6.0.0) (2019-04-30)
|
|
336
254
|
|
|
255
|
+
# [6.0.0](https://github.com/verdaccio/flow-types/compare/v5.0.2...v6.0.0) (2019-04-30)
|
|
337
256
|
|
|
338
257
|
### Bug Fixes
|
|
339
258
|
|
|
340
|
-
|
|
341
|
-
|
|
259
|
+
- remove wrong imports ([a75476a](https://github.com/verdaccio/flow-types/commit/a75476a))
|
|
342
260
|
|
|
343
261
|
### Features
|
|
344
262
|
|
|
345
|
-
|
|
346
|
-
|
|
263
|
+
- token types ([#60](https://github.com/verdaccio/flow-types/issues/60)) @Eomm ([7b74982](https://github.com/verdaccio/flow-types/commit/7b74982))
|
|
347
264
|
|
|
348
265
|
### BREAKING CHANGES
|
|
349
266
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
* add: token types
|
|
353
|
-
|
|
354
|
-
* add: typescripts types
|
|
267
|
+
- storage needs to add new methods
|
|
355
268
|
|
|
269
|
+
- add: token types
|
|
356
270
|
|
|
271
|
+
- add: typescripts types
|
|
357
272
|
|
|
358
273
|
<a name="5.0.2"></a>
|
|
359
|
-
## [5.0.2](https://github.com/verdaccio/flow-types/compare/v5.0.1...v5.0.2) (2019-04-22)
|
|
360
274
|
|
|
275
|
+
## [5.0.2](https://github.com/verdaccio/flow-types/compare/v5.0.1...v5.0.2) (2019-04-22)
|
|
361
276
|
|
|
362
277
|
### Bug Fixes
|
|
363
278
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
279
|
+
- fixes for storage plugin types per code review ([#59](https://github.com/verdaccio/flow-types/issues/59)) ([c2ea90b](https://github.com/verdaccio/flow-types/commit/c2ea90b))
|
|
367
280
|
|
|
368
281
|
<a name="5.0.1"></a>
|
|
369
|
-
## [5.0.1](https://github.com/verdaccio/flow-types/compare/v5.0.0...v5.0.1) (2019-04-18)
|
|
370
|
-
|
|
371
282
|
|
|
283
|
+
## [5.0.1](https://github.com/verdaccio/flow-types/compare/v5.0.0...v5.0.1) (2019-04-18)
|
|
372
284
|
|
|
373
285
|
<a name="5.0.0"></a>
|
|
374
|
-
# [5.0.0](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.4...v5.0.0) (2019-04-18)
|
|
375
286
|
|
|
287
|
+
# [5.0.0](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.4...v5.0.0) (2019-04-18)
|
|
376
288
|
|
|
377
289
|
### Features
|
|
378
290
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
291
|
+
- support for an IPluginStorageFilter ([#58](https://github.com/verdaccio/flow-types/issues/58)) ([e67559f](https://github.com/verdaccio/flow-types/commit/e67559f))
|
|
382
292
|
|
|
383
293
|
<a name="5.0.0-beta.4"></a>
|
|
384
|
-
# [5.0.0-beta.4](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.3...v5.0.0-beta.4) (2019-03-29)
|
|
385
294
|
|
|
295
|
+
# [5.0.0-beta.4](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.3...v5.0.0-beta.4) (2019-03-29)
|
|
386
296
|
|
|
387
297
|
### Features
|
|
388
298
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
299
|
+
- **storage:** path is not mandatory ([784f1bb](https://github.com/verdaccio/flow-types/commit/784f1bb))
|
|
392
300
|
|
|
393
301
|
<a name="5.0.0-beta.3"></a>
|
|
394
|
-
# [5.0.0-beta.3](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.2...v5.0.0-beta.3) (2019-03-09)
|
|
395
302
|
|
|
303
|
+
# [5.0.0-beta.3](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.2...v5.0.0-beta.3) (2019-03-09)
|
|
396
304
|
|
|
397
305
|
### Features
|
|
398
306
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
307
|
+
- add types for PackageUsers ([9bb3c26](https://github.com/verdaccio/flow-types/commit/9bb3c26))
|
|
402
308
|
|
|
403
309
|
<a name="5.0.0-beta.2"></a>
|
|
404
|
-
# [5.0.0-beta.2](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.1...v5.0.0-beta.2) (2019-02-03)
|
|
405
310
|
|
|
311
|
+
# [5.0.0-beta.2](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.1...v5.0.0-beta.2) (2019-02-03)
|
|
406
312
|
|
|
407
313
|
### Features
|
|
408
314
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
315
|
+
- allow_access and allow_publish are optional for auth plugin ([0d5a53c](https://github.com/verdaccio/flow-types/commit/0d5a53c))
|
|
412
316
|
|
|
413
317
|
<a name="5.0.0-beta.1"></a>
|
|
414
|
-
# [5.0.0-beta.1](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2019-02-01)
|
|
415
|
-
|
|
416
318
|
|
|
319
|
+
# [5.0.0-beta.1](https://github.com/verdaccio/flow-types/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2019-02-01)
|
|
417
320
|
|
|
418
321
|
<a name="5.0.0-beta.0"></a>
|
|
419
|
-
# [5.0.0-beta.0](https://github.com/verdaccio/flow-types/compare/v4.3.0...v5.0.0-beta.0) (2019-01-27)
|
|
420
|
-
|
|
421
322
|
|
|
323
|
+
# [5.0.0-beta.0](https://github.com/verdaccio/flow-types/compare/v4.3.0...v5.0.0-beta.0) (2019-01-27)
|
|
422
324
|
|
|
423
325
|
<a name="4.3.0"></a>
|
|
424
|
-
# [4.3.0](https://github.com/verdaccio/flow-types/compare/v4.2.0...v4.3.0) (2019-01-12)
|
|
425
326
|
|
|
327
|
+
# [4.3.0](https://github.com/verdaccio/flow-types/compare/v4.2.0...v4.3.0) (2019-01-12)
|
|
426
328
|
|
|
427
329
|
### Features
|
|
428
330
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
331
|
+
- add gravatar prop for web config ([99ceae9](https://github.com/verdaccio/flow-types/commit/99ceae9))
|
|
432
332
|
|
|
433
333
|
<a name="4.2.0"></a>
|
|
434
|
-
# [4.2.0](https://github.com/verdaccio/flow-types/compare/v4.1.2...v4.2.0) (2019-01-12)
|
|
435
334
|
|
|
335
|
+
# [4.2.0](https://github.com/verdaccio/flow-types/compare/v4.1.2...v4.2.0) (2019-01-12)
|
|
436
336
|
|
|
437
337
|
### Features
|
|
438
338
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
339
|
+
- add AuthPluginPackage type ([0e46b04](https://github.com/verdaccio/flow-types/commit/0e46b04))
|
|
442
340
|
|
|
443
341
|
<a name="4.1.2"></a>
|
|
444
|
-
## [4.1.2](https://github.com/verdaccio/flow-types/compare/v4.1.1...v4.1.2) (2018-11-11)
|
|
445
342
|
|
|
343
|
+
## [4.1.2](https://github.com/verdaccio/flow-types/compare/v4.1.1...v4.1.2) (2018-11-11)
|
|
446
344
|
|
|
447
345
|
### Bug Fixes
|
|
448
346
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
347
|
+
- remove wrong definition ([9bc53fc](https://github.com/verdaccio/flow-types/commit/9bc53fc))
|
|
452
348
|
|
|
453
349
|
<a name="4.1.1"></a>
|
|
454
|
-
## [4.1.1](https://github.com/verdaccio/flow-types/compare/v4.1.0...v4.1.1) (2018-10-06)
|
|
455
350
|
|
|
351
|
+
## [4.1.1](https://github.com/verdaccio/flow-types/compare/v4.1.0...v4.1.1) (2018-10-06)
|
|
456
352
|
|
|
457
353
|
### Bug Fixes
|
|
458
354
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
355
|
+
- deprecated methods are optional ([4c96e89](https://github.com/verdaccio/flow-types/commit/4c96e89))
|
|
462
356
|
|
|
463
357
|
<a name="4.1.0"></a>
|
|
464
|
-
# [4.1.0](https://github.com/verdaccio/flow-types/compare/v4.0.0...v4.1.0) (2018-10-06)
|
|
465
358
|
|
|
359
|
+
# [4.1.0](https://github.com/verdaccio/flow-types/compare/v4.0.0...v4.1.0) (2018-10-06)
|
|
466
360
|
|
|
467
361
|
### Features
|
|
468
362
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
363
|
+
- package access props are not optional ([afabaf1](https://github.com/verdaccio/flow-types/commit/afabaf1))
|
|
472
364
|
|
|
473
365
|
<a name="4.0.0"></a>
|
|
474
|
-
# [4.0.0](https://github.com/verdaccio/flow-types/compare/v3.7.2...v4.0.0) (2018-09-30)
|
|
475
366
|
|
|
367
|
+
# [4.0.0](https://github.com/verdaccio/flow-types/compare/v3.7.2...v4.0.0) (2018-09-30)
|
|
476
368
|
|
|
477
369
|
### Features
|
|
478
370
|
|
|
479
|
-
|
|
480
|
-
|
|
371
|
+
- **auth:** add method to update password ([21fc43f](https://github.com/verdaccio/flow-types/commit/21fc43f))
|
|
481
372
|
|
|
482
373
|
### BREAKING CHANGES
|
|
483
374
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
375
|
+
- **auth:** it will affect all auth plugins
|
|
487
376
|
|
|
488
377
|
<a name="3.7.2"></a>
|
|
489
|
-
## [3.7.2](https://github.com/verdaccio/flow-types/compare/v3.7.1...v3.7.2) (2018-09-27)
|
|
490
378
|
|
|
379
|
+
## [3.7.2](https://github.com/verdaccio/flow-types/compare/v3.7.1...v3.7.2) (2018-09-27)
|
|
491
380
|
|
|
492
381
|
### Bug Fixes
|
|
493
382
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
383
|
+
- entry point [#14](https://github.com/verdaccio/flow-types/issues/14) ([f7b8982](https://github.com/verdaccio/flow-types/commit/f7b8982))
|
|
384
|
+
- export Author type ([7869dde](https://github.com/verdaccio/flow-types/commit/7869dde))
|
|
498
385
|
|
|
499
386
|
<a name="3.7.1"></a>
|
|
500
|
-
## [3.7.1](https://github.com/verdaccio/flow-types/compare/v3.7.0...v3.7.1) (2018-08-11)
|
|
501
387
|
|
|
388
|
+
## [3.7.1](https://github.com/verdaccio/flow-types/compare/v3.7.0...v3.7.1) (2018-08-11)
|
|
502
389
|
|
|
503
390
|
### Bug Fixes
|
|
504
391
|
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
392
|
+
- restore missing type on RemoteUser ([88d809e](https://github.com/verdaccio/flow-types/commit/88d809e))
|
|
508
393
|
|
|
509
394
|
<a name="3.7.0"></a>
|
|
510
|
-
# [3.7.0](https://github.com/verdaccio/flow-types/compare/v3.6.0...v3.7.0) (2018-08-05)
|
|
511
395
|
|
|
396
|
+
# [3.7.0](https://github.com/verdaccio/flow-types/compare/v3.6.0...v3.7.0) (2018-08-05)
|
|
512
397
|
|
|
513
398
|
### Features
|
|
514
399
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
400
|
+
- add Security configuration ([0d9aece](https://github.com/verdaccio/flow-types/commit/0d9aece))
|
|
518
401
|
|
|
519
402
|
<a name="3.6.0"></a>
|
|
520
|
-
# [3.6.0](https://github.com/verdaccio/flow-types/compare/v3.5.1...v3.6.0) (2018-07-30)
|
|
521
403
|
|
|
404
|
+
# [3.6.0](https://github.com/verdaccio/flow-types/compare/v3.5.1...v3.6.0) (2018-07-30)
|
|
522
405
|
|
|
523
406
|
### Features
|
|
524
407
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
408
|
+
- changes max_users type to number ([1fa6e73](https://github.com/verdaccio/flow-types/commit/1fa6e73))
|
|
528
409
|
|
|
529
410
|
<a name="3.5.1"></a>
|
|
530
|
-
## [3.5.1](https://github.com/verdaccio/flow-types/compare/v3.5.0...v3.5.1) (2018-07-21)
|
|
531
411
|
|
|
412
|
+
## [3.5.1](https://github.com/verdaccio/flow-types/compare/v3.5.0...v3.5.1) (2018-07-21)
|
|
532
413
|
|
|
533
414
|
### Bug Fixes
|
|
534
415
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
416
|
+
- login_url should be an optional property ([0fcfb9c](https://github.com/verdaccio/flow-types/commit/0fcfb9c))
|
|
538
417
|
|
|
539
418
|
<a name="3.5.0"></a>
|
|
540
|
-
# [3.5.0](https://github.com/verdaccio/flow-types/compare/v3.4.3...v3.5.0) (2018-07-21)
|
|
541
419
|
|
|
420
|
+
# [3.5.0](https://github.com/verdaccio/flow-types/compare/v3.4.3...v3.5.0) (2018-07-21)
|
|
542
421
|
|
|
543
422
|
### Features
|
|
544
423
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
424
|
+
- add `login_url` to verdaccio\$IPluginAuth ([6e03209](https://github.com/verdaccio/flow-types/commit/6e03209)), closes [verdaccio/verdaccio#834](https://github.com/verdaccio/verdaccio/issues/834)
|
|
548
425
|
|
|
549
426
|
<a name="3.4.3"></a>
|
|
550
|
-
## [3.4.3](https://github.com/verdaccio/flow-types/compare/v3.4.2...v3.4.3) (2018-07-19)
|
|
551
427
|
|
|
428
|
+
## [3.4.3](https://github.com/verdaccio/flow-types/compare/v3.4.2...v3.4.3) (2018-07-19)
|
|
552
429
|
|
|
553
430
|
### Bug Fixes
|
|
554
431
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
432
|
+
- allow extend config ([06e810f](https://github.com/verdaccio/flow-types/commit/06e810f))
|
|
558
433
|
|
|
559
434
|
<a name="3.4.2"></a>
|
|
560
|
-
## [3.4.2](https://github.com/verdaccio/flow-types/compare/v3.4.1...v3.4.2) (2018-07-17)
|
|
561
|
-
|
|
562
435
|
|
|
436
|
+
## [3.4.2](https://github.com/verdaccio/flow-types/compare/v3.4.1...v3.4.2) (2018-07-17)
|
|
563
437
|
|
|
564
438
|
<a name="3.4.1"></a>
|
|
565
|
-
## [3.4.1](https://github.com/verdaccio/flow-types/compare/v3.4.0...v3.4.1) (2018-07-16)
|
|
566
439
|
|
|
440
|
+
## [3.4.1](https://github.com/verdaccio/flow-types/compare/v3.4.0...v3.4.1) (2018-07-16)
|
|
567
441
|
|
|
568
442
|
### Bug Fixes
|
|
569
443
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
444
|
+
- allow sub types on allow auth methods ([fa8125b](https://github.com/verdaccio/flow-types/commit/fa8125b))
|
|
573
445
|
|
|
574
446
|
<a name="3.4.0"></a>
|
|
575
|
-
# [3.4.0](https://github.com/verdaccio/flow-types/compare/v3.3.3...v3.4.0) (2018-07-16)
|
|
576
447
|
|
|
448
|
+
# [3.4.0](https://github.com/verdaccio/flow-types/compare/v3.3.3...v3.4.0) (2018-07-16)
|
|
577
449
|
|
|
578
450
|
### Features
|
|
579
451
|
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
452
|
+
- add RemoteUser type ([aa83839](https://github.com/verdaccio/flow-types/commit/aa83839))
|
|
583
453
|
|
|
584
454
|
<a name="3.3.3"></a>
|
|
585
|
-
## [3.3.3](https://github.com/verdaccio/flow-types/compare/v3.3.2...v3.3.3) (2018-07-16)
|
|
586
455
|
|
|
456
|
+
## [3.3.3](https://github.com/verdaccio/flow-types/compare/v3.3.2...v3.3.3) (2018-07-16)
|
|
587
457
|
|
|
588
458
|
### Bug Fixes
|
|
589
459
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
460
|
+
- wrong signature for auth plugin ([11a0ce6](https://github.com/verdaccio/flow-types/commit/11a0ce6))
|
|
593
461
|
|
|
594
462
|
<a name="3.3.2"></a>
|
|
595
|
-
## [3.3.2](https://github.com/verdaccio/flow-types/compare/v3.3.1...v3.3.2) (2018-07-16)
|
|
596
463
|
|
|
464
|
+
## [3.3.2](https://github.com/verdaccio/flow-types/compare/v3.3.1...v3.3.2) (2018-07-16)
|
|
597
465
|
|
|
598
466
|
### Bug Fixes
|
|
599
467
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
468
|
+
- add missing adduser method ([0b54fe7](https://github.com/verdaccio/flow-types/commit/0b54fe7))
|
|
603
469
|
|
|
604
470
|
<a name="3.3.1"></a>
|
|
605
|
-
## [3.3.1](https://github.com/verdaccio/flow-types/compare/v3.3.0...v3.3.1) (2018-07-15)
|
|
606
471
|
|
|
472
|
+
## [3.3.1](https://github.com/verdaccio/flow-types/compare/v3.3.0...v3.3.1) (2018-07-15)
|
|
607
473
|
|
|
608
474
|
### Bug Fixes
|
|
609
475
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
476
|
+
- add config prop to IBasicAuth ([0714316](https://github.com/verdaccio/flow-types/commit/0714316))
|
|
613
477
|
|
|
614
478
|
<a name="3.3.0"></a>
|
|
615
|
-
# [3.3.0](https://github.com/verdaccio/flow-types/compare/v3.2.0...v3.3.0) (2018-07-15)
|
|
616
479
|
|
|
480
|
+
# [3.3.0](https://github.com/verdaccio/flow-types/compare/v3.2.0...v3.3.0) (2018-07-15)
|
|
617
481
|
|
|
618
482
|
### Features
|
|
619
483
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
484
|
+
- add IStorageManager for middleware plugin ([d473b4c](https://github.com/verdaccio/flow-types/commit/d473b4c))
|
|
623
485
|
|
|
624
486
|
<a name="3.2.0"></a>
|
|
625
|
-
# [3.2.0](https://github.com/verdaccio/flow-types/compare/v3.1.0...v3.2.0) (2018-07-15)
|
|
626
487
|
|
|
488
|
+
# [3.2.0](https://github.com/verdaccio/flow-types/compare/v3.1.0...v3.2.0) (2018-07-15)
|
|
627
489
|
|
|
628
490
|
### Features
|
|
629
491
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
492
|
+
- add interface for middleware and storage plugin ([0028085](https://github.com/verdaccio/flow-types/commit/0028085))
|
|
633
493
|
|
|
634
494
|
<a name="3.1.0"></a>
|
|
635
|
-
# [3.1.0](https://github.com/verdaccio/flow-types/compare/v3.0.1...v3.1.0) (2018-07-14)
|
|
636
495
|
|
|
496
|
+
# [3.1.0](https://github.com/verdaccio/flow-types/compare/v3.0.1...v3.1.0) (2018-07-14)
|
|
637
497
|
|
|
638
498
|
### Features
|
|
639
499
|
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
500
|
+
- add types for auth plugin ([a9b7bc9](https://github.com/verdaccio/flow-types/commit/a9b7bc9))
|
|
643
501
|
|
|
644
502
|
<a name="3.0.1"></a>
|
|
645
|
-
## [3.0.1](https://github.com/verdaccio/flow-types/compare/v3.0.0...v3.0.1) (2018-07-02)
|
|
646
503
|
|
|
504
|
+
## [3.0.1](https://github.com/verdaccio/flow-types/compare/v3.0.0...v3.0.1) (2018-07-02)
|
|
647
505
|
|
|
648
506
|
### Bug Fixes
|
|
649
507
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
508
|
+
- improvements config interface ([8ea6276](https://github.com/verdaccio/flow-types/commit/8ea6276))
|
|
653
509
|
|
|
654
510
|
<a name="3.0.0"></a>
|
|
655
|
-
# [3.0.0](https://github.com/verdaccio/flow-types/compare/v2.2.2...v3.0.0) (2018-06-08)
|
|
656
511
|
|
|
512
|
+
# [3.0.0](https://github.com/verdaccio/flow-types/compare/v2.2.2...v3.0.0) (2018-06-08)
|
|
657
513
|
|
|
658
514
|
### Features
|
|
659
515
|
|
|
660
|
-
|
|
661
|
-
|
|
516
|
+
- add search method ([2cf3ce9](https://github.com/verdaccio/flow-types/commit/2cf3ce9))
|
|
662
517
|
|
|
663
518
|
### BREAKING CHANGES
|
|
664
519
|
|
|
665
|
-
|
|
520
|
+
- search method must be implemented to allow search functionality
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// <reference types="node" />
|
|
2
|
+
|
|
1
3
|
import { PassThrough } from 'stream';
|
|
2
4
|
|
|
3
5
|
declare module '@verdaccio/types' {
|
|
@@ -291,6 +293,7 @@ declare module '@verdaccio/types' {
|
|
|
291
293
|
favicon?: string;
|
|
292
294
|
gravatar?: boolean;
|
|
293
295
|
sort_packages?: string;
|
|
296
|
+
rateLimit?: RateLimit;
|
|
294
297
|
}
|
|
295
298
|
|
|
296
299
|
interface HttpsConfKeyCert {
|
|
@@ -334,15 +337,27 @@ declare module '@verdaccio/types' {
|
|
|
334
337
|
jwt?: JWTOptions;
|
|
335
338
|
}
|
|
336
339
|
|
|
340
|
+
type RateLimit = {
|
|
341
|
+
windowMs?: number;
|
|
342
|
+
max?: number;
|
|
343
|
+
};
|
|
344
|
+
|
|
337
345
|
interface Security {
|
|
338
346
|
web: JWTOptions;
|
|
339
347
|
api: APITokenOptions;
|
|
348
|
+
userRateLimit: RateLimit;
|
|
340
349
|
}
|
|
341
350
|
|
|
351
|
+
type Server = {
|
|
352
|
+
keepAliveTimeout?: number;
|
|
353
|
+
rateLimit: RateLimit;
|
|
354
|
+
};
|
|
355
|
+
|
|
342
356
|
interface Config {
|
|
343
|
-
user_agent:
|
|
357
|
+
user_agent: boolean;
|
|
344
358
|
server_id: any;
|
|
345
359
|
_debug?: boolean;
|
|
360
|
+
server?: Server;
|
|
346
361
|
storage?: string | void;
|
|
347
362
|
plugins?: string | void;
|
|
348
363
|
secret: string;
|
|
@@ -408,7 +423,11 @@ declare module '@verdaccio/types' {
|
|
|
408
423
|
getSecret(): Promise<string>;
|
|
409
424
|
setSecret(secret: string): Promise<any>;
|
|
410
425
|
getPackageStorage(packageInfo: string): IPackageStorage;
|
|
411
|
-
search(
|
|
426
|
+
search(
|
|
427
|
+
onPackage: onSearchPackage,
|
|
428
|
+
onEnd: onEndSearchPackage,
|
|
429
|
+
validateName: onValidatePackage
|
|
430
|
+
): void;
|
|
412
431
|
}
|
|
413
432
|
|
|
414
433
|
type StorageUpdateCallback = (data: Package, cb: CallbackAction) => void;
|
|
@@ -442,7 +461,13 @@ declare module '@verdaccio/types' {
|
|
|
442
461
|
}
|
|
443
462
|
|
|
444
463
|
interface StoragePackageActions extends TarballActions {
|
|
445
|
-
addVersion(
|
|
464
|
+
addVersion(
|
|
465
|
+
name: string,
|
|
466
|
+
version: string,
|
|
467
|
+
metadata: Version,
|
|
468
|
+
tag: StringValue,
|
|
469
|
+
callback: Callback
|
|
470
|
+
): void;
|
|
446
471
|
mergeTags(name: string, tags: MergeTags, callback: Callback): void;
|
|
447
472
|
removePackage(name: string, callback: Callback): void;
|
|
448
473
|
changePackage(name: string, metadata: Package, revision: string, callback: Callback): void;
|
|
@@ -519,9 +544,17 @@ declare module '@verdaccio/types' {
|
|
|
519
544
|
allow_publish?(user: RemoteUser, pkg: T & PackageAccess, cb: AuthAccessCallback): void;
|
|
520
545
|
allow_access?(user: RemoteUser, pkg: T & PackageAccess, cb: AuthAccessCallback): void;
|
|
521
546
|
allow_unpublish?(user: RemoteUser, pkg: T & PackageAccess, cb: AuthAccessCallback): void;
|
|
522
|
-
allow_publish?(
|
|
547
|
+
allow_publish?(
|
|
548
|
+
user: RemoteUser,
|
|
549
|
+
pkg: AllowAccess & PackageAccess,
|
|
550
|
+
cb: AuthAccessCallback
|
|
551
|
+
): void;
|
|
523
552
|
allow_access?(user: RemoteUser, pkg: AllowAccess & PackageAccess, cb: AuthAccessCallback): void;
|
|
524
|
-
allow_unpublish?(
|
|
553
|
+
allow_unpublish?(
|
|
554
|
+
user: RemoteUser,
|
|
555
|
+
pkg: AllowAccess & PackageAccess,
|
|
556
|
+
cb: AuthAccessCallback
|
|
557
|
+
): void;
|
|
525
558
|
apiJWTmiddleware?(helpers: any): Function;
|
|
526
559
|
}
|
|
527
560
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"description": "verdaccio types definitions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"verdaccio",
|
|
@@ -23,14 +23,16 @@
|
|
|
23
23
|
},
|
|
24
24
|
"main": "index.d.ts",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"lint:stage": "lint-staged",
|
|
29
|
-
"test": "tsc --noEmit"
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/node": "14.18.0"
|
|
30
28
|
},
|
|
31
29
|
"funding": {
|
|
32
30
|
"type": "opencollective",
|
|
33
31
|
"url": "https://opencollective.com/verdaccio"
|
|
34
32
|
},
|
|
35
|
-
"
|
|
36
|
-
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test": "exit 0",
|
|
35
|
+
"build": "exit 0"
|
|
36
|
+
},
|
|
37
|
+
"readme": "# Typescript types for Verdaccio\n\nTypescript definitions for verdaccio plugins and internal code\n\n# Typescript\nFor usage with the library, the `tsconfig.json` should looks like this.\n\n```\n//tsconfig.json\n{\n \"compilerOptions\": {\n \"target\": \"esnext\",\n \"module\": \"commonjs\",\n \"declaration\": true,\n \"noImplicitAny\": false,\n \"strict\": true,\n \"outDir\": \"lib\",\n \"allowSyntheticDefaultImports\": true,\n \"esModuleInterop\": true,\n \"typeRoots\": [\n \"./node_modules/@verdaccio/types/lib/verdaccio\",\n \"./node_modules/@types\"\n ]\n },\n \"include\": [\n \"src/*.ts\",\n \"types/*.d.ts\"\n ]\n}\n```\n\n### Imports\n\n```\nimport type {ILocalData, LocalStorage, Logger, Config} from '@verdaccio/types';\n\n class LocalData implements ILocalData {\n\n path: string;\n logger: Logger;\n data: LocalStorage;\n config: Config;\n locked: boolean;\n ...\n}\n```\n\n\n"
|
|
38
|
+
}
|
package/.eslintrc.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"@typescript-eslint/adjacent-overload-signatures": "off",
|
|
4
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
5
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
6
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
7
|
-
"@typescript-eslint/no-unused-vars": "off"
|
|
8
|
-
}
|
|
9
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"noImplicitAny": true,
|
|
6
|
-
"noImplicitThis": true,
|
|
7
|
-
"strictNullChecks": true,
|
|
8
|
-
"strictFunctionTypes": true,
|
|
9
|
-
"noEmit": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true
|
|
11
|
-
},
|
|
12
|
-
"typeRoots": [
|
|
13
|
-
"./node_modules/@types",
|
|
14
|
-
"./index.d.ts"
|
|
15
|
-
],
|
|
16
|
-
"includes": [
|
|
17
|
-
"./index.d.ts"
|
|
18
|
-
]
|
|
19
|
-
}
|