Skip to content

Commit 1e68833

Browse files
chore(deps): upgrade compiler dependencies (#3574)
Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/cdk8s-team/cdk8s-core/actions/runs/18907286665 ------ *Automatically created by projen via the "upgrade-compiler-dependencies-2.x" workflow* --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5589248 commit 1e68833

File tree

5 files changed

+280
-78
lines changed

5 files changed

+280
-78
lines changed

docs/java.md

Lines changed: 75 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ To disable sorting of dictionary keys in output object set the
151151

152152
---
153153

154-
##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk8s.ApiObject.isConstruct"></a>
154+
##### `isConstruct` <a name="isConstruct" id="cdk8s.ApiObject.isConstruct"></a>
155155

156156
```java
157157
import org.cdk8s.ApiObject;
@@ -161,6 +161,20 @@ ApiObject.isConstruct(java.lang.Object x)
161161

162162
Checks if `x` is a construct.
163163

164+
Use this method instead of `instanceof` to properly detect `Construct`
165+
instances, even when the construct library is symlinked.
166+
167+
Explanation: in JavaScript, multiple copies of the `constructs` library on
168+
disk are seen as independent, completely different libraries. As a
169+
consequence, the class `Construct` in each copy of the `constructs` library
170+
is seen as a different class, and an instance of one class will not test as
171+
`instanceof` the other class. `npm install` will not create installations
172+
like this, but users may manually symlink construct libraries together or
173+
use a monorepo tool: in those cases, multiple copies of the `constructs`
174+
library can be accidentally installed, and `instanceof` will behave
175+
unpredictably. It is safest to avoid using `instanceof`, and using
176+
this type-testing method instead.
177+
164178
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.ApiObject.isConstruct.parameter.x"></a>
165179

166180
- *Type:* java.lang.Object
@@ -445,7 +459,7 @@ Synthesizes the app into a YAML string.
445459

446460
---
447461

448-
##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk8s.App.isConstruct"></a>
462+
##### `isConstruct` <a name="isConstruct" id="cdk8s.App.isConstruct"></a>
449463

450464
```java
451465
import org.cdk8s.App;
@@ -455,6 +469,20 @@ App.isConstruct(java.lang.Object x)
455469

456470
Checks if `x` is a construct.
457471

472+
Use this method instead of `instanceof` to properly detect `Construct`
473+
instances, even when the construct library is symlinked.
474+
475+
Explanation: in JavaScript, multiple copies of the `constructs` library on
476+
disk are seen as independent, completely different libraries. As a
477+
consequence, the class `Construct` in each copy of the `constructs` library
478+
is seen as a different class, and an instance of one class will not test as
479+
`instanceof` the other class. `npm install` will not create installations
480+
like this, but users may manually symlink construct libraries together or
481+
use a monorepo tool: in those cases, multiple copies of the `constructs`
482+
library can be accidentally installed, and `instanceof` will behave
483+
unpredictably. It is safest to avoid using `instanceof`, and using
484+
this type-testing method instead.
485+
458486
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.App.isConstruct.parameter.x"></a>
459487

460488
- *Type:* java.lang.Object
@@ -722,7 +750,7 @@ Renders this chart to a set of Kubernetes JSON resources.
722750

723751
---
724752

725-
##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk8s.Chart.isConstruct"></a>
753+
##### `isConstruct` <a name="isConstruct" id="cdk8s.Chart.isConstruct"></a>
726754

727755
```java
728756
import org.cdk8s.Chart;
@@ -732,6 +760,20 @@ Chart.isConstruct(java.lang.Object x)
732760

733761
Checks if `x` is a construct.
734762

763+
Use this method instead of `instanceof` to properly detect `Construct`
764+
instances, even when the construct library is symlinked.
765+
766+
Explanation: in JavaScript, multiple copies of the `constructs` library on
767+
disk are seen as independent, completely different libraries. As a
768+
consequence, the class `Construct` in each copy of the `constructs` library
769+
is seen as a different class, and an instance of one class will not test as
770+
`instanceof` the other class. `npm install` will not create installations
771+
like this, but users may manually symlink construct libraries together or
772+
use a monorepo tool: in those cases, multiple copies of the `constructs`
773+
library can be accidentally installed, and `instanceof` will behave
774+
unpredictably. It is safest to avoid using `instanceof`, and using
775+
this type-testing method instead.
776+
735777
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.Chart.isConstruct.parameter.x"></a>
736778

737779
- *Type:* java.lang.Object
@@ -1004,7 +1046,7 @@ Returns a string representation of this construct.
10041046

10051047
---
10061048

1007-
##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk8s.Helm.isConstruct"></a>
1049+
##### `isConstruct` <a name="isConstruct" id="cdk8s.Helm.isConstruct"></a>
10081050

10091051
```java
10101052
import org.cdk8s.Helm;
@@ -1014,6 +1056,20 @@ Helm.isConstruct(java.lang.Object x)
10141056

10151057
Checks if `x` is a construct.
10161058

1059+
Use this method instead of `instanceof` to properly detect `Construct`
1060+
instances, even when the construct library is symlinked.
1061+
1062+
Explanation: in JavaScript, multiple copies of the `constructs` library on
1063+
disk are seen as independent, completely different libraries. As a
1064+
consequence, the class `Construct` in each copy of the `constructs` library
1065+
is seen as a different class, and an instance of one class will not test as
1066+
`instanceof` the other class. `npm install` will not create installations
1067+
like this, but users may manually symlink construct libraries together or
1068+
use a monorepo tool: in those cases, multiple copies of the `constructs`
1069+
library can be accidentally installed, and `instanceof` will behave
1070+
unpredictably. It is safest to avoid using `instanceof`, and using
1071+
this type-testing method instead.
1072+
10171073
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.Helm.isConstruct.parameter.x"></a>
10181074

10191075
- *Type:* java.lang.Object
@@ -1146,7 +1202,7 @@ Returns a string representation of this construct.
11461202

11471203
---
11481204

1149-
##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk8s.Include.isConstruct"></a>
1205+
##### `isConstruct` <a name="isConstruct" id="cdk8s.Include.isConstruct"></a>
11501206

11511207
```java
11521208
import org.cdk8s.Include;
@@ -1156,6 +1212,20 @@ Include.isConstruct(java.lang.Object x)
11561212

11571213
Checks if `x` is a construct.
11581214

1215+
Use this method instead of `instanceof` to properly detect `Construct`
1216+
instances, even when the construct library is symlinked.
1217+
1218+
Explanation: in JavaScript, multiple copies of the `constructs` library on
1219+
disk are seen as independent, completely different libraries. As a
1220+
consequence, the class `Construct` in each copy of the `constructs` library
1221+
is seen as a different class, and an instance of one class will not test as
1222+
`instanceof` the other class. `npm install` will not create installations
1223+
like this, but users may manually symlink construct libraries together or
1224+
use a monorepo tool: in those cases, multiple copies of the `constructs`
1225+
library can be accidentally installed, and `instanceof` will behave
1226+
unpredictably. It is safest to avoid using `instanceof`, and using
1227+
this type-testing method instead.
1228+
11591229
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.Include.isConstruct.parameter.x"></a>
11601230

11611231
- *Type:* java.lang.Object

docs/python.md

Lines changed: 75 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ To disable sorting of dictionary keys in output object set the
157157

158158
---
159159

160-
##### ~~`is_construct`~~ <a name="is_construct" id="cdk8s.ApiObject.isConstruct"></a>
160+
##### `is_construct` <a name="is_construct" id="cdk8s.ApiObject.isConstruct"></a>
161161

162162
```python
163163
import cdk8s
@@ -169,6 +169,20 @@ cdk8s.ApiObject.is_construct(
169169

170170
Checks if `x` is a construct.
171171

172+
Use this method instead of `instanceof` to properly detect `Construct`
173+
instances, even when the construct library is symlinked.
174+
175+
Explanation: in JavaScript, multiple copies of the `constructs` library on
176+
disk are seen as independent, completely different libraries. As a
177+
consequence, the class `Construct` in each copy of the `constructs` library
178+
is seen as a different class, and an instance of one class will not test as
179+
`instanceof` the other class. `npm install` will not create installations
180+
like this, but users may manually symlink construct libraries together or
181+
use a monorepo tool: in those cases, multiple copies of the `constructs`
182+
library can be accidentally installed, and `instanceof` will behave
183+
unpredictably. It is safest to avoid using `instanceof`, and using
184+
this type-testing method instead.
185+
172186
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.ApiObject.isConstruct.parameter.x"></a>
173187

174188
- *Type:* typing.Any
@@ -457,7 +471,7 @@ Synthesizes the app into a YAML string.
457471

458472
---
459473

460-
##### ~~`is_construct`~~ <a name="is_construct" id="cdk8s.App.isConstruct"></a>
474+
##### `is_construct` <a name="is_construct" id="cdk8s.App.isConstruct"></a>
461475

462476
```python
463477
import cdk8s
@@ -469,6 +483,20 @@ cdk8s.App.is_construct(
469483

470484
Checks if `x` is a construct.
471485

486+
Use this method instead of `instanceof` to properly detect `Construct`
487+
instances, even when the construct library is symlinked.
488+
489+
Explanation: in JavaScript, multiple copies of the `constructs` library on
490+
disk are seen as independent, completely different libraries. As a
491+
consequence, the class `Construct` in each copy of the `constructs` library
492+
is seen as a different class, and an instance of one class will not test as
493+
`instanceof` the other class. `npm install` will not create installations
494+
like this, but users may manually symlink construct libraries together or
495+
use a monorepo tool: in those cases, multiple copies of the `constructs`
496+
library can be accidentally installed, and `instanceof` will behave
497+
unpredictably. It is safest to avoid using `instanceof`, and using
498+
this type-testing method instead.
499+
472500
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.App.isConstruct.parameter.x"></a>
473501

474502
- *Type:* typing.Any
@@ -744,7 +772,7 @@ Renders this chart to a set of Kubernetes JSON resources.
744772

745773
---
746774

747-
##### ~~`is_construct`~~ <a name="is_construct" id="cdk8s.Chart.isConstruct"></a>
775+
##### `is_construct` <a name="is_construct" id="cdk8s.Chart.isConstruct"></a>
748776

749777
```python
750778
import cdk8s
@@ -756,6 +784,20 @@ cdk8s.Chart.is_construct(
756784

757785
Checks if `x` is a construct.
758786

787+
Use this method instead of `instanceof` to properly detect `Construct`
788+
instances, even when the construct library is symlinked.
789+
790+
Explanation: in JavaScript, multiple copies of the `constructs` library on
791+
disk are seen as independent, completely different libraries. As a
792+
consequence, the class `Construct` in each copy of the `constructs` library
793+
is seen as a different class, and an instance of one class will not test as
794+
`instanceof` the other class. `npm install` will not create installations
795+
like this, but users may manually symlink construct libraries together or
796+
use a monorepo tool: in those cases, multiple copies of the `constructs`
797+
library can be accidentally installed, and `instanceof` will behave
798+
unpredictably. It is safest to avoid using `instanceof`, and using
799+
this type-testing method instead.
800+
759801
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.Chart.isConstruct.parameter.x"></a>
760802

761803
- *Type:* typing.Any
@@ -1034,7 +1076,7 @@ Returns a string representation of this construct.
10341076

10351077
---
10361078

1037-
##### ~~`is_construct`~~ <a name="is_construct" id="cdk8s.Helm.isConstruct"></a>
1079+
##### `is_construct` <a name="is_construct" id="cdk8s.Helm.isConstruct"></a>
10381080

10391081
```python
10401082
import cdk8s
@@ -1046,6 +1088,20 @@ cdk8s.Helm.is_construct(
10461088

10471089
Checks if `x` is a construct.
10481090

1091+
Use this method instead of `instanceof` to properly detect `Construct`
1092+
instances, even when the construct library is symlinked.
1093+
1094+
Explanation: in JavaScript, multiple copies of the `constructs` library on
1095+
disk are seen as independent, completely different libraries. As a
1096+
consequence, the class `Construct` in each copy of the `constructs` library
1097+
is seen as a different class, and an instance of one class will not test as
1098+
`instanceof` the other class. `npm install` will not create installations
1099+
like this, but users may manually symlink construct libraries together or
1100+
use a monorepo tool: in those cases, multiple copies of the `constructs`
1101+
library can be accidentally installed, and `instanceof` will behave
1102+
unpredictably. It is safest to avoid using `instanceof`, and using
1103+
this type-testing method instead.
1104+
10491105
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.Helm.isConstruct.parameter.x"></a>
10501106

10511107
- *Type:* typing.Any
@@ -1180,7 +1236,7 @@ Returns a string representation of this construct.
11801236

11811237
---
11821238

1183-
##### ~~`is_construct`~~ <a name="is_construct" id="cdk8s.Include.isConstruct"></a>
1239+
##### `is_construct` <a name="is_construct" id="cdk8s.Include.isConstruct"></a>
11841240

11851241
```python
11861242
import cdk8s
@@ -1192,6 +1248,20 @@ cdk8s.Include.is_construct(
11921248

11931249
Checks if `x` is a construct.
11941250

1251+
Use this method instead of `instanceof` to properly detect `Construct`
1252+
instances, even when the construct library is symlinked.
1253+
1254+
Explanation: in JavaScript, multiple copies of the `constructs` library on
1255+
disk are seen as independent, completely different libraries. As a
1256+
consequence, the class `Construct` in each copy of the `constructs` library
1257+
is seen as a different class, and an instance of one class will not test as
1258+
`instanceof` the other class. `npm install` will not create installations
1259+
like this, but users may manually symlink construct libraries together or
1260+
use a monorepo tool: in those cases, multiple copies of the `constructs`
1261+
library can be accidentally installed, and `instanceof` will behave
1262+
unpredictably. It is safest to avoid using `instanceof`, and using
1263+
this type-testing method instead.
1264+
11951265
###### `x`<sup>Required</sup> <a name="x" id="cdk8s.Include.isConstruct.parameter.x"></a>
11961266

11971267
- *Type:* typing.Any

0 commit comments

Comments
 (0)