Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "path-case", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Path case a string", | ||
@@ -33,4 +33,4 @@ "main": "path-case.js", | ||
"dependencies": { | ||
"sentence-case": "^1.0.0" | ||
"sentence-case": "^1.0.2" | ||
} | ||
} |
@@ -10,3 +10,3 @@ var sentence = require('sentence-case'); | ||
module.exports = function (string) { | ||
return sentence(string).replace(/ |\./g, '/'); | ||
return sentence(string).replace(/ /g, '/'); | ||
}; |
@@ -23,3 +23,4 @@ /* global describe, it */ | ||
assert.equal(pathCase('TestString'), 'test/string'); | ||
assert.equal(pathCase('TestString1_2_3'), 'test/string/1/2/3'); | ||
}); | ||
}); |
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
4134
31
Updatedsentence-case@^1.0.2