You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pi0
changed the title
Update for upstream changes for resolve implementation
Update for Node.js upstream changes for resolve implementation
Jan 5, 2023
Quickly comparing commits, it includes some refactors, regex fixes, slash handling changes that we probably already covered some, prototype pollution, and experimental https support.
I think firstly we can consider regex and prototype fixes and then redo the treeshake from latest source code rather than porting individual commits one by one.
Implementation of resolver is based on import-meta-resolve based on Node.js code at https://github.com/nodejs/node/blob/89f592c/lib/internal/modules/esm/resolve.js. Latest changes might need to be applied https://github.com/nodejs/node/blob/main/lib/internal/modules/esm/resolve.js into https://github.com/unjs/mlly/blob/main/lib/import-meta-resolve/resolve.js and probably wooorm/import-meta-resolve#11
The text was updated successfully, but these errors were encountered: