We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d0c174 commit 8d1a44eCopy full SHA for 8d1a44e
.travis.yml
@@ -6,9 +6,8 @@ script:
6
- npm run lint
7
- npm run test
8
node_js:
9
- - 6
10
- - 5
11
- - 4
+ - 10
+ - 8
12
notifications:
13
email: false
14
sudo: false
src/validateTableData.js
@@ -37,6 +37,7 @@ export default (rows) => {
37
// @todo Make an exception for newline characters.
38
// @see https://github.com/gajus/table/issues/9
39
for (const cell of cells) {
40
+ // eslint-disable-next-line no-control-regex
41
if (/[\u0001-\u001A]/.test(cell)) {
42
throw new Error('Table data must not contain control characters.');
43
}
0 commit comments