diff --git a/package-lock.json b/package-lock.json index 6246881..0fc2ebb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "assert": "^2.1.0", "coveralls": "^3.1.1", "fs-extra": "^9.1.0", - "is-plain-object": "^3.0.1", + "is-plain-object": "^5.0.0", "mocha": "^10.4.0", "nyc": "^15.1.0", "snazzy": "^9.0.0", @@ -3407,9 +3407,9 @@ } }, "node_modules/is-plain-object": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz", - "integrity": "sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", "dev": true, "engines": { "node": ">=0.10.0" diff --git a/package.json b/package.json index 91afae9..6b2806b 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "assert": "^2.1.0", "coveralls": "^3.1.1", "fs-extra": "^9.1.0", - "is-plain-object": "^3.0.1", + "is-plain-object": "^5.0.0", "mocha": "^10.4.0", "nyc": "^15.1.0", "snazzy": "^9.0.0", diff --git a/test/cases/project_clean.js b/test/cases/project_clean.js index 9e8b54d..8254fc0 100644 --- a/test/cases/project_clean.js +++ b/test/cases/project_clean.js @@ -1,6 +1,6 @@ const fs = require('fs-extra') const path = require('path') -const isPlainObject = require('is-plain-object') +const { isPlainObject } = require('is-plain-object') const buildPath = path.join(__dirname, '..', 'build') const dirName = path.basename(__filename).split('.')[0] diff --git a/test/cases/project_nested.js b/test/cases/project_nested.js index 1e34e60..3dc98d4 100644 --- a/test/cases/project_nested.js +++ b/test/cases/project_nested.js @@ -1,6 +1,6 @@ const fs = require('fs-extra') const path = require('path') -const isPlainObject = require('is-plain-object') +const { isPlainObject } = require('is-plain-object') const buildPath = path.join(__dirname, '..', 'build') const dirName = path.basename(__filename).split('.')[0]