elegant-cli
Advanced tools
Comparing version 3.0.8 to 3.0.9-innovators.0
{ | ||
"name": "elegant-cli", | ||
"version": "3.0.8", | ||
"version": "3.0.9-innovators.0", | ||
"description": "Build SEO-friendly websites, super fast full-stack web applications, and much more with Elegant.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -49,3 +49,3 @@ { | ||
"glob": "^8.1.0", | ||
"graphql": "^16.7.1", | ||
"graphql": "^16.8.1", | ||
"gray-matter": "^4.0.3", | ||
@@ -56,3 +56,3 @@ "js-base64": "^3.7.5", | ||
"net": "^1.0.2", | ||
"next": "^13.4.12", | ||
"next": "13.5", | ||
"next-connect": "^1.0.0", | ||
@@ -129,3 +129,3 @@ "next-router-mock": "^0.9.7", | ||
"debounce": "^1.2.0", | ||
"elegant-cli": "^3.0.4", | ||
"elegant-cli": "^3.0.8", | ||
"encoding": "^0.1.13", | ||
@@ -132,0 +132,0 @@ "eslint": "^8.44.0", |
@@ -18,2 +18,7 @@ import TextToKebabCase from "./TextToKebabCase"; | ||
}); | ||
it('handles no string gracefully', () => { | ||
let result = TextToKebabCase(""); | ||
expect(result).toBe(""); | ||
}) | ||
}); |
@@ -7,2 +7,8 @@ /** | ||
const TextToKebabCase = (str: string) => { | ||
// if the string is null, return gracefully | ||
if(str.length === 0){ | ||
return ""; | ||
} | ||
const words = str.split(" "); | ||
@@ -9,0 +15,0 @@ |
@@ -12,2 +12,7 @@ import TextToTitleCase from "./TextToTitleCase"; | ||
}); | ||
it('handles a null string gracefully', () => { | ||
let result = TextToTitleCase(""); | ||
expect(result).toBe(""); | ||
}); | ||
}); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
12414156
76575
1