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
11aa3baf2e
test: use codeql compatible token / passwords ( #11297 )
2021-09-09 16:17:05 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule ( #11285 )
2021-08-18 05:46:56 +00:00
Rhys Arkins
9150854d75
chore: rename config/admin -> config/global
2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78
refactor: rename config admin functions to global
2021-08-17 07:57:45 +02:00
Niels Basjes
c077f15831
fix: Improve the default User-agent string. ( #10606 )
2021-06-26 07:02:35 +00:00
Michael Kriese
3c7546f7cd
test: simplify nock handling ( #10170 )
2021-05-27 14:13:31 +02:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 ( #10012 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Rhys Arkins
f00413c298
feat(host-rules): use only matchHost ( #9892 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00: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
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers ( #9707 )
2021-04-26 16:15:03 +02:00
Rhys Arkins
e7b5be9a15
feat(npm): remove ~/.npmrc support ( #9400 )
...
Drops support for reading `.npmrc` from the bot's home directory.
BREAKING CHANGE: Renovate will no longer read from ~/.npmrc. Configure `npmrc` in config instead.
2021-04-22 08:47:58 +02:00
Rhys Arkins
8af905e8f5
feat: split trustLevel into separate options ( #9388 )
...
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`
BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Rhys Arkins
57015047b2
feat: drop NPM_TOKEN support ( #9391 )
...
Removes support for NPM_TOKEN.
BREAKING CHANGE: Do not use NPM_TOKEN in env to configure npm authentication. Configure hostRules instead.
2021-04-22 08:47:58 +02:00
Sergei Zharinov
2d04ae6bc3
refactor(http): Import proper OutgoingHttpHeaders on all http clients ( #9653 )
2021-04-20 18:31:43 +02:00
Sergei Zharinov
4f237ea680
refactor(http): Use default "accept-encoding" value ( #9652 )
2021-04-20 15:37:57 +02:00
Rhys Arkins
5da6949c64
logs: warn about NPM_TOKEN
2021-04-04 09:14:35 +02:00
Rhys Arkins
47eb1324fb
fix(npm): is.string check for npmrc
2021-04-01 18:09:36 +02:00
Rhys Arkins
2fb87eddcf
fix: revert npmrc handling changes ( #9347 )
2021-04-01 14:19:47 +02:00
Rhys Arkins
db5a87edd4
fix(npm): is.string check for npmrc
2021-03-27 07:08:58 +01:00
Rhys Arkins
190c8598e6
fix(npm): reset npmrc no matter what
2021-03-27 07:08:58 +01: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
Rhys Arkins
f1a4102dd9
refactor: customRegistrySupport ( #9142 )
2021-03-15 13:56:23 +01:00
Rhys Arkins
06c246ea02
feat(internal): fixedRegistries ( #9124 )
2021-03-14 20:58:47 +01:00
Michael Kriese
607b151f0e
feat(http): support custom auth types ( #9053 )
2021-03-09 19:25:18 +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
553ba44dee
test(npm): cleanup auth ( #9045 )
2021-03-09 15:42:48 +01: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
Sergei Zharinov
a3a4ada634
feat(datasource): Normalize releaseTimestamp field ( #8753 )
2021-02-18 15:04:14 +01:00
Rhys Arkins
33e7e41534
refactor: latestVersion -> tags.latest ( #8739 )
2021-02-18 08:00:00 +01:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config ( #8555 )
2021-02-05 12:30:01 +01:00
Rhys Arkins
1563bb7eee
feat(datasource): define defaultVersioning ( #8369 )
2021-01-21 13:11:35 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint ( #7956 )
2020-12-11 13:29:43 +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