git-digger 1.5.11 → 1.5.13

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/kotlin/bin/digger CHANGED
File without changes
@@ -528,4 +528,4 @@
528
528
  return _;
529
529
  }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./tools-digger-core.js'), require('./tools-git-adapter.js'), require('./clikt-clikt.js'), require('./tools-digger-json.js'), require('./tools-cli-tools.js')));
530
530
 
531
- //# sourceMappingURL=tools-digger-cli.js.map
531
+ //# sourceMappingURL=command-line-tools-digger-cli.js.map
@@ -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.log2 === 'undefined') {
36
+ Math.log2 = function (x) {
37
+ return Math.log(x) * Math.LOG2E;
38
+ };
39
+ }
35
40
  if (typeof Math.clz32 === 'undefined') {
36
41
  Math.clz32 = function (log, LN2) {
37
42
  return function (x) {
@@ -48,10 +53,11 @@ if (typeof Math.log10 === 'undefined') {
48
53
  return Math.log(x) * Math.LOG10E;
49
54
  };
50
55
  }
51
- if (typeof Math.log2 === 'undefined') {
52
- Math.log2 = function (x) {
53
- return Math.log(x) * Math.LOG2E;
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;