@teselagen/file-utils 0.3.16 → 0.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@teselagen/file-utils",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "dependencies": {
5
5
  "bluebird": "^3.7.2",
6
6
  "jszip": "^3.10.1",
7
- "lodash": "^4.17.21",
8
- "papaparse": "^5.4.1"
7
+ "lodash-es": "^4.17.21",
8
+ "papaparse": "5.3.2"
9
9
  },
10
10
  "devDependencies": {
11
11
  "mock-fs": "^5.2.0"
package/src/file-utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* Copyright (C) 2018 TeselaGen Biotechnology, Inc. */
2
- import { camelCase, flatMap, remove, startsWith, snakeCase } from "lodash";
2
+ import { camelCase, flatMap, remove, startsWith, snakeCase } from "lodash-es";
3
3
  import { loadAsync } from "jszip";
4
4
  import Promise from "bluebird";
5
5
  import { parse, unparse } from "papaparse";
@@ -74,8 +74,7 @@ export const extractZipFiles = async allFiles => {
74
74
 
75
75
  const defaultCsvParserOptions = {
76
76
  header: true,
77
- skipEmptyLines: "greedy",
78
- trimHeaders: true
77
+ skipEmptyLines: "greedy"
79
78
  };
80
79
  export const setupCsvParserOptions = (parserOptions = {}) => {
81
80
  const {