🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

@helios-lang/compiler-utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helios-lang/compiler-utils - npm Package Compare versions

Comparing version

to
0.5.9

{
"name": "@helios-lang/compiler-utils",
"version": "0.5.8",
"version": "0.5.9",
"description": "Helios language compiler library",

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

@@ -330,3 +330,3 @@ export {

* @prop {Token[]} rest
* Unread tokens optionally excludng newlines
* Unread tokens optionally excluding newlines
*

@@ -346,2 +346,7 @@ * @prop {ErrorCollector} errors

* @prop {() => void} unreadToken
*
* @prop {(multilineOperators: string[]) => TokenReader} insertSemicolons
* Creates a new TokenReader with semicolons inserted right before newlines if:
* - not first/last in the token list
* - not surrounded by multiline operators
*/

@@ -259,3 +259,3 @@ export { translateImportPaths } from "./formatters/index.js";

/**
* Unread tokens optionally excludng newlines
* Unread tokens optionally excluding newlines
*/

@@ -275,2 +275,8 @@ rest: Token[];

unreadToken: () => void;
/**
* Creates a new TokenReader with semicolons inserted right before newlines if:
* - not first/last in the token list
* - not surrounded by multiline operators
*/
insertSemicolons: (multilineOperators: string[]) => TokenReader;
};

@@ -277,0 +283,0 @@ import type { UnwrapSingleton } from "@helios-lang/type-utils";

Sorry, the diff of this file is not supported yet