diff --git a/index.d.ts b/index.d.ts index 667bdcc..cfe262a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -46,7 +46,10 @@ declare namespace open { | 'chrome' | 'firefox'; - type App = {name: string | readonly string[]; arguments?: readonly string[]}; + type App = { + name: string | readonly string[]; + arguments?: readonly string[]; + }; } declare const open: { @@ -64,12 +67,12 @@ declare const open: { }); ``` */ - apps: Record; + apps: Record; /** Open stuff like URLs, files, executables. Cross-platform. - Uses the command `open` on OS X, `start` on Windows and `xdg-open` on other platforms. + Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. There is a caveat for [double-quotes on Windows](https://github.com/sindresorhus/open#double-quotes-on-windows) where all double-quotes are stripped from the `target`. diff --git a/package.json b/package.json index 065ff9e..499fec0 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "url": "https://sindresorhus.com" }, "engines": { - "node": ">=10.17" + "node": ">=12" }, "scripts": { "test": "xo && tsd" @@ -57,15 +57,5 @@ "ava": "^3.15.0", "tsd": "^0.14.0", "xo": "^0.37.1" - }, - "xo": { - "rules": { - "node/no-unsupported-features/node-builtins": [ - "error", - { - "ignores": ["fs.promises"] - } - ] - } } }