diff --git a/build-system/compile/sources.js b/build-system/compile/sources.js index de3bd892e7c2..15d71e3f12bd 100644 --- a/build-system/compile/sources.js +++ b/build-system/compile/sources.js @@ -46,6 +46,7 @@ const COMMON_GLOBS = [ 'node_modules/web-activities/activity-ports.js', 'node_modules/@ampproject/animations/package.json', 'node_modules/@ampproject/animations/dist/animations.mjs', + 'node_modules/@ampproject/toolbox-cache-url/package.json', 'node_modules/@ampproject/viewer-messaging/package.json', 'node_modules/@ampproject/viewer-messaging/messaging.js', 'node_modules/@ampproject/worker-dom/package.json', diff --git a/build-system/tasks/presubmit-checks.js b/build-system/tasks/presubmit-checks.js index 224fdf16a6ed..a2bd8eb9978e 100644 --- a/build-system/tasks/presubmit-checks.js +++ b/build-system/tasks/presubmit-checks.js @@ -1150,6 +1150,7 @@ const forbiddenTermsSrcInclusive = { 'dist.3p/current/integration.js', 'extensions/amp-iframe/0.1/amp-iframe.js', 'src/3p-frame.js', + 'src/amp-story-player-impl.js', 'src/config.js', 'testing/local-amp-chrome-extension/background.js', 'tools/errortracker/errortracker.go', diff --git a/package.json b/package.json index 151c7e9211f9..412656b27d14 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@ampproject/animations": "0.2.0", "@ampproject/viewer-messaging": "1.1.0", "@ampproject/worker-dom": "0.24.0", + "@ampproject/toolbox-cache-url": "2.2.0", "dompurify": "2.0.7", "moment": "2.24.0", "preact": "10.2.1", diff --git a/yarn.lock b/yarn.lock index 3b2d709ed398..fd2fa58d2f23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -25,6 +25,14 @@ "@jridgewell/resolve-uri" "1.0.0" sourcemap-codec "1.4.8" +"@ampproject/toolbox-cache-url@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@ampproject/toolbox-cache-url/-/toolbox-cache-url-2.2.0.tgz#42dd51640e8970d992aaf62819b14023045e80f2" + integrity sha512-ziGiy2G6xGrqi7V3hZYJ6VoBCZkqRMcgv8tcQNT8y+MhLfDYVKfmddsGGUedj14t3mnyMRk8GADCT4sseFA6AA== + dependencies: + punycode "2.1.1" + url-parse "1.4.7" + "@ampproject/viewer-messaging@1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@ampproject/viewer-messaging/-/viewer-messaging-1.1.0.tgz#404f92c5754bac61014ed2272dd5e87174b9af84" @@ -13113,7 +13121,7 @@ punycode@1.3.2: resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= -punycode@2.x.x, punycode@^2.1.0, punycode@^2.1.1: +punycode@2.1.1, punycode@2.x.x, punycode@^2.1.0, punycode@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== @@ -13163,6 +13171,11 @@ querystring@0.2.0, querystring@^0.2.0: resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= +querystringify@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" + integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== + quick-lru@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" @@ -15920,6 +15933,14 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" +url-parse@1.4.7: + version "1.4.7" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" + integrity sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg== + dependencies: + querystringify "^2.1.1" + requires-port "^1.0.0" + url@~0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1"