Closed jollytoad closed 5 months ago
I've completely removed fileNamePattern and replaced modulePattern with .+ to allow use of any characters in the module specifier.
fileNamePattern
modulePattern
.+
I've added a bunch of tests for common cases with unusual characters, along with URL, node: & jsr: style imports.
The ECMAScript spec imposes no restrictions on the module specifier string... https://tc39.es/ecma262/#prod-ModuleSpecifier.
Closes #58
This is great @jollytoad ! Thank you for the tests!
Published as v6.8.2
I've completely removed
fileNamePattern
and replacedmodulePattern
with.+
to allow use of any characters in the module specifier.I've added a bunch of tests for common cases with unusual characters, along with URL, node: & jsr: style imports.
The ECMAScript spec imposes no restrictions on the module specifier string... https://tc39.es/ecma262/#prod-ModuleSpecifier.
Closes #58