rsnext/packages/next/server/lib
Steven 3102899f69
Fix squoosh image optimization for Node.js 18 (#38833)
Starting in Node.js 18, the `fetch` global was made available and that caused the squoosh implementation to assume it was on a web browser and try to fetch the wasm file instead of reading it from the filesystem. This PR deletes the code trying to fetch since we know that squoosh only runs in the Image Optimization API, not the browser.

- Fixes #38020 
- Enables a test that was disabled in #38460
2022-07-20 12:24:50 -04:00
..
incremental-cache Fix failing to set initial ISR cache item in new folder (#38136) 2022-06-29 09:45:15 +00:00
squoosh Fix squoosh image optimization for Node.js 18 (#38833) 2022-07-20 12:24:50 -04:00
etag.ts refactor: rewrite etag (#38568) 2022-07-18 09:20:44 +00:00
find-page-file.ts Tweak routing tests (#36667) 2022-05-05 13:15:32 +02:00
mock-request.ts Update on-demand ISR to skip fetch locally (#35386) 2022-03-17 12:06:44 -05:00
recursive-readdir-sync.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
start-server.ts feat(cli): allow configuration of http-server's timeout configuration (#35827) 2022-06-26 13:26:51 +02:00
utils.ts Remove tslint disables (#16116) 2020-08-12 14:39:07 +00:00