diff --git a/.gitignore b/.gitignore index 648ea07f..2e544caf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules coverage npm-debug.log +.idea diff --git a/lib/compile-exports.js b/lib/compile-exports.js index 8e14087d..19ca14f1 100644 --- a/lib/compile-exports.js +++ b/lib/compile-exports.js @@ -1,4 +1,4 @@ -var camelCase = require("lodash.camelcase"); +var camelCase = require("lodash/camelCase"); function dashesCamelCase(str) { return str.replace(/-+(\w)/g, function(match, firstLetter) { diff --git a/package-lock.json b/package-lock.json index 41f1b6f7..85660397 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2141,10 +2141,9 @@ } }, "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", - "dev": true + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" }, "lodash._baseassign": { "version": "3.2.0", @@ -2186,11 +2185,6 @@ "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", "dev": true }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, "lodash.create": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz", diff --git a/package.json b/package.json index 596a52ab..dda4aa3e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "css-selector-tokenizer": "^0.7.0", "icss-utils": "^2.1.0", "loader-utils": "^1.0.2", - "lodash.camelcase": "^4.3.0", + "lodash": "^4.17.11", "postcss": "^6.0.23", "postcss-modules-extract-imports": "^1.2.0", "postcss-modules-local-by-default": "^1.2.0",