Skip to content

Commit

Permalink
update devDeps, loosen constructor argument type
Browse files Browse the repository at this point in the history
It's always allowed to use {objectMode:true}, even if the RType and/or
WType extend string or Buffer. Previously, this was being too strict
about requiring an encoding for strings (or no encoding for Buffers), but
there are cases where you want to consume strings/Buffers in ObjectMode.
  • Loading branch information
isaacs committed May 24, 2024
1 parent 9410c3e commit dd8b10c
Show file tree
Hide file tree
Showing 6 changed files with 802 additions and 1,188 deletions.
1 change: 0 additions & 1 deletion .tshy/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
Expand Down
4 changes: 2 additions & 2 deletions .tshy/commonjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"../src/**/*.tsx"
],
"exclude": [
".../src/**/*.mts"
"../src/**/*.mts"
],
"compilerOptions": {
"outDir": "../.tshy-build-tmp/commonjs"
"outDir": "../.tshy-build/commonjs"
}
}
3 changes: 2 additions & 1 deletion .tshy/esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"../src/**/*.mts",
"../src/**/*.tsx"
],
"exclude": [],
"compilerOptions": {
"outDir": "../.tshy-build-tmp/esm"
"outDir": "../.tshy-build/esm"
}
}
Loading

0 comments on commit dd8b10c

Please sign in to comment.