-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: bump @metamask/providers
to ^17.2.0
#27049
Changes from 6 commits
c2ab0db
26c9dae
79642c4
1374c7f
03d402f
32a30e1
d7c0512
cbda740
375d390
48dd437
dddf498
80dc1e5
71c801f
1c0282a
17c36d0
9de1ea4
9d33738
77b6e4e
dd44d55
2c4af5d
cf3132e
640d766
4062d54
cac5cf0
ab43fd0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these changes probably should be moved into a separate PR |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,10 @@ const schema = { | |
default: false, | ||
type: 'boolean', | ||
}, | ||
importAssertions: { | ||
default: false, | ||
type: 'boolean', | ||
} | ||
}, | ||
additionalProperties: false, | ||
required: ['syntax'], | ||
|
@@ -123,12 +127,26 @@ const schema = { | |
default: false, | ||
type: 'boolean', | ||
}, | ||
importAssertions: { | ||
default: false, | ||
type: 'boolean', | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. DRY this |
||
}, | ||
additionalProperties: false, | ||
required: ['syntax'], | ||
}, | ||
], | ||
}, | ||
experimental: { | ||
description: 'TODO', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fix this |
||
type: 'object', | ||
properties: { | ||
keepImportAttributes: { | ||
type: 'boolean', | ||
default: false, | ||
}, | ||
}, | ||
}, | ||
}, | ||
additionalProperties: false, | ||
}, | ||
|
@@ -201,7 +219,11 @@ export function getSwcLoader( | |
parser: { | ||
syntax, | ||
[syntax === 'typescript' ? 'tsx' : 'jsx']: enableJsx, | ||
importAssertions: true | ||
}, | ||
experimental: { | ||
keepImportAttributes: false | ||
} | ||
}, | ||
} as const satisfies SwcLoaderOptions, | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relevant: MetaMask/snaps#2445 (comment)