jsii-reflect 1.81.0 → 1.83.0

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": "jsii-reflect",
3
- "version": "1.81.0",
3
+ "version": "1.83.0",
4
4
  "description": "strongly-typed reflection library and tools for jsii",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -34,18 +34,18 @@
34
34
  "package": "package-js"
35
35
  },
36
36
  "dependencies": {
37
- "@jsii/check-node": "1.81.0",
38
- "@jsii/spec": "^1.81.0",
37
+ "@jsii/check-node": "1.83.0",
38
+ "@jsii/spec": "^1.83.0",
39
39
  "chalk": "^4",
40
40
  "fs-extra": "^10.1.0",
41
- "oo-ascii-tree": "^1.81.0",
41
+ "oo-ascii-tree": "^1.83.0",
42
42
  "yargs": "^16.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@scope/jsii-calc-lib": "^1.81.0",
45
+ "@scope/jsii-calc-lib": "^1.83.0",
46
46
  "@types/fs-extra": "^9.0.13",
47
- "jsii": "^1.81.0",
48
- "jsii-build-tools": "^1.81.0",
47
+ "jsii": "^1.83.0",
48
+ "jsii-build-tools": "^1.83.0",
49
49
  "jsii-calc": "^3.20.120"
50
50
  }
51
51
  }
@@ -833,6 +833,20 @@ exports[`jsii-tree --all 1`] = `
833
833
  │ │ │ └── returns: jsii-calc.Implementation
834
834
  │ │ └─┬ provideAsInterface() method (stable)
835
835
  │ │ └── returns: jsii-calc.IAnonymouslyImplementMe
836
+ │ ├─┬ class AnyPropertyAccess (stable)
837
+ │ │ └─┬ members
838
+ │ │ └─┬ static mutateProperties(obj,propA,propB,resultProp) method (stable)
839
+ │ │ ├── static
840
+ │ │ ├─┬ parameters
841
+ │ │ │ ├─┬ obj
842
+ │ │ │ │ └── type: any
843
+ │ │ │ ├─┬ propA
844
+ │ │ │ │ └── type: string
845
+ │ │ │ ├─┬ propB
846
+ │ │ │ │ └── type: string
847
+ │ │ │ └─┬ resultProp
848
+ │ │ │ └── type: string
849
+ │ │ └── returns: void
836
850
  │ ├─┬ class AsyncVirtualMethods (stable)
837
851
  │ │ └─┬ members
838
852
  │ │ ├── <initializer>() initializer (stable)
@@ -2566,6 +2580,11 @@ exports[`jsii-tree --all 1`] = `
2566
2580
  │ │ └─┬ methodWasCalled property (stable)
2567
2581
  │ │ ├── immutable
2568
2582
  │ │ └── type: boolean
2583
+ │ ├─┬ class WeirdDocs (stable)
2584
+ │ │ └─┬ members
2585
+ │ │ ├── <initializer>() initializer (stable)
2586
+ │ │ └─┬ dontReadMe property (stable)
2587
+ │ │ └── type: Optional<string>
2569
2588
  │ ├─┬ class WithPrivatePropertyInConstructor (stable)
2570
2589
  │ │ └─┬ members
2571
2590
  │ │ ├─┬ <initializer>(privateField) initializer (stable)
@@ -2687,6 +2706,12 @@ exports[`jsii-tree --all 1`] = `
2687
2706
  │ │ ├── abstract
2688
2707
  │ │ ├── immutable
2689
2708
  │ │ └── type: string
2709
+ │ ├─┬ interface DontUseMe (stable)
2710
+ │ │ └─┬ members
2711
+ │ │ └─┬ dontSetMe property (stable)
2712
+ │ │ ├── abstract
2713
+ │ │ ├── immutable
2714
+ │ │ └── type: Optional<string>
2690
2715
  │ ├─┬ interface DummyObj (stable)
2691
2716
  │ │ └─┬ members
2692
2717
  │ │ └─┬ example property (stable)
@@ -3543,6 +3568,14 @@ exports[`jsii-tree --all 1`] = `
3543
3568
  │ │ └─┬ obj
3544
3569
  │ │ └── type: @scope/jsii-calc-base.IBaseInterface
3545
3570
  │ └── returns: void
3571
+ ├─┬ class FunctionWithUnderscoreArgument (deprecated)
3572
+ │ └─┬ members
3573
+ │ ├── <initializer>() initializer (deprecated)
3574
+ │ └─┬ foo(_) method (deprecated)
3575
+ │ ├─┬ parameters
3576
+ │ │ └─┬ _
3577
+ │ │ └── type: string
3578
+ │ └── returns: string
3546
3579
  ├─┬ class Number (deprecated)
