@ampproject/toolbox-runtime-fetch
Advanced tools
Comparing version 2.5.1 to 2.5.4
{ | ||
"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`. |
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
26867
+ Addedcross-fetch@3.0.5(transitive)
- Removedcross-fetch@3.0.4(transitive)
- Removedwhatwg-fetch@3.0.0(transitive)
Updatedcross-fetch@3.0.5