@marko/language-server 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -3
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1354,12 +1354,13 @@ function patch(ts2, configFile, extractCache2, resolutionCache, host, ps) {
|
|
|
1354
1354
|
resolvedFileName = import_path6.default.resolve(containingFile, "..", moduleName);
|
|
1355
1355
|
} else {
|
|
1356
1356
|
const [, nodeModuleName, relativeModulePath] = modulePartsReg.exec(moduleName);
|
|
1357
|
-
const { resolvedModule } = ts2.
|
|
1358
|
-
`${nodeModuleName}/
|
|
1357
|
+
const { resolvedModule } = ts2.nodeModuleNameResolver(
|
|
1358
|
+
`${nodeModuleName}/package.json`,
|
|
1359
1359
|
containingFile,
|
|
1360
1360
|
options,
|
|
1361
1361
|
host,
|
|
1362
|
-
resolutionCache
|
|
1362
|
+
resolutionCache,
|
|
1363
|
+
redirectedReference
|
|
1363
1364
|
);
|
|
1364
1365
|
if (resolvedModule) {
|
|
1365
1366
|
resolvedFileName = import_path6.default.join(
|