punycode
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "punycode", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://mths.be/punycode", |
@@ -18,3 +18,3 @@ 'use strict'; | ||
const regexPunycode = /^xn--/; | ||
const regexNonASCII = /[^\x20-\x7E]/; // unprintable ASCII chars + non-ASCII chars | ||
const regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars | ||
const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators | ||
@@ -423,3 +423,3 @@ | ||
*/ | ||
'version': '2.0.1', | ||
'version': '2.1.0', | ||
/** | ||
@@ -426,0 +426,0 @@ * An object of methods to convert from JavaScript's internal character |
@@ -18,3 +18,3 @@ 'use strict'; | ||
const regexPunycode = /^xn--/; | ||
const regexNonASCII = /[^\x20-\x7E]/; // unprintable ASCII chars + non-ASCII chars | ||
const regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars | ||
const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators | ||
@@ -423,3 +423,3 @@ | ||
*/ | ||
'version': '2.0.1', | ||
'version': '2.1.0', | ||
/** | ||
@@ -426,0 +426,0 @@ * An object of methods to convert from JavaScript's internal character |
32332