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