3547
3580
  │ ├── base: NumericValue
3548
3581
  │ ├── interfaces: IDoublable
@@ -3856,6 +3889,7 @@ exports[`jsii-tree --inheritance 1`] = `
3856
3889
  │ ├── class AmbiguousParameters
3857
3890
  │ ├─┬ class AnonymousImplementationProvider
3858
3891
  │ │ └── interfaces: IAnonymousImplementationProvider
3892
+ │ ├── class AnyPropertyAccess
3859
3893
  │ ├── class AsyncVirtualMethods
3860
3894
  │ ├── class AugmentableClass
3861
3895
  │ ├── class BaseClass
@@ -4010,6 +4044,7 @@ exports[`jsii-tree --inheritance 1`] = `
4010
4044
  │ ├── class VariadicTypeUnion
4011
4045
  │ ├── class VirtualMethodPlayground
4012
4046
  │ ├── class VoidCallback
4047
+ │ ├── class WeirdDocs
4013
4048
  │ ├── class WithPrivatePropertyInConstructor
4014
4049
  │ ├── interface CalculatorProps
4015
4050
  │ ├─┬ interface ChildStruct982
@@ -4036,6 +4071,7 @@ exports[`jsii-tree --inheritance 1`] = `
4036
4071
  │ │ └─┬ interfaces
4037
4072
  │ │ ├── DiamondInheritanceFirstMidLevelStruct
4038
4073
  │ │ └── DiamondInheritanceSecondMidLevelStruct
4074
+ │ ├── interface DontUseMe
4039
4075
  │ ├── interface DummyObj
4040
4076
  │ ├── interface EraseUndefinedHashValuesOptions
4041
4077
  │ ├── interface ExperimentalStruct
@@ -4159,6 +4195,7 @@ exports[`jsii-tree --inheritance 1`] = `
4159
4195
  │ └── interface ReflectableEntry
4160
4196
  └─┬ types
4161
4197
  ├── class BaseFor2647
4198
+ ├── class FunctionWithUnderscoreArgument
4162
4199
  ├─┬ class Number
4163
4200
  │ ├── base: NumericValue
4164
4201
  │ └── interfaces: IDoublable
@@ -4612,6 +4649,9 @@ exports[`jsii-tree --members 1`] = `
4612
4649
  │ │ ├── <initializer>() initializer
4613
4650
  │ │ ├── provideAsClass() method
4614
4651
  │ │ └── provideAsInterface() method
4652
+ │ ├─┬ class AnyPropertyAccess
4653
+ │ │ └─┬ members
4654
+ │ │ └── static mutateProperties(obj,propA,propB,resultProp) method
4615
4655
  │ ├─┬ class AsyncVirtualMethods
4616
4656
  │ │ └─┬ members
4617
4657
  │ │ ├── <initializer>() initializer
@@ -5361,6 +5401,10 @@ exports[`jsii-tree --members 1`] = `
5361
5401
  │ │ ├── callMe() method
5362
5402
  │ │ ├── overrideMe() method
5363
5403
  │ │ └── methodWasCalled property
5404
+ │ ├─┬ class WeirdDocs
5405
+ │ │ └─┬ members
5406
+ │ │ ├── <initializer>() initializer
5407
+ │ │ └── dontReadMe property
5364
5408
  │ ├─┬ class WithPrivatePropertyInConstructor
5365
5409
  │ │ └─┬ members
5366
5410
  │ │ ├── <initializer>(privateField) initializer
@@ -5406,6 +5450,9 @@ exports[`jsii-tree --members 1`] = `
5406
5450
  │ ├─┬ interface DiamondInheritanceTopLevelStruct
5407
5451
  │ │ └─┬ members
5408
5452
  │ │ └── topLevelProperty property
5453
+ │ ├─┬ interface DontUseMe
5454
+ │ │ └─┬ members
5455
+ │ │ └── dontSetMe property
5409
5456
  │ ├─┬ interface DummyObj
5410
5457
  │ │ └─┬ members
5411
5458
  │ │ └── example property
@@ -5791,6 +5838,10 @@ exports[`jsii-tree --members 1`] = `
5791
5838
  │ └─┬ members
5792
5839
  │ ├── <initializer>(very) initializer
5793
5840
  │ └── foo(obj) method
