@resourcexjs/core 2.17.1 → 2.17.2
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 +3 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15160,7 +15160,8 @@ class NpmSourceLoader {
|
|
|
15160
15160
|
return { source, files: rxs.files };
|
|
15161
15161
|
}
|
|
15162
15162
|
resolvePackageDir(packageName) {
|
|
15163
|
-
const
|
|
15163
|
+
const entry = globalThis.Bun?.main ?? process.argv[1] ?? join3(process.cwd(), "noop.js");
|
|
15164
|
+
const parent = pathToFileURL(entry).href;
|
|
15164
15165
|
try {
|
|
15165
15166
|
const url2 = import.meta.resolve(`${packageName}/package.json`, parent);
|
|
15166
15167
|
return dirname(fileURLToPath(url2));
|
|
@@ -15997,4 +15998,4 @@ export {
|
|
|
15997
15998
|
CASRegistry
|
|
15998
15999
|
};
|
|
15999
16000
|
|
|
16000
|
-
//# debugId=
|
|
16001
|
+
//# debugId=124BD7881166D2C664756E2164756E21
|