Skip to content

Commit

Permalink
remove charset
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Jan 17, 2021
1 parent e8d0ced commit db4997d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export declare class StreamLineReader {
value: string;
nextValue: string;
lineNumber: number;
charset: any;
it?: AsyncIterableIterator<string>;
eof: number;
init(readStream: stream.Readable): Promise<StreamLineReader>;
Expand Down
7 changes: 2 additions & 5 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export declare class TextFileDiffOption {
skipHeader: boolean;
charset: any;
compareFn(line1: string, line2: string): 1 | -1 | 0;
}
3 changes: 1 addition & 2 deletions dist/types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "text-file-diff",
"version": "1.4.2",
"version": "1.4.3",
"description": "line by line diff of two large files",
"license": "MIT",
"repository": "niiknow/text-file-diff",
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {EventEmitter} from 'events';

export class TextFileDiffOption {
skipHeader: boolean = false;
charset: any = 'utf8';
compareFn(line1: string, line2: string) {
return line1 > line2 ? 1 : (line1 < line2 ? -1 : 0);
}
Expand Down

0 comments on commit db4997d

Please sign in to comment.