git-digger 1.2.2 → 1.2.4

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.
@@ -278,7 +278,7 @@
278
278
  function addFormatStructureForTime(structure) {
279
279
  this.lw(structure);
280
280
  }
281
- setMetadataFor(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', interfaceMeta, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
281
+ setMetadataFor(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', interfaceMeta, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
282
282
  function offsetHours$default(padding, $super) {
283
283
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
284
284
  var tmp;
@@ -331,7 +331,7 @@
331
331
  return tmp;
332
332
  }
333
333
  setMetadataFor(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', interfaceMeta, VOID, [WithUtcOffset]);
334
- setMetadataFor(Builder, 'Builder', classMeta, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset, WithDate]);
334
+ setMetadataFor(Builder, 'Builder', classMeta, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
335
335
  setMetadataFor(AbstractDateTimeFormat, 'AbstractDateTimeFormat', classMeta);
336
336
  setMetadataFor(DateTimeComponentsFormat, 'DateTimeComponentsFormat', classMeta, AbstractDateTimeFormat);
337
337
  setMetadataFor(TwoDigitNumber, 'TwoDigitNumber', classMeta);
@@ -43,21 +43,15 @@ if (typeof Math.clz32 === 'undefined') {
43
43
  };
44
44
  }(Math.log, Math.LN2);
45
45
  }
46
- if (typeof Math.log2 === 'undefined') {
47
- Math.log2 = function (x) {
48
- return Math.log(x) * Math.LOG2E;
49
- };
50
- }
51
46
  if (typeof Math.log10 === 'undefined') {
52
47
  Math.log10 = function (x) {
53
48
  return Math.log(x) * Math.LOG10E;
54
49
  };
55
50
  }
56
- if (typeof String.prototype.startsWith === 'undefined') {
57
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
58
- position = position || 0;
59
- return this.lastIndexOf(searchString, position) === position;
60
- }});
51
+ if (typeof Math.log2 === 'undefined') {
52
+ Math.log2 = function (x) {
53
+ return Math.log(x) * Math.LOG2E;
54
+ };
61
55
  }
62
56
  if (typeof String.prototype.endsWith === 'undefined') {
63
57
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -70,6 +64,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
70
64
  return lastIndex !== -1 && lastIndex === position;
71
65
  }});
72
66
  }
67
+ if (typeof String.prototype.startsWith === 'undefined') {
68
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
+ position = position || 0;
70
+ return this.lastIndexOf(searchString, position) === position;
71
+ }});
72
+ }
73
73
  if (typeof Math.imul === 'undefined') {
74
74
  Math.imul = function imul(a, b) {
75
75
  return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;