Skip to content

Commit

Permalink
Lodash: Remove completely from element package (#42898)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla authored Aug 3, 2022
1 parent afaa4a6 commit fa70ebc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
17 changes: 1 addition & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@wordpress/escape-html": "file:../escape-html",
"change-case": "^4.1.2",
"is-plain-obj": "^4.1.0",
"lodash": "^4.17.21",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/element/src/serialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* External dependencies
*/
import isPlainObject from 'is-plain-obj';
import { kebabCase } from 'lodash';
import { paramCase as kebabCase } from 'change-case';

/**
* WordPress dependencies
Expand Down

0 comments on commit fa70ebc

Please sign in to comment.