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
8
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.5.1 to 2.5.4

14

package.json
{
"name": "@ampproject/toolbox-runtime-fetch",
"version": "2.5.1",
"version": "2.5.4",
"description": "Download the AMP runtime",

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

"dependencies": {
"@ampproject/toolbox-cache-list": "^2.5.1",
"@ampproject/toolbox-core": "^2.5.1",
"@ampproject/toolbox-runtime-version": "^2.5.1",
"@ampproject/toolbox-cache-list": "^2.5.4",
"@ampproject/toolbox-core": "^2.5.4",
"@ampproject/toolbox-runtime-version": "^2.5.4",
"at-least-node": "1.0.0",
"cross-fetch": "3.0.4",
"cross-fetch": "3.0.5",
"fs-extra": "9.0.1"

@@ -34,4 +34,4 @@ },

},
"homepage": "https://github.com/ampproject/amp-toolbox/tree/master/packages/runtime-fetch",
"gitHead": "f92ba13281ecf3e624ee8285f2deebee18d580bd"
"homepage": "https://github.com/ampproject/amp-toolbox/tree/main/packages/runtime-fetch",
"gitHead": "c194eb829c2d0d4cda21c961107d73bd7528f53f"
}

@@ -7,3 +7,3 @@ # AMP Download Runtime

Special handling is included for amp-geo. For hosting environments that [dynamically modify `amp-geo.js`](https://github.com/ampproject/amphtml/blob/master/spec/amp-cache-guidelines.md#guidelines-adding-a-new-cache-to-the-amp-ecosystem) when served, this tool restores the content to its unpatched state.
Special handling is included for amp-geo. For hosting environments that [dynamically modify `amp-geo.js`](https://github.com/ampproject/amphtml/blob/main/spec/amp-cache-guidelines.md#guidelines-adding-a-new-cache-to-the-amp-ecosystem) when served, this tool restores the content to its unpatched state.

@@ -20,6 +20,6 @@ ## Installation

* `dest` (required `string`): Specify the destination directory where the AMP runtime should be saved. The runtime will be downloaded to an RTV-specific path under `dest`.
* `clear` (optional `boolean`): Remove all contents from the destination directory before saving the AMP runtime. Defaults to `true`.
* `rtv` (optional `string`): Specify the runtime version to download. Defaults to the latest production version available.
* `ampUrlPrefix` (optional `string`): Specify the URL where the AMP runtime is hosted. Defaults to `https://cdn.ampproject.org`.
- `dest` (required `string`): Specify the destination directory where the AMP runtime should be saved. The runtime will be downloaded to an RTV-specific path under `dest`.
- `clear` (optional `boolean`): Remove all contents from the destination directory before saving the AMP runtime. Defaults to `true`.
- `rtv` (optional `string`): Specify the runtime version to download. Defaults to the latest production version available.
- `ampUrlPrefix` (optional `string`): Specify the URL where the AMP runtime is hosted. Defaults to `https://cdn.ampproject.org`.

@@ -26,0 +26,0 @@ Note: When downloading [AMP Project releases](https://github.com/ampproject/amphtml/releases), the runtime version (`rtv`) is obtained by prepending `01` (production) or `00` (canary) to the version. For example, the `rtv` for production release `2003101714470` is `012003101714470`.

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