Skip to content

Commit

Permalink
Remove snakecase dep, use lodash instead to trim down lib
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 18, 2023
1 parent c36d232 commit 645f539
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"backbone": "1.4.1",
"bootstrap": "4.6",
"bootstrap-vue": "^2.23.0",
"change-case": "^5.0.2",
"citation-js": "^0.6.4",
"core-js": "^3.33.0",
"csv-parse": "^5.5.2",
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/providers/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { snakeCase } from "change-case";
import { snakeCase } from "lodash";
import JOB_STATES_MODEL from "utils/job-states-model";

export function stateIsTerminal(result) {
Expand Down
1 change: 0 additions & 1 deletion client/tests/jest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const { defaults: tsjPreset } = require("ts-jest/presets");
const modulesToTransform = [
"axios",
"bootstrap-vue",
"change-case",
"rxjs",
"@hirez_io",
"winbox",
Expand Down
5 changes: 0 additions & 5 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4032,11 +4032,6 @@ chalk@^4.0.0, chalk@^4.1.0, chalk@~4.1.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"

change-case@^5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/change-case/-/change-case-5.0.2.tgz#0f1885d310b84065a17b20e8231c7dff37207627"
integrity sha512-tH6YZXViaeC2/Mnt8m4gSmbZfNorC2rhwCX2bXw8SYZWr8ljCPB7iA+1TLG9t7yroWBFauc63LlOZ1gucMVCWw==

char-regex@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz"
Expand Down

0 comments on commit 645f539

Please sign in to comment.