From c154fc8a2c020311610897485259c3b2b44a2259 Mon Sep 17 00:00:00 2001 From: Ayush C <14110965+ayushmanchhabra@users.noreply.github.com> Date: Tue, 19 Dec 2023 23:25:04 -0500 Subject: [PATCH] fix(cli): use asterisk import to import `yargs/helpers` (#998) --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- src/cli.js | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cdaa92c1..70353d577 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [4.5.2] - 2023-12-19 + +### Changed + +- Fix `yargs/helpers` import for cli usage. + ## [4.5.1] - 2023-12-19 ### Changed diff --git a/package-lock.json b/package-lock.json index 7da0bc9a7..5290c9533 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nw-builder", - "version": "4.5.1", + "version": "4.5.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nw-builder", - "version": "4.5.1", + "version": "4.5.2", "license": "MIT", "dependencies": { "cli-progress": "^3.12.0", diff --git a/package.json b/package.json index afe91ed19..0ce5a9afd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nw-builder", - "version": "4.5.1", + "version": "4.5.2", "description": "Build NW.js desktop applications for MacOS, Windows and Linux.", "keywords": [ "NW.js", diff --git a/src/cli.js b/src/cli.js index 4dfe9d6da..1189a7840 100755 --- a/src/cli.js +++ b/src/cli.js @@ -3,7 +3,7 @@ import process from "node:process"; import yargs from "yargs/yargs"; -import yargs_helpers from "yargs/helpers"; +import * as yargs_helpers from "yargs/helpers"; import nwbuild from "./index.js";