@verdaccio/logger 8.0.0-next-8.11 → 8.0.0-next-8.13

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/README.md CHANGED
@@ -1,12 +1,19 @@
1
- # @verdaccio/logger
1
+ # @verdaccio/logger - Verdaccio Logger
2
2
 
3
- [![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)
4
- [![stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio)
5
- [![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
6
- [![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
7
- [![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/verdaccio/verdaccio)](https://www.tickgit.com/browse?repo=github.com/verdaccio/verdaccio)
3
+ [![Verdaccio Home](https://img.shields.io/badge/Homepage-Verdaccio-405236?style=flat)](https://verdaccio.org)
4
+ [![MIT License](https://img.shields.io/github/license/verdaccio/verdaccio?label=License&color=405236)](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
5
+ [![Verdaccio Latest](https://img.shields.io/npm/v/verdaccio?label=Latest%20Version&color=405236)](https://github.com/verdaccio/verdaccio)
6
+ [![This Package Latest](https://img.shields.io/npm/v/@verdaccio/logger?label=@verdaccio/logger&color=405236)](https://npmjs.com/package/@verdaccio/logger)
8
7
 
9
- [![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
8
+ [![Documentation](https://img.shields.io/badge/Help-Verdaccio?style=flat&logo=Verdaccio&label=Verdaccio&color=cd4000)](https://verdaccio.org/docs)
9
+ [![Discord](https://img.shields.io/badge/Chat-Discord?style=flat&logo=Discord&label=Discord&color=cd4000)](https://discord.com/channels/388674437219745793)
10
+ [![Bluesky](https://img.shields.io/badge/Follow-Bluesky?style=flat&logo=Bluesky&label=Bluesky&color=cd4000)](https://bsky.app/profile/verdaccio.org)
11
+ [![Backers](https://img.shields.io/opencollective/backers/verdaccio?style=flat&logo=opencollective&label=Join%20Backers&color=cd4000)](https://opencollective.com/verdaccio/contribute)
12
+ [![Sponsors](https://img.shields.io/opencollective/sponsors/verdaccio?style=flat&logo=opencollective&label=Sponsor%20Us&color=cd4000)](https://opencollective.com/verdaccio/contribute)
13
+
14
+ [![Verdaccio Downloads](https://img.shields.io/npm/dm/verdaccio?style=flat&logo=npm&label=Npm%20Downloads&color=lightgrey)](https://www.npmjs.com/package/verdaccio)
15
+ [![Docker Pulls](https://img.shields.io/docker/pulls/verdaccio/verdaccio?style=flat&logo=docker&label=Docker%20Pulls&color=lightgrey)](https://hub.docker.com/r/verdaccio/verdaccio)
16
+ [![GitHub Stars](https://img.shields.io/github/stars/verdaccio?style=flat&logo=github&label=GitHub%20Stars%20%E2%AD%90&color=lightgrey)](https://github.com/verdaccio/verdaccio/stargazers)
10
17
 
11
18
  ## Donations
12
19
 
@@ -20,7 +27,7 @@ If you want to report a security vulnerability, please follow the steps which we
20
27
 
21
28
  ## Open Collective Sponsors
22
29
 
23
- Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/verdaccio#sponsor)]
30
+ Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/verdaccio/contribute)]
24
31
 
25
32
  [![sponsor](https://opencollective.com/verdaccio/sponsor/0/avatar.svg)](https://opencollective.com/verdaccio/sponsor/0/website)
26
33
  [![sponsor](https://opencollective.com/verdaccio/sponsor/1/avatar.svg)](https://opencollective.com/verdaccio/sponsor/1/website)
@@ -35,40 +42,39 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
35
42
 
36
43
  ## Open Collective Backers
37
44
 
38
- Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio#backer)]
45
+ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio/contribute)]
39
46
 
40
- [![backers](https://opencollective.com/verdaccio/backers.svg?width=890)](https://opencollective.com/verdaccio#backers)
47
+ [![backers](https://opencollective.com/verdaccio/backers.svg?width=890)](https://opencollective.com/verdaccio/contributes)
41
48
 
42
49
  ## Special Thanks
43
50
 
44
51
  Thanks to the following companies to help us to achieve our goals providing free open source licenses.
45
52
 
46
- [![jetbrain](assets/thanks/jetbrains/logo.png)](https://www.jetbrains.com/)
47
- [![crowdin](assets/thanks/crowdin/logo.png)](https://crowdin.com/)
48
- [![balsamiq](assets/thanks/balsamiq/logo.jpg)](https://balsamiq.com/)
53
+ [![jetbrains](https://github.com/verdaccio/verdaccio/blob/master/assets/thanks/jetbrains/logo.jpg?raw=true)](https://www.jetbrains.com/)
54
+ [![crowdin](https://github.com/verdaccio/verdaccio/blob/master/assets/thanks/crowdin/logo.png?raw=true)](https://crowdin.com/)
49
55
 
50
56
  ## Contributors
51
57
 
52
- This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
58
+ This project exists thanks to all the people who contribute. [[Contribute](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md)].
53
59
 
54
- [![contributors](https://opencollective.com/verdaccio/contributors.svg?width=890&button=true)](../../graphs/contributors)
60
+ [![contributors](https://opencollective.com/verdaccio/contributors.svg?width=890&button=true)](https://github.com/verdaccio/verdaccio/graphs/contributors)
55
61
 
56
- ### FAQ / Contact / Troubleshoot
62
+ ## FAQ / Contact / Troubleshoot
57
63
 
58
- If you have any issue you can try the following options, do no desist to ask or check our issues database, perhaps someone has asked already what you are looking for.
64
+ If you have any issue you can try the following options. Do not hesitate to ask or check our issues database. Perhaps someone has asked already what you are looking for.
59
65
 
60
66
  - [Blog](https://verdaccio.org/blog/)
61
67
  - [Donations](https://opencollective.com/verdaccio)
62
68
  - [Reporting an issue](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug)
63
- - [Running discussions](https://github.com/verdaccio/verdaccio/issues?q=is%3Aissue+is%3Aopen+label%3Adiscuss)
64
- - [Chat](http://chat.verdaccio.org/)
65
- - [Logos](https://verdaccio.org/docs/en/logo)
66
- - [Docker Examples](https://github.com/verdaccio/docker-examples)
69
+ - [Running discussions](https://github.com/orgs/verdaccio/discussions)
70
+ - [Chat](https://discord.com/channels/388674437219745793)
71
+ - [Logos](https://verdaccio.org/docs/logo)
72
+ - [Docker Examples](https://github.com/verdaccio/verdaccio/tree/master/docker-examples)
67
73
  - [FAQ](https://github.com/verdaccio/verdaccio/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Aquestion%20)
68
74
 
69
- ### License
75
+ ## License
70
76
 
71
77
  Verdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
72
78
 
73
- The Verdaccio documentation and logos (excluding /thanks, e.g., .md, .png, .sketch) files within the /assets folder) is
74
- [Creative Commons licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE-docs).
79
+ The Verdaccio documentation and logos (excluding /thanks, e.g., .md, .png, .sketch files within the /assets folder) are
80
+ [Creative Commons licensed](https://creativecommons.org/licenses/by/4.0/).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@verdaccio/logger",
3
- "version": "8.0.0-next-8.11",
4
- "description": "logger",
3
+ "version": "8.0.0-next-8.13",
4
+ "description": "Verdaccio Logger",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "author": {
@@ -10,7 +10,11 @@
10
10
  },
11
11
  "repository": {
12
12
  "type": "https",
13
- "url": "https://github.com/verdaccio/verdaccio"
13
+ "url": "https://github.com/verdaccio/verdaccio",
14
+ "directory": "packages/logger/logger"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/verdaccio/verdaccio/issues"
14
18
  },
15
19
  "license": "MIT",
16
20
  "homepage": "https://verdaccio.org",
@@ -29,11 +33,11 @@
29
33
  "node": ">=18"
30
34
  },
31
35
  "dependencies": {
32
- "@verdaccio/logger-commons": "8.0.0-next-8.11",
36
+ "@verdaccio/logger-commons": "8.0.0-next-8.13",
33
37
  "pino": "9.6.0"
34
38
  },
35
39
  "devDependencies": {
36
- "@verdaccio/types": "13.0.0-next-8.3"
40
+ "@verdaccio/types": "13.0.0-next-8.4"
37
41
  },
38
42
  "funding": {
39
43
  "type": "opencollective",
package/.babelrc DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "extends": "../../../.babelrc"
3
- }
package/CHANGELOG.md DELETED
@@ -1,942 +0,0 @@
1
- # @verdaccio/logger
2
-
3
- ## 8.0.0-next-8.11
4
-
5
- ### Patch Changes
6
-
7
- - @verdaccio/logger-commons@8.0.0-next-8.11
8
-
9
- ## 8.0.0-next-8.10
10
-
11
- ### Patch Changes
12
-
13
- - @verdaccio/logger-commons@8.0.0-next-8.10
14
-
15
- ## 8.0.0-next-8.9
16
-
17
- ### Patch Changes
18
-
19
- - @verdaccio/logger-commons@8.0.0-next-8.9
20
-
21
- ## 8.0.0-next-8.8
22
-
23
- ### Patch Changes
24
-
25
- - @verdaccio/logger-commons@8.0.0-next-8.8
26
-
27
- ## 8.0.0-next-8.7
28
-
29
- ### Patch Changes
30
-
31
- - @verdaccio/logger-commons@8.0.0-next-8.7
32
-
33
- ## 8.0.0-next-8.6
34
-
35
- ### Patch Changes
36
-
37
- - @verdaccio/logger-commons@8.0.0-next-8.6
38
-
39
- ## 8.0.0-next-8.5
40
-
41
- ### Patch Changes
42
-
43
- - Updated dependencies [15dddbe]
44
- - Updated dependencies [a049bba]
45
- - @verdaccio/logger-commons@8.0.0-next-8.5
46
-
47
- ## 8.0.0-next-8.4
48
-
49
- ### Patch Changes
50
-
51
- - Updated dependencies [e93d6a3]
52
- - @verdaccio/logger-commons@8.0.0-next-8.4
53
-
54
- ## 8.0.0-next-8.3
55
-
56
- ### Patch Changes
57
-
58
- - @verdaccio/logger-commons@8.0.0-next-8.3
59
-
60
- ## 8.0.0-next-8.2
61
-
62
- ### Minor Changes
63
-
64
- - 6a8154c: feat: update logger pino to latest
65
-
66
- ### Patch Changes
67
-
68
- - Updated dependencies [6a8154c]
69
- - @verdaccio/logger-commons@8.0.0-next-8.2
70
-
71
- ## 8.0.0-next-8.1
72
-
73
- ### Patch Changes
74
-
75
- - @verdaccio/logger-commons@8.0.0-next-8.1
76
-
77
- ## 8.0.0-next-8.0
78
-
79
- ### Major Changes
80
-
81
- - chore: move v7 next to v8 next
82
-
83
- ### Patch Changes
84
-
85
- - Updated dependencies
86
- - @verdaccio/logger-commons@8.0.0-next-8.0
87
-
88
- ## 7.0.0
89
-
90
- ### Major Changes
91
-
92
- - 47f61c6: feat!: bump to v7
93
- - e7ebccb: update major dependencies, remove old nodejs support
94
-
95
- ### Patch Changes
96
-
97
- - Updated dependencies [47f61c6]
98
- - Updated dependencies [cf1b46c]
99
- - Updated dependencies [daceb6d]
100
- - Updated dependencies [e7ebccb]
101
- - @verdaccio/logger-commons@7.0.0
102
-
103
- ## 7.0.0-next-8.21
104
-
105
- ### Patch Changes
106
-
107
- - @verdaccio/logger-commons@7.0.0-next-8.21
108
-
109
- ## 7.0.0-next-7.20
110
-
111
- ### Patch Changes
112
-
113
- - @verdaccio/logger-commons@7.0.0-next-7.20
114
-
115
- ## 7.0.0-next-7.19
116
-
117
- ### Patch Changes
118
-
119
- - @verdaccio/logger-commons@7.0.0-next-7.19
120
-
121
- ## 7.0.0-next-7.18
122
-
123
- ### Patch Changes
124
-
125
- - @verdaccio/logger-commons@7.0.0-next-7.18
126
-
127
- ## 7.0.0-next-7.17
128
-
129
- ### Patch Changes
130
-
131
- - @verdaccio/logger-commons@7.0.0-next-7.17
132
-
133
- ## 7.0.0-next-7.16
134
-
135
- ### Patch Changes
136
-
137
- - Updated dependencies [cf1b46c]
138
- - @verdaccio/logger-commons@7.0.0-next-7.16
139
-
140
- ## 7.0.0-next-7.15
141
-
142
- ### Patch Changes
143
-
144
- - @verdaccio/logger-commons@7.0.0-next-7.15
145
-
146
- ## 7.0.0-next-7.14
147
-
148
- ### Patch Changes
149
-
150
- - @verdaccio/logger-commons@7.0.0-next-7.14
151
-
152
- ## 7.0.0-next-7.13
153
-
154
- ### Patch Changes
155
-
156
- - @verdaccio/logger-commons@7.0.0-next-7.13
157
-
158
- ## 7.0.0-next-7.12
159
-
160
- ### Patch Changes
161
-
162
- - @verdaccio/logger-commons@7.0.0-next-7.12
163
-
164
- ## 7.0.0-next-7.11
165
-
166
- ### Patch Changes
167
-
168
- - @verdaccio/logger-commons@7.0.0-next-7.11
169
-
170
- ## 7.0.0-next-7.10
171
-
172
- ### Patch Changes
173
-
174
- - @verdaccio/logger-commons@7.0.0-next-7.10
175
-
176
- ## 7.0.0-next-7.9
177
-
178
- ### Patch Changes
179
-
180
- - @verdaccio/logger-commons@7.0.0-next-7.9
181
-
182
- ## 7.0.0-next-7.8
183
-
184
- ### Patch Changes
185
-
186
- - @verdaccio/logger-commons@7.0.0-next-7.8
187
-
188
- ## 7.0.0-next-7.7
189
-
190
- ### Patch Changes
191
-
192
- - @verdaccio/logger-commons@7.0.0-next-7.7
193
-
194
- ## 7.0.0-next.6
195
-
196
- ### Patch Changes
197
-
198
- - @verdaccio/logger-commons@7.0.0-next.6
199
-
200
- ## 7.0.0-next.5
201
-
202
- ### Patch Changes
203
-
204
- - @verdaccio/logger-commons@7.0.0-next.5
205
-
206
- ## 7.0.0-next.4
207
-
208
- ### Patch Changes
209
-
210
- - @verdaccio/logger-commons@7.0.0-next.4
211
-
212
- ## 7.0.0-next.3
213
-
214
- ### Major Changes
215
-
216
- - e7ebccb61: update major dependencies, remove old nodejs support
217
-
218
- ### Patch Changes
219
-
220
- - Updated dependencies [daceb6d87]
221
- - Updated dependencies [e7ebccb61]
222
- - @verdaccio/logger-commons@7.0.0-next.3
223
-
224
- ## 7.0.0-next.2
225
-
226
- ### Patch Changes
227
-
228
- - @verdaccio/logger-commons@7.0.0-next.2
229
-
230
- ## 7.0.0-next.1
231
-
232
- ### Patch Changes
233
-
234
- - @verdaccio/logger-commons@7.0.0-next.1
235
-
236
- ## 7.0.0-next.0
237
-
238
- ### Major Changes
239
-
240
- - feat!: bump to v7
241
-
242
- ### Patch Changes
243
-
244
- - Updated dependencies
245
- - @verdaccio/logger-commons@7.0.0-next.0
246
-
247
- ## 6.0.0
248
-
249
- ### Major Changes
250
-
251
- - 292c0a37f: feat!: replace deprecated request dependency by got
252
-
253
- This is a big refactoring of the core, fetching dependencies, improve code, more tests and better stability. This is essential for the next release, will take some time but would allow modularize more the core.
254
-
255
- ## Notes
256
-
257
- - Remove deprecated `request` by other `got`, retry improved, custom Agent ( got does not include it built-in)
258
- - Remove `async` dependency from storage (used by core) it was linked with proxy somehow safe to remove now
259
- - Refactor with promises instead callback wherever is possible
260
- - ~Document the API~
261
- - Improve testing, integration tests
262
- - Bugfix
263
- - Clean up old validations
264
- - Improve performance
265
-
266
- ## 💥 Breaking changes
267
-
268
- - Plugin API methods were callbacks based are returning promises, this will break current storage plugins, check documentation for upgrade.
269
- - Write Tarball, Read Tarball methods parameters change, a new set of options like `AbortController` signals are being provided to the `addAbortSignal` can be internally used with Streams when a request is aborted. eg: `addAbortSignal(signal, fs.createReadStream(pathName));`
270
- - `@verdaccio/streams` stream abort support is legacy is being deprecated removed
271
- - Remove AWS and Google Cloud packages for future refactoring [#2574](https://github.com/verdaccio/verdaccio/pull/2574).
272
-
273
- - a3a209b5e: feat: migrate to pino.js 8
274
- - 794af76c5: Remove Node 12 support
275
-
276
- - We need move to the new `undici` and does not support Node.js 12
277
-
278
- - 10aeb4f13: feat!: experiments config renamed to flags
279
-
280
- - The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
281
-
282
- ```js
283
- flags: token: false;
284
- search: false;
285
- ```
286
-
287
- - The `self_path` property from the config file is being removed in favor of `config_file` full path.
288
- - Refactor `config` module, better types and utilities
289
-
290
- - e367c3f1e: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
291
-
292
- - Introduce environment variables for legacy tokens
293
-
294
- ### Code Improvements
295
-
296
- - Add debug library for improve developer experience
297
-
298
- ### Breaking change
299
-
300
- - The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
301
- - The secret key must have 32 characters long.
302
-
303
- ### New environment variables
304
-
305
- - `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
306
- - `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
307
-
308
- - 82cb0f2bf: feat!: config.logs throw an error, logging config not longer accept array or logs property
309
-
310
- ### 💥 Breaking change
311
-
312
- This is valid
313
-
314
- ```yaml
315
- log: { type: stdout, format: pretty, level: http }
316
- ```
317
-
318
- This is invalid
319
-
320
- ```yaml
321
- logs: { type: stdout, format: pretty, level: http }
322
- ```
323
-
324
- or
325
-
326
- ```yaml
327
- logs:
328
- - [{ type: stdout, format: pretty, level: http }]
329
- ```
330
-
331
- - b3e8438f6: logging prettifier only in development mode
332
-
333
- - Verdaccio prettify `@verdaccio/logger-prettify` the logging which looks beautiful. But there are scenarios which does not make sense in production. This feature enables disable by default the prettifies if production `NODE_ENV` is enabled.
334
- - Updates pino.js to `^6.7.0`.
335
- - Suppress the warning when prettifier is enabled `suppressFlushSyncWarning`
336
-
337
- - 730b5d8cc: feat: upgrade to pino v7
338
- - 8f43bf17d: feat: node api new structure based on promise
339
-
340
- ```js
341
- import { runServer } from "@verdaccio/node-api";
342
- // or
343
- import { runServer } from "verdaccio";
344
-
345
- const app = await runServer(); // default configuration
346
- const app = await runServer("./config/config.yaml");
347
- const app = await runServer({ configuration });
348
- app.listen(4000, (event) => {
349
- // do something
350
- });
351
- ```
352
-
353
- ### Breaking Change
354
-
355
- If you are using the node-api, the new structure is Promise based and less arguments.
356
-
357
- ### Minor Changes
358
-
359
- - ef88da3b4: feat: improve support for fs promises older nodejs
360
- - 631abe1ac: feat: refactor logger
361
- - b61f762d6: feat: add server rate limit protection to all request
362
-
363
- To modify custom values, use the server settings property.
364
-
365
- ```markdown
366
- server:
367
-
368
- ## https://www.npmjs.com/package/express-rate-limit#configuration-options
369
-
370
- rateLimit:
371
- windowMs: 1000
372
- max: 10000
373
- ```
374
-
375
- The values are intended to be high, if you want to improve security of your server consider
376
- using different values.
377
-
378
- - 154b2ecd3: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
379
- - aa763baec: feat: add typescript project references settings
380
-
381
- Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
382
-
383
- It allows to navigate (IDE) trough the packages without need compile the packages.
384
-
385
- Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
386
-
387
- - 6c1eb021b: feat: use warning codes for deprecation warnings
388
-
389
- ### Patch Changes
390
-
391
- - e75c0a3b9: hydrate template placeholders in log messages when format is set to 'json'
392
- - 351aeeaa8: fix(deps): @verdaccio/utils should be a prod dep of local-storage
393
- - a610ef26b: chore: add release step to private regisry on merge changeset pr
394
- - 34f0f1101: Enable prerelease mode with **changesets**
395
- - b78f35257: Fix re-opening log files using SIGUSR2
396
- - 2c594910d: do not show deprecation warning on default logger config
397
- - 65f88b826: bump logger packages
398
- - 68ea21214: ESLint Warnings Fixed
399
-
400
- Related to issue #1461
401
-
402
- - max-len: most of the sensible max-len errors are fixed
403
- - no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
404
- - @typescript-eslint/no-unused-vars: same as above
405
-
406
- - Updated dependencies [631abe1ac]
407
- - Updated dependencies [84b2dffdb]
408
- - Updated dependencies [65f88b826]
409
- - Updated dependencies [4a33e269b]
410
- - @verdaccio/logger-commons@6.0.0
411
-
412
- ## 6.0.0-6-next.44
413
-
414
- ### Patch Changes
415
-
416
- - @verdaccio/logger-commons@6.0.0-6-next.44
417
-
418
- ## 6.0.0-6-next.43
419
-
420
- ### Patch Changes
421
-
422
- - @verdaccio/logger-commons@6.0.0-6-next.43
423
-
424
- ## 6.0.0-6-next.42
425
-
426
- ### Patch Changes
427
-
428
- - @verdaccio/logger-commons@6.0.0-6-next.42
429
-
430
- ## 6.0.0-6-next.41
431
-
432
- ### Patch Changes
433
-
434
- - @verdaccio/logger-commons@6.0.0-6-next.41
435
-
436
- ## 6.0.0-6-next.40
437
-
438
- ### Patch Changes
439
-
440
- - @verdaccio/logger-commons@6.0.0-6-next.40
441
-
442
- ## 6.0.0-6-next.39
443
-
444
- ### Patch Changes
445
-
446
- - Updated dependencies [84b2dffdb]
447
- - @verdaccio/logger-commons@6.0.0-6-next.39
448
-
449
- ## 6.0.0-6-next.38
450
-
451
- ### Patch Changes
452
-
453
- - Updated dependencies [4a33e269]
454
- - @verdaccio/logger-commons@6.0.0-6-next.38
455
-
456
- ## 6.0.0-6-next.37
457
-
458
- ### Patch Changes
459
-
460
- - @verdaccio/logger-commons@6.0.0-6-next.37
461
-
462
- ## 6.0.0-6-next.36
463
-
464
- ### Patch Changes
465
-
466
- - @verdaccio/logger-commons@6.0.0-6-next.36
467
-
468
- ## 6.0.0-6-next.35
469
-
470
- ### Patch Changes
471
-
472
- - @verdaccio/logger-commons@6.0.0-6-next.35
473
-
474
- ## 6.0.0-6-next.34
475
-
476
- ### Patch Changes
477
-
478
- - @verdaccio/logger-commons@6.0.0-6-next.34
479
-
480
- ## 6.0.0-6-next.33
481
-
482
- ### Patch Changes
483
-
484
- - @verdaccio/logger-commons@6.0.0-6-next.33
485
-
486
- ## 6.0.0-6-next.32
487
-
488
- ### Patch Changes
489
-
490
- - @verdaccio/logger-commons@6.0.0-6-next.32
491
-
492
- ## 6.0.0-6-next.31
493
-
494
- ### Patch Changes
495
-
496
- - @verdaccio/logger-commons@6.0.0-6-next.31
497
-
498
- ## 6.0.0-6-next.30
499
-
500
- ### Patch Changes
501
-
502
- - @verdaccio/logger-commons@6.0.0-6-next.30
503
-
504
- ## 6.0.0-6-next.29
505
-
506
- ### Patch Changes
507
-
508
- - @verdaccio/logger-commons@6.0.0-6-next.29
509
-
510
- ## 6.0.0-6-next.28
511
-
512
- ### Patch Changes
513
-
514
- - @verdaccio/logger-commons@6.0.0-6-next.28
515
-
516
- ## 6.0.0-6-next.27
517
-
518
- ### Patch Changes
519
-
520
- - 65f88b82: bump logger packages
521
- - Updated dependencies [65f88b82]
522
- - @verdaccio/logger-commons@6.0.0-6-next.27
523
-
524
- ## 6.0.0-6-next.26
525
-
526
- ### Patch Changes
527
-
528
- - @verdaccio/logger-commons@6.0.0-6-next.26
529
-
530
- ## 6.0.0-6-next.25
531
-
532
- ### Patch Changes
533
-
534
- - @verdaccio/core@6.0.0-6-next.57
535
-
536
- ## 6.0.0-6-next.24
537
-
538
- ### Patch Changes
539
-
540
- - @verdaccio/core@6.0.0-6-next.56
541
-
542
- ## 6.0.0-6-next.23
543
-
544
- ### Patch Changes
545
-
546
- - Updated dependencies [9718e033]
547
- - @verdaccio/core@6.0.0-6-next.55
548
-
549
- ## 6.0.0-6-next.22
550
-
551
- ### Minor Changes
552
-
553
- - ef88da3b: feat: improve support for fs promises older nodejs
554
-
555
- ### Patch Changes
556
-
557
- - Updated dependencies [ef88da3b]
558
- - @verdaccio/core@6.0.0-6-next.54
559
- - @verdaccio/logger-prettify@6.0.0-6-next.8
560
-
561
- ## 6.0.0-6-next.21
562
-
563
- ### Patch Changes
564
-
565
- - @verdaccio/core@6.0.0-6-next.53
566
-
567
- ## 6.0.0-6-next.20
568
-
569
- ### Patch Changes
570
-
571
- - @verdaccio/core@6.0.0-6-next.52
572
-
573
- ## 6.0.0-6-next.19
574
-
575
- ### Patch Changes
576
-
577
- - Updated dependencies [4b29d715]
578
- - @verdaccio/core@6.0.0-6-next.51
579
-
580
- ## 6.0.0-6-next.18
581
-
582
- ### Patch Changes
583
-
584
- - @verdaccio/core@6.0.0-6-next.50
585
-
586
- ## 6.0.0-6-next.17
587
-
588
- ### Patch Changes
589
-
590
- - @verdaccio/core@6.0.0-6-next.49
591
-
592
- ## 6.0.0-6-next.16
593
-
594
- ### Patch Changes
595
-
596
- - Updated dependencies [43f32687]
597
- - Updated dependencies [62c24b63]
598
- - @verdaccio/core@6.0.0-6-next.48
599
-
600
- ## 6.0.0-6-next.15
601
-
602
- ### Patch Changes
603
-
604
- - @verdaccio/core@6.0.0-6-next.47
605
-
606
- ## 6.0.0-6-next.14
607
-
608
- ### Patch Changes
609
-
610
- - Updated dependencies [b849128d]
611
- - @verdaccio/core@6.0.0-6-next.8
612
-
613
- ## 6.0.0-6-next.13
614
-
615
- ### Patch Changes
616
-
617
- - 351aeeaa: fix(deps): @verdaccio/utils should be a prod dep of local-storage
618
- - Updated dependencies [351aeeaa]
619
- - @verdaccio/core@6.0.0-6-next.7
620
-
621
- ## 6.0.0-6-next.12
622
-
623
- ### Major Changes
624
-
625
- - 292c0a37: feat!: replace deprecated request dependency by got
626
-
627
- This is a big refactoring of the core, fetching dependencies, improve code, more tests and better stability. This is essential for the next release, will take some time but would allow modularize more the core.
628
-
629
- ## Notes
630
-
631
- - Remove deprecated `request` by other `got`, retry improved, custom Agent ( got does not include it built-in)
632
- - Remove `async` dependency from storage (used by core) it was linked with proxy somehow safe to remove now
633
- - Refactor with promises instead callback wherever is possible
634
- - ~Document the API~
635
- - Improve testing, integration tests
636
- - Bugfix
637
- - Clean up old validations
638
- - Improve performance
639
-
640
- ## 💥 Breaking changes
641
-
642
- - Plugin API methods were callbacks based are returning promises, this will break current storage plugins, check documentation for upgrade.
643
- - Write Tarball, Read Tarball methods parameters change, a new set of options like `AbortController` signals are being provided to the `addAbortSignal` can be internally used with Streams when a request is aborted. eg: `addAbortSignal(signal, fs.createReadStream(pathName));`
644
- - `@verdaccio/streams` stream abort support is legacy is being deprecated removed
645
- - Remove AWS and Google Cloud packages for future refactoring [#2574](https://github.com/verdaccio/verdaccio/pull/2574).
646
-
647
- - a3a209b5: feat: migrate to pino.js 8
648
-
649
- ### Patch Changes
650
-
651
- - Updated dependencies [292c0a37]
652
- - Updated dependencies [a3a209b5]
653
- - Updated dependencies [00d1d2a1]
654
- - @verdaccio/core@6.0.0-6-next.6
655
- - @verdaccio/logger-prettify@6.0.0-6-next.7
656
-
657
- ## 6.0.0-6-next.11
658
-
659
- ### Major Changes
660
-
661
- - 82cb0f2b: feat!: config.logs throw an error, logging config not longer accept array or logs property
662
-
663
- ### 💥 Breaking change
664
-
665
- This is valid
666
-
667
- ```yaml
668
- log: { type: stdout, format: pretty, level: http }
669
- ```
670
-
671
- This is invalid
672
-
673
- ```yaml
674
- logs: { type: stdout, format: pretty, level: http }
675
- ```
676
-
677
- or
678
-
679
- ```yaml
680
- logs:
681
- - [{ type: stdout, format: pretty, level: http }]
682
- ```
683
-
684
- ### Patch Changes
685
-
686
- - Updated dependencies [82cb0f2b]
687
- - Updated dependencies [5167bb52]
688
- - @verdaccio/core@6.0.0-6-next.5
689
-
690
- ## 6.0.0-6-next.10
691
-
692
- ### Patch Changes
693
-
694
- - b78f3525: Fix re-opening log files using SIGUSR2
695
-
696
- ## 6.0.0-6-next.9
697
-
698
- ### Major Changes
699
-
700
- - 730b5d8c: feat: upgrade to pino v7
701
-
702
- ### Patch Changes
703
-
704
- - Updated dependencies [730b5d8c]
705
- - @verdaccio/logger-prettify@6.0.0-6-next.6
706
-
707
- ## 6.0.0-6-next.8
708
-
709
- ### Patch Changes
710
-
711
- - e75c0a3b: hydrate template placeholders in log messages when format is set to 'json'
712
- - Updated dependencies [24b9be02]
713
- - Updated dependencies [e75c0a3b]
714
- - @verdaccio/core@6.0.0-6-next.4
715
- - @verdaccio/logger-prettify@6.0.0-6-next.5
716
-
717
- ## 6.0.0-6-next.7
718
-
719
- ### Minor Changes
720
-
721
- - 6c1eb021: feat: use warning codes for deprecation warnings
722
-
723
- ### Patch Changes
724
-
725
- - Updated dependencies [6c1eb021]
726
- - @verdaccio/core@6.0.0-6-next.3
727
-
728
- ## 6.0.0-6-next.6
729
-
730
- ### Major Changes
731
-
732
- - 794af76c: Remove Node 12 support
733
-
734
- - We need move to the new `undici` and does not support Node.js 12
735
-
736
- ### Minor Changes
737
-
738
- - 154b2ecd: refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplications
739
-
740
- ### Patch Changes
741
-
742
- - Updated dependencies [b702ea36]
743
- - @verdaccio/logger-prettify@6.0.0-6-next.4
744
-
745
- ## 6.0.0-6-next.5
746
-
747
- ### Patch Changes
748
-
749
- - 2c594910: do not show deprecation warning on default logger config
750
-
751
- ## 6.0.0-6-next.4
752
-
753
- ### Major Changes
754
-
755
- - 5c5057fc: feat: node api new structure based on promise
756
-
757
- ```js
758
- import { runServer } from "@verdaccio/node-api";
759
- // or
760
- import { runServer } from "verdaccio";
761
-
762
- const app = await runServer(); // default configuration
763
- const app = await runServer("./config/config.yaml");
764
- const app = await runServer({ configuration });
765
- app.listen(4000, (event) => {
766
- // do something
767
- });
768
- ```
769
-
770
- ### Breaking Change
771
-
772
- If you are using the node-api, the new structure is Promise based and less arguments.
773
-
774
- ## 5.0.0-alpha.3
775
-
776
- ### Patch Changes
777
-
778
- - fecbb9be: chore: add release step to private regisry on merge changeset pr
779
- - Updated dependencies [fecbb9be]
780
- - @verdaccio/logger-prettify@5.0.0-alpha.3
781
-
782
- ## 5.0.0-alpha.2
783
-
784
- ### Minor Changes
785
-
786
- - 54c58d1e: feat: add server rate limit protection to all request
787
-
788
- To modify custom values, use the server settings property.
789
-
790
- ```markdown
791
- server:
792
-
793
- ## https://www.npmjs.com/package/express-rate-limit#configuration-options
794
-
795
- rateLimit:
796
- windowMs: 1000
797
- max: 10000
798
- ```
799
-
800
- The values are intended to be high, if you want to improve security of your server consider
801
- using different values.
802
-
803
- ### Patch Changes
804
-
805
- - Updated dependencies [54c58d1e]
806
- - @verdaccio/logger-prettify@5.0.0-alpha.2
807
-
808
- ## 5.0.0-alpha.1
809
-
810
- ### Major Changes
811
-
812
- - d87fa026: feat!: experiments config renamed to flags
813
-
814
- - The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
815
-
816
- ```js
817
- flags: token: false;
818
- search: false;
819
- ```
820
-
821
- - The `self_path` property from the config file is being removed in favor of `config_file` full path.
822
- - Refactor `config` module, better types and utilities
823
-
824
- - da1ee9c8: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
825
-
826
- - Introduce environment variables for legacy tokens
827
-
828
- ### Code Improvements
829
-
830
- - Add debug library for improve developer experience
831
-
832
- ### Breaking change
833
-
834
- - The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
835
- - The secret key must have 32 characters long.
836
-
837
- ### New environment variables
838
-
839
- - `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
840
- - `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
841
-
842
- - add778d5: logging prettifier only in development mode
843
-
844
- - Verdaccio prettify `@verdaccio/logger-prettify` the logging which looks beautiful. But there are scenarios which does not make sense in production. This feature enables disable by default the prettifies if production `NODE_ENV` is enabled.
845
- - Updates pino.js to `^6.7.0`.
846
- - Suppress the warning when prettifier is enabled `suppressFlushSyncWarning`
847
-
848
- ### Minor Changes
849
-
850
- - 26b494cb: feat: add typescript project references settings
851
-
852
- Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
853
-
854
- It allows to navigate (IDE) trough the packages without need compile the packages.
855
-
856
- Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
857
-
858
- ### Patch Changes
859
-
860
- - b57b4338: Enable prerelease mode with **changesets**
861
- - 31af0164: ESLint Warnings Fixed
862
-
863
- Related to issue #1461
864
-
865
- - max-len: most of the sensible max-len errors are fixed
866
- - no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
867
- - @typescript-eslint/no-unused-vars: same as above
868
-
869
- - Updated dependencies [d87fa026]
870
- - Updated dependencies [da1ee9c8]
871
- - Updated dependencies [26b494cb]
872
- - Updated dependencies [b57b4338]
873
- - Updated dependencies [31af0164]
874
- - @verdaccio/logger-prettify@5.0.0-alpha.1
875
-
876
- ## 5.0.0-alpha.1
877
-
878
- ### Major Changes
879
-
880
- - d87fa0268: feat!: experiments config renamed to flags
881
-
882
- - The `experiments` configuration is renamed to `flags`. The functionality is exactly the same.
883
-
884
- ```js
885
- flags: token: false;
886
- search: false;
887
- ```
888
-
889
- - The `self_path` property from the config file is being removed in favor of `config_file` full path.
890
- - Refactor `config` module, better types and utilities
891
-
892
- - da1ee9c82: - Replace signature handler for legacy tokens by removing deprecated crypto.createDecipher by createCipheriv
893
-
894
- - Introduce environment variables for legacy tokens
895
-
896
- ### Code Improvements
897
-
898
- - Add debug library for improve developer experience
899
-
900
- ### Breaking change
901
-
902
- - The new signature invalidates all previous tokens generated by Verdaccio 4 or previous versions.
903
- - The secret key must have 32 characters long.
904
-
905
- ### New environment variables
906
-
907
- - `VERDACCIO_LEGACY_ALGORITHM`: Allows to define the specific algorithm for the token signature which by default is `aes-256-ctr`
908
- - `VERDACCIO_LEGACY_ENCRYPTION_KEY`: By default, the token stores in the database, but using this variable allows to get it from memory
909
-
910
- - add778d55: logging prettifier only in development mode
911
-
912
- - Verdaccio prettify `@verdaccio/logger-prettify` the logging which looks beautiful. But there are scenarios which does not make sense in production. This feature enables disable by default the prettifies if production `NODE_ENV` is enabled.
913
- - Updates pino.js to `^6.7.0`.
914
- - Suppress the warning when prettifier is enabled `suppressFlushSyncWarning`
915
-
916
- ### Minor Changes
917
-
918
- - 26b494cbd: feat: add typescript project references settings
919
-
920
- Reading https://ebaytech.berlin/optimizing-multi-package-apps-with-typescript-project-references-d5c57a3b4440 I realized I can use project references to solve the issue to pre-compile modules on develop mode.
921
-
922
- It allows to navigate (IDE) trough the packages without need compile the packages.
923
-
924
- Add two `tsconfig`, one using the previous existing configuration that is able to produce declaration files (`tsconfig.build`) and a new one `tsconfig` which is enables [_projects references_](https://www.typescriptlang.org/docs/handbook/project-references.html).
925
-
926
- ### Patch Changes
927
-
928
- - b57b43388: Enable prerelease mode with **changesets**
929
- - 31af01641: ESLint Warnings Fixed
930
-
931
- Related to issue #1461
932
-
933
- - max-len: most of the sensible max-len errors are fixed
934
- - no-unused-vars: most of these types of errors are fixed by deleting not needed declarations
935
- - @typescript-eslint/no-unused-vars: same as above
936
-
937
- - Updated dependencies [d87fa0268]
938
- - Updated dependencies [da1ee9c82]
939
- - Updated dependencies [26b494cbd]
940
- - Updated dependencies [b57b43388]
941
- - Updated dependencies [31af01641]
942
- - @verdaccio/logger-prettify@5.0.0-alpha.1
package/src/index.ts DELETED
@@ -1,15 +0,0 @@
1
- import pino from 'pino';
2
-
3
- import { prepareSetup } from '@verdaccio/logger-commons';
4
- import { Logger, LoggerConfigItem } from '@verdaccio/types';
5
-
6
- export function setup(options: LoggerConfigItem) {
7
- if (typeof logger !== 'undefined') {
8
- return logger;
9
- }
10
-
11
- logger = prepareSetup(options, pino);
12
- return logger;
13
- }
14
-
15
- export let logger: Logger;
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.base",
3
- "compilerOptions": {
4
- "rootDir": "./src",
5
- "outDir": "./build"
6
- },
7
- "include": ["src/**/*.ts"],
8
- "exclude": ["src/**/*.test.ts"]
9
- }
package/tsconfig.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.reference.json",
3
- "compilerOptions": {
4
- "rootDir": "./src",
5
- "outDir": "./build"
6
- },
7
- "include": ["src/**/*.ts"],
8
- "references": [
9
- {
10
- "path": "../logger-prettify"
11
- },
12
- {
13
- "path": "../logger-commons"
14
- }
15
- ]
16
- }