Commit graph

33 commits

Author SHA1 Message Date
Rhys Arkins
d5022252c4 refactor: cdnjs use centralized caching 2021-01-31 10:54:38 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
Rhys Arkins
14f9270259
refactor: remove unnecessary catch code in datasources (#6583) 2020-06-25 14:07:03 +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
78a1443835 chore: reset cdnjs datasource exports and logs 2020-06-19 11:57:45 +02:00
Sergio Zharinov
ed7483ad9b
refactor: Import index in datasource tests (#6542) 2020-06-18 19:03:40 +02:00
Sergio Zharinov
7a60686c62
test: Use nock for tests (Part 1) (#6510) 2020-06-14 06:50:18 +02:00
Rhys Arkins
0aae466cc1
fix(cache): global cache init (#6314) 2020-05-24 10:58:58 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Rhys Arkins
6104c4637a
refactor: global cache (#6198) 2020-05-11 10:38:07 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
e79319d300 fix(cdnjs): handle empty 200 ok response 2020-04-23 18:35:22 +02:00
Rhys Arkins
d90d94fc9e
feat(internal): cached datasource lookups (#5870) 2020-04-04 17:34:43 +02:00
Rhys Arkins
d559fd1ecb
feat(internal): support newDigest in getReleases (#5871)
This replaces the need to have both getReleases and getDigest if the digests can be retrieved at the same time as the releases.
2020-04-04 10:14:45 +02:00
Rhys Arkins
f9c8cb46e2
refactor(datasource): getPkgReleases -> getReleases (#5867) 2020-04-04 08:53:52 +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
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Rhys Arkins
c60737a285 fix: revert datasource error handling changes 2020-03-12 12:48:57 +01:00
Rhys Arkins
bce6036a8e
fix: move datasource error handling into index (#5662) 2020-03-07 12:13:31 +01:00
Rhys Arkins
8ac0f571ff
fix(datasource): centralize lookupName check (#5661) 2020-03-07 10:19:47 +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
8571108d71 refactor: narrow datasource config types 2020-02-27 23:43:13 +01:00
Rhys Arkins
3f2773909f chore: remove unnecessary depName variables in datasources 2020-02-27 22:04:10 +01:00
Rhys Arkins
93d475eeb4 fix(cdnjs): datasourceError on unknown error 2020-02-23 20:36:11 +01:00
Rhys Arkins
8582c3916b
feat(cdnjs): getDigest (#5530) 2020-02-20 14:14:11 +01:00
Sergio Zharinov
1d5c20eb18
feat: Add HTML manager supporting CDNJS (#5395) 2020-02-17 05:55:19 +01:00
Rhys Arkins
b5e344b449
feat: DatasourceError (#5475)
Adds centralized handling and logging of datasource failures.
2020-02-13 13:29:55 +01:00
Michael Kriese
26c03731a4
chore(datasource): move test files to lib (#5426) 2020-02-11 05:08:10 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Sergio Zharinov
ff9332486c
feat(cdnurl): Add CDNJS support (#5254) 2020-01-30 20:52:15 +01:00
Sergio Zharinov
86543938fb
feat(cdnjs): Add caching for CDNJS datasource (#5259) 2020-01-30 09:51:51 +01:00
Sergio Zharinov
a36f889220
feat(cdnjs): Create cdnjs datasource (#5252) 2020-01-29 13:19:13 +01:00