Skip to content

Commit

Permalink
build: upgrade edge-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 5, 2022
1 parent 6e17169 commit c26787c
Show file tree
Hide file tree
Showing 8 changed files with 9,976 additions and 13,851 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/preset-flow": "7.14.5",
"@babel/preset-react": "7.14.5",
"@edge-runtime/jest-environment": "1.1.0-beta.33",
"@edge-runtime/jest-environment": "1.1.0-beta.34",
"@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0",
"@next/bundle-analyzer": "workspace:*",
Expand Down
4 changes: 1 addition & 3 deletions packages/next/compiled/@edge-runtime/primitives/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ function createCaches() {
});
} catch (error) {
if (error.message === "disturbed") {
throw new TypeError(
"Failed to execute 'put' on 'Cache': Response body is already used"
);
throw new TypeError("The body has already been consumed.");
}
throw error;
}
Expand Down

0 comments on commit c26787c

Please sign in to comment.