@ceon-oy/monitor-sdk 1.0.4 → 1.0.5
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 +1 -1
- package/dist/index.mjs +1 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -569,7 +569,7 @@ var MonitorClient = class {
|
|
|
569
569
|
let path;
|
|
570
570
|
let fs;
|
|
571
571
|
try {
|
|
572
|
-
const _require =
|
|
572
|
+
const _require = eval("require");
|
|
573
573
|
execSync = _require("child_process").execSync;
|
|
574
574
|
path = _require("path");
|
|
575
575
|
fs = _require("fs");
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
-
}) : x)(function(x) {
|
|
4
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
5
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
|
-
});
|
|
7
|
-
|
|
8
1
|
// src/MonitorClient.ts
|
|
9
2
|
var MonitorClient = class {
|
|
10
3
|
constructor(config) {
|
|
@@ -540,7 +533,7 @@ var MonitorClient = class {
|
|
|
540
533
|
let path;
|
|
541
534
|
let fs;
|
|
542
535
|
try {
|
|
543
|
-
const _require =
|
|
536
|
+
const _require = eval("require");
|
|
544
537
|
execSync = _require("child_process").execSync;
|
|
545
538
|
path = _require("path");
|
|
546
539
|
fs = _require("fs");
|
package/package.json
CHANGED