diff --git a/CHANGELOG.md b/CHANGELOG.md index e0c2c587..d5edd567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [7.0.3](https://www.github.com/yargs/cliui/compare/v7.0.2...v7.0.3) (2020-10-16) + + +### Bug Fixes + +* **exports:** node 13.0 and 13.1 require the dotted object form _with_ a string fallback ([#93](https://www.github.com/yargs/cliui/issues/93)) ([eca16fc](https://www.github.com/yargs/cliui/commit/eca16fc05d26255df3280906c36d7f0e5b05c6e9)) + ### [7.0.2](https://www.github.com/yargs/cliui/compare/v7.0.1...v7.0.2) (2020-10-14) diff --git a/package.json b/package.json index 3e4c421b..2ce57a89 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,17 @@ { "name": "cliui", - "version": "7.0.2", + "version": "7.0.3", "description": "easily create complex multi-column command-line-interfaces", "main": "build/index.cjs", - "exports": [ - { - "import": "./index.mjs", - "require": "./build/index.cjs" - }, - "./build/index.cjs" - ], + "exports": { + ".": [ + { + "import": "./index.mjs", + "require": "./build/index.cjs" + }, + "./build/index.cjs" + ] + }, "type": "module", "module": "./index.mjs", "scripts": { @@ -64,7 +66,7 @@ "eslint": "^7.6.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-node": "^11.1.0", - "gts": "^2.0.2", + "gts": "^3.0.0", "mocha": "^8.1.1", "rimraf": "^3.0.2", "rollup": "^2.23.1",