Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lcap/nasl-translator

Package Overview
Dependencies
Maintainers
0
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lcap/nasl-translator - npm Package Compare versions

Comparing version 3.10.0-rc.1 to 3.10.1-rc.1

12

out/utils.d.ts

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

import type { Translator, Concept } from '@lcap/nasl-types';
import type { Translator, NASLObject } from '@lcap/nasl-types';
export declare function lsp2tspNumber(num: number): number;

@@ -8,3 +8,3 @@ export declare const indent: (tabSize: number) => string;

*/
export declare function createCompilerState<Node extends Concept.BaseNode = Concept.BaseNode>(startCode?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>;
export declare function createCompilerState<Node extends NASLObject.BaseNode = NASLObject.BaseNode>(startCode?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>;
/**

@@ -17,5 +17,5 @@ * 根据代码移动位置

*/
export declare function shiftState<Node extends Concept.BaseNode = Concept.BaseNode>(state: Translator.TranslatorState<Node>, code?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>;
export declare function shiftState<Node extends NASLObject.BaseNode = NASLObject.BaseNode>(state: Translator.TranslatorState<Node>, code?: string, options?: Partial<Translator.TranslatorState<Node>>): Translator.TranslatorState<Node>;
export declare function isSameRange(rangeA: Translator.Range, rangeB: Translator.Range): boolean;
export declare function createDecoratorCode<T extends Concept.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>, options?: {
export declare function createDecoratorCode<T extends NASLObject.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>, options?: {
'@'?: boolean;

@@ -27,4 +27,4 @@ concept?: boolean;

export declare function textualNamespace(name: string): string;
export declare function createDescriptionComment<T extends Concept.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>): string;
export declare function createSlotPositionMark<T extends Concept.BaseNode>(state: Translator.TranslatorState, node: T, slotPosition: string): string;
export declare function createDescriptionComment<T extends NASLObject.BaseNode>(state: Translator.TranslatorState, node: T, properties: Array<keyof T>): string;
export declare function createSlotPositionMark<T extends NASLObject.BaseNode>(state: Translator.TranslatorState, node: T, slotPosition: string): string;
//# sourceMappingURL=utils.d.ts.map
{
"name": "@lcap/nasl-translator",
"description": "NetEase Application Specific Language",
"version": "3.10.0-rc.1",
"version": "3.10.1-rc.1",
"author": "Forrest <rainforest92@126.com>",

@@ -19,4 +19,4 @@ "main": "./out",

"@lcap/nasl-tsconfig": "1.0.1",
"@lcap/nasl-types": "3.10.0-rc.1",
"@lcap/nasl-utils": "3.10.0-rc.1"
"@lcap/nasl-types": "3.10.1-rc.1",
"@lcap/nasl-utils": "3.10.1-rc.1"
},

@@ -23,0 +23,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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