1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00

fix(ext/node): add findSourceMap to the default export of node:module (#26720)

Next.js 15.0.2 tries to use this and errors out
This commit is contained in:
Nathan Whitaker 2024-11-04 13:08:29 -08:00 committed by Bartek Iwańczuk
parent ee09d24ad2
commit 331f101279
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -1312,6 +1312,8 @@ export function findSourceMap(_path) {
return undefined; return undefined;
} }
Module.findSourceMap = findSourceMap;
/** /**
* @param {string | URL} _specifier * @param {string | URL} _specifier
* @param {string | URL} _parentUrl * @param {string | URL} _parentUrl