@stemy/ngx-utils 13.0.5 → 13.0.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.
@@ -13,6 +13,7 @@ import * as i1 from 'ngx-device-detector';
13
13
  import { DeviceDetectorService } from 'ngx-device-detector';
14
14
  import * as i1$1 from '@angular/common/http';
15
15
  import { HttpClient, HttpHeaders, HttpParams, HttpUrlEncodingCodec, HttpEventType } from '@angular/common/http';
16
+ import * as JSON5 from 'json5';
16
17
  import * as i1$2 from '@angular/platform-browser';
17
18
  import { ɵDomEventsPlugin, EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';
18
19
  import { addListener, removeListener } from 'resize-detector';
@@ -2524,7 +2525,7 @@ class ConfigService {
2524
2525
  const configUrl = this.configUrl;
2525
2526
  try {
2526
2527
  const config5 = await this.http.get(isDevMode() ? `${configUrl}5` : configUrl, { responseType: "text" }).toPromise();
2527
- return require("json5").parse(config5);
2528
+ return JSON5.parse(config5);
2528
2529
  }
2529
2530
  catch (e) {
2530
2531
  try {