@gammarers/aws-rds-database-running-schedule-stack 2.6.10 → 2.6.12
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/.jsii +2 -2
- package/API.md +15 -1
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/.jsii
CHANGED
|
@@ -4316,6 +4316,6 @@
|
|
|
4316
4316
|
"symbolId": "src/index:TimeoutOption"
|
|
4317
4317
|
}
|
|
4318
4318
|
},
|
|
4319
|
-
"version": "2.6.
|
|
4320
|
-
"fingerprint": "
|
|
4319
|
+
"version": "2.6.12",
|
|
4320
|
+
"fingerprint": "1EPaD4DiIRL4BLWn0A+SJD/2MQz91Flv18SSrwExN4Y="
|
|
4321
4321
|
}
|
package/API.md
CHANGED
|
@@ -462,7 +462,7 @@ Convert an object, potentially containing tokens, to a YAML string.
|
|
|
462
462
|
|
|
463
463
|
---
|
|
464
464
|
|
|
465
|
-
#####
|
|
465
|
+
##### `isConstruct` <a name="isConstruct" id="@gammarers/aws-rds-database-running-schedule-stack.RDSDatabaseRunningScheduleStack.isConstruct"></a>
|
|
466
466
|
|
|
467
467
|
```typescript
|
|
468
468
|
import { RDSDatabaseRunningScheduleStack } from '@gammarers/aws-rds-database-running-schedule-stack'
|
|
@@ -472,6 +472,20 @@ RDSDatabaseRunningScheduleStack.isConstruct(x: any)
|
|
|
472
472
|
|
|
473
473
|
Checks if `x` is a construct.
|
|
474
474
|
|
|
475
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
|
476
|
+
instances, even when the construct library is symlinked.
|
|
477
|
+
|
|
478
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
|
479
|
+
disk are seen as independent, completely different libraries. As a
|
|
480
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
|
481
|
+
is seen as a different class, and an instance of one class will not test as
|
|
482
|
+
`instanceof` the other class. `npm install` will not create installations
|
|
483
|
+
like this, but users may manually symlink construct libraries together or
|
|
484
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
|
485
|
+
library can be accidentally installed, and `instanceof` will behave
|
|
486
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
|
487
|
+
this type-testing method instead.
|
|
488
|
+
|
|
475
489
|
###### `x`<sup>Required</sup> <a name="x" id="@gammarers/aws-rds-database-running-schedule-stack.RDSDatabaseRunningScheduleStack.isConstruct.parameter.x"></a>
|
|
476
490
|
|
|
477
491
|
- *Type:* any
|
package/lib/index.js
CHANGED
|
@@ -155,7 +155,7 @@ class RDSDatabaseRunningScheduleStack extends aws_cdk_lib_1.Stack {
|
|
|
155
155
|
}
|
|
156
156
|
exports.RDSDatabaseRunningScheduleStack = RDSDatabaseRunningScheduleStack;
|
|
157
157
|
_a = JSII_RTTI_SYMBOL_1;
|
|
158
|
-
RDSDatabaseRunningScheduleStack[_a] = { fqn: "@gammarers/aws-rds-database-running-schedule-stack.RDSDatabaseRunningScheduleStack", version: "2.6.
|
|
158
|
+
RDSDatabaseRunningScheduleStack[_a] = { fqn: "@gammarers/aws-rds-database-running-schedule-stack.RDSDatabaseRunningScheduleStack", version: "2.6.12" };
|
|
159
159
|
class DBRuningSchedule extends scheduler.CfnSchedule {
|
|
160
160
|
constructor(scope, id, props) {
|
|
161
161
|
super(scope, id, {
|
package/package.json
CHANGED
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"jest": "^29.7.0",
|
|
52
52
|
"jest-junit": "^16",
|
|
53
53
|
"jsii": "5.7.x",
|
|
54
|
-
"jsii-diff": "^1.
|
|
54
|
+
"jsii-diff": "^1.119.0",
|
|
55
55
|
"jsii-docgen": "^10.5.0",
|
|
56
|
-
"jsii-pacmak": "^1.
|
|
56
|
+
"jsii-pacmak": "^1.119.0",
|
|
57
57
|
"jsii-rosetta": "5.7.x",
|
|
58
|
-
"projen": "^0.
|
|
59
|
-
"ts-jest": "^29.4.
|
|
58
|
+
"projen": "^0.98.10",
|
|
59
|
+
"ts-jest": "^29.4.5",
|
|
60
60
|
"ts-node": "^10.9.2",
|
|
61
61
|
"typescript": "5.7.x"
|
|
62
62
|
},
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"version": "2.6.
|
|
90
|
+
"version": "2.6.12",
|
|
91
91
|
"jest": {
|
|
92
92
|
"coverageProvider": "v8",
|
|
93
93
|
"testMatch": [
|