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

@ampproject/toolbox-runtime-fetch

Package Overview
Dependencies
Maintainers
13
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ampproject/toolbox-runtime-fetch - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

4

lib/DownloadRuntime.js

@@ -19,3 +19,3 @@ /**

const cacheListProvider = require('@ampproject/toolbox-cache-list');
const crossFetch = require('cross-fetch');
const nodeFetch = require('node-fetch');
const fse = require('fs-extra');

@@ -40,3 +40,3 @@ const https = require('https');

constructor(fetch, cacheList, runtimeVersion) {
this.fetch_ = fetch || crossFetch;
this.fetch_ = fetch || nodeFetch;
this.cacheList_ = cacheList || cacheListProvider;

@@ -43,0 +43,0 @@ this.runtimeVersion_ = runtimeVersion || runtimeVersionProvider;

{
"name": "@ampproject/toolbox-runtime-fetch",
"version": "2.7.1",
"version": "2.7.2",
"description": "Download the AMP runtime",

@@ -23,8 +23,8 @@ "main": "index.js",

"dependencies": {
"@ampproject/toolbox-cache-list": "^2.7.1",
"@ampproject/toolbox-core": "^2.7.1",
"@ampproject/toolbox-runtime-version": "^2.7.1",
"@ampproject/toolbox-cache-list": "^2.7.2",
"@ampproject/toolbox-core": "^2.7.2",
"@ampproject/toolbox-runtime-version": "^2.7.2",
"at-least-node": "1.0.0",
"cross-fetch": "3.0.6",
"fs-extra": "9.0.1"
"fs-extra": "9.0.1",
"node-fetch": "2.6.1"
},

@@ -35,3 +35,3 @@ "bugs": {

"homepage": "https://github.com/ampproject/amp-toolbox/tree/main/packages/runtime-fetch",
"gitHead": "9b159391d776396512b01ec250fa76941713c763"
"gitHead": "83d1d4290d9da2683596506cff266c68e618fa81"
}
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