diff --git a/packages/analyze-step/package.json b/packages/analyze-step/package.json index c186c52..e5c29ab 100644 --- a/packages/analyze-step/package.json +++ b/packages/analyze-step/package.json @@ -28,12 +28,12 @@ "inflection": "^3.0.0", "jsonpath": "1.0.2", "jsonpath-plus": "^7.2.0", - "lodash-es": "^4.17.21" + "lodash": "^4.17.21" }, "version": "0.1.1", "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4", "devDependencies": { "@types/jsonpath": "^0.2.0", - "@types/lodash-es": "^4.17.10" + "@types/lodash": "^4" } } diff --git a/packages/analyze-step/src/analyzeStep.ts b/packages/analyze-step/src/analyzeStep.ts index 542c5b3..3bb93a0 100644 --- a/packages/analyze-step/src/analyzeStep.ts +++ b/packages/analyze-step/src/analyzeStep.ts @@ -2,9 +2,9 @@ /* eslint-disable no-template-curly-in-string */ import formatDurationMs from '@transloadit/format-duration-ms' import prettierBytes from '@transloadit/prettier-bytes' -import inflect from 'inflection' +import * as inflect from 'inflection' import { JSONPath } from 'jsonpath-plus' -import { clone, countBy, get, has } from 'lodash-es' +import { clone, countBy, get, has } from 'lodash' function humanJoin(array: string[], reduce = true, glueword = 'and'): string { let countedArray = array diff --git a/yarn.lock b/yarn.lock index cf1d8d6..7a7573e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1435,11 +1435,11 @@ __metadata: "@transloadit/format-duration-ms": "npm:^0.1.1" "@transloadit/prettier-bytes": "npm:^0.1.1" "@types/jsonpath": "npm:^0.2.0" - "@types/lodash-es": "npm:^4.17.10" + "@types/lodash": "npm:^4" inflection: "npm:^3.0.0" jsonpath: "npm:1.0.2" jsonpath-plus: "npm:^7.2.0" - lodash-es: "npm:^4.17.21" + lodash: "npm:^4.17.21" languageName: unknown linkType: soft @@ -1693,16 +1693,7 @@ __metadata: languageName: node linkType: hard -"@types/lodash-es@npm:^4.17.10": - version: 4.17.10 - resolution: "@types/lodash-es@npm:4.17.10" - dependencies: - "@types/lodash": "npm:*" - checksum: 813cc81a694e5dcbb89379ded1761cf3fcf1cc13839856cdb10b6401be3ca16974bd7c94088f316ab18a8c58a3632af8b37a35da5cd107a430ab41d63c8dc012 - languageName: node - linkType: hard - -"@types/lodash@npm:*": +"@types/lodash@npm:^4": version: 4.14.200 resolution: "@types/lodash@npm:4.14.200" checksum: 7a8dac6dc866f10d1888846d6189d1faeb4f65adb139f0837a005fd1adcde62e60d7e7abb1a2733d13fc57bebb337d74182d8ad3dbd1d211dcd0c310c47e81bc @@ -6772,13 +6763,6 @@ __metadata: languageName: node linkType: hard -"lodash-es@npm:^4.17.21": - version: 4.17.21 - resolution: "lodash-es@npm:4.17.21" - checksum: fb407355f7e6cd523a9383e76e6b455321f0f153a6c9625e21a8827d10c54c2a2341bd2ae8d034358b60e07325e1330c14c224ff582d04612a46a4f0479ff2f2 - languageName: node - linkType: hard - "lodash.ismatch@npm:^4.4.0": version: 4.4.0 resolution: "lodash.ismatch@npm:4.4.0"