Skip to content

Commit

Permalink
fix: rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Apr 9, 2023
1 parent 7fbea2a commit 8eeca7d
Show file tree
Hide file tree
Showing 4 changed files with 530 additions and 626 deletions.
2 changes: 1 addition & 1 deletion dist/cdn/plainjs/BaseParser.js
Expand Up @@ -174,7 +174,7 @@ var JSON2CSVBase = class {
/**
* Create the content of a specfic CSV row cell
*
* @param {Any} value Value to be included in a CSV cell
* @param {T} value Value to be included in a CSV cell
* @returns {String} Value stringified and processed
*/
processValue(value) {
Expand Down
5 changes: 3 additions & 2 deletions dist/cdn/plainjs/StreamParser.js
Expand Up @@ -109,6 +109,7 @@ var JSON2CSVStreamParser = class extends JSON2CSVBase {
};
return tokenizer;
}
// TODO this should be narrowed based on options
write(data) {
this.tokenizer.write(data);
}
Expand Down Expand Up @@ -174,7 +175,7 @@ var JSON2CSVStreamParser = class extends JSON2CSVBase {
});
}
// No idea why eslint doesn't detect the usage of these
/* eslint-disable no-unused-vars */
/* eslint-disable @typescript-eslint/no-unused-vars */
onHeader(header) {
}
onLine(line) {
Expand All @@ -185,7 +186,7 @@ var JSON2CSVStreamParser = class extends JSON2CSVBase {
}
onEnd() {
}
/* eslint-enable no-unused-vars */
/* eslint-enable @typescript-eslint/no-unused-vars */
};
export {
JSON2CSVStreamParser as default
Expand Down
1 change: 1 addition & 0 deletions dist/cdn/whatwg/TransformStream.js
Expand Up @@ -47,6 +47,7 @@ var JSON2CSVWHATWGTransformer = class extends StreamParser {
}
};
var JSON2CSVWHATWGTransformStream = class extends TransformStream {
// TODO should be (event: Event): boolean
constructor(opts = {}, asyncOpts = {}, writableStrategy, readableStrategy) {
const transformer = new JSON2CSVWHATWGTransformer(opts, asyncOpts);
super(transformer, writableStrategy, readableStrategy);
Expand Down

0 comments on commit 8eeca7d

Please sign in to comment.