datagrok-tools 4.12.5 → 4.12.7
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/bin/commands/check.js +2 -2
- package/package.json +1 -1
- package/.puppeteerrc.cjs +0 -9
package/bin/commands/check.js
CHANGED
|
@@ -413,13 +413,13 @@ function checkChangelog(packagePath) {
|
|
|
413
413
|
var regex = /^##[^#].*$/gm;
|
|
414
414
|
var h2 = clf.match(regex);
|
|
415
415
|
if (!h2) return ['No versions found in CHANGELOG.md'];
|
|
416
|
-
regex = /^## \d+\.\d+\.\d+ \(\d{4}-\d{2}-\d{2}\)
|
|
416
|
+
regex = /^## \d+\.\d+\.\d+ \((\d{4}-\d{2}-\d{2}|WIP)\)$/;
|
|
417
417
|
var _iterator7 = _createForOfIteratorHelper(h2),
|
|
418
418
|
_step7;
|
|
419
419
|
try {
|
|
420
420
|
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
421
421
|
var h = _step7.value;
|
|
422
|
-
if (!regex.test(h)) warnings.push("CHANGELOG: '".concat(h, "' does not match the h2 format"));
|
|
422
|
+
if (!regex.test(h)) warnings.push("CHANGELOG: '".concat(h, "' does not match the h2 format, expected: ## <version> (<release date> | WIP)"));
|
|
423
423
|
}
|
|
424
424
|
} catch (err) {
|
|
425
425
|
_iterator7.e(err);
|
package/package.json
CHANGED