git-semver-tagger 2.2.5 → 2.3.1

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.
@@ -222,8 +222,8 @@
222
222
  initMetadataForClass(ComposerWithPrettyPrint, 'ComposerWithPrettyPrint', VOID, Composer);
223
223
  initMetadataForClass(JsonElementMarker, 'JsonElementMarker');
224
224
  initMetadataForClass(JsonException, 'JsonException', VOID, SerializationException);
225
- initMetadataForClass(JsonDecodingException, 'JsonDecodingException', VOID, JsonException);
226
225
  initMetadataForClass(JsonEncodingException, 'JsonEncodingException', VOID, JsonException);
226
+ initMetadataForClass(JsonDecodingException, 'JsonDecodingException', VOID, JsonException);
227
227
  initMetadataForObject(Tombstone, 'Tombstone');
228
228
  initMetadataForClass(JsonPath, 'JsonPath', JsonPath);
229
229
  initMetadataForClass(JsonSerializersModuleValidator, 'JsonSerializersModuleValidator', VOID, VOID, [SerializersModuleCollector]);
@@ -637,6 +637,24 @@
637
637
  new JsonNull();
638
638
  return JsonNull_instance;
639
639
  }
640
+ function JsonPrimitive_0(value) {
641
+ _init_properties_JsonElement_kt__7cbdc2();
642
+ if (value == null)
643
+ return JsonNull_getInstance();
644
+ return new JsonLiteral(value, false);
645
+ }
646
+ function JsonPrimitive_1(value) {
647
+ _init_properties_JsonElement_kt__7cbdc2();
648
+ if (value == null)
649
+ return JsonNull_getInstance();
650
+ return new JsonLiteral(value, false);
651
+ }
652
+ function JsonPrimitive_2(value) {
653
+ _init_properties_JsonElement_kt__7cbdc2();
654
+ if (value == null)
655
+ return JsonNull_getInstance();
656
+ return new JsonLiteral(value, true);
657
+ }
640
658
  function JsonLiteral(body, isString, coerceToInlineType) {
641
659
  coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
642
660
  JsonPrimitive.call(this);
@@ -686,24 +704,6 @@
686
704
  result = imul(31, result) + getStringHashCode(this.l2d_1) | 0;
687
705
  return result;
688
706
  };
689
- function JsonPrimitive_0(value) {
690
- _init_properties_JsonElement_kt__7cbdc2();
691
- if (value == null)
692
- return JsonNull_getInstance();
693
- return new JsonLiteral(value, false);
694
- }
695
- function JsonPrimitive_1(value) {
696
- _init_properties_JsonElement_kt__7cbdc2();
697
- if (value == null)
698
- return JsonNull_getInstance();
699
- return new JsonLiteral(value, false);
700
- }
701
- function JsonPrimitive_2(value) {
702
- _init_properties_JsonElement_kt__7cbdc2();
703
- if (value == null)
704
- return JsonNull_getInstance();
705
- return new JsonLiteral(value, true);
706
- }
707
707
  function get_booleanOrNull(_this__u8e3s4) {
708
708
  _init_properties_JsonElement_kt__7cbdc2();
709
709
  return toBooleanStrictOrNull_0(_this__u8e3s4.g2d());
@@ -1309,13 +1309,6 @@
1309
1309
  protoOf(JsonElementMarker).o2f = function () {
1310
1310
  return this.l2f_1.by();
1311
1311
  };
1312
- function JsonDecodingException(message) {
1313
- JsonException.call(this, message);
1314
- captureStack(this, JsonDecodingException);
1315
- }
1316
- function JsonDecodingException_0(offset, message, input) {
1317
- return JsonDecodingException_1(offset, message + '\nJSON input: ' + toString(minify(input, offset)));
1318
- }
1319
1312
  function invalidTrailingComma(_this__u8e3s4, entity) {
1320
1313
  entity = entity === VOID ? 'object' : entity;
1321
1314
  _this__u8e3s4.p2f('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.l2b_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
@@ -1333,6 +1326,13 @@
1333
1326
  function InvalidFloatingPointEncoded(value, key, output) {
1334
1327
  return new JsonEncodingException(unexpectedFpErrorMessage(value, key, output));
1335
1328
  }
1329
+ function JsonDecodingException(message) {
1330
+ JsonException.call(this, message);
1331
+ captureStack(this, JsonDecodingException);
1332
+ }
1333
+ function JsonDecodingException_0(offset, message, input) {
1334
+ return JsonDecodingException_1(offset, message + '\nJSON input: ' + toString(minify(input, offset)));
1335
+ }
1336
1336
  function InvalidFloatingPointDecoded(value, key, output) {
1337
1337
  return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
1338
1338
  }
@@ -1360,6 +1360,9 @@
1360
1360
  var endIndex_0 = coerceAtMost(end, charSequenceLength(_this__u8e3s4));
1361
1361
  return prefix + toString(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex_0)) + suffix;
1362
1362
  }
1363
+ function InvalidFloatingPointEncoded_0(value, output) {
1364
+ return new JsonEncodingException('Unexpected special floating-point value ' + toString(value) + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output))));
1365
+ }
1363
1366
  function JsonException(message) {
1364
1367
  SerializationException_init_$Init$(message, this);
1365
1368
  captureStack(this, JsonException);
@@ -1367,9 +1370,6 @@
1367
1370
  function unexpectedFpErrorMessage(value, key, output) {
1368
1371
  return 'Unexpected special floating-point value ' + toString(value) + ' with key ' + key + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output)));
1369
1372
  }
1370
- function InvalidFloatingPointEncoded_0(value, output) {
1371
- return new JsonEncodingException('Unexpected special floating-point value ' + toString(value) + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output))));
1372
- }
1373
1373
  function get_JsonDeserializationNamesKey() {
1374
1374
  _init_properties_JsonNamesMap_kt__cbbp0k();
1375
1375
  return JsonDeserializationNamesKey;