Skip to content

Commit fe3e200

Browse files
danmactoughclaude
andcommitted
Fix ESLint parse error: use property access instead of destructuring
The project's ESLint config has no ecmaVersion set, which defaults to ES5. Destructuring syntax is ES6+, so replace with a simple property access. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 07dbc6f commit fe3e200

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var { URL: WHATWGURL } = require('url')
1+
var WHATWGURL = require('url').URL
22
, namespaces = require('./namespaces')
33
;
44

0 commit comments

Comments
 (0)