From 7f1e8de71fda7734b2ca90c62c8462d56994d12a Mon Sep 17 00:00:00 2001 From: Erwin Mombay Date: Wed, 12 Jan 2022 14:37:43 -0800 Subject: [PATCH] Revert "Fix: add latest version at runtime" This reverts commit be439e786ba134fd162081e0521c34b578195ed3. --- package-lock.json | 134 +++++++++--------- packages/optimizer/lib/extensionConfig.json | 2 +- .../optimizer/lib/fetchRuntimeParameters.js | 28 +--- 3 files changed, 72 insertions(+), 92 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5d514ec3c..26393ee6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19130,15 +19130,15 @@ }, "packages/cache-list": { "name": "@ampproject/toolbox-cache-list", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-core": "3.0.0-canary.2" + "@ampproject/toolbox-core": "3.0.0-canary.1" } }, "packages/cache-url": { "name": "@ampproject/toolbox-cache-url", - "version": "3.0.0-canary.2", + "version": "2.8.0-canary.6", "license": "Apache-2.0", "dependencies": { "punycode": "2.1.1", @@ -19147,17 +19147,17 @@ }, "packages/cli": { "name": "@ampproject/toolbox-cli", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "^2.8.0", - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-linter": "3.0.0-canary.2", - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-fetch": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", - "@ampproject/toolbox-update-cache": "3.0.0-canary.2", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-linter": "3.0.0-canary.1", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-fetch": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", + "@ampproject/toolbox-update-cache": "3.0.0-canary.1", "minimist": "1.2.5", "minimist-options": "4.1.0", "node-fetch": "2.6.1" @@ -19177,15 +19177,15 @@ }, "packages/cloudflare-optimizer-scripts": { "name": "@ampproject/cloudflare-optimizer-scripts", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-optimizer": "3.0.0-canary.2" + "@ampproject/toolbox-optimizer": "3.0.0-canary.1" } }, "packages/core": { "name": "@ampproject/toolbox-core", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { "lru-cache": "6.0.0", @@ -19194,12 +19194,12 @@ }, "packages/cors": { "name": "@ampproject/toolbox-cors", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "^2.8.0", - "@ampproject/toolbox-core": "3.0.0-canary.2" + "@ampproject/toolbox-core": "3.0.0-canary.1" } }, "packages/cors/node_modules/@ampproject/toolbox-cache-url": { @@ -19213,13 +19213,13 @@ }, "packages/linter": { "name": "@ampproject/toolbox-linter", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "2.8.0", - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", - "@ampproject/toolbox-validator-rules": "3.0.0-canary.2", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", + "@ampproject/toolbox-validator-rules": "3.0.0-canary.1", "amphtml-validator": "1.0.35", "chalk": "4.1.1", "cheerio": "1.0.0-rc.10", @@ -19332,13 +19332,13 @@ }, "packages/optimizer": { "name": "@ampproject/toolbox-optimizer", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", "@ampproject/toolbox-script-csp": "2.8.0", - "@ampproject/toolbox-validator-rules": "3.0.0-canary.2", + "@ampproject/toolbox-validator-rules": "3.0.0-canary.1", "dom-serializer": "1.3.2", "domelementtype": "2.2.0", "domhandler": "4.2.0", @@ -19372,21 +19372,21 @@ }, "packages/optimizer-docker": { "name": "toolbox-optimizer-docker", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", "prom-client": "13.1.0" } }, "packages/optimizer-express": { "name": "@ampproject/toolbox-optimizer-express", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", "mime-types": "2.1.31", "whatwg-url": "9.0.0" } @@ -19421,7 +19421,7 @@ }, "packages/page-experience": { "name": "@ampproject/toolbox-page-experience", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { "@ampproject/toolbox-linter": "2.8.2", @@ -19870,12 +19870,12 @@ }, "packages/runtime-fetch": { "name": "@ampproject/toolbox-runtime-fetch", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", "at-least-node": "1.0.0", "fs-extra": "10.0.0", "node-fetch": "2.6.1" @@ -19896,10 +19896,10 @@ }, "packages/runtime-version": { "name": "@ampproject/toolbox-runtime-version", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-core": "3.0.0-canary.2" + "@ampproject/toolbox-core": "3.0.0-canary.1" } }, "packages/script-csp": { @@ -19909,10 +19909,10 @@ }, "packages/update-cache": { "name": "@ampproject/toolbox-update-cache", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "^2.8.0", "jsrsasign": "10.3.0" } @@ -19928,7 +19928,7 @@ }, "packages/validator-rules": { "name": "@ampproject/toolbox-validator-rules", - "version": "3.0.0-canary.2", + "version": "3.0.0-canary.1", "license": "Apache-2.0", "dependencies": { "node-fetch": "2.6.1" @@ -19939,7 +19939,7 @@ "@ampproject/cloudflare-optimizer-scripts": { "version": "file:packages/cloudflare-optimizer-scripts", "requires": { - "@ampproject/toolbox-optimizer": "3.0.0-canary.2" + "@ampproject/toolbox-optimizer": "3.0.0-canary.1" } }, "@ampproject/remapping": { @@ -19970,7 +19970,7 @@ "@ampproject/toolbox-cache-list": { "version": "file:packages/cache-list", "requires": { - "@ampproject/toolbox-core": "3.0.0-canary.2" + "@ampproject/toolbox-core": "3.0.0-canary.1" } }, "@ampproject/toolbox-cache-url": { @@ -19983,14 +19983,14 @@ "@ampproject/toolbox-cli": { "version": "file:packages/cli", "requires": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "^2.8.0", - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-linter": "3.0.0-canary.2", - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-fetch": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", - "@ampproject/toolbox-update-cache": "3.0.0-canary.2", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-linter": "3.0.0-canary.1", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-fetch": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", + "@ampproject/toolbox-update-cache": "3.0.0-canary.1", "minimist": "1.2.5", "minimist-options": "4.1.0", "node-fetch": "2.6.1" @@ -20017,9 +20017,9 @@ "@ampproject/toolbox-cors": { "version": "file:packages/cors", "requires": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "^2.8.0", - "@ampproject/toolbox-core": "3.0.0-canary.2" + "@ampproject/toolbox-core": "3.0.0-canary.1" }, "dependencies": { "@ampproject/toolbox-cache-url": { @@ -20036,10 +20036,10 @@ "@ampproject/toolbox-linter": { "version": "file:packages/linter", "requires": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "2.8.0", - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", - "@ampproject/toolbox-validator-rules": "3.0.0-canary.2", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", + "@ampproject/toolbox-validator-rules": "3.0.0-canary.1", "amphtml-validator": "1.0.35", "chalk": "4.1.1", "cheerio": "1.0.0-rc.10", @@ -20129,10 +20129,10 @@ "@ampproject/toolbox-optimizer": { "version": "file:packages/optimizer", "requires": { - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", "@ampproject/toolbox-script-csp": "2.8.0", - "@ampproject/toolbox-validator-rules": "3.0.0-canary.2", + "@ampproject/toolbox-validator-rules": "3.0.0-canary.1", "dom-serializer": "1.3.2", "domelementtype": "2.2.0", "domhandler": "4.2.0", @@ -20154,9 +20154,9 @@ "@ampproject/toolbox-optimizer-express": { "version": "file:packages/optimizer-express", "requires": { - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", "mime-types": "2.1.31", "whatwg-url": "9.0.0" }, @@ -20523,9 +20523,9 @@ "@ampproject/toolbox-runtime-fetch": { "version": "file:packages/runtime-fetch", "requires": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", - "@ampproject/toolbox-core": "3.0.0-canary.2", - "@ampproject/toolbox-runtime-version": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", + "@ampproject/toolbox-core": "3.0.0-canary.1", + "@ampproject/toolbox-runtime-version": "3.0.0-canary.1", "at-least-node": "1.0.0", "fs-extra": "10.0.0", "node-fetch": "2.6.1" @@ -20546,7 +20546,7 @@ "@ampproject/toolbox-runtime-version": { "version": "file:packages/runtime-version", "requires": { - "@ampproject/toolbox-core": "3.0.0-canary.2" + "@ampproject/toolbox-core": "3.0.0-canary.1" } }, "@ampproject/toolbox-script-csp": { @@ -20555,7 +20555,7 @@ "@ampproject/toolbox-update-cache": { "version": "file:packages/update-cache", "requires": { - "@ampproject/toolbox-cache-list": "3.0.0-canary.2", + "@ampproject/toolbox-cache-list": "3.0.0-canary.1", "@ampproject/toolbox-cache-url": "^2.8.0", "jsrsasign": "10.3.0" }, @@ -34411,7 +34411,7 @@ "toolbox-optimizer-docker": { "version": "file:packages/optimizer-docker", "requires": { - "@ampproject/toolbox-optimizer": "3.0.0-canary.2", + "@ampproject/toolbox-optimizer": "3.0.0-canary.1", "prom-client": "13.1.0" } }, diff --git a/packages/optimizer/lib/extensionConfig.json b/packages/optimizer/lib/extensionConfig.json index e92cbf741..c5eac45c4 100644 --- a/packages/optimizer/lib/extensionConfig.json +++ b/packages/optimizer/lib/extensionConfig.json @@ -1 +1 @@ -[{"name":"amp-3d-gltf","version":"0.1","latestVersion":"0.1"},{"name":"amp-3q-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-access","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-access-fewcents","version":"0.1","options":{"hasCss":true}},{"name":"amp-access-laterpay","version":["0.1","0.2"],"options":{"hasCss":true},"latestVersion":"0.2"},{"name":"amp-access-poool","version":"0.1","latestVersion":"0.1"},{"name":"amp-access-scroll","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-accordion","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-accordion","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-action-macro","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-ad-custom","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-exit","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-adsense-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-adzerk-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-dianomi-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-doubleclick-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-fake-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-nws-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-smartadserver-impl","version":"0.1"},{"name":"amp-ad-network-valueimpression-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-addthis","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-analytics","version":"0.1","latestVersion":"0.1"},{"name":"amp-anim","version":"0.1","latestVersion":"0.1"},{"name":"amp-animation","version":"0.1","latestVersion":"0.1"},{"name":"amp-animation-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-apester-media","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-app-banner","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-audio","version":"0.1","latestVersion":"0.1"},{"name":"amp-auto-ads","version":"0.1","latestVersion":"0.1"},{"name":"amp-auto-lightbox","version":"0.1","latestVersion":"0.1"},{"name":"amp-autocomplete","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-base-carousel","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-base-carousel","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-beopinion","version":"0.1","latestVersion":"0.1"},{"name":"amp-bind","version":"0.1","latestVersion":"0.1"},{"name":"amp-bodymovin-animation","version":"0.1","latestVersion":"0.1"},{"name":"amp-brid-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-brightcove","version":"0.1","latestVersion":"0.1"},{"name":"amp-brightcove","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-byside-content","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-cache-url","version":"0.1","latestVersion":"0.1"},{"name":"amp-call-tracking","version":"0.1","latestVersion":"0.1"},{"name":"amp-carousel","version":["0.1","0.2"],"options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-connatix-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-consent","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-crypto-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-dailymotion","version":"0.1","latestVersion":"0.1"},{"name":"amp-dailymotion","version":"1.0","latestVersion":"0.1","options":{"npm":true,"hasCss":true,"bento":true}},{"name":"amp-date-countdown","version":"0.1","latestVersion":"0.1"},{"name":"amp-date-countdown","version":"1.0","options":{"npm":true,"bento":true,"hasCss":true},"latestVersion":"0.1"},{"name":"amp-date-display","version":"0.1","latestVersion":"0.1"},{"name":"amp-date-display","version":"1.0","options":{"npm":true,"bento":true,"hasCss":true},"latestVersion":"0.1"},{"name":"amp-date-picker","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-delight-player","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-dynamic-css-classes","version":"0.1","latestVersion":"0.1"},{"name":"amp-embedly-card","version":"0.1","latestVersion":"0.1"},{"name":"amp-embedly-card","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-experiment","version":["0.1","1.0"],"latestVersion":"0.1"},{"name":"amp-facebook","version":"0.1","latestVersion":"0.1"},{"name":"amp-facebook","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-facebook-comments","version":"0.1","latestVersion":"0.1"},{"name":"amp-facebook-like","version":"0.1","latestVersion":"0.1"},{"name":"amp-facebook-page","version":"0.1","latestVersion":"0.1"},{"name":"amp-fit-text","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-fit-text","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-font","version":"0.1","latestVersion":"0.1"},{"name":"amp-form","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-fx-collection","version":"0.1","latestVersion":"0.1"},{"name":"amp-fx-flying-carpet","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-geo","version":"0.1","latestVersion":"0.1"},{"name":"amp-gfycat","version":"0.1","latestVersion":"0.1"},{"name":"amp-gist","version":"0.1","latestVersion":"0.1"},{"name":"amp-google-document-embed","version":"0.1","latestVersion":"0.1"},{"name":"amp-gwd-animation","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-hulu","version":"0.1","latestVersion":"0.1"},{"name":"amp-iframe","version":"0.1","latestVersion":"0.1"},{"name":"amp-iframe","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-iframely","version":"0.1","latestVersion":"0.1"},{"name":"amp-ima-video","version":"0.1","latestVersion":"0.1"},{"name":"amp-image-lightbox","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-image-slider","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-image-viewer","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-imgur","version":"0.1","latestVersion":"0.1"},{"name":"amp-inline-gallery","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-inline-gallery","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-inputmask","version":"0.1","latestVersion":"0.1"},{"name":"amp-instagram","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-instagram","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-install-serviceworker","version":"0.1","latestVersion":"0.1"},{"name":"amp-intersection-observer-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-izlesene","version":"0.1","latestVersion":"0.1"},{"name":"amp-jwplayer","version":"0.1","latestVersion":"0.1"},{"name":"amp-jwplayer","version":"1.0","options":{"hasCss":true,"bento":true,"npm":true},"latestVersion":"0.1"},{"name":"amp-kaltura-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-lightbox","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-lightbox","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-lightbox-gallery","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-lightbox-gallery","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-link-rewriter","version":"0.1","latestVersion":"0.1"},{"name":"amp-list","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-live-list","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-loader","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-mathml","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-mathml","version":"1.0","options":{"hasCss":true,"bento":true,"npm":true},"latestVersion":"0.1"},{"name":"amp-mega-menu","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-megaphone","version":"0.1","latestVersion":"0.1"},{"name":"amp-minute-media-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-mowplayer","version":"0.1","latestVersion":"0.1"},{"name":"amp-mraid","version":"0.1","latestVersion":"0.1"},{"name":"amp-mustache","version":["0.1","0.2"],"latestVersion":"0.2"},{"name":"amp-nested-menu","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-next-page","version":["0.1","1.0"],"options":{"hasCss":true},"latestVersion":"1.0"},{"name":"amp-nexxtv-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-o2-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-onetap-google","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-ooyala-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-orientation-observer","version":"0.1","latestVersion":"0.1"},{"name":"amp-pan-zoom","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-pinterest","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-playbuzz","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-position-observer","version":"0.1","latestVersion":"0.1"},{"name":"amp-powr-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-reach-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-recaptcha-input","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-redbull-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-reddit","version":"0.1","latestVersion":"0.1"},{"name":"amp-render","version":"1.0","latestVersion":"1.0"},{"name":"amp-resize-observer-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-riddle-quiz","version":"0.1","latestVersion":"0.1"},{"name":"amp-script","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-selector","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-selector","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-shadow-dom-polyfill","version":"0.1","options":{"wrapper":"none"},"latestVersion":"0.1"},{"name":"amp-sidebar","version":["0.1","0.2"],"options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-sidebar","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-skimlinks","version":"0.1","latestVersion":"0.1"},{"// 1":"`amp-slides` is deprecated","// 2":"Please use `` instead.","name":"amp-slides","version":"0.1","latestVersion":"0.1"},{"name":"amp-smartlinks","version":"0.1","latestVersion":"0.1"},{"name":"amp-social-share","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-social-share","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-soundcloud","version":"0.1","latestVersion":"0.1"},{"name":"amp-soundcloud","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-springboard-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-standalone","version":"0.1","latestVersion":"0.1"},{"name":"amp-sticky-ad","version":"1.0","options":{"hasCss":true},"latestVersion":"1.0"},{"name":"amp-story","version":"1.0","options":{"hasCss":true},"latestVersion":"1.0"},{"name":"amp-story-360","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-auto-ads","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-auto-analytics","version":"0.1","latestVersion":"0.1"},{"name":"amp-story-captions","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-dev-tools","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-education","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-interactive","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-page-attachment","version":"0.1","options":{"hasCss":true}},{"name":"amp-story-panning-media","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-player","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-share-menu","version":"0.1","options":{"hasCss":true}},{"name":"amp-story-shopping","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-stream-gallery","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-stream-gallery","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-subscriptions","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-subscriptions-google","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-tiktok","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-timeago","version":"0.1","latestVersion":"0.1"},{"name":"amp-timeago","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-truncate-text","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-twitter","version":"0.1","latestVersion":"0.1"},{"name":"amp-twitter","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-user-notification","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-video","version":"0.1","latestVersion":"0.1"},{"name":"amp-video","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-video-docking","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-video-iframe","version":"0.1","latestVersion":"0.1"},{"name":"amp-video-iframe","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-viewer-integration","version":"0.1","options":{"// 1":"The viewer integration code needs to run asap, so that viewers","// 2":"can influence document state asap. Otherwise the document may ","// 3":"take a long time to learn that it should start process other","// 4":"extensions faster.","loadPriority":"high"},"latestVersion":"0.1"},{"name":"amp-vimeo","version":"0.1","latestVersion":"0.1"},{"name":"amp-vimeo","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-vine","version":"0.1","latestVersion":"0.1"},{"name":"amp-viqeo-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-vk","version":"0.1","latestVersion":"0.1"},{"name":"amp-web-push","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-wistia-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-wordpress-embed","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"1.0"},{"name":"amp-yotpo","version":"0.1","latestVersion":"0.1"},{"name":"amp-youtube","version":"0.1","latestVersion":"0.1"},{"name":"amp-youtube","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"}] \ No newline at end of file +[{"name":"amp-3d-gltf","version":"0.1","latestVersion":"0.1"},{"name":"amp-3q-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-access","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-access-fewcents","version":"0.1","options":{"hasCss":true}},{"name":"amp-access-laterpay","version":["0.1","0.2"],"options":{"hasCss":true},"latestVersion":"0.2"},{"name":"amp-access-poool","version":"0.1","latestVersion":"0.1"},{"name":"amp-access-scroll","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-accordion","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-accordion","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-action-macro","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-ad-custom","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-exit","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-adsense-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-adzerk-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-dianomi-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-doubleclick-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-fake-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-nws-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-ad-network-smartadserver-impl","version":"0.1"},{"name":"amp-ad-network-valueimpression-impl","version":"0.1","latestVersion":"0.1"},{"name":"amp-addthis","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-analytics","version":"0.1","latestVersion":"0.1"},{"name":"amp-anim","version":"0.1","latestVersion":"0.1"},{"name":"amp-animation","version":"0.1","latestVersion":"0.1"},{"name":"amp-animation-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-apester-media","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-app-banner","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-audio","version":"0.1","latestVersion":"0.1"},{"name":"amp-auto-ads","version":"0.1","latestVersion":"0.1"},{"name":"amp-auto-lightbox","version":"0.1","latestVersion":"0.1"},{"name":"amp-autocomplete","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-base-carousel","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-base-carousel","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-beopinion","version":"0.1","latestVersion":"0.1"},{"name":"amp-bind","version":"0.1","latestVersion":"0.1"},{"name":"amp-bodymovin-animation","version":"0.1","latestVersion":"0.1"},{"name":"amp-brid-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-brightcove","version":"0.1","latestVersion":"0.1"},{"name":"amp-brightcove","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-byside-content","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-cache-url","version":"0.1","latestVersion":"0.1"},{"name":"amp-call-tracking","version":"0.1","latestVersion":"0.1"},{"name":"amp-carousel","version":["0.1","0.2"],"options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-connatix-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-consent","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-crypto-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-dailymotion","version":"0.1","latestVersion":"0.1"},{"name":"amp-date-countdown","version":"0.1","latestVersion":"0.1"},{"name":"amp-date-countdown","version":"1.0","options":{"npm":true,"bento":true,"hasCss":true},"latestVersion":"0.1"},{"name":"amp-date-display","version":"0.1","latestVersion":"0.1"},{"name":"amp-date-display","version":"1.0","options":{"npm":true,"bento":true,"hasCss":true},"latestVersion":"0.1"},{"name":"amp-date-picker","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-delight-player","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-dynamic-css-classes","version":"0.1","latestVersion":"0.1"},{"name":"amp-embedly-card","version":"0.1","latestVersion":"0.1"},{"name":"amp-embedly-card","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-experiment","version":["0.1","1.0"],"latestVersion":"0.1"},{"name":"amp-facebook","version":"0.1","latestVersion":"0.1"},{"name":"amp-facebook","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-facebook-comments","version":"0.1","latestVersion":"0.1"},{"name":"amp-facebook-like","version":"0.1","latestVersion":"0.1"},{"name":"amp-facebook-page","version":"0.1","latestVersion":"0.1"},{"name":"amp-fit-text","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-fit-text","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-font","version":"0.1","latestVersion":"0.1"},{"name":"amp-form","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-fx-collection","version":"0.1","latestVersion":"0.1"},{"name":"amp-fx-flying-carpet","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-geo","version":"0.1","latestVersion":"0.1"},{"name":"amp-gfycat","version":"0.1","latestVersion":"0.1"},{"name":"amp-gist","version":"0.1","latestVersion":"0.1"},{"name":"amp-google-document-embed","version":"0.1","latestVersion":"0.1"},{"name":"amp-gwd-animation","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-hulu","version":"0.1","latestVersion":"0.1"},{"name":"amp-iframe","version":"0.1","latestVersion":"0.1"},{"name":"amp-iframe","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-iframely","version":"0.1","latestVersion":"0.1"},{"name":"amp-ima-video","version":"0.1","latestVersion":"0.1"},{"name":"amp-image-lightbox","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-image-slider","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-image-viewer","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-imgur","version":"0.1","latestVersion":"0.1"},{"name":"amp-inline-gallery","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-inline-gallery","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-inputmask","version":"0.1","latestVersion":"0.1"},{"name":"amp-instagram","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-instagram","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-install-serviceworker","version":"0.1","latestVersion":"0.1"},{"name":"amp-intersection-observer-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-izlesene","version":"0.1","latestVersion":"0.1"},{"name":"amp-jwplayer","version":"0.1","latestVersion":"0.1"},{"name":"amp-jwplayer","version":"1.0","options":{"hasCss":true,"bento":true,"npm":true},"latestVersion":"0.1"},{"name":"amp-kaltura-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-lightbox","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-lightbox","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-lightbox-gallery","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-lightbox-gallery","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-link-rewriter","version":"0.1","latestVersion":"0.1"},{"name":"amp-list","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-live-list","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-loader","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-mathml","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-mathml","version":"1.0","options":{"hasCss":true,"bento":true,"npm":true},"latestVersion":"0.1"},{"name":"amp-mega-menu","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-megaphone","version":"0.1","latestVersion":"0.1"},{"name":"amp-minute-media-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-mowplayer","version":"0.1","latestVersion":"0.1"},{"name":"amp-mraid","version":"0.1","latestVersion":"0.1"},{"name":"amp-mustache","version":["0.1","0.2"],"latestVersion":"0.2"},{"name":"amp-nested-menu","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-next-page","version":["0.1","1.0"],"options":{"hasCss":true},"latestVersion":"1.0"},{"name":"amp-nexxtv-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-o2-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-onetap-google","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-ooyala-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-orientation-observer","version":"0.1","latestVersion":"0.1"},{"name":"amp-pan-zoom","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-pinterest","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-playbuzz","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-position-observer","version":"0.1","latestVersion":"0.1"},{"name":"amp-powr-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-reach-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-recaptcha-input","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-redbull-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-reddit","version":"0.1","latestVersion":"0.1"},{"name":"amp-render","version":"1.0","latestVersion":"1.0"},{"name":"amp-resize-observer-polyfill","version":"0.1","latestVersion":"0.1"},{"name":"amp-riddle-quiz","version":"0.1","latestVersion":"0.1"},{"name":"amp-script","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-selector","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-selector","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-shadow-dom-polyfill","version":"0.1","options":{"wrapper":"none"},"latestVersion":"0.1"},{"name":"amp-sidebar","version":["0.1","0.2"],"options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-sidebar","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-skimlinks","version":"0.1","latestVersion":"0.1"},{"// 1":"`amp-slides` is deprecated","// 2":"Please use `` instead.","name":"amp-slides","version":"0.1","latestVersion":"0.1"},{"name":"amp-smartlinks","version":"0.1","latestVersion":"0.1"},{"name":"amp-social-share","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-social-share","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-soundcloud","version":"0.1","latestVersion":"0.1"},{"name":"amp-soundcloud","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-springboard-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-standalone","version":"0.1","latestVersion":"0.1"},{"name":"amp-sticky-ad","version":"1.0","options":{"hasCss":true},"latestVersion":"1.0"},{"name":"amp-story","version":"1.0","options":{"hasCss":true},"latestVersion":"1.0"},{"name":"amp-story-360","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-auto-ads","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-auto-analytics","version":"0.1","latestVersion":"0.1"},{"name":"amp-story-captions","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-dev-tools","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-education","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-interactive","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-page-attachment","version":"0.1","options":{"hasCss":true}},{"name":"amp-story-panning-media","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-player","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-story-share-menu","version":"0.1","options":{"hasCss":true}},{"name":"amp-story-shopping","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-stream-gallery","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-stream-gallery","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-subscriptions","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-subscriptions-google","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-tiktok","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-timeago","version":"0.1","latestVersion":"0.1"},{"name":"amp-timeago","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-truncate-text","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-twitter","version":"0.1","latestVersion":"0.1"},{"name":"amp-twitter","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-user-notification","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-video","version":"0.1","latestVersion":"0.1"},{"name":"amp-video","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-video-docking","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-video-iframe","version":"0.1","latestVersion":"0.1"},{"name":"amp-video-iframe","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-viewer-integration","version":"0.1","options":{"// 1":"The viewer integration code needs to run asap, so that viewers","// 2":"can influence document state asap. Otherwise the document may ","// 3":"take a long time to learn that it should start process other","// 4":"extensions faster.","loadPriority":"high"},"latestVersion":"0.1"},{"name":"amp-vimeo","version":"0.1","latestVersion":"0.1"},{"name":"amp-vimeo","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"},{"name":"amp-vine","version":"0.1","latestVersion":"0.1"},{"name":"amp-viqeo-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-vk","version":"0.1","latestVersion":"0.1"},{"name":"amp-web-push","version":"0.1","options":{"hasCss":true},"latestVersion":"0.1"},{"name":"amp-wistia-player","version":"0.1","latestVersion":"0.1"},{"name":"amp-wordpress-embed","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"1.0"},{"name":"amp-yotpo","version":"0.1","latestVersion":"0.1"},{"name":"amp-youtube","version":"0.1","latestVersion":"0.1"},{"name":"amp-youtube","version":"1.0","options":{"hasCss":true,"npm":true,"bento":true},"latestVersion":"0.1"}] \ No newline at end of file diff --git a/packages/optimizer/lib/fetchRuntimeParameters.js b/packages/optimizer/lib/fetchRuntimeParameters.js index 4be9e3fa9..fc4eb6716 100644 --- a/packages/optimizer/lib/fetchRuntimeParameters.js +++ b/packages/optimizer/lib/fetchRuntimeParameters.js @@ -17,7 +17,6 @@ const validatorRulesProvider = require('@ampproject/toolbox-validator-rules'); const {MaxAge} = require('@ampproject/toolbox-core'); -const JSON5 = require('json5'); let fallbackRuntime; try { @@ -111,33 +110,14 @@ async function fetchComponentVersions_(config, runtimeParameters) { // Strip the leading two chars from the version identifier to get the release tag const releaseTag = runtimeParameters.ampRuntimeVersion.substring(2); const componentConfigUrl = `https://raw.githubusercontent.com/ampproject/amphtml/${releaseTag}/build-system/compile/bundles.config.extensions.json`; - const latestVersionsUrl = `https://raw.githubusercontent.com/ampproject/amphtml/${releaseTag}/build-system/compile/bundles.legacy-latest-versions.jsonc`; - const responses = await Promise.all([ - config.fetch(componentConfigUrl), - config.fetch(latestVersionsUrl), - ]); - const [configResponse, latestVersionsConfigResponse] = responses; - if (!configResponse.ok) { - throw new Error( - `Failed downloading ${componentConfigUrl} with status ${configResponse.status}` - ); - } - if (!latestVersionsConfigResponse.ok) { + const response = await config.fetch(componentConfigUrl); + if (!response.ok) { throw new Error( - `Failed fetching latest component versions from ${latestVersionsUrl} with status: ${latestVersionsConfigResponse.status}` + `Failed fetching latest component versions from ${URL_COMPONENT_VERSIONS} with status: ${response.status}` ); } - - const extensionConfig = await configResponse.json(); - const latestVersionsConfig = JSON5.parse(await latestVersionsConfigResponse.text()); - // We add back the "latestVersion" field so that the auto importer - // code knows what "stable" version of the extension to use. - extensionConfig.forEach((entry) => { - entry['latestVersion'] = latestVersionsConfig[entry.name]; - }); - - return extensionConfig; + return response.json(); } /**