diff --git a/lib/get-config.js b/lib/get-config.js index 3423ad6c..71d93593 100644 --- a/lib/get-config.js +++ b/lib/get-config.js @@ -1,6 +1,6 @@ const {castArray, pickBy, isNil, isString, isPlainObject} = require('lodash'); const readPkgUp = require('read-pkg-up'); -const cosmiconfig = require('cosmiconfig'); +const {cosmiconfig} = require('cosmiconfig'); const resolveFrom = require('resolve-from'); const debug = require('debug')('semantic-release:config'); const {repoUrl} = require('./git'); diff --git a/package.json b/package.json index a90405ed..09d7d307 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@semantic-release/npm": "^5.0.5", "@semantic-release/release-notes-generator": "^7.1.2", "aggregate-error": "^3.0.0", - "cosmiconfig": "^5.0.1", + "cosmiconfig": "^6.0.0", "debug": "^4.0.0", "env-ci": "^4.0.0", "execa": "^3.2.0",