cddl 0.14.3 → 0.14.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cddl",
3
- "version": "0.14.3",
3
+ "version": "0.14.4",
4
4
  "description": "Concise data definition language (RFC 8610) implementation and JSON validator in Node.js",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "license": "MIT",
@@ -15656,19 +15656,9 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15656
15656
  },
15657
15657
  "Type": [
15658
15658
  {
15659
- "Operator": {
15660
- "Type": "default",
15661
- "Value": {
15662
- "Type": "literal",
15663
- "Unwrapped": false,
15664
- "Value": 1,
15665
- },
15666
- },
15667
- "Type": {
15668
- "Type": "group",
15669
- "Unwrapped": false,
15670
- "Value": "js-uint",
15671
- },
15659
+ "Type": "group",
15660
+ "Unwrapped": false,
15661
+ "Value": "js-uint",
15672
15662
  },
15673
15663
  ],
15674
15664
  },
@@ -15682,19 +15672,9 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15682
15672
  },
15683
15673
  "Type": [
15684
15674
  {
15685
- "Operator": {
15686
- "Type": "default",
15687
- "Value": {
15688
- "Type": "literal",
15689
- "Unwrapped": false,
15690
- "Value": 1,
15691
- },
15692
- },
15693
- "Type": {
15694
- "Type": "group",
15695
- "Unwrapped": false,
15696
- "Value": "js-uint",
15697
- },
15675
+ "Type": "group",
15676
+ "Unwrapped": false,
15677
+ "Value": "js-uint",
15698
15678
  },
15699
15679
  ],
15700
15680
  },
@@ -15708,15 +15688,23 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15708
15688
  },
15709
15689
  "Type": [
15710
15690
  {
15711
- "Operator": {
15712
- "Type": "default",
15691
+ "Type": {
15692
+ "Type": "range",
15693
+ "Unwrapped": false,
15713
15694
  "Value": {
15714
- "Type": "literal",
15715
- "Unwrapped": false,
15716
- "Value": 0,
15695
+ "Inclusive": true,
15696
+ "Max": {
15697
+ "Type": "literal",
15698
+ "Unwrapped": false,
15699
+ "Value": 1,
15700
+ },
15701
+ "Min": {
15702
+ "Type": "literal",
15703
+ "Unwrapped": false,
15704
+ "Value": 0,
15705
+ },
15717
15706
  },
15718
15707
  },
15719
- "Type": "float",
15720
15708
  },
15721
15709
  ],
15722
15710
  },
@@ -15730,15 +15718,23 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15730
15718
  },
15731
15719
  "Type": [
15732
15720
  {
15733
- "Operator": {
15734
- "Type": "default",
15721
+ "Type": {
15722
+ "Type": "range",
15723
+ "Unwrapped": false,
15735
15724
  "Value": {
15736
- "Type": "literal",
15737
- "Unwrapped": false,
15738
- "Value": 0,
15725
+ "Inclusive": true,
15726
+ "Max": {
15727
+ "Type": "literal",
15728
+ "Unwrapped": false,
15729
+ "Value": 1,
15730
+ },
15731
+ "Min": {
15732
+ "Type": "literal",
15733
+ "Unwrapped": false,
15734
+ "Value": -1,
15735
+ },
15739
15736
  },
15740
15737
  },
15741
- "Type": "float",
15742
15738
  },
15743
15739
  ],
15744
15740
  },
@@ -15756,14 +15752,6 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15756
15752
  "m": Infinity,
15757
15753
  "n": 0,
15758
15754
  },
15759
- "Operator": {
15760
- "Type": "default",
15761
- "Value": {
15762
- "Type": "literal",
15763
- "Unwrapped": false,
15764
- "Value": 0,
15765
- },
15766
- },
15767
15755
  "Type": [
15768
15756
  {
15769
15757
  "Type": {
@@ -15800,14 +15788,6 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15800
15788
  "m": Infinity,
15801
15789
  "n": 0,
15802
15790
  },
15803
- "Operator": {
15804
- "Type": "default",
15805
- "Value": {
15806
- "Type": "literal",
15807
- "Unwrapped": false,
15808
- "Value": 0,
15809
- },
15810
- },
15811
15791
  "Type": [
15812
15792
  {
15813
15793
  "Type": {
@@ -15838,14 +15818,6 @@ exports[`webdriver remote cddl > can parse remote.cddl 1`] = `
15838
15818
  "m": Infinity,
15839
15819
  "n": 0,
15840
15820
  },
15841
- "Operator": {
15842
- "Type": "default",
15843
- "Value": {
15844
- "Type": "literal",
15845
- "Unwrapped": false,
15846
- "Value": 0,
15847
- },
15848
- },
15849
15821
  "Type": [
15850
15822
  {
15851
15823
  "Type": {