Skip to content

Commit

Permalink
deps(vx-text): lodash => lodash.memoize with types
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Williams committed Nov 13, 2019
1 parent 07aeff1 commit 9e15a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/vx-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
"homepage": "https://github.com/hshoff/vx#readme",
"dependencies": {
"@types/classnames": "^2.2.9",
"@types/lodash.memoize": "^4.1.6",
"@types/react": "*",
"classnames": "^2.2.5",
"lodash": "^4.17.15",
"lodash.memoize": "^4.1.2",
"prop-types": "^15.7.2",
"reduce-css-calc": "^1.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vx-text/src/util/getStringWidth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import memoize from 'lodash/memoize';
import memoize from 'lodash.memoize';

const MEASUREMENT_ELEMENT_ID = '__react_svg_text_measurement_id';

Expand Down

0 comments on commit 9e15a1e

Please sign in to comment.