react-csv-importer
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -14,2 +14,3 @@ // Generated by dts-bundle-generator v6.4.0 | ||
chunkSize?: Papa.ParseConfig["chunkSize"]; | ||
encoding?: Papa.ParseConfig["encoding"]; | ||
} | ||
@@ -58,4 +59,4 @@ export declare type BaseRow = { | ||
export declare const ImporterField: React.FC<ImporterFieldProps>; | ||
export declare function Importer<Row extends BaseRow>({ assumeNoHeaders, restartable, processChunk, onStart, onComplete, onClose, children: content, ...customPapaParseConfig }: React.PropsWithChildren<ImporterProps<Row>>): React.ReactElement; | ||
export declare function Importer<Row extends BaseRow>({ assumeNoHeaders, restartable, processChunk, onStart, onComplete, onClose, children: content, ...customPapaParseConfig }: ImporterProps<Row>): React.ReactElement; | ||
export {}; |
{ | ||
"name": "react-csv-importer", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "React CSV import widget with user-customizable mapping", | ||
@@ -13,2 +13,3 @@ "keywords": [ | ||
"raw preview", | ||
"TextDecoder", | ||
"papa parse", | ||
@@ -61,3 +62,2 @@ "papaparse" | ||
"@types/react-dom": "^16.9.8", | ||
"@types/readable-stream": "^2.3.13", | ||
"@types/selenium-webdriver": "^4.0.11", | ||
@@ -69,3 +69,3 @@ "@types/webpack-dev-server": "^3.11.1", | ||
"chai": "^4.2.0", | ||
"chromedriver": "^94.0.0", | ||
"chromedriver": "^97.0.0", | ||
"clean-webpack-plugin": "^3.0.0", | ||
@@ -114,5 +114,4 @@ "cross-env": "^7.0.3", | ||
"react-dropzone": "^11.0.3", | ||
"react-use-gesture": "^7.0.16", | ||
"readable-web-to-node-stream": "^3.0.0" | ||
"react-use-gesture": "^7.0.16" | ||
} | ||
} |
@@ -31,2 +31,3 @@ # React CSV Importer | ||
- arbitrary CSV file size (true streaming support) | ||
- correctly handles multibyte streaming (see https://github.com/mholt/PapaParse/issues/908) | ||
- runs entirely in-browser | ||
@@ -89,2 +90,3 @@ - screen reader a11y | ||
// chunkSize={...} // defaults to 10000 | ||
// encoding={...} // defaults to utf-8, see FileReader API | ||
> | ||
@@ -145,2 +147,7 @@ <ImporterField name="name" label="Name" /> | ||
- 0.6.0 | ||
- improve multibyte stream parsing safety | ||
- support all browser encodings via TextDecoder | ||
- remove readable-web-to-node-stream dependency | ||
- bug fix for preview of short no-EOL files | ||
- 0.5.2 | ||
@@ -147,0 +154,0 @@ - update readable-web-to-node-stream to have stream shim |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
189058
5
53
1489
183
- Removedreadable-web-to-node-stream@^3.0.0
- Removedinherits@2.0.4(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedreadable-web-to-node-stream@3.0.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)