diff --git a/.eslintrc.js b/.eslintrc.js index 1f01304..2ae1d66 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,4 @@ -module.exports = require(`merge-deep`)( +module.exports = require(`@jgierer12/merge-deep`)( require(`@jgierer12/js-configs/eslint`), require(`@jgierer12/js-configs/eslint/react`) ); diff --git a/package.json b/package.json index a29417e..297cba2 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ ] }, "dependencies": { - "merge-deep": "^3.0.2" + "@jgierer12/merge-deep": "^3.1.0" }, "devDependencies": { "@babel/preset-env": "^7.4.4", diff --git a/src/use-object-state.js b/src/use-object-state.js index c506c0b..d417c63 100644 --- a/src/use-object-state.js +++ b/src/use-object-state.js @@ -1,5 +1,5 @@ import * as React from "react"; -import deepMerge from "merge-deep"; +import deepMerge from "@jgierer12/merge-deep"; /** * On `setState`, deep-merge old and new state objects.