geddy-genutils
Advanced tools
Comparing version 0.0.9 to 0.0.10
var fs = require('fs'); | ||
var path = require('path') | ||
, utils = require('utilities') | ||
, geddyPath = path.normalize(path.join(require.resolve('geddy'), '../../')); | ||
@@ -252,2 +253,13 @@ | ||
} | ||
module.exports.escaped = escaped; | ||
module.exports.escaped = escaped; | ||
/** | ||
* Escapes a string | ||
* @param str {String} | ||
* @return {String} | ||
*/ | ||
function escape(str) | ||
{ | ||
return utils.string.escapeXML(str.replace(/;\S*/, '')); | ||
} | ||
module.exports.escape = escape; |
{ | ||
"name": "geddy-genutils", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "General purpose utilities for geddy generators.", | ||
@@ -21,3 +21,6 @@ "main": "index.js", | ||
}, | ||
"homepage": "https://github.com/geddy/geddy-genutils" | ||
"homepage": "https://github.com/geddy/geddy-genutils", | ||
"dependencies": { | ||
"utilities": "*" | ||
} | ||
} |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
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
12215
409
1
2
+ Addedutilities@*
+ Addedutilities@1.0.6(transitive)