Skip to content

Commit

Permalink
refactor: replace lodash.set with set-value (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed Apr 12, 2024
1 parent 9b4a8f3 commit 2171a29
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 26 deletions.
109 changes: 87 additions & 22 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
],
"homepage": "https://github.com/rsuite/schema-typed#readme",
"dependencies": {
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2"
"get-value": "^3.0.1",
"set-value": "^4.1.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default as get } from 'lodash.get';
export { default as set } from 'lodash.set';
export { default as get } from 'get-value';
export { default as set } from 'set-value';
export { default as basicEmptyCheck } from './basicEmptyCheck';
export { default as checkRequired } from './checkRequired';
export { default as createValidator } from './createValidator';
Expand Down

0 comments on commit 2171a29

Please sign in to comment.