dytools-capture-engine 1.2.5 → 1.2.6
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 +0 -8
- package/dist/index.js +0 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -356,10 +356,6 @@ var CaptureZoneBase = class {
|
|
|
356
356
|
set filterRegex(value) {
|
|
357
357
|
if (value === this._filterRegex) return;
|
|
358
358
|
if ((value === void 0 || value === null || value === "") && (this._filterRegex === void 0 || this._filterRegex === null || this._filterRegex === "")) return;
|
|
359
|
-
if (!this.isValidRegex(value)) {
|
|
360
|
-
console.error(`Invalid filter regex: ${value}`);
|
|
361
|
-
return;
|
|
362
|
-
}
|
|
363
359
|
const oldFilterRegex = this._filterRegex;
|
|
364
360
|
this._filterRegex = value;
|
|
365
361
|
this.emitZoneEvent(CaptureZoneEventType.ZoneFilterRegexChanged, { oldFilterRegex, newFilterRegex: value });
|
|
@@ -370,10 +366,6 @@ var CaptureZoneBase = class {
|
|
|
370
366
|
set outputRegex(value) {
|
|
371
367
|
if (value === this._outputRegex) return;
|
|
372
368
|
if ((value === void 0 || value === null || value === "") && (this._outputRegex === void 0 || this._outputRegex === null || this._outputRegex === "")) return;
|
|
373
|
-
if (!this.isValidRegex(value)) {
|
|
374
|
-
console.error(`Invalid output regex: ${value}`);
|
|
375
|
-
return;
|
|
376
|
-
}
|
|
377
369
|
const oldOutputRegex = this._outputRegex;
|
|
378
370
|
this._outputRegex = value;
|
|
379
371
|
this.emitZoneEvent(CaptureZoneEventType.ZoneOutputRegexChanged, { oldOutputRegex, newOutputRegex: value });
|
package/dist/index.js
CHANGED
|
@@ -340,10 +340,6 @@ var CaptureZoneBase = class {
|
|
|
340
340
|
set filterRegex(value) {
|
|
341
341
|
if (value === this._filterRegex) return;
|
|
342
342
|
if ((value === void 0 || value === null || value === "") && (this._filterRegex === void 0 || this._filterRegex === null || this._filterRegex === "")) return;
|
|
343
|
-
if (!this.isValidRegex(value)) {
|
|
344
|
-
console.error(`Invalid filter regex: ${value}`);
|
|
345
|
-
return;
|
|
346
|
-
}
|
|
347
343
|
const oldFilterRegex = this._filterRegex;
|
|
348
344
|
this._filterRegex = value;
|
|
349
345
|
this.emitZoneEvent(CaptureZoneEventType.ZoneFilterRegexChanged, { oldFilterRegex, newFilterRegex: value });
|
|
@@ -354,10 +350,6 @@ var CaptureZoneBase = class {
|
|
|
354
350
|
set outputRegex(value) {
|
|
355
351
|
if (value === this._outputRegex) return;
|
|
356
352
|
if ((value === void 0 || value === null || value === "") && (this._outputRegex === void 0 || this._outputRegex === null || this._outputRegex === "")) return;
|
|
357
|
-
if (!this.isValidRegex(value)) {
|
|
358
|
-
console.error(`Invalid output regex: ${value}`);
|
|
359
|
-
return;
|
|
360
|
-
}
|
|
361
353
|
const oldOutputRegex = this._outputRegex;
|
|
362
354
|
this._outputRegex = value;
|
|
363
355
|
this.emitZoneEvent(CaptureZoneEventType.ZoneOutputRegexChanged, { oldOutputRegex, newOutputRegex: value });
|