Comparing version 5.2.0 to 5.2.1
@@ -48,6 +48,4 @@ "use strict"; | ||
throw new Error('Table must have a consistent number of cells.'); | ||
} // @todo Make an exception for newline characters. | ||
// @see https://github.com/gajus/table/issues/9 | ||
} | ||
var _iteratorNormalCompletion2 = true; | ||
@@ -62,3 +60,3 @@ var _didIteratorError2 = false; | ||
// eslint-disable-next-line no-control-regex | ||
if (/[\u0001-\u001A]/.test(cell)) { | ||
if (/[\u0001-\u0009\u000B-\u001A]/.test(cell)) { | ||
throw new Error('Table data must not contain control characters.'); | ||
@@ -65,0 +63,0 @@ } |
@@ -82,3 +82,3 @@ { | ||
}, | ||
"version": "5.2.0" | ||
"version": "5.2.1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193034
2841