MaronHatoum
b121deb969
refactor(util/http): move interfaces from index.ts to types.ts ( #14335 )
...
* refactor:util/http move interfaces and types from index.ts to types.ts
* refactor:reorder imports
* refactor:move HttpError from type.ts to index.ts
* refactor:change imports after moving HttpError from type.ts to index.ts
* refactor:revert white spaces
* refactor:revert moving httpError from types.ts to index.ts
* refactor: moving httpError from types.ts to index.ts
* refactor: change import
* refactor: change import
* refactor: change import
* refactor: fix circular dependencies (lint build)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-24 08:50:17 +00:00
RahulGautamSingh
cc6b458a02
fix: typo ( #14306 )
2022-02-19 07:54:21 +00:00
Sergei Zharinov
1e6ec07d8a
refactor(datasource/npm): Convert to class ( #14193 )
2022-02-15 08:20:45 +00:00
Rhys Arkins
e386711d22
fix(npm): support release.sourceUrl ( #11868 )
2021-09-24 10:04:59 +02:00
Oleg Krivtsov
4aa5cdc721
feat(datasource/npm): massage non compliant npm repo strings ( #11776 )
2021-09-23 08:48:46 +02:00
Michael Kriese
7daa93a78d
refactor: extract types to new files ( #9951 )
2021-05-11 12:51:21 +02:00
Sergei Zharinov
38620be343
refactor: Replace some TODO items with issue ids ( #9596 )
2021-04-26 20:19:30 +00:00
Rhys Arkins
9d6e96ef75
refactor: npm preset lookup direct ( #9225 )
2021-03-20 08:27:33 +00:00
Rhys Arkins
bca8931d53
fix(npm): datasource improvements ( #9178 )
2021-03-17 14:40:50 +01:00
Rhys Arkins
58daaabb43
feat(internal): return registryUrl from datasources ( #9177 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-17 13:34:47 +01:00
Michael Kriese
7d6870a6d0
fix(npm): do not cache private packages ( #9046 )
2021-03-09 15:32:24 +00:00
Michael Kriese
8cd0e19b18
fix(npm): remove explicit host rule handling ( #9047 )
2021-03-09 15:16:07 +00:00
Michael Kriese
74d7691bef
refactor: optimize type usage ( #8947 )
2021-03-02 21:44:55 +01:00
Rhys Arkins
98d55394e6
feat: transitiveRemediation ( #8883 )
...
* save remediations
* enhance and export NpmResponse
* sort branch lists
* transitive remediation init
* update-lockfile not bump
* version not value
* remediate package.json
* isVulnerabilityAlert
* simplify config
* fix circular
* update snapshots
* add config and docs
* TODO
* flatten tests
* remediation -> update
* lots of renames
* improve readability
* refactor
* remove fetch
* more tests
* reduce fiixtures sizes
* more tests
* fix parent null
* remove exec
* explicit false
* fix
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* use type-fest PackageJson
* more tests
* coverage
* Update lib/workers/branch/get-updated.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-01 07:59:57 +00:00
Rhys Arkins
566f64cea0
refactor: export NpmResponse interface
2021-02-24 15:15:22 +01:00
Rhys Arkins
33e7e41534
refactor: latestVersion -> tags.latest ( #8739 )
2021-02-18 08:00:00 +01:00
Sergei Zharinov
6f7b4afd1e
feat(npm): migrate and deprecate unpublishSafe ( #7464 )
...
The existing npm-specific `unpublishSafe` setting will be removed and migrated instead to use `stabilityDays` (3). The `renovate/unpublish-safe` status check is also deprecated and the existing `renovate/stability-days` will be used instead.
Closes #5265
BREAKING CHANGE: The status check `renovate/unpublish-safe` will be replaced with `renovate/stability-days`. Please migrate any branch protection rules if you were relying on `renovate/unpublish-safe`.
2020-12-11 10:09:58 +01:00
Michael Kriese
2aabedb1b5
fix(npm): fix canBeUnpublished computation ( #7637 )
2020-11-03 09:07:59 +01:00
Michael Kriese
0e10c4199f
feat: replace moment with luxon ( #7564 )
2020-10-27 15:02:25 +01:00
Sergio Zharinov
7cec2f6f70
refactor(lint): Fix some unsafe returns for datasources ( #7363 )
2020-09-25 08:59:05 +02:00
Sergio Zharinov
0ae8cc2e89
refactor(datasource): Fix lint warnings ( #7115 )
2020-08-27 09:07:58 +02:00
Rhys Arkins
43b2a2390d
fix: default npm cache to 15 minutes
2020-08-17 15:48:24 +02:00
renovate[bot]
ccf286240e
chore(deps): update linters (major) ( #6769 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules ( #6765 )
2020-07-18 08:42:32 +02:00
Rhys Arkins
be37109cf6
refactor: rename globalCache to packageCache ( #6580 )
2020-06-25 08:32:55 +02:00
Rhys Arkins
031ad87b62
refactor: move ExternalHostError
2020-06-23 11:44:52 +02:00
Rhys Arkins
52a074e041
refactor: ExternalHostError ( #6563 )
2020-06-22 21:28:02 +02:00
Rhys Arkins
f5a588eb5a
fix: Revert "fix(cache): distinguish between null and undefined ( #6509 )"
...
This reverts commit 0345b40a18
.
2020-06-17 10:07:22 +02:00
Rhys Arkins
0345b40a18
fix(cache): distinguish between null and undefined ( #6509 )
...
null = this lookup returned nothing last time
undefined = no cached result found
2020-06-17 06:48:33 +02:00
Sergio Zharinov
93eaeeab88
test: Use nock for tests (Part 2) ( #6519 )
2020-06-16 07:11:21 +02:00
Rhys Arkins
6104c4637a
refactor: global cache ( #6198 )
2020-05-11 10:38:07 +02:00
Michael Kriese
00c56d8bde
chore: fix types ( #5904 )
...
* chore: fix types
* fix more types
* chore: mote fixes
* fix frmat
* chore: fix tests
* chore: fix type
* chore: cleanup
* chore: cleanup
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
Rhys Arkins
e2d1eeb3a5
fix(npm): cache known publicly-scoped packages
2020-04-24 17:12:20 +02:00
Rhys Arkins
e71641363a
fix(npm): randomize retry delay
2020-04-24 16:33:26 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 ( #5952 )
...
* chore(deps): update dependency prettier to v2
* Run prettier-fix
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Rhys Arkins
4e4bfe9256
feat(internal): http util wrapper ( #5841 )
...
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-04-03 13:45:55 +02:00
k2snowman69
5ba8570699
feat(npm): Added host rules support ( #5164 )
2020-03-30 09:04:25 +02:00
Michael Kriese
707d35db30
feat(npm): try auth recursive ( #5698 )
2020-03-27 11:28:20 +01:00
Rhys Arkins
eab96b2d6e
fix: remove high water mark setting
2020-03-12 21:30:40 +01:00
Rhys Arkins
67015a556d
fix(npm): retry ETIMEDOUT
2020-03-11 15:50:49 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs ( #5595 )
...
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
3f2773909f
chore: remove unnecessary depName variables in datasources
2020-02-27 22:04:10 +01:00
Rhys Arkins
4f5b01316c
logs: warn for npmjs retry
2020-02-24 13:52:34 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions ( #5562 )
2020-02-24 12:27:10 +01:00
Rhys Arkins
f1d0b7b5fe
refactor: lower some levels from info to debug
...
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
8598c5edea
fix(npm): increase highWaterMark
2020-02-16 05:32:03 +01:00
Rhys Arkins
81dbc4d7be
fix(npm): better datasource error logging
2020-02-14 11:06:09 +01:00
Rhys Arkins
292993f0c6
test: fix coverage
2020-02-14 08:52:41 +01:00
Rhys Arkins
c7b7027a7b
fix(npm): retry npmjs ParseError
2020-02-14 08:30:39 +01:00