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

antlr4-c3

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antlr4-c3 - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

out/index.js

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

'use strict';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +3,0 @@ if (k2 === undefined) k2 = k;

@@ -91,3 +91,3 @@ import { ParseTree } from "antlr4ts/tree/ParseTree";

getSymbolsOfType<T extends Symbol>(t: new (...args: any[]) => T): Promise<T[]>;
getAllSymbols<T extends Symbol>(t: new (...args: any[]) => T, localOnly?: boolean): Promise<Symbol[]>;
getAllSymbols<T extends Symbol>(t: new (...args: any[]) => T, localOnly?: boolean): Promise<T[]>;
resolve(name: string, localOnly?: boolean): Promise<Symbol | undefined>;

@@ -175,5 +175,5 @@ getTypedSymbols(localOnly?: boolean): TypedSymbol[];

addNewNamespaceFromPath(parent: ScopedSymbol | undefined, path: string, delimiter?: string): Promise<NamespaceSymbol>;
getAllSymbols<T extends Symbol>(t?: new (...args: any[]) => T, localOnly?: boolean): Promise<Symbol[]>;
getAllSymbols<T extends Symbol>(t: new (...args: any[]) => T, localOnly?: boolean): Promise<T[]>;
symbolWithContext(context: ParseTree): Promise<Symbol | undefined>;
resolve(name: string, localOnly?: boolean): Promise<Symbol | undefined>;
}

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

return __awaiter(this, void 0, void 0, function* () {
const result = yield _super.getAllSymbols.call(this, t !== null && t !== void 0 ? t : Symbol, localOnly);
const result = yield _super.getAllSymbols.call(this, t, localOnly);
if (!localOnly) {

@@ -575,0 +575,0 @@ const dependencyResults = yield Promise.all([...this.dependencies].map((dependency) => (dependency.getAllSymbols(t, localOnly))));

{
"name": "antlr4-c3",
"version": "2.0.1",
"version": "2.0.2",
"description": "A code completion core implementation for ANTLR4 based parsers",

@@ -5,0 +5,0 @@ "main": "out/index.js",

@@ -216,2 +216,5 @@ [![NPM](https://nodei.co/npm/antlr4-c3.png?downloads=true&downloadRank=true)](https://nodei.co/npm/antlr4-c3/)

### 2.0.2
- `getAllSymbols<T>` now returns symbols of type T (instead of `Symbol`), like all other enumeration methods.
### 2.0.1

@@ -218,0 +221,0 @@ - Breaking change: some of the methods in the symbol table implementation, which may require extra work return now promises (symbol collections and resolver methods). This allows also to override them and return asynchronous results which are constructed from external resources (like database symbols).

Sorry, the diff of this file is not supported yet

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