1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
Commit Graph

3738 Commits

Author SHA1 Message Date
Juan Picado
558fcafc71
build: format code prettier, enable ci (#2886)
* fix: format code prettier, enable ci

* chore: add trivago import prettier pluggin
2022-01-09 20:51:50 +01:00
renovate[bot]
23d0bd7056
fix(deps): update all non-major linting dependencies (5.x) (#2885)
* fix(deps): update all non-major linting dependencies

* fix lint issues

* chore: increase timeout

* chore: increase timeout

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-01-09 20:31:26 +01:00
renovate[bot]
1ec77e7605
fix(deps): update dependency pino to v6.13.4 (#2829) 2021-12-31 15:08:57 +01:00
Juan Picado
7423e3d008 chore(release): 5.4.0 v5.4.0 2021-12-24 19:15:15 +01:00
Juan Picado
5b1264c733
feat: allow override user rate limit and user agent (#2803)
* feat: allow override user rate limit

- improve user_agent config allow string

* chore: fix tests

* chore: refactor userRateLimit

* chore: remove comment

* chore: optional prop

* chore: refactor limiter

* chore: refactor endpoints

* chore: fix undefined

* chore: fix params

* chore: fix params

* chore: update ui

* chore: refactor limiter

* chore: fix tests

* chore: fix test
2021-12-24 19:04:15 +01:00
Juan Picado
f64e403f0a
feat: add rate limit to user api endpoints (#2800) (#2799)
* feat: add rate limit to user api endpoints

* chore: fix test

* chore: refactor token endpoint

* chore: refactor
2021-12-24 01:07:26 +01:00
Juan Picado
c91d6beb8b
feat: add rate limit to web endpoints (#2799)
* feat: add rate limit to web endpoints

* fix: types express conflict

* fix: undefined issue

* fix: tests
2021-12-23 17:35:31 +01:00
Juan Picado
b2b3804f87
build: enable Node 17 on CI and npm8 on E2E (#2795)
* chore: increase ci e2e settings

* fix: ci for node 17

* chore: restore versions

* chore: fix tests

* chore: fix tests

* chore: fix domain

* chore: restore yarn on angular

* chore: rename tests

* chore: fix syntax

* chore: disable yarn angular
2021-12-23 00:14:53 +01:00
Juan Picado
e5d79ce8f0
feat: user agent is the client by default (#2793)
* feat: user agent is the client by default

* chore: get user agent fix

* chore: disable x-powered-by
2021-12-21 23:09:31 +01:00
renovate[bot]
46e583f683
fix(deps): update dependency body-parser to v1.19.1 (#2788)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 20:33:03 +01:00
renovate[bot]
c5c0ef8750
fix(deps): update dependency @verdaccio/commons-api to v10.1.0 (#2789)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 17:27:03 +01:00
Juan Picado
fd3ad1e546
feat: add cache-control header to endpoints (#2791)
Add no cache to endpoints that returns tokens in the body
2021-12-20 23:11:17 +01:00
Juan Picado
1c17d0986e
feat: jwt default time new set (#2787)
Reduce 7 days to 1 hour as expiration time to improve security measures.
2021-12-20 08:09:18 +01:00
Juan Picado
e1a9bb46ff chore: add docker all hands talk 2021-12-16 18:29:04 +01:00
Juan Picado
e37e9fe15c chore(release): 5.3.2 v5.3.2 2021-12-16 17:30:26 +01:00
贾顺名(Jarvis)
b5ac3c0f28
fix: publish with deprecated field (#2771)
* fix: publish with deprecated field by @Jiasm 

When publish with deprecated field in `package.json`, that will make all old versions miss.

Examples:

I have package@1.0.0 and package@1.0.1.

When `npm deprecate package@1.0.0 "xxx"`, Verdaccio will recived:

```json
{
  "name": "module_name",
  "version": {
    "1.0.0": {
      "deprecated": "xxx"
    },
    "1.0.1": {}
  }
}
```

⬆️ This make sense

But then publish new version with @1.0.2.

Verdaccio will recived:

```json
{
  "name": "module_name",
  "version": {
    "1.0.2": {
      "deprecated": "xxx" // if we set this field in package.json
    },
  }
}
```

and that metadata will override package.json, make old version miss.

migrate from #2766

* remove spaces

* fix: ignore empty package case

* fix: cover normal unpublish case

* refactor: Optimize check logic for lazy execution

* test: upgrade Jest Snapshot

* fix: set storage.getPackage `uplinksLook: false`.

* feat: use `_attachments` to distinguish deprecate

* test: rollback test snapshots

* test: rollback jest snapshots

* test: publish new version with deprecate field

* test: remove space
2021-12-16 16:17:52 +01:00
Juan Picado
3b2ec6cbfa
chore: update readme 2021-12-15 23:25:26 +01:00
Juan Picado
f575ab767c chore(release): 5.3.1 v5.3.1 2021-12-12 00:06:56 +01:00
Juan Picado
29d4551e5b
fix: conflict core-js dependency (#2754)
* chore: remove core-js

* fix: update verdaccio core dependencies
2021-12-12 00:06:34 +01:00
Juan Picado
e747b9a3ad chore(release): 5.3.0 v5.3.0 2021-12-08 22:29:13 +01:00
coolsp
820c9d5db2
fix: markdown anchor links in package readme.md broken #2712 2021-12-01 23:33:25 +01:00
Juan Picado
60cd25ce4f
fix: update pnpm and bum up core deps (#2716) 2021-11-29 15:52:27 +01:00
renovate[bot]
8c074e8f24
fix(deps): update dependency verdaccio-audit to v10.0.3 (#2710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-28 15:47:50 +01:00
renovate[bot]
74d7d02c39
fix(deps): update dependency @verdaccio/streams to v10.0.1 (#2709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-28 15:47:35 +01:00
renovate[bot]
41cadccaef
fix(deps): update dependency @verdaccio/readme to v10.0.1 (#2708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 18:20:41 +01:00
renovate[bot]
73d565f5f5
fix(deps): update dependency @verdaccio/commons-api to v10.0.2 (#2706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 18:20:21 +01:00
renovate[bot]
8e2884836b
fix(deps): update dependency verdaccio-htpasswd to v10.0.1 (#2711) 2021-11-27 17:48:33 +01:00
renovate[bot]
eee19a5f79
fix(deps): update dependency http-errors to v1.8.1 (#2705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 16:57:38 +01:00
Juan Picado
46a4e8e2e0 chore(release): 5.2.2 v5.2.2 2021-11-08 10:33:44 +01:00
Juan Picado
0eab3e1746 fix: update python dependency on docker image (#2644) 2021-11-08 10:17:47 +01:00
Juan Picado
4fc5b59eca chore(release): 5.2.1 v5.2.1 2021-11-08 09:15:33 +01:00
renovate[bot]
bfa7b34994
chore(deps): update dependency standard-version to v9.3.2 (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 16:59:41 +01:00
renovate[bot]
089796ca47
fix(deps): update dependency mime to v2.6.0 (#2634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 07:17:07 +01:00
renovate[bot]
ef2fbff755
fix(deps): update dependency validator to v13.7.0 (#2635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 07:03:37 +01:00
renovate[bot]
c6458f4ad6
chore(deps): update babel monorepo to v7.16.0 (#2631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 19:47:38 +01:00
renovate[bot]
da5d7e96cb
fix(deps): update dependency async to v3.2.2 (#2633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 18:54:33 +01:00
Juan Picado
57bd5169f9 test: system test add logging for debuggin 2021-10-24 10:15:54 +02:00
Juan Picado
80dca8d96e chore(release): 5.2.0 v5.2.0 2021-10-24 09:54:57 +02:00
Juan Picado
247a317ca0
feat: upgrade node docker to 14.18.1 (#2579) 2021-10-24 09:54:39 +02:00
renovate[bot]
384b3e2ce5
fix(deps): update dependency pino to v6.13.3 (#2562) 2021-10-24 08:43:00 +02:00
renovate[bot]
69091d15fb
fix(deps): update dependency dayjs to v1.10.7 (#2565)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-23 11:34:29 +02:00
renovate[bot]
6a78ae0045
fix(deps): update dependency clipanion to v3.1.0 (#2561)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 08:17:32 +02:00
renovate[bot]
5d4e3a65ba
chore(deps): update babel monorepo (#2563)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 08:00:10 +02:00
Juan Picado
c81458bb0d chore(release): 5.1.6 v5.1.6 2021-09-21 20:32:28 +02:00
Juan Picado
9d7ddd9ecd
fix: update dependencies security update (#2453) 2021-09-21 20:32:20 +02:00
Juan Picado
b4a5ffe9a0 chore(release): 5.1.5 v5.1.5 2021-09-17 22:26:02 +02:00
Juan Picado
360bec9b53
fix: add finish language to ui (#2443) 2021-09-17 22:25:53 +02:00
Juan Picado
b993344c40 chore(release): 5.1.4 v5.1.4 2021-09-07 21:21:15 +02:00
Juan Picado
2c590917b1
fix: npm7 audit fix and bulk endpoint (#2426)
* fix: npm7 audit fix and bulk endpoint

* chore: update registry

* chore: update registry
2021-09-07 21:19:44 +02:00
Juan Picado
1308ab295d chore(release): 5.1.3 v5.1.3 2021-08-20 08:31:27 +02:00