5841
+ ├─┬ class FunctionWithUnderscoreArgument
5842
+ │ └─┬ members
5843
+ │ ├── <initializer>() initializer
5844
+ │ └── foo(_) method
5794
5845
  ├─┬ class Number
5795
5846
  │ └─┬ members
5796
5847
  │ ├── <initializer>(value) initializer
@@ -6069,6 +6120,7 @@ exports[`jsii-tree --types 1`] = `
6069
6120
  │ ├── class AllowedMethodNames
6070
6121
  │ ├── class AmbiguousParameters
6071
6122
  │ ├── class AnonymousImplementationProvider
6123
+ │ ├── class AnyPropertyAccess
6072
6124
  │ ├── class AsyncVirtualMethods
6073
6125
  │ ├── class AugmentableClass
6074
6126
  │ ├── class BaseClass
@@ -6195,6 +6247,7 @@ exports[`jsii-tree --types 1`] = `
6195
6247
  │ ├── class VariadicTypeUnion
6196
6248
  │ ├── class VirtualMethodPlayground
6197
6249
  │ ├── class VoidCallback
6250
+ │ ├── class WeirdDocs
6198
6251
  │ ├── class WithPrivatePropertyInConstructor
6199
6252
  │ ├── interface CalculatorProps
6200
6253
  │ ├── interface ChildStruct982
@@ -6207,6 +6260,7 @@ exports[`jsii-tree --types 1`] = `
6207
6260
  │ ├── interface DiamondInheritanceFirstMidLevelStruct
6208
6261
  │ ├── interface DiamondInheritanceSecondMidLevelStruct
6209
6262
  │ ├── interface DiamondInheritanceTopLevelStruct
6263
+ │ ├── interface DontUseMe
6210
6264
  │ ├── interface DummyObj
6211
6265
  │ ├── interface EraseUndefinedHashValuesOptions
6212
6266
  │ ├── interface ExperimentalStruct
@@ -6311,6 +6365,7 @@ exports[`jsii-tree --types 1`] = `
6311
6365
  │ └── interface ReflectableEntry
6312
6366
  └─┬ types
6313
6367
  ├── class BaseFor2647
6368
+ ├── class FunctionWithUnderscoreArgument
6314
6369
  ├── class Number
6315
6370
  ├── class NumericValue
6316
6371
  ├── class Operation
@@ -1010,6 +1010,20 @@ exports[`showAll 1`] = `
1010
1010
  │ │ │ └── returns: jsii-calc.Implementation
1011
1011
  │ │ └─┬ provideAsInterface() method
1012
1012
  │ │ └── returns: jsii-calc.IAnonymouslyImplementMe
1013
+ │ ├─┬ class AnyPropertyAccess
1014
+ │ │ └─┬ members
1015
+ │ │ └─┬ static mutateProperties(obj,propA,propB,resultProp) method
1016
+ │ │ ├── static
1017
+ │ │ ├─┬ parameters
1018
+ │ │ │ ├─┬ obj
1019
+ │ │ │ │ └── type: any
1020
+ │ │ │ ├─┬ propA
1021
+ │ │ │ │ └── type: string
1022
+ │ │ │ ├─┬ propB
1023
+ │ │ │ │ └── type: string
1024
+ │ │ │ └─┬ resultProp
1025
+ │ │ │ └── type: string
1026
+ │ │ └── returns: void
1013
1027
  │ ├─┬ class AsyncVirtualMethods
1014
1028
  │ │ └─┬ members
1015
1029
  │ │ ├── <initializer>() initializer
@@ -2743,6 +2757,11 @@ exports[`showAll 1`] = `
2743
2757
  │ │ └─┬ methodWasCalled property
2744
2758
  │ │ ├── immutable
2745
2759
  │ │ └── type: boolean
2760
+ │ ├─┬ class WeirdDocs
2761
+ │ │ └─┬ members
2762
+ │ │ ├── <initializer>() initializer
2763
+ │ │ └─┬ dontReadMe property
2764
+ │ │ └── type: Optional<string>
2746
2765
  │ ├─┬ class WithPrivatePropertyInConstructor
2747
2766
  │ │ └─┬ members
2748
2767
  │ │ ├─┬ <initializer>(privateField) initializer
