qcobjects 2.5.139-beta → 2.5.141-beta
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/VERSION +1 -1
- package/build/findPackageNodePath.js +5 -3
- package/build/index.cjs +1 -1
- package/package.json +1 -1
- package/public/browser/QCObjects.js +3 -3
- package/public/browser/QCObjects.js.map +3 -3
- package/public/cjs/index.cjs +3 -3
- package/public/cjs/index.cjs.map +3 -3
- package/public/esm/index.mjs +1 -1
- package/public/esm/index.mjs.map +2 -2
- package/public/types/index.d.ts.map +1 -1
- package/src/findPackageNodePath.ts +0 -1
- package/src/index.cts +1 -1
package/public/cjs/index.cjs
CHANGED
|
@@ -4021,7 +4021,7 @@ var init_defaultProcessors = __esm({
|
|
|
4021
4021
|
});
|
|
4022
4022
|
|
|
4023
4023
|
// src/findPackageNodePath.ts
|
|
4024
|
-
var findPackageNodePath;
|
|
4024
|
+
var import_node_fs, findPackageNodePath;
|
|
4025
4025
|
var init_findPackageNodePath = __esm({
|
|
4026
4026
|
"src/findPackageNodePath.ts"() {
|
|
4027
4027
|
"use strict";
|
|
@@ -4029,10 +4029,10 @@ var init_findPackageNodePath = __esm({
|
|
|
4029
4029
|
init_Export();
|
|
4030
4030
|
init_Logger();
|
|
4031
4031
|
init_platform();
|
|
4032
|
+
import_node_fs = __toESM(require("node:fs"));
|
|
4032
4033
|
findPackageNodePath = /* @__PURE__ */ __name(function(packagename) {
|
|
4033
4034
|
let sdkPath = null;
|
|
4034
4035
|
if (!isBrowser) {
|
|
4035
|
-
const fs = require("fs");
|
|
4036
4036
|
try {
|
|
4037
4037
|
let sdkPaths = [
|
|
4038
4038
|
`${CONFIG.get("projectPath")}${CONFIG.get("relativeImportPath")}`,
|
|
@@ -4049,7 +4049,7 @@ var init_findPackageNodePath = __esm({
|
|
|
4049
4049
|
""
|
|
4050
4050
|
].concat(module.paths);
|
|
4051
4051
|
sdkPaths = sdkPaths.filter((p) => {
|
|
4052
|
-
return
|
|
4052
|
+
return import_node_fs.default.existsSync(p + "/" + packagename);
|
|
4053
4053
|
});
|
|
4054
4054
|
if (sdkPaths.length > 0) {
|
|
4055
4055
|
sdkPath = sdkPaths[0];
|