Socket
Socket
Sign inDemoInstall

@types/less

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/less - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

46

less/index.d.ts

@@ -76,3 +76,8 @@ // Type definitions for LESS 3.x

*/
supports(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): boolean;
supports(
filename: string,
currentDirectory: string,
options: LoadFileOptions,
environment: Environment,
): boolean;

@@ -82,3 +87,8 @@ /**

*/
loadFile(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): Promise<FileLoadResult>;
loadFile(
filename: string,
currentDirectory: string,
options: LoadFileOptions,
environment: Environment,
): Promise<FileLoadResult>;

@@ -88,3 +98,8 @@ /**

*/
loadFileSync(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): FileLoadResult | FileLoadError;
loadFileSync(
filename: string,
currentDirectory: string,
options: LoadFileOptions,
environment: Environment,
): FileLoadResult | FileLoadError;
}

@@ -130,3 +145,8 @@

*/
supportsSync(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): boolean;
supportsSync(
filename: string,
currentDirectory: string,
options: LoadFileOptions,
environment: Environment,
): boolean;
}

@@ -217,3 +237,3 @@

/** Math mode options for avoiding symbol conficts on math expressions. */
math?: 'always' | 'strict' | 'parens-division' | 'parens' | 'strict-legacy' | number | undefined;
math?: "always" | "strict" | "parens-division" | "parens" | "strict-legacy" | number | undefined;
/** If true, stops any warnings from being shown. */

@@ -225,7 +245,7 @@ silent?: boolean | undefined;

globalVars?: {
[key: string] : string,
[key: string]: string;
} | undefined;
/** Puts Var declaration at the end of base file. */
modifyVars?: {
[key: string] : string,
[key: string]: string;
} | undefined;

@@ -271,3 +291,7 @@ /** Read files synchronously in Node.js */

render(input: string, callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void): void;
render(input: string, options: Less.Options, callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void): void;
render(
input: string,
options: Less.Options,
callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void,
): void;

@@ -277,3 +301,7 @@ render(input: string): Promise<Less.RenderOutput>;

refresh(reload?: boolean, modifyVars?: { [variable: string]: string }, clearFileCache?: boolean): Promise<Less.RefreshOutput>;
refresh(
reload?: boolean,
modifyVars?: { [variable: string]: string },
clearFileCache?: boolean,
): Promise<Less.RefreshOutput>;

@@ -280,0 +308,0 @@ version: number[];

6

less/package.json
{
"name": "@types/less",
"version": "3.0.3",
"version": "3.0.4",
"description": "TypeScript definitions for LESS",

@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/less",

"dependencies": {},
"typesPublisherContentHash": "f8069d9a22ccfd721c0911813590e86006251b5e21a59bf0d39fd2cf54aae7e0",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "59d6058ea3188be3ee3e16d516dada9d2169bf6fb3c7c6962f76f0eba82496b9",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 06 Jul 2021 22:02:40 GMT
* Last updated: Wed, 30 Aug 2023 19:35:02 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `Less`, `less`

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