ngx-bootstrap 1.9.2 → 1.9.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "bundles/ngx-bootstrap.umd.js",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "Native Angular Bootstrap Components",
5
5
  "module": "index.js",
6
6
  "typings": "index.d.ts",
@@ -1,8 +1,8 @@
1
1
  import { isDevMode } from '@angular/core';
2
2
  var _messagesHash = {};
3
- var _hideMsg = !isDevMode() || typeof console === 'undefined' || !console.warn;
3
+ var _hideMsg = typeof console === 'undefined' || !console.warn;
4
4
  export function warnOnce(msg) {
5
- if (_hideMsg || msg in _messagesHash) {
5
+ if (!isDevMode() || _hideMsg || msg in _messagesHash) {
6
6
  return;
7
7
  }
8
8
  _messagesHash[msg] = true;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../.tmp/utils/warn-once.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,IAAM,aAAa,GAA+B,EAAE,CAAC;AACrD,IAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AAEjF,MAAM,mBAAmB,GAAW;IAClC,EAAE,CAAC,CAAC,QAAQ,IAAI,GAAG,IAAI,aAAa,CAAC,CAAC,CAAC;QACrC,MAAM,CAAC;IACT,CAAC;IAED,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAC1B,4BAA4B;IAC5B,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpB,CAAC","file":"warn-once.js","sourceRoot":"","sourcesContent":["import { isDevMode } from '@angular/core';\n\nconst _messagesHash: { [key: string]: boolean } = {};\nconst _hideMsg = !isDevMode() || typeof console === 'undefined' || !console.warn;\n\nexport function warnOnce(msg: string): void {\n if (_hideMsg || msg in _messagesHash) {\n return;\n }\n\n _messagesHash[msg] = true;\n /*tslint:disable-next-line*/\n console.warn(msg);\n}\n"]}
1
+ {"version":3,"sources":["../../.tmp/utils/warn-once.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,IAAM,aAAa,GAA+B,EAAE,CAAC;AACrD,IAAM,QAAQ,GAAG,OAAO,OAAO,KAAK,WAAW,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AAEjE,MAAM,mBAAmB,GAAW;IAClC,EAAE,CAAC,CAAC,CAAC,SAAS,EAAE,IAAI,QAAQ,IAAI,GAAG,IAAI,aAAa,CAAC,CAAC,CAAC;QACrD,MAAM,CAAC;IACT,CAAC;IAED,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAC1B,4BAA4B;IAC5B,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpB,CAAC","file":"warn-once.js","sourceRoot":"","sourcesContent":["import { isDevMode } from '@angular/core';\nconst _messagesHash: { [key: string]: boolean } = {};\nconst _hideMsg = typeof console === 'undefined' || !console.warn;\n\nexport function warnOnce(msg: string): void {\n if (!isDevMode() || _hideMsg || msg in _messagesHash) {\n return;\n }\n\n _messagesHash[msg] = true;\n /*tslint:disable-next-line*/\n console.warn(msg);\n}\n"]}