Skip to content

Commit

Permalink
update types and compile undici
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Arrowood committed Sep 7, 2022
1 parent 0daf850 commit 1c5c027
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
21 changes: 21 additions & 0 deletions packages/next/compiled/undici/LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Matteo Collina and Undici contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions packages/next/compiled/undici/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/next/compiled/undici/package.json
@@ -0,0 +1 @@
{"name":"undici","main":"index.js","author":"Matteo Collina <hello@matteocollina.com>","license":"MIT"}
1 change: 1 addition & 0 deletions packages/next/taskfile.js
Expand Up @@ -1916,6 +1916,7 @@ export async function ncc(task, opts) {
'ncc_ua_parser_js',
'ncc_minimatch',
'ncc_mini_css_extract_plugin',
'ncc_undici',
],
opts
)
Expand Down
6 changes: 1 addition & 5 deletions packages/next/types/misc.d.ts
Expand Up @@ -28,11 +28,7 @@ declare module 'next/dist/compiled/node-fetch' {
export * from 'node-fetch'
}

declare module 'next/dist/compiled/undici' {
import m from 'undici'
export default m
export * from 'undici'
}
declare module 'next/dist/compiled/undici' {}

declare module 'next/dist/compiled/jest-worker' {
export * from 'jest-worker'
Expand Down

0 comments on commit 1c5c027

Please sign in to comment.