@@ -2864,6 +2883,12 @@ exports[`showAll 1`] = `
2864
2883
  │ │ ├── abstract
2865
2884
  │ │ ├── immutable
2866
2885
  │ │ └── type: string
2886
+ │ ├─┬ interface DontUseMe
2887
+ │ │ └─┬ members
2888
+ │ │ └─┬ dontSetMe property
2889
+ │ │ ├── abstract
2890
+ │ │ ├── immutable
2891
+ │ │ └── type: Optional<string>
2867
2892
  │ ├─┬ interface DummyObj
2868
2893
  │ │ └─┬ members
2869
2894
  │ │ └─┬ example property
@@ -3720,6 +3745,14 @@ exports[`showAll 1`] = `
3720
3745
  │ │ └─┬ obj
3721
3746
  │ │ └── type: @scope/jsii-calc-base.IBaseInterface
3722
3747
  │ └── returns: void
3748
+ ├─┬ class FunctionWithUnderscoreArgument
3749
+ │ └─┬ members
3750
+ │ ├── <initializer>() initializer
3751
+ │ └─┬ foo(_) method
3752
+ │ ├─┬ parameters
3753
+ │ │ └─┬ _
3754
+ │ │ └── type: string
3755
+ │ └── returns: string
3723
3756
  ├─┬ class Number
3724
3757
  │ ├── base: NumericValue
3725
3758
  │ ├── interfaces: IDoublable
@@ -4054,6 +4087,7 @@ exports[`types 1`] = `
4054
4087
  │ ├── class AllowedMethodNames
4055
4088
  │ ├── class AmbiguousParameters
4056
4089
  │ ├── class AnonymousImplementationProvider
4090
+ │ ├── class AnyPropertyAccess
4057
4091
  │ ├── class AsyncVirtualMethods
4058
4092
  │ ├── class AugmentableClass
4059
4093
  │ ├── class BaseClass
@@ -4180,6 +4214,7 @@ exports[`types 1`] = `
4180
4214
  │ ├── class VariadicTypeUnion
4181
4215
  │ ├── class VirtualMethodPlayground
4182
4216
  │ ├── class VoidCallback
4217
+ │ ├── class WeirdDocs
4183
4218
  │ ├── class WithPrivatePropertyInConstructor
4184
4219
  │ ├── interface CalculatorProps
4185
4220
  │ ├── interface ChildStruct982
@@ -4192,6 +4227,7 @@ exports[`types 1`] = `
4192
4227
  │ ├── interface DiamondInheritanceFirstMidLevelStruct
4193
4228
  │ ├── interface DiamondInheritanceSecondMidLevelStruct
4194
4229
  │ ├── interface DiamondInheritanceTopLevelStruct
4230
+ │ ├── interface DontUseMe
4195
4231
  │ ├── interface DummyObj
4196
4232
  │ ├── interface EraseUndefinedHashValuesOptions
4197
4233
  │ ├── interface ExperimentalStruct
@@ -4296,6 +4332,7 @@ exports[`types 1`] = `
4296
4332
  │ └── interface ReflectableEntry
4297
4333
  └─┬ types
4298
4334
  ├── class BaseFor2647
4335
+ ├── class FunctionWithUnderscoreArgument
4299
4336
  ├── class Number
4300
4337
  ├── class NumericValue
4301
4338
  ├── class Operation
@@ -16,6 +16,7 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = `
16
16
  "@scope/jsii-calc-base.Base",
17
17
  "@scope/jsii-calc-base.StaticConsumer",
18
18
  "@scope/jsii-calc-lib.BaseFor2647",
19
+ "@scope/jsii-calc-lib.FunctionWithUnderscoreArgument",
19
20
  "@scope/jsii-calc-lib.Number",
20
21
  "@scope/jsii-calc-lib.NumericValue",
21
22
  "@scope/jsii-calc-lib.Operation",
@@ -32,6 +33,7 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = `
32
33
  "jsii-calc.AllowedMethodNames",
33
34
  "jsii-calc.AmbiguousParameters",
34
35
  "jsii-calc.AnonymousImplementationProvider",
36
+ "jsii-calc.AnyPropertyAccess",
35
37
  "jsii-calc.AsyncVirtualMethods",
36
38
  "jsii-calc.AugmentableClass",
37
39
  "jsii-calc.BaseClass",
@@ -163,6 +165,7 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = `
163
165
  "jsii-calc.VariadicTypeUnion",
164
166
  "jsii-calc.VirtualMethodPlayground",
165
167
  "jsii-calc.VoidCallback",
168
+ "jsii-calc.WeirdDocs",
166
169
  "jsii-calc.WithPrivatePropertyInConstructor",
167
170
  "jsii-calc.anonymous.UseOptions",
168
171
  "jsii-calc.cdk16625.Cdk16625",