Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reffy

Package Overview
Dependencies
Maintainers
2
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reffy - npm Package Compare versions

Comparing version 16.0.1 to 16.0.2

6

package.json
{
"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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc