@onecx/integration-interface 8.5.0 → 8.6.1
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.cjs +4 -5
- package/dist/index.mjs +4 -5
- package/package.json +2 -2
- package/src/version.d.ts +1 -1
- package/src/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -483,17 +483,15 @@ function getOneCXSharedRecommendations(libraryName, sharedConfig) {
|
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
// libs/accelerator/src/lib/utils/get-onecx-shared-library-config.ts
|
|
486
|
-
|
|
486
|
+
function getNodeRequire() {
|
|
487
487
|
try {
|
|
488
488
|
if (typeof process !== "undefined" && process?.versions?.node) {
|
|
489
489
|
return eval("require");
|
|
490
|
-
} else {
|
|
491
|
-
throw new Error("Node.js environment is required for dynamic require.");
|
|
492
490
|
}
|
|
493
491
|
} catch {
|
|
494
|
-
throw new Error("Node.js environment is required for dynamic require.");
|
|
495
492
|
}
|
|
496
|
-
|
|
493
|
+
return null;
|
|
494
|
+
}
|
|
497
495
|
var angularCore = "@angular/core";
|
|
498
496
|
var EXPORTS_BLACKLIST = [".", "./package.json"];
|
|
499
497
|
var DEFAULT_DEPENDENCY_BLACKLIST = [
|
|
@@ -535,6 +533,7 @@ function isDependencyBlacklisted(dependency) {
|
|
|
535
533
|
});
|
|
536
534
|
}
|
|
537
535
|
function readDependencyPackageJson(dependency) {
|
|
536
|
+
const nodeRequire = getNodeRequire();
|
|
538
537
|
if (!nodeRequire) return null;
|
|
539
538
|
let packagePath;
|
|
540
539
|
try {
|
package/dist/index.mjs
CHANGED
|
@@ -392,17 +392,15 @@ function getOneCXSharedRecommendations(libraryName, sharedConfig) {
|
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
// libs/accelerator/src/lib/utils/get-onecx-shared-library-config.ts
|
|
395
|
-
|
|
395
|
+
function getNodeRequire() {
|
|
396
396
|
try {
|
|
397
397
|
if (typeof process !== "undefined" && process?.versions?.node) {
|
|
398
398
|
return eval("require");
|
|
399
|
-
} else {
|
|
400
|
-
throw new Error("Node.js environment is required for dynamic require.");
|
|
401
399
|
}
|
|
402
400
|
} catch {
|
|
403
|
-
throw new Error("Node.js environment is required for dynamic require.");
|
|
404
401
|
}
|
|
405
|
-
|
|
402
|
+
return null;
|
|
403
|
+
}
|
|
406
404
|
var angularCore = "@angular/core";
|
|
407
405
|
var EXPORTS_BLACKLIST = [".", "./package.json"];
|
|
408
406
|
var DEFAULT_DEPENDENCY_BLACKLIST = [
|
|
@@ -444,6 +442,7 @@ function isDependencyBlacklisted(dependency) {
|
|
|
444
442
|
});
|
|
445
443
|
}
|
|
446
444
|
function readDependencyPackageJson(dependency) {
|
|
445
|
+
const nodeRequire = getNodeRequire();
|
|
447
446
|
if (!nodeRequire) return null;
|
|
448
447
|
let packagePath;
|
|
449
448
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/integration-interface",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"rxjs": "^7.8.1",
|
|
11
|
-
"@onecx/accelerator": "^8.
|
|
11
|
+
"@onecx/accelerator": "^8.6.1"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"dependencies": {
|
package/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const LIB_NAME = "@onecx/integration-interface";
|
|
2
|
-
export declare const LIB_VERSION = "8.
|
|
2
|
+
export declare const LIB_VERSION = "8.6.1";
|
package/src/version.js
CHANGED