From 50228cf6ffca3936717f5797025f3c49c2278fee Mon Sep 17 00:00:00 2001 From: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Date: Sun, 21 Jun 2020 15:10:00 +0200 Subject: [PATCH] =?UTF-8?q?assert:=20add=C2=A0`assert/strict`=20alias?= =?UTF-8?q?=C2=A0module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/31553 Refs: https://github.com/nodejs/node/pull/32953 PR-URL: https://github.com/nodejs/node/pull/34001 Refs: https://github.com/nodejs/node/pull/34002 Reviewed-By: Anna Henningsen Reviewed-By: Zeyu Yang Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- doc/api/assert.md | 6 ++++++ lib/assert/strict.js | 3 +++ node.gyp | 1 + test/es-module/test-esm-assert-strict.mjs | 5 +++++ test/parallel/test-assert-strict-exists.js | 6 ++++++ 5 files changed, 21 insertions(+) create mode 100644 lib/assert/strict.js create mode 100644 test/es-module/test-esm-assert-strict.mjs create mode 100644 test/parallel/test-assert-strict-exists.js diff --git a/doc/api/assert.md b/doc/api/assert.md index 9ad01a48f0fd9a..05e796863a463d 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -11,6 +11,9 @@ invariants.