Skip to content

Commit

Permalink
build: upgrade edge-runtime (#40788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Sep 23, 2022
1 parent 976ccce commit 2e02204
Show file tree
Hide file tree
Showing 15 changed files with 5,819 additions and 12,501 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.31",
"@edge-runtime/jest-environment": "1.1.0-beta.33",
"@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0",
"@next/bundle-analyzer": "workspace:*",
Expand Down
@@ -1,4 +1,6 @@
declare const AbortControllerConstructor: AbortController
declare const AbortControllerConstructor: typeof AbortController

declare const DOMExceptionConstructor: typeof DOMException

declare var AbortSignal: {
prototype: typeof AbortSignal
Expand All @@ -9,4 +11,4 @@ declare var AbortSignal: {
abort(reason?: string): AbortSignal
}

export { AbortControllerConstructor as AbortController, AbortSignal };
export { AbortControllerConstructor as AbortController, AbortSignal, DOMExceptionConstructor as DOMException };
12 changes: 7 additions & 5 deletions packages/next/compiled/@edge-runtime/primitives/cache.d.ts
@@ -1,8 +1,10 @@
declare function createCaches(): {
cacheStorage: () => CacheStorage
Cache: typeof Cache
CacheStorage: typeof CacheStorage
}
declare function createCaches():
| undefined
| {
cacheStorage: () => CacheStorage
Cache: typeof Cache
CacheStorage: typeof CacheStorage
}

declare const caches: CacheStorage

Expand Down

0 comments on commit 2e02204

Please sign in to comment.