File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import encoding from 'encoding' ;
22import { formatCharset , parseNPluralFromHeadersSafely , parseHeader } from './shared.js' ;
3- import { Transform } from 'readable- stream' ;
3+ import { Transform } from 'node: stream' ;
44import util from 'util' ;
55
66/**
@@ -21,7 +21,7 @@ export function parse (input, options = {}) {
2121 *
2222 * @typedef {{ defaultCharset: strubg, validation: boolean } } Options
2323 * @param {Options } [options] Optional options with defaultCharset and validation
24- * @param {import('readable- stream').TransformOptions } [transformOptions] Optional stream options
24+ * @param {import('node: stream').TransformOptions } [transformOptions] Optional stream options
2525 */
2626export function stream ( options = { } , transformOptions = { } ) {
2727 return new PoParserTransform ( options , transformOptions ) ;
@@ -515,7 +515,7 @@ Parser.prototype._finalize = function (tokens) {
515515 * @typedef {{ defaultCharset: strubg, validation: boolean } } Options
516516 * @constructor
517517 * @param {Options } options Optional options with defaultCharset and validation
518- * @param {import('readable- stream').TransformOptions } transformOptions Optional stream options
518+ * @param {import('node: stream').TransformOptions } transformOptions Optional stream options
519519 */
520520function PoParserTransform ( options , transformOptions ) {
521521 this . options = options ;
Original file line number Diff line number Diff line change 2828 "license" : " MIT" ,
2929 "dependencies" : {
3030 "content-type" : " ^1.0.5" ,
31- "encoding" : " ^0.1.13" ,
32- "readable-stream" : " ^4.5.2"
31+ "encoding" : " ^0.1.13"
3332 },
3433 "devDependencies" : {
3534 "@eslint/js" : " ^9.39.2" ,
You can’t perform that action at this time.
0 commit comments