Skip to content

Commit

Permalink
fix(cli): use asterisk import to import yargs/helpers (#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra authored Dec 20, 2023
1 parent fdd8fc0 commit c154fc8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit c154fc8

Please sign in to comment.