File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 73
73
"caniuse-lite" : " ^1.0.30001283" ,
74
74
"postcss" : " 8.4.5" ,
75
75
"styled-jsx" : " 5.0.0" ,
76
- "use-subscription" : " 1.5.1" ,
77
- "web-streams-polyfill" : " 3.0.3"
76
+ "use-subscription" : " 1.5.1"
78
77
},
79
78
"peerDependencies" : {
80
79
"fibers" : " >= 3.1.0" ,
263
262
"uuid" : " 8.3.2" ,
264
263
"vm-browserify" : " 1.1.2" ,
265
264
"watchpack" : " 2.3.1" ,
265
+ "web-streams-polyfill" : " 3.0.3" ,
266
266
"web-vitals" : " 2.1.0" ,
267
267
"webpack-sources1" :
" npm:[email protected] " ,
268
268
"webpack-sources3" :
" npm:[email protected] " ,
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import type { ParsedNextUrl } from '../shared/lib/router/utils/parse-next-url'
8
8
import type { PrerenderManifest } from '../build'
9
9
import type { Rewrite } from '../lib/load-custom-routes'
10
10
import type { BaseNextRequest , BaseNextResponse } from './base-http'
11
- import type { ReadableStream } from 'web-streams-polyfill/ponyfill'
12
- import { TransformStream } from 'web-streams-polyfill/ponyfill'
11
+ import type { ReadableStream } from 'next/dist/compiled/ web-streams-polyfill/ponyfill'
12
+ import { TransformStream } from 'next/dist/compiled/ web-streams-polyfill/ponyfill'
13
13
14
14
import { execOnce } from '../shared/lib/utils'
15
15
import {
Original file line number Diff line number Diff line change 1
1
import type { I18NConfig } from '../config-shared'
2
- import type { ReadableStream } from 'web-streams-polyfill/ponyfill'
2
+ import type { ReadableStream } from 'next/dist/compiled/ web-streams-polyfill/ponyfill'
3
3
import type { NextRequest } from '../web/spec-extension/request'
4
4
import type { NextFetchEvent } from '../web/spec-extension/fetch-event'
5
5
import type { NextResponse } from './spec-extension/response'
Original file line number Diff line number Diff line change @@ -331,6 +331,11 @@ declare module 'next/dist/compiled/comment-json' {
331
331
export = m
332
332
}
333
333
334
+ declare module 'next/dist/compiled/web-streams-polyfill/ponyfill' {
335
+ import m from 'web-streams-polyfill/ponyfill'
336
+ export = m
337
+ }
338
+
334
339
declare module 'pnp-webpack-plugin' {
335
340
import webpack from 'webpack4'
336
341
You can’t perform that action at this time.
0 commit comments