diff --git a/from.js b/from.js index d54d129..ba89ef0 100644 --- a/from.js +++ b/from.js @@ -8,7 +8,7 @@ import { import { basename, sep, join } from 'node:path' import { tmpdir } from 'node:os' import process from 'node:process' -import DOMException from 'node-domexception' +const DOMException = globalThis.DOMException import { File } from './file.js' import { Blob } from './index.js' diff --git a/package.json b/package.json index 2a8fbd5..ae7eeb6 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ "node-fetch" ], "engines": { - "node": ">=16.7" + "node": ">=15" }, - "author": "Jimmy Wärting (https://jimmy.warting.se)", + "author": "Jimmy W\u00e4rting (https://jimmy.warting.se)", "license": "MIT", "bugs": { "url": "https://github.com/node-fetch/fetch-blob/issues" @@ -47,8 +47,5 @@ "type": "paypal", "url": "https://paypal.me/jimmywarting" } - ], - "dependencies": { - "node-domexception": "^1.0.0" - } + ] }