Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kvz committed Oct 31, 2023
1 parent a392325 commit e79f99b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
4 changes: 2 additions & 2 deletions packages/analyze-step/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions packages/analyze-step/src/analyzeStep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 3 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit e79f99b

Please sign in to comment.