-
-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Description
I'm not at all a JS expert but after getting silently upgraded to 8.2.0 I'm seeing the following error in my build:
TypeError: Cannot read property 'some' of undefined
at Object.exports.install (/Users/mhughe008/development/vise/node_modules/whatwg-url/dist/URL.js:84:20)
at exports.installInterfaces (/Users/mhughe008/development/vise/node_modules/jsdom/lib/jsdom/living/interfaces.js:202:24)
at setupWindow (/Users/mhughe008/development/vise/node_modules/jsdom/lib/jsdom/browser/Window.js:63:3)
at new Window (/Users/mhughe008/development/vise/node_modules/jsdom/lib/jsdom/browser/Window.js:107:3)
at exports.createWindow (/Users/mhughe008/development/vise/node_modules/jsdom/lib/jsdom/browser/Window.js:38:10)
Failing at this section of code:
exports.install = (globalObject, globalNames) => {
if (!globalNames.some(globalName => exposed.has(globalName))) {
return;
}
class URL {
constructor(url) {
if (arguments.length < 1) {This is using jsdom 16.1.2. Best I can tell this was probably caused by the upgrade to webidl-conversions:
- "webidl-conversions": "^5.0.0"
+ "webidl-conversions": "^6.1.0"
gsimone, michael-kleemann, pkawiak, natedanner, evelynhathaway and 2 more
Metadata
Metadata
Assignees
Labels
No labels