diff --git a/README.md b/README.md index a211259..79f9920 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ import CSVFileValidator from 'csv-file-validator' CSVFileValidator(file, config) .then(csvData => { csvData.data // Array of objects from file - csvData.inValidMessages // Array of error messages + csvData.inValidData // Array of error messages }) .catch(err => {}) ``` diff --git a/package.json b/package.json index 5a99874..6f9d138 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "csv-file-validator", - "version": "1.13.1", + "version": "2.0.0", "description": "Validation of CSV file against user defined schema (returns back object with data and invalid messages)", "main": "./src/csv-file-validator.js", "types": "./src/csv-file-validator.d.ts", diff --git a/yarn.lock b/yarn.lock index 7e1c399..19c793c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1325,9 +1325,9 @@ decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0: integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og== + version "0.2.2" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" + integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== deep-equal@^1.0.0: version "1.1.1"