-
-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dsv): strip bom from csv/tsv files if necessary (#1745)
* fix(dsv): strip bom from csv/tsv files if necessary * resolve conflicts in pnpm-lock.yaml * update pnpm-lock.yaml --------- Co-authored-by: shellscape <[email protected]>
- Loading branch information
1 parent
a100887
commit 8c24fb6
Showing
8 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type,count | ||
apples,7 | ||
pears,4 | ||
bananas,5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import fruit from './fruit.csv'; | ||
|
||
t.deepEqual(fruit, [ | ||
{ type: 'apples', count: '7' }, | ||
{ type: 'pears', count: '4' }, | ||
{ type: 'bananas', count: '5' } | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type count | ||
apples 7 | ||
pears 4 | ||
bananas 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import fruit from './fruit.tsv'; | ||
|
||
t.deepEqual(fruit, [ | ||
{ type: 'apples', count: '7' }, | ||
{ type: 'pears', count: '4' }, | ||
{ type: 'bananas', count: '5' } | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.