🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@code-inspector/core

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-inspector/core - npm Package Compare versions

Comparing version
1.4.5
to
1.4.6
+1
-1
package.json
{
"name": "@code-inspector/core",
"version": "1.4.5",
"version": "1.4.6",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "./dist/index.mjs",

import MagicString from 'magic-string';
import { EscapeTags } from '../../shared';
import type { ElementNode } from '@vue/compiler-dom';
import * as pug from 'volar-service-pug/lib/languageService';
interface AstLocation {
column: number;
line: number;
}
export interface PugFileInfo {

@@ -9,2 +14,11 @@ content: string;

export declare const pugMap: Map<string, PugFileInfo>;
export declare function belongTemplate(target: AstLocation, start: AstLocation, end: AstLocation): boolean;
interface TransformPugParams {
node: pug.Node | null | undefined;
templateNode: ElementNode;
s: MagicString;
escapeTags: EscapeTags;
filePath: string;
}
export declare function transformPugAst(params: TransformPugParams): void;
/**

@@ -31,1 +45,2 @@ * Check if a template node uses Pug syntax

export declare function transformPugTemplate(content: string, filePath: string, templateNode: ElementNode, escapeTags: EscapeTags, s: MagicString): void;
export {};
import { EscapeTags } from '../../shared';
type VueCompilerDom = Pick<typeof import('@vue/compiler-dom'), 'parse' | 'transform'>;
export declare function resolveVueCompilerDom(mod: any): VueCompilerDom;
export declare function transformVue(content: string, filePath: string, escapeTags: EscapeTags): Promise<string>;
export {};
import { CodeOptions, Condition, EscapeTags } from './type';
export declare function getIP(ip: boolean | string): string;
export declare function fileURLToPath(fileURL: string): string;
export declare function isJsTypeFile(file: string): boolean;

@@ -5,0 +4,0 @@ export declare function getFilePathWithoutExt(filePath: string): string;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display