Lowered targeted node version to those who support ESM

closes #98
This commit is contained in:
Jimmy Wärting
2021-06-19 11:51:54 +02:00
parent 4747497b52
commit 5ba554efd2
2 changed files with 35 additions and 12 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "fetch-blob",
"version": "3.0.0",
"version": "3.0.1",
"description": "Blob & File implementation in Node.js, originally from node-fetch.",
"main": "index.js",
"type": "module",
@@ -26,7 +26,7 @@
"node-fetch"
],
"engines": {
"node": ">=14.0.0"
"node": "^12.20 || >= 14.13"
},
"author": "Jimmy Wärting <jimmy@warting.se> (https://jimmy.warting.se)",
"license": "MIT",
@@ -39,6 +39,7 @@
"unicorn/prefer-node-protocol": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-spread": "off",
"unicorn/prefer-number-properties": "off",
"import/extensions": [
"error",
"always",