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