diff --git a/lib/browser.js b/lib/browser.js index 8b4c9fa..792d6dc 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -1 +1 @@ -module.exports = window.FormData +module.exports = globalThis.FormData diff --git a/lib/index.js b/lib/index.js index fd2c197..e505b09 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1 +1 @@ -global.FormData = module.exports = require('form-data') +globalThis.FormData = module.exports = require('form-data')