just-kebab-case
Advanced tools
Comparing version 2.0.0 to 3.0.0
declare function kebabCase(value: string): string; | ||
export = kebabCase; | ||
export default kebabCase; |
@@ -1,2 +0,2 @@ | ||
import kebabCase = require("./index"); | ||
import kebabCase from './index' | ||
@@ -8,12 +8,12 @@ // OK | ||
// @ts-expect-error | ||
kebabCase(); | ||
kebabCase(); | ||
// @ts-expect-error | ||
kebabCase(0); | ||
kebabCase(0); | ||
// @ts-expect-error | ||
kebabCase([]); | ||
kebabCase([]); | ||
// @ts-expect-error | ||
kebabCase({}); | ||
kebabCase({}); | ||
// @ts-expect-error | ||
kebabCase(/nope/); | ||
kebabCase(/nope/); | ||
// @ts-expect-error | ||
kebabCase(false); | ||
kebabCase(false); |
{ | ||
"name": "just-kebab-case", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "convert a string to kebab case", | ||
@@ -23,2 +23,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51
4046