Comparing version 16.0.1 to 16.0.2
{ | ||
"name": "reffy", | ||
"version": "16.0.1", | ||
"version": "16.0.2", | ||
"description": "W3C/WHATWG spec dependencies exploration companion. Features a short set of tools to study spec references as well as WebIDL term definitions and references found in W3C specifications.", | ||
@@ -39,3 +39,3 @@ "repository": { | ||
"fetch-filecache-for-crawling": "5.1.1", | ||
"puppeteer": "22.10.0", | ||
"puppeteer": "22.11.2", | ||
"semver": "^7.3.5", | ||
@@ -47,3 +47,3 @@ "web-specs": "3.9.1", | ||
"mocha": "10.4.0", | ||
"respec": "35.1.0", | ||
"respec": "35.1.1", | ||
"respec-hljs": "2.1.1", | ||
@@ -50,0 +50,0 @@ "rollup": "4.18.0", |
@@ -87,4 +87,11 @@ #!/usr/bin/env node | ||
let cacheInfo = {}; | ||
if (crawlOptions.fallbackData?.crawler === `reffy-${reffyVersion}`) { | ||
cacheInfo = Object.assign({}, fallback?.crawlCacheInfo); | ||
if (fallback && !fallback.error && | ||
crawlOptions.fallbackData?.crawler === `reffy-${reffyVersion}`) { | ||
// Note: we don't want to reuse the previous crawl results if | ||
// there was an error because we don't really know whether these | ||
// results come from that previous crawl (in which case we should | ||
// crawl the spec again), or from a an earlier crawl where | ||
// everything went fine (in which case we could reuse the results | ||
// if the spec wasn't updated in the meantime). | ||
cacheInfo = Object.assign({}, fallback.crawlCacheInfo); | ||
} | ||
@@ -352,2 +359,7 @@ let result = null; | ||
sleepInterval: origin => { | ||
if (crawlOptions.useCrawl) { | ||
// Not an actual crawl, we're going to reuse previous crawl | ||
// results instead. No need to sleep! | ||
return 0; | ||
} | ||
switch (origin) { | ||
@@ -354,0 +366,0 @@ case 'https://csswg.org': return 2000; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
385156
9271
+ Addedchromium-bidi@0.5.23(transitive)
+ Addeddebug@4.3.5(transitive)
+ Addeddevtools-protocol@0.0.1299070(transitive)
+ Addedpuppeteer@22.11.2(transitive)
+ Addedpuppeteer-core@22.11.2(transitive)
+ Addedws@8.17.1(transitive)
+ Addedzod@3.23.8(transitive)
- Removedchromium-bidi@0.5.19(transitive)
- Removeddevtools-protocol@0.0.1286932(transitive)
- Removedpuppeteer@22.10.0(transitive)
- Removedpuppeteer-core@22.10.0(transitive)
- Removedws@8.17.0(transitive)
- Removedzod@3.22.4(transitive)
Updatedpuppeteer@22.11.2