Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typescript-eslint-parser

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-eslint-parser - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

5

CHANGELOG.md

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

v8.0.0 - September 5, 2017
* 9877e98 Breaking: Support TypeScript 2.5 (fixes #368) (#369) (#370) (James Henry)
* 5b49870 Fix: Location data for typeAnnotations (#378) (James Henry)
v7.0.0 - August 22, 2017

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

1

lib/ast-node-types.js

@@ -127,2 +127,3 @@ /**

TSNonNullExpression: "TSNonNullExpression",
TSNeverKeyword: "TSNeverKeyword",
TSNullKeyword: "TSNullKeyword",

@@ -129,0 +130,0 @@ TSNumberKeyword: "TSNumberKeyword",

@@ -173,2 +173,3 @@ /**

findNextToken,
findFirstMatchingToken,
findChildOfKind,

@@ -418,2 +419,19 @@ findFirstMatchingAncestor,

/**
* Find the first matching token based on the given predicate function.
* @param {TSToken} previousToken The previous TSToken
* @param {TSNode} parent The parent TSNode
* @param {Function} predicate The predicate function to apply to each checked token
* @returns {TSToken|undefined} a matching TSToken
*/
function findFirstMatchingToken(previousToken, parent, predicate) {
while (previousToken) {
if (predicate(previousToken)) {
return previousToken;
}
previousToken = findNextToken(previousToken, parent);
}
return undefined;
}
/**
* Finds the first child TSNode which matches the given kind

@@ -420,0 +438,0 @@ * @param {TSNode} node The parent TSNode

18

package.json

@@ -7,3 +7,3 @@ {

"main": "parser.js",
"version": "7.0.0",
"version": "8.0.0",
"files": [

@@ -22,15 +22,15 @@ "lib",

"devDependencies": {
"babel-code-frame": "^6.22.0",
"babylon": "^7.0.0-beta.20",
"eslint": "3.19.0",
"babel-code-frame": "^6.26.0",
"babylon": "^7.0.0-beta.22",
"eslint": "4.6.1",
"eslint-config-eslint": "4.0.0",
"eslint-plugin-node": "4.2.2",
"eslint-plugin-node": "5.1.1",
"eslint-release": "0.10.3",
"glob": "^7.1.2",
"jest": "20.0.4",
"jest": "21.0.1",
"lodash.isplainobject": "^4.0.6",
"npm-license": "0.3.3",
"shelljs": "0.7.7",
"shelljs": "0.7.8",
"shelljs-nodecli": "0.1.1",
"typescript": "~2.4.0"
"typescript": "~2.5.1"
},

@@ -59,3 +59,3 @@ "keywords": [

"lodash.unescape": "4.0.1",
"semver": "5.3.0"
"semver": "5.4.1"
},

@@ -62,0 +62,0 @@ "peerDependencies": {

@@ -11,3 +11,3 @@ # TypeScript ESLint Parser (Experimental)

The version of TypeScript currently supported by this parser is `~2.4.0`. This is reflected in the `devDependency` requirement within the package.json file, and it is what the tests will be run against. We have an open `peerDependency` requirement in order to allow for experimentation on newer/beta versions of TypeScript.
The version of TypeScript currently supported by this parser is `~2.5.1`. This is reflected in the `devDependency` requirement within the package.json file, and it is what the tests will be run against. We have an open `peerDependency` requirement in order to allow for experimentation on newer/beta versions of TypeScript.

@@ -14,0 +14,0 @@ If you use a non-supported version of TypeScript, the parser will log a warning to the console.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc