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