Skip to content

Commit c154fc8

Browse files
fix(cli): use asterisk import to import yargs/helpers (#998)
1 parent fdd8fc0 commit c154fc8

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [4.5.2] - 2023-12-19
11+
12+
### Changed
13+
14+
- Fix `yargs/helpers` import for cli usage.
15+
1016
## [4.5.1] - 2023-12-19
1117

1218
### Changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nw-builder",
3-
"version": "4.5.1",
3+
"version": "4.5.2",
44
"description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
55
"keywords": [
66
"NW.js",

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import process from "node:process";
44

55
import yargs from "yargs/yargs";
6-
import yargs_helpers from "yargs/helpers";
6+
import * as yargs_helpers from "yargs/helpers";
77

88
import nwbuild from "./index.js";
99

0 commit comments

Comments
 (0)