E.g. when we try to run tableschema-ui build based on tableschema-js@1.8+ there is undefined newLinePos error in the browser console. It probably happens because csv-sniffer is written in a non-strict mode compatible way - https://github.com/MonetDBSolutions/npm-csv-sniffer/blob/master/index.js#L46 (not declared var).
Overview
It breaks the table read with irregular columns count
See more:
It breaks the build with webpack@4
E.g. when we try to run
tableschema-ui
build based ontableschema-js@1.8+
there isundefined newLinePos
error in the browser console. It probably happens becausecsv-sniffer
is written in a non-strict mode compatible way - https://github.com/MonetDBSolutions/npm-csv-sniffer/blob/master/index.js#L46 (not declared var).