git-digger 1.7.23 → 1.7.24

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.
@@ -348,7 +348,7 @@
348
348
  return tmp;
349
349
  }
350
350
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
351
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
351
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
352
352
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
353
353
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
354
354
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
package/kotlin/bin/digger CHANGED
File without changes
@@ -38,7 +38,7 @@
38
38
  initMetadataForClass(Digger, 'Digger', Digger, CliktCommand);
39
39
  //endregion
40
40
  function Versions() {
41
- this.n2h_1 = '1.7.23';
41
+ this.n2h_1 = '1.7.24';
42
42
  }
43
43
  var Versions_instance;
44
44
  function Versions_getInstance() {
@@ -37,6 +37,11 @@ if (typeof Array.prototype.fill === 'undefined') {
37
37
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
38
38
  }
39
39
  });
40
+ if (typeof Math.log2 === 'undefined') {
41
+ Math.log2 = function (x) {
42
+ return Math.log(x) * Math.LOG2E;
43
+ };
44
+ }
40
45
  if (typeof Math.clz32 === 'undefined') {
41
46
  Math.clz32 = function (log, LN2) {
42
47
  return function (x) {
@@ -48,17 +53,6 @@ if (typeof Math.clz32 === 'undefined') {
48
53
  };
49
54
  }(Math.log, Math.LN2);
50
55
  }
51
- if (typeof Math.log2 === 'undefined') {
52
- Math.log2 = function (x) {
53
- return Math.log(x) * Math.LOG2E;
54
- };
55
- }
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
- }});
61
- }
62
56
  if (typeof String.prototype.endsWith === 'undefined') {
63
57
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
64
58
  var subjectString = this.toString();
@@ -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
  //endregion
74
74
  (function (_) {
75
75
  'use strict';