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