🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

doctrine

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doctrine - npm Package Compare versions

Comparing version

to
1.2.3

5

CHANGELOG.md

@@ -0,1 +1,6 @@

v1.2.3 - August 16, 2016
* b96a884 Build: Add CI release script (Nicholas C. Zakas)
* 8d9b3c7 Upgrade: Upgrade esutils to v2.0.2 (fixes #170) (#171) (Emeegeemee)
v1.2.2 - May 19, 2016

@@ -2,0 +7,0 @@

6

lib/doctrine.js

@@ -266,7 +266,7 @@ /*

var identifier;
if (!esutils.code.isIdentifierStart(source.charCodeAt(index))) {
if (!esutils.code.isIdentifierStartES5(source.charCodeAt(index))) {
return null;
}
identifier = advance();
while (index < last && esutils.code.isIdentifierPart(source.charCodeAt(index))) {
while (index < last && esutils.code.isIdentifierPartES5(source.charCodeAt(index))) {
identifier += advance();

@@ -299,3 +299,3 @@ }

if (!esutils.code.isIdentifierStart(source.charCodeAt(index))) {
if (!esutils.code.isIdentifierStartES5(source.charCodeAt(index))) {
return null;

@@ -302,0 +302,0 @@ }

@@ -236,3 +236,3 @@ /*

ch = source.charCodeAt(index);
if (esutils.code.isIdentifierStart(ch)) {
if (esutils.code.isIdentifierStartES5(ch)) {
utility.throwError('unexpected token');

@@ -257,3 +257,3 @@ }

ch = source.charCodeAt(index);
if (esutils.code.isIdentifierStart(ch) || esutils.code.isDecimalDigit(ch)) {
if (esutils.code.isIdentifierStartES5(ch) || esutils.code.isDecimalDigit(ch)) {
utility.throwError('unexpected token');

@@ -316,3 +316,3 @@ }

ch = source.charCodeAt(index);
if (esutils.code.isIdentifierStart(ch)) {
if (esutils.code.isIdentifierStartES5(ch)) {
utility.throwError('unexpected token');

@@ -319,0 +319,0 @@ }

@@ -6,3 +6,3 @@ {

"main": "lib/doctrine.js",
"version": "1.2.2",
"version": "1.2.3",
"engines": {

@@ -33,6 +33,3 @@ "node": ">=0.10.0"

],
"repository": {
"type": "git",
"url": "http://github.com/eslint/doctrine.git"
},
"repository": "eslint/doctrine",
"devDependencies": {

@@ -42,3 +39,3 @@ "coveralls": "^2.11.2",

"eslint": "^1.10.3",
"eslint-release": "^0.3.0",
"eslint-release": "^0.10.0",
"istanbul": "^0.4.1",

@@ -63,2 +60,3 @@ "linefix": "^0.1.1",

"release": "eslint-release",
"ci-release": "eslint-ci-release",
"alpharelease": "eslint-prerelease alpha",

@@ -68,5 +66,5 @@ "betarelease": "eslint-prerelease beta"

"dependencies": {
"esutils": "^1.1.6",
"esutils": "^2.0.2",
"isarray": "^1.0.0"
}
}