diff --git a/package.json b/package.json index 0f979954ba2dc..67714b1706d14 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,6 @@ "glob": "7.1.2", "husky": "0.14.3", "is-equal-shallow": "0.1.3", - "is-plain-obj": "1.1.0", "jsdom": "11.12.0", "lerna": "3.11.1", "lint-staged": "7.3.0", diff --git a/packages/npm-package-json-lint-config/test/index.test.js b/packages/npm-package-json-lint-config/test/index.test.js index 1660dda0a8a88..1fb05298c6073 100644 --- a/packages/npm-package-json-lint-config/test/index.test.js +++ b/packages/npm-package-json-lint-config/test/index.test.js @@ -1,7 +1,7 @@ /** * External dependencies */ -import isPlainObj from 'is-plain-obj'; +import { isPlainObject } from 'lodash'; /** * Internal dependencies @@ -10,10 +10,10 @@ import config from '../'; describe( 'npm-package-json-lint config tests', () => { it( 'should be an object', () => { - expect( isPlainObj( config ) ).toBeTruthy(); + expect( isPlainObject( config ) ).toBeTruthy(); } ); it( 'should have rules property as an object', () => { - expect( isPlainObj( config.rules ) ).toBeTruthy(); + expect( isPlainObject( config.rules ) ).toBeTruthy(); } ); } );