git-semver-tagger 1.7.29 → 1.7.30
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.
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
function addFormatStructureForTime(structure) {
|
|
307
307
|
this.o1a(structure);
|
|
308
308
|
}
|
|
309
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
309
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
310
310
|
function offsetHours$default(padding, $super) {
|
|
311
311
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
312
312
|
var tmp;
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
return tmp;
|
|
360
360
|
}
|
|
361
361
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
362
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
362
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithUtcOffset, WithTime]);
|
|
363
363
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
364
364
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
365
365
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
|
@@ -53,6 +53,12 @@ if (typeof Math.log2 === 'undefined') {
|
|
|
53
53
|
return Math.log(x) * Math.LOG2E;
|
|
54
54
|
};
|
|
55
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
|
+
}
|
|
56
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
64
|
var subjectString = this.toString();
|
|
@@ -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
|
//endregion
|
|
74
74
|
(function (_) {
|
|
75
75
|
'use strict';
|