Skip to content

Commit

Permalink
allow to use copy-paste indent with Node >=18.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Nov 25, 2024
1 parent d730e07 commit 58187d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-beta.21
### Feature
* allow to use copy-paste indent with Node >=18.19.0

## 1.0.0-beta.20
### Feature
* allow to call `load` with `@lips` prefix [#354](https://github.com/jcubic/lips/issues/354)
Expand Down
3 changes: 2 additions & 1 deletion bin/lips.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const require = createRequire(import.meta.url);

const kDebounceHistoryMS = 15;

const supports_paste_brackets = satisfies(process.version, '>=v20.6.0');
const supports_paste_brackets = satisfies(process.version, '>=18.19.0 <19') ||
satisfies(process.version, '>=20.6.0');

// -----------------------------------------------------------------------------
process.on('uncaughtException', function (err) {
Expand Down

0 comments on commit 58187d8

Please sign in to comment.