@jsii/check-node 1.74.0 → 1.75.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/lib/constants.js +2 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/package.json +1 -1
package/lib/constants.js
CHANGED
|
@@ -74,7 +74,7 @@ NodeRelease.ALL_RELEASES = [
|
|
|
74
74
|
endOfLife: new Date('2022-04-30'),
|
|
75
75
|
supportedRange: '^12.7.0',
|
|
76
76
|
}),
|
|
77
|
-
// Currently active releases
|
|
77
|
+
// Currently active releases (as of last edit to this file...)
|
|
78
78
|
new NodeRelease(14, {
|
|
79
79
|
endOfLife: new Date('2023-04-30'),
|
|
80
80
|
supportedRange: '^14.6.0',
|
|
@@ -88,8 +88,8 @@ NodeRelease.ALL_RELEASES = [
|
|
|
88
88
|
supportedRange: '^17.3.0',
|
|
89
89
|
}),
|
|
90
90
|
new NodeRelease(18, { endOfLife: new Date('2025-04-30') }),
|
|
91
|
-
// Future (planned releases)
|
|
92
91
|
new NodeRelease(19, { endOfLife: new Date('2023-06-01') }),
|
|
92
|
+
// Future (planned releases)
|
|
93
93
|
new NodeRelease(20, { endOfLife: new Date('2026-04-30'), untested: true }),
|
|
94
94
|
];
|
|
95
95
|
//# sourceMappingURL=constants.js.map
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkNode = void 0;
|
|
3
|
+
exports.checkNode = exports.NodeRelease = void 0;
|
|
4
4
|
const chalk_1 = require("chalk");
|
|
5
5
|
const console_1 = require("console");
|
|
6
6
|
const process_1 = require("process");
|
|
7
7
|
const constants_1 = require("./constants");
|
|
8
|
+
var constants_2 = require("./constants");
|
|
9
|
+
Object.defineProperty(exports, "NodeRelease", { enumerable: true, get: function () { return constants_2.NodeRelease; } });
|
|
8
10
|
/**
|
|
9
11
|
* Checks the current process' node runtime version against the release support
|
|
10
12
|
* matrix, and issues a warning to STDERR if the current version is not fully
|