Skip to content

Commit

Permalink
Update edge runtime to 1.1.0-beta.37 (vercel#41211)
Browse files Browse the repository at this point in the history
update of the edge-runtime to 1.1.0-beta.37.



Co-authored-by: Kiko Beats <2096101+Kikobeats@users.noreply.github.com>
  • Loading branch information
mabels and Kikobeats committed Oct 24, 2022
1 parent 0e7d7b0 commit 5f1b3a4
Show file tree
Hide file tree
Showing 9 changed files with 9,990 additions and 13,852 deletions.
2 changes: 1 addition & 1 deletion package.json
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
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 5f1b3a4

Please sign in to comment.