Skip to content

Commit 5e73d26

Browse files
authored
Update dependencies (#20)
1 parent 1c76dba commit 5e73d26

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {PathLike} from 'line-column-path';
1+
import {type PathLike} from 'line-column-path';
22

3-
export interface Options {
3+
export type Options = {
44
/**
55
The name, command, or binary path of the editor.
66
@@ -24,9 +24,9 @@ export interface Options {
2424
```
2525
*/
2626
readonly wait?: boolean;
27-
}
27+
};
2828

29-
export interface EditorInfo {
29+
export type EditorInfo = {
3030
/**
3131
THe editor binary name.
3232
*/
@@ -41,7 +41,7 @@ export interface EditorInfo {
4141
A flag indicating whether the editor runs in the terminal.
4242
*/
4343
readonly isTerminalEditor: boolean;
44-
}
44+
};
4545

4646
/**
4747
Open the given files in the user's editor at specific line and column if supported by the editor. It does not wait for the editor to start or quit unless you specify `wait: true` in the options.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import process from 'node:process';
2-
import execa from 'execa';
2+
import {execa} from 'execa';
33
import {getEditor, defaultEditor} from 'env-editor';
44
import {parseLineColumnPath, stringifyLineColumnPath} from 'line-column-path';
55
import open from 'open';

index.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {expectType} from 'tsd';
2-
import openEditor, {getEditorInfo, EditorInfo} from './index.js';
2+
import openEditor, {getEditorInfo, type EditorInfo} from './index.js';
33

44
void openEditor([
55
'unicorn.js:5:3',

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
],
5050
"dependencies": {
5151
"env-editor": "^1.1.0",
52-
"execa": "^5.1.1",
52+
"execa": "^9.3.0",
5353
"line-column-path": "^3.0.0",
54-
"open": "^8.4.0"
54+
"open": "^10.1.0"
5555
},
5656
"devDependencies": {
57-
"ava": "^3.15.0",
58-
"tsd": "^0.18.0",
59-
"xo": "^0.45.0"
57+
"ava": "^6.1.3",
58+
"tsd": "^0.31.1",
59+
"xo": "^0.58.0"
6060
}
6161
}

0 commit comments

Comments
 (0)