File tree Expand file tree Collapse file tree 4 files changed +18
-23
lines changed Expand file tree Collapse file tree 4 files changed +18
-23
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,11 @@ jobs:
1010 fail-fast : false
1111 matrix :
1212 node-version :
13+ - 24
1314 - 20
14- - 18
15- - 16
1615 steps :
17- - uses : actions/checkout@v4
18- - uses : actions/setup-node@v4
16+ - uses : actions/checkout@v5
17+ - uses : actions/setup-node@v5
1918 with :
2019 node-version : ${{ matrix.node-version }}
2120 - run : npm install
Original file line number Diff line number Diff line change @@ -9,12 +9,10 @@ export type Input =
99| Iterable < Buffer | string | NodeJS . TypedArray >
1010| AsyncIterable < Buffer | string | NodeJS . TypedArray > ;
1111
12- /* eslint-disable @typescript-eslint/ban-types */
1312export type ObjectInput =
14- | object
15- | Iterable < object >
16- | AsyncIterable < object > ;
17- /* eslint-enable @typescript-eslint/ban-types */
13+ | Record < string , unknown >
14+ | Iterable < Record < string , unknown > >
15+ | AsyncIterable < Record < string , unknown > > ;
1816
1917declare const intoStream : {
2018/**
Original file line number Diff line number Diff line change @@ -27,14 +27,10 @@ intoStream(new Uint8Array(Buffer.from('unicorn').buffer)).pipe(process.stdout);
2727intoStream ( Promise . resolve ( 'unicorn' ) ) . pipe ( process . stdout ) ;
2828intoStream ( Promise . resolve ( unicornArray ) ) . pipe ( process . stdout ) ;
2929intoStream ( Promise . resolve ( new Set ( unicornArray ) ) ) . pipe ( process . stdout ) ;
30- intoStream ( Promise . resolve ( new Set ( [ Buffer . from ( 'unicorn' ) ] ) ) ) . pipe (
31- process . stdout ,
32- ) ;
30+ intoStream ( Promise . resolve ( new Set ( [ Buffer . from ( 'unicorn' ) ] ) ) ) . pipe ( process . stdout ) ;
3331intoStream ( Promise . resolve ( Buffer . from ( 'unicorn' ) ) ) . pipe ( process . stdout ) ;
3432intoStream ( Promise . resolve ( Buffer . from ( 'unicorn' ) . buffer ) ) . pipe ( process . stdout ) ;
35- intoStream ( Promise . resolve ( new Uint8Array ( Buffer . from ( 'unicorn' ) . buffer ) ) ) . pipe (
36- process . stdout ,
37- ) ;
33+ intoStream ( Promise . resolve ( new Uint8Array ( Buffer . from ( 'unicorn' ) . buffer ) ) ) . pipe ( process . stdout ) ;
3834
3935intoStream ( asyncGeneratorFrom ( unicornArray ) ( ) ) . pipe ( process . stdout ) ;
4036intoStream ( asyncIterableFrom ( unicornArray ) ) . pipe ( process . stdout ) ;
Original file line number Diff line number Diff line change 1111"url" : " https://sindresorhus.com"
1212},
1313"type" : " module" ,
14- "exports" : " ./index.js" ,
15- "types" : " ./index.d.ts" ,
14+ "exports" : {
15+ "types" : " ./index.d.ts" ,
16+ "default" : " ./index.js"
17+ },
1618"sideEffects" : false ,
1719"engines" : {
18- "node" : " >=16 "
20+ "node" : " >=20 "
1921},
2022"scripts" : {
2123"test" : " xo && ava && tsd"
4648" value"
4749],
4850"devDependencies" : {
49- "ava" : " ^5.3.0 " ,
50- "get-stream" : " ^6 .0.1" ,
51- "p-event" : " ^5 .0.1" ,
52- "tsd" : " ^0.28.1 " ,
53- "xo" : " ^0.54 .2"
51+ "ava" : " ^6.4.1 " ,
52+ "get-stream" : " ^9 .0.1" ,
53+ "p-event" : " ^6 .0.1" ,
54+ "tsd" : " ^0.33.0 " ,
55+ "xo" : " ^1.2 .2"
5456}
5557}
You can’t perform that action at this time.
0 commit comments