cleaned up experimental flag and node-fetch (#790)

cleaned up experimental flag and node-fetch (next.js has fixed the issue in middleware which prevented payloads > 16kb)

Co-authored-by: Kiran K <kiran@boxyhq.com>
This commit is contained in:
Deepak Prabhakara 2022-12-30 13:41:30 +00:00 committed by GitHub
parent 6a9134d3cd
commit 2291549333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 113 deletions

View File

@ -4,9 +4,6 @@ const { i18n } = require('./next-i18next.config');
module.exports = {
productionBrowserSourceMaps: true,
experimental: {
enableUndici: true,
},
reactStrictMode: true,
i18n,
output: 'standalone',

109
package-lock.json generated
View File

@ -26,7 +26,6 @@
"next-auth": "4.18.7",
"next-i18next": "13.0.2",
"next-mdx-remote": "4.2.0",
"node-fetch": "3.3.0",
"nodemailer": "6.8.0",
"raw-body": "2.5.1",
"react": "18.2.0",
@ -2635,13 +2634,6 @@
"dev": true,
"license": "BSD-2-Clause"
},
"node_modules/data-uri-to-buffer": {
"version": "4.0.0",
"license": "MIT",
"engines": {
"node": ">= 12"
}
},
"node_modules/debug": {
"version": "4.3.4",
"license": "MIT",
@ -3621,27 +3613,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/fetch-blob": {
"version": "3.2.0",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/jimmywarting"
},
{
"type": "paypal",
"url": "https://paypal.me/jimmywarting"
}
],
"license": "MIT",
"dependencies": {
"node-domexception": "^1.0.0",
"web-streams-polyfill": "^3.0.3"
},
"engines": {
"node": "^12.20 || >= 14.13"
}
},
"node_modules/file-entry-cache": {
"version": "6.0.1",
"dev": true,
@ -3701,16 +3672,6 @@
"node": ">=0.4.x"
}
},
"node_modules/formdata-polyfill": {
"version": "4.0.10",
"license": "MIT",
"dependencies": {
"fetch-blob": "^3.1.2"
},
"engines": {
"node": ">=12.20.0"
}
},
"node_modules/fraction.js": {
"version": "4.2.0",
"license": "MIT",
@ -5984,39 +5945,6 @@
"version": "5.0.0",
"license": "MIT"
},
"node_modules/node-domexception": {
"version": "1.0.0",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/jimmywarting"
},
{
"type": "github",
"url": "https://paypal.me/jimmywarting"
}
],
"license": "MIT",
"engines": {
"node": ">=10.5.0"
}
},
"node_modules/node-fetch": {
"version": "3.3.0",
"license": "MIT",
"dependencies": {
"data-uri-to-buffer": "^4.0.0",
"fetch-blob": "^3.1.4",
"formdata-polyfill": "^4.0.10"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/node-fetch"
}
},
"node_modules/node-releases": {
"version": "2.0.6",
"license": "MIT"
@ -8299,13 +8227,6 @@
"node": ">=0.10.0"
}
},
"node_modules/web-streams-polyfill": {
"version": "3.2.1",
"license": "MIT",
"engines": {
"node": ">= 8"
}
},
"node_modules/which": {
"version": "2.0.2",
"dev": true,
@ -19540,9 +19461,6 @@
"version": "1.0.8",
"dev": true
},
"data-uri-to-buffer": {
"version": "4.0.0"
},
"debug": {
"version": "4.3.4",
"requires": {
@ -20171,13 +20089,6 @@
"format": "^0.2.0"
}
},
"fetch-blob": {
"version": "3.2.0",
"requires": {
"node-domexception": "^1.0.0",
"web-streams-polyfill": "^3.0.3"
}
},
"file-entry-cache": {
"version": "6.0.1",
"dev": true,
@ -20214,12 +20125,6 @@
"format": {
"version": "0.2.2"
},
"formdata-polyfill": {
"version": "4.0.10",
"requires": {
"fetch-blob": "^3.1.2"
}
},
"fraction.js": {
"version": "4.2.0"
},
@ -21450,17 +21355,6 @@
"node-addon-api": {
"version": "5.0.0"
},
"node-domexception": {
"version": "1.0.0"
},
"node-fetch": {
"version": "3.3.0",
"requires": {
"data-uri-to-buffer": "^4.0.0",
"fetch-blob": "^3.1.4",
"formdata-polyfill": "^4.0.10"
}
},
"node-releases": {
"version": "2.0.6"
},
@ -22753,9 +22647,6 @@
"version": "3.1.0",
"peer": true
},
"web-streams-polyfill": {
"version": "3.2.1"
},
"which": {
"version": "2.0.2",
"dev": true,

View File

@ -61,7 +61,6 @@
"next-auth": "4.18.7",
"next-i18next": "13.0.2",
"next-mdx-remote": "4.2.0",
"node-fetch": "3.3.0",
"nodemailer": "6.8.0",
"raw-body": "2.5.1",
"react": "18.2.0",