esutils
Advanced tools
Comparing version 1.1.4 to 1.1.5-dev
/* | ||
Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com> | ||
Copyright (C) 2013-2014 Yusuke Suzuki <utatane.tea@gmail.com> | ||
Copyright (C) 2014 Ivan Nikulin <ifaaan@gmail.com> | ||
@@ -64,5 +65,5 @@ Redistribution and use in source and binary forms, with or without | ||
function isIdentifierStart(ch) { | ||
return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore) | ||
return (ch >= 97 && ch <= 122) || // a..z | ||
(ch >= 65 && ch <= 90) || // A..Z | ||
(ch >= 97 && ch <= 122) || // a..z | ||
(ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore) | ||
(ch === 92) || // \ (backslash) | ||
@@ -73,6 +74,6 @@ ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(String.fromCharCode(ch))); | ||
function isIdentifierPart(ch) { | ||
return (ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore) | ||
return (ch >= 97 && ch <= 122) || // a..z | ||
(ch >= 65 && ch <= 90) || // A..Z | ||
(ch >= 97 && ch <= 122) || // a..z | ||
(ch >= 48 && ch <= 57) || // 0..9 | ||
(ch === 36) || (ch === 95) || // $ (dollar) and _ (underscore) | ||
(ch === 92) || // \ (backslash) | ||
@@ -79,0 +80,0 @@ ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(String.fromCharCode(ch))); |
@@ -6,3 +6,3 @@ { | ||
"main": "lib/utils.js", | ||
"version": "1.1.4", | ||
"version": "1.1.5-dev", | ||
"engines": { | ||
@@ -9,0 +9,0 @@ "node": ">=0.10.0" |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
32963
383
1