node-stringprep
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -22,2 +22,10 @@ 'use strict'; | ||
var toASCII = function(value) { | ||
try { | ||
return bindings.toASCII(value) | ||
} catch (e) { | ||
return value | ||
} | ||
} | ||
var StringPrep = function(operation) { | ||
@@ -87,3 +95,4 @@ this.operation = operation | ||
toUnicode: toUnicode, | ||
toASCII: toASCII, | ||
StringPrep: StringPrep | ||
} |
{ | ||
"name": "node-stringprep", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "description": "ICU StringPrep profiles", |
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
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
19552
13
226
18