git-digger 1.2.32 → 1.2.34

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.
@@ -330,7 +330,7 @@
330
330
  return tmp;
331
331
  }
332
332
  setMetadataFor(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', interfaceMeta, VOID, [WithUtcOffset]);
333
- setMetadataFor(Builder, 'Builder', classMeta, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
333
+ setMetadataFor(Builder, 'Builder', classMeta, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithTime, WithDate]);
334
334
  setMetadataFor(AbstractDateTimeFormat, 'AbstractDateTimeFormat', classMeta);
335
335
  setMetadataFor(DateTimeComponentsFormat, 'DateTimeComponentsFormat', classMeta, AbstractDateTimeFormat);
336
336
  setMetadataFor(TwoDigitNumber, 'TwoDigitNumber', classMeta);
@@ -32,6 +32,11 @@ if (typeof Array.prototype.fill === 'undefined') {
32
32
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
33
33
  }
34
34
  });
35
+ if (typeof Math.log10 === 'undefined') {
36
+ Math.log10 = function (x) {
37
+ return Math.log(x) * Math.LOG10E;
38
+ };
39
+ }
35
40
  if (typeof Math.log2 === 'undefined') {
36
41
  Math.log2 = function (x) {
37
42
  return Math.log(x) * Math.LOG2E;
@@ -48,10 +53,11 @@ if (typeof Math.clz32 === 'undefined') {
48
53
  };
49
54
  }(Math.log, Math.LN2);
50
55
  }
51
- if (typeof Math.log10 === 'undefined') {
52
- Math.log10 = function (x) {
53
- return Math.log(x) * Math.LOG10E;
54
- };
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
+ }});
55
61
  }
56
62
  if (typeof String.prototype.endsWith === 'undefined') {
57
63
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -64,12 +70,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
64
70
  return lastIndex !== -1 && lastIndex === position;
65
71
  }});
66
72
  }
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;