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

close-parser

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

close-parser - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

2

package.json

@@ -11,3 +11,3 @@ {

"icon": "icon.png",
"version": "0.0.9",
"version": "0.0.10",
"engines": {

@@ -14,0 +14,0 @@ "vscode": "^1.43.0"

@@ -1,2 +0,2 @@

import { Node, Identifier, LineAndColumnData } from "@typescript-eslint/typescript-estree/dist/ts-estree/ts-estree";
import { Node, LineAndColumnData } from "@typescript-eslint/typescript-estree/dist/ts-estree/ts-estree";
export interface ScopeObj {

@@ -14,4 +14,5 @@ posStart: number;

varPos: number;
identifier: Node;
uses: Set<number>;
}
export declare function parseClosed(code: string, documentAST: Node, onDeclare: (obj: DeclObj, scope: ScopeObj) => void, onAccess: (declScope: ScopeObj | undefined, varName: string, varPos: number, curScope: ScopeObj, curFncScope: ScopeObj, declObj: DeclObj | undefined, identifier: Identifier) => void): void;
export declare function parseClosed(code: string, documentAST: Node, onDeclare: (obj: DeclObj, scope: ScopeObj) => void, onAccess: (declScope: ScopeObj | undefined, varName: string, varPos: number, curScope: ScopeObj, curFncScope: ScopeObj, declObj: DeclObj | undefined) => void): void;

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

return;
scope.variables.set(name, { varName: name, varPos, uses: new Set() });
scope.variables.set(name, { varName: name, identifier, varPos, uses: new Set() });
}

@@ -248,3 +248,3 @@ getCurrentScope() {

}
onAccess(declObj === null || declObj === void 0 ? void 0 : declObj.scopeObj, fixObj.idName, fixObj.pos, scope, fnc, declObj === null || declObj === void 0 ? void 0 : declObj.varObj, identifier);
onAccess(declObj === null || declObj === void 0 ? void 0 : declObj.scopeObj, fixObj.idName, fixObj.pos, scope, fnc, declObj === null || declObj === void 0 ? void 0 : declObj.varObj);
}

@@ -251,0 +251,0 @@ }

Sorry, the diff of this file is not supported yet

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