@wavemaker/angular-app 11.16.0-rc.647821 → 11.16.1-rc.270

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.
@@ -47860,7 +47860,7 @@ function requireMomentTimezone () {
47860
47860
  hasRequiredMomentTimezone = 1;
47861
47861
  (function (module) {
47862
47862
  //! moment-timezone.js
47863
- //! version : 0.6.5
47863
+ //! version : 0.6.6
47864
47864
  //! Copyright (c) JS Foundation and other contributors
47865
47865
  //! license : MIT
47866
47866
  //! github.com/moment/moment-timezone
@@ -47886,7 +47886,7 @@ function requireMomentTimezone () {
47886
47886
  // return moment;
47887
47887
  // }
47888
47888
 
47889
- var VERSION = "0.6.5",
47889
+ var VERSION = "0.6.6",
47890
47890
  zones = {},
47891
47891
  links = {},
47892
47892
  countries = {},
@@ -48125,6 +48125,10 @@ function requireMomentTimezone () {
48125
48125
  Current Timezone
48126
48126
  ************************************/
48127
48127
 
48128
+ function hasOwnProp(a, b) {
48129
+ return Object.prototype.hasOwnProperty.call(a, b);
48130
+ }
48131
+
48128
48132
  function OffsetAt(at) {
48129
48133
  var timeString = at.toTimeString();
48130
48134
  var abbr = timeString.match(/\([a-z ]+\)/i);
@@ -48237,12 +48241,12 @@ function requireMomentTimezone () {
48237
48241
 
48238
48242
  for (i = 0; i < offsetsLength; i++) {
48239
48243
  offset = offsets[i].offset;
48240
- if (checkedOffsets.hasOwnProperty(offset)) {
48244
+ if (hasOwnProp(checkedOffsets, offset)) {
48241
48245
  continue;
48242
48246
  }
48243
48247
  guessesOffset = guesses[offset] || {};
48244
48248
  for (j in guessesOffset) {
48245
- if (guessesOffset.hasOwnProperty(j)) {
48249
+ if (hasOwnProp(guessesOffset, j)) {
48246
48250
  filteredGuesses[j] = true;
48247
48251
  }
48248
48252
  }
@@ -48250,7 +48254,7 @@ function requireMomentTimezone () {
48250
48254
  }
48251
48255
 
48252
48256
  for (i in filteredGuesses) {
48253
- if (filteredGuesses.hasOwnProperty(i)) {
48257
+ if (hasOwnProp(filteredGuesses, i)) {
48254
48258
  out.push(names[i]);
48255
48259
  }
48256
48260
  }
@@ -48305,7 +48309,7 @@ function requireMomentTimezone () {
48305
48309
  ************************************/
48306
48310
 
48307
48311
  function normalizeName (name) {
48308
- return (name || '').toLowerCase().replace(/\//g, '_');
48312
+ return (typeof name === 'string' ? name : '').toLowerCase().replace(/\//g, '_');
48309
48313
  }
48310
48314
 
48311
48315
  function addZone (packed) {
@@ -48329,7 +48333,7 @@ function requireMomentTimezone () {
48329
48333
 
48330
48334
  name = normalizeName(name);
48331
48335
 
48332
- var zone = zones[name];
48336
+ var zone = hasOwnProp(zones, name) ? zones[name] : undefined;
48333
48337
  var link;
48334
48338
 
48335
48339
  if (zone instanceof Zone) {
@@ -48343,7 +48347,7 @@ function requireMomentTimezone () {
48343
48347
  }
48344
48348
 
48345
48349
  // Pass getZone to prevent recursion more than 1 level deep
48346
- if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
48350
+ if (hasOwnProp(links, name) && caller !== getZone && (link = getZone(links[name], getZone))) {
48347
48351
  zone = zones[name] = new Zone();
48348
48352
  zone._set(link);
48349
48353
  zone.name = names[name];
@@ -48357,7 +48361,7 @@ function requireMomentTimezone () {
48357
48361
  var i, out = [];
48358
48362
 
48359
48363
  for (i in names) {
48360
- if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
48364
+ if (hasOwnProp(names, i) && (zones[i] || zones[links[i]]) && names[i]) {
48361
48365
  out.push(names[i]);
48362
48366
  }
48363
48367
  }
@@ -48405,8 +48409,9 @@ function requireMomentTimezone () {
48405
48409
  }
48406
48410
 
48407
48411
  function getCountry (name) {
48412
+ if (typeof name !== 'string') return null;
48408
48413
  name = name.toUpperCase();
48409
- return countries[name] || null;
48414
+ return hasOwnProp(countries, name) ? countries[name] : null;
48410
48415
  }
48411
48416
 
48412
48417
  function zonesForCountry(country, with_offset) {
@@ -48459,7 +48464,7 @@ function requireMomentTimezone () {
48459
48464
  return Object.getOwnPropertyNames(input).length > 0;
48460
48465
  }
48461
48466
  for (prop in input) {
48462
- if (Object.prototype.hasOwnProperty.call(input, prop)) {
48467
+ if (hasOwnProp(input, prop)) {
48463
48468
  return true;
48464
48469
  }
48465
48470
  }