vscode-textmate
Advanced tools
Comparing version 2.3.1 to 2.3.2
{ | ||
"name": "vscode-textmate", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "VSCode TextMate grammar helpers", | ||
@@ -36,5 +36,5 @@ "author": { | ||
"remap-istanbul": "^0.6.4", | ||
"typescript": "^1.8.10", | ||
"typescript": "^2.0.8", | ||
"typings": "^1.3.2" | ||
} | ||
} |
@@ -12,4 +12,4 @@ /** | ||
export declare class Registry { | ||
private _locator; | ||
private _syncRegistry; | ||
private readonly _locator; | ||
private readonly _syncRegistry; | ||
constructor(locator?: IGrammarLocator); | ||
@@ -30,6 +30,6 @@ /** | ||
export interface IGrammarInfo { | ||
fileTypes: string[]; | ||
name: string; | ||
scopeName: string; | ||
firstLineMatch: string; | ||
readonly fileTypes: string[]; | ||
readonly name: string; | ||
readonly scopeName: string; | ||
readonly firstLineMatch: string; | ||
} | ||
@@ -46,12 +46,12 @@ /** | ||
export interface ITokenizeLineResult { | ||
tokens: IToken[]; | ||
readonly tokens: IToken[]; | ||
/** | ||
* The `prevState` to be passed on to the next line tokenization. | ||
*/ | ||
ruleStack: StackElement; | ||
readonly ruleStack: StackElement; | ||
} | ||
export interface IToken { | ||
startIndex: number; | ||
endIndex: number; | ||
scopes: string[]; | ||
readonly endIndex: number; | ||
readonly scopes: string[]; | ||
} | ||
@@ -62,5 +62,5 @@ /** | ||
export interface StackElement { | ||
_parent: StackElement; | ||
_stackElementBrand: void; | ||
readonly _parent: StackElement; | ||
equals(other: StackElement): boolean; | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
93063
2219