Skip to content

Commit

Permalink
fix(deps): upgrade deps and fix breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
skovy committed Dec 8, 2019
1 parent b7c455f commit b7ab212
Show file tree
Hide file tree
Showing 3 changed files with 659 additions and 344 deletions.
4 changes: 2 additions & 2 deletions lib/sass/file-to-class-names.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sass from "node-sass";
import camelcase from "camelcase";
import paramcase from "param-case";
import { paramCase } from "param-case";

import { sourceToClassNames } from "./source-to-class-names";

Expand Down Expand Up @@ -92,7 +92,7 @@ const classNameTransformer = (nameFormat: NameFormat): Transformer => {
switch (nameFormat) {
case "kebab":
case "param":
return className => paramcase(className);
return className => paramCase(className);
case "camel":
return className => camelcase(className);
case "dashes":
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@types/jest": "^24.0.0",
"@types/node-sass": "^3.10.32",
"@types/param-case": "^1.1.2",
"@types/reserved-words": "^0.1.0",
"@types/yargs": "^12.0.8",
"husky": "^1.3.1",
"jest": "23.6.0",
Expand All @@ -60,17 +61,16 @@
"node-sass": "^4.11.0"
},
"dependencies": {
"@types/reserved-words": "^0.1.0",
"camelcase": "^5.0.0",
"chalk": "^2.4.2",
"chokidar": "^2.1.2",
"chalk": "^3.0.0",
"chokidar": "^3.3.0",
"css-modules-loader-core": "^1.1.0",
"glob": "^7.1.3",
"param-case": "^2.1.1",
"glob": "^7.1.6",
"param-case": "^3.0.2",
"path": "^0.12.7",
"reserved-words": "^0.1.2",
"slash": "^3.0.0",
"yargs": "^12.0.5"
"yargs": "^15.0.2"
},
"husky": {
"hooks": {
Expand Down
Loading

0 comments on commit b7ab212

Please sign in to comment.