From 0392ae0674de71cfd397d2ade80bbf3428d53e69 Mon Sep 17 00:00:00 2001 From: Shihua Zheng Date: Wed, 10 Apr 2024 10:28:02 -0700 Subject: [PATCH] Change toolbox to use ampjs versin (#6793) --- package-lock.json | 11 +++++------ package.json | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5bfd6187d39..4ad3bd3d657 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "dependencies": { "@ampproject/toolbox-cache-list": "2.9.0", "@ampproject/toolbox-cors": "2.9.0", - "@ampproject/toolbox-optimizer": "2.9.0", + "@ampproject/toolbox-optimizer": "https://gitpkg.now.sh/ampproject/amp-toolbox/packages/optimizer?ampjs", "@google-cloud/datastore": "8.5.0", "@iarna/toml": "2.2.5", "busboy": "1.6.0", @@ -204,8 +204,8 @@ }, "node_modules/@ampproject/toolbox-optimizer": { "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@ampproject/toolbox-optimizer/-/toolbox-optimizer-2.9.0.tgz", - "integrity": "sha512-KJBMPU61V0i87f4+iJdmer4z9hohP5yoXgPn2sIlCQOnT6u762ZOvhLxwaN0yU6OwPI4/2UypfyNFd5ffREhqg==", + "resolved": "https://gitpkg.now.sh/ampproject/amp-toolbox/packages/optimizer?ampjs", + "integrity": "sha512-6wCBKyVX+i0r8NMeQucnewtisXsuvNge9+3EVyat5S7Dyq1h5mJFZhUFMNXckehbGMjQXscQVeT3owqMlj5lqg==", "dependencies": { "@ampproject/toolbox-core": "2.9.0", "@ampproject/toolbox-runtime-version": "2.9.0", @@ -40422,9 +40422,8 @@ } }, "@ampproject/toolbox-optimizer": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@ampproject/toolbox-optimizer/-/toolbox-optimizer-2.9.0.tgz", - "integrity": "sha512-KJBMPU61V0i87f4+iJdmer4z9hohP5yoXgPn2sIlCQOnT6u762ZOvhLxwaN0yU6OwPI4/2UypfyNFd5ffREhqg==", + "version": "https://gitpkg.now.sh/ampproject/amp-toolbox/packages/optimizer?ampjs", + "integrity": "sha512-6wCBKyVX+i0r8NMeQucnewtisXsuvNge9+3EVyat5S7Dyq1h5mJFZhUFMNXckehbGMjQXscQVeT3owqMlj5lqg==", "requires": { "@ampproject/toolbox-core": "2.9.0", "@ampproject/toolbox-runtime-version": "2.9.0", diff --git a/package.json b/package.json index 5675753ba3b..6d593c59dcc 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "dependencies": { "@ampproject/toolbox-cache-list": "2.9.0", "@ampproject/toolbox-cors": "2.9.0", - "@ampproject/toolbox-optimizer": "2.9.0", + "@ampproject/toolbox-optimizer": "https://gitpkg.now.sh/ampproject/amp-toolbox/packages/optimizer?ampjs", "@google-cloud/datastore": "8.5.0", "@iarna/toml": "2.2.5", "busboy": "1.6.0",