From e634da77298680b4c0237e91b93da1b47ed0d402 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 10 Jun 2024 00:52:29 +0100 Subject: [PATCH] Update from nopt 4.x to nopt 5.0.0 installation of latest grunt-cli@1.4.2 produces a warning: ``` npm WARN deprecated osenv@0.1.5: This package is no longer supported. ``` This package is only used by nopt to call `os.homedir()` which has been stable since Node.js 2. It was removed [1] in nopt 5.0.0. There are newer versions of nopt available, but those raise the required Node.js engine level. In order to make this easy to release and to resolve the warning first, let's first move to nopt 5.0.0. [1]: https://github.com/npm/nopt/commit/5c0e45b2f94414c074270b133e90c77ec35f5a4b --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 275eae9..8651be3 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "grunt-known-options": "~2.0.0", "interpret": "~1.1.0", "liftup": "~3.0.1", - "nopt": "~4.0.1", + "nopt": "~5.0.0", "v8flags": "^4.0.1" }, "devDependencies": {