New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript-parser

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-parser - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

imports/DefaultImport.js

@@ -19,3 +19,3 @@ "use strict";

get isNew() {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -22,0 +22,0 @@ /**

@@ -19,3 +19,3 @@ "use strict";

get isNew() {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -22,0 +22,0 @@ /**

@@ -20,3 +20,3 @@ "use strict";

get isNew() {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -23,0 +23,0 @@ /**

@@ -18,3 +18,3 @@ "use strict";

get isNew() {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -21,0 +21,0 @@ /**

@@ -17,3 +17,3 @@ "use strict";

get isNew() {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -20,0 +20,0 @@ /**

{
"name": "typescript-parser",
"version": "1.2.0",
"version": "1.2.1",
"description": "Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.",

@@ -34,13 +34,13 @@ "main": "index.js",

"devDependencies": {
"@types/jest": "^20.0.1",
"@types/jest": "^20.0.2",
"@types/mock-fs": "^3.6.30",
"@types/node": "^8.0.1",
"del-cli": "^1.0.0",
"@types/node": "^8.0.13",
"del-cli": "^1.1.0",
"jest": "^20.0.4",
"mock-fs": "^4.4.1",
"semantic-release": "^6.3.6",
"ts-jest": "^20.0.6",
"tslint": "^5.4.3",
"tslint-config-airbnb": "^5.2.0",
"tsutils": "^2.4.0",
"ts-jest": "^20.0.7",
"tslint": "^5.5.0",
"tslint-config-airbnb": "^5.2.1",
"tsutils": "^2.7.1",
"typedoc": "^0.7.1"

@@ -47,0 +47,0 @@ },

@@ -13,3 +13,3 @@ import { AliasedImport } from './Import';

public get isNew(): boolean {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -16,0 +16,0 @@

@@ -13,3 +13,3 @@ import { AliasedImport } from './Import';

public get isNew(): boolean {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -16,0 +16,0 @@

@@ -17,3 +17,3 @@ import { SymbolSpecifier } from '../SymbolSpecifier';

public get isNew(): boolean {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -20,0 +20,0 @@

@@ -12,3 +12,3 @@ import { AliasedImport } from './Import';

public get isNew(): boolean {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -15,0 +15,0 @@

@@ -12,3 +12,3 @@ import { Import } from './Import';

public get isNew(): boolean {
return this.start !== undefined && this.end !== undefined;
return this.start === undefined || this.end === undefined;
}

@@ -15,0 +15,0 @@

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