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.2 to 3.0.3

66

less/index.d.ts

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

/** whether to adjust URL's to be relative */
rewriteUrls?: boolean;
rewriteUrls?: boolean | undefined;
/** full resolved filename of current file */

@@ -40,3 +40,3 @@ filename: string;

install: (less: LessStatic, pluginManager: PluginManager) => void;
minVersion?: [number, number, number];
minVersion?: [number, number, number] | undefined;
}

@@ -133,7 +133,7 @@

interface LoadFileOptions {
paths?: string[];
prefixes?: string[];
ext?: string;
paths?: string[] | undefined;
prefixes?: string[] | undefined;
ext?: string | undefined;
rawBuffer?: any;
syncImport?: boolean;
syncImport?: boolean | undefined;
}

@@ -164,7 +164,7 @@

interface SourceMapOption {
sourceMapURL?: string;
sourceMapBasepath?: string;
sourceMapRootpath?: string;
outputSourceFiles?: boolean;
sourceMapFileInline?: boolean;
sourceMapURL?: string | undefined;
sourceMapBasepath?: string | undefined;
sourceMapRootpath?: string | undefined;
outputSourceFiles?: boolean | undefined;
sourceMapFileInline?: boolean | undefined;
}

@@ -190,44 +190,44 @@

interface Options {
sourceMap?: SourceMapOption;
sourceMap?: SourceMapOption | undefined;
/** Filename of the main file to be passed to less.render() */
filename?: string;
filename?: string | undefined;
/** The locations for less looking for files in @import rules */
paths?: string[];
paths?: string[] | undefined;
/** True, if run the less parser and just reports errors without any output. */
lint?: boolean;
lint?: boolean | undefined;
/** Pre-load global Less.js plugins */
plugins?: Plugin[];
plugins?: Plugin[] | undefined;
/** @deprecated If true, compress using less built-in compression. */
compress?: boolean;
strictImports?: boolean;
compress?: boolean | undefined;
strictImports?: boolean | undefined;
/** If true, allow imports from insecure https hosts. */
insecure?: boolean;
depends?: boolean;
maxLineLen?: number;
insecure?: boolean | undefined;
depends?: boolean | undefined;
maxLineLen?: number | undefined;
/** @deprecated If false, No color in compiling. */
color?: boolean;
color?: boolean | undefined;
/** @deprecated False by default. */
ieCompat?: boolean;
ieCompat?: boolean | undefined;
/** @deprecated If true, enable evaluation of JavaScript inline in `.less` files. */
javascriptEnabled?: boolean;
javascriptEnabled?: boolean | undefined;
/** Whether output file information and line numbers in compiled CSS code. */
dumpLineNumbers?: "comment" | string;
dumpLineNumbers?: "comment" | string | undefined;
/** Add a path to every generated import and url in output css files. */
rootpath?: string;
rootpath?: string | undefined;
/** Math mode options for avoiding symbol conficts on math expressions. */
math?: 'always' | 'strict' | 'parens-division' | 'parens' | 'strict-legacy' | number;
math?: 'always' | 'strict' | 'parens-division' | 'parens' | 'strict-legacy' | number | undefined;
/** If true, stops any warnings from being shown. */
silent?: boolean;
silent?: boolean | undefined;
/** Without this option, Less attempts to guess at the output unit when it does maths. */
strictUnits?: boolean;
strictUnits?: boolean | undefined;
/** Defines a variable that can be referenced by the file. */
globalVars?: {
[key: string] : string,
};
} | undefined;
/** Puts Var declaration at the end of base file. */
modifyVars?: {
[key: string] : string,
};
} | undefined;
/** Read files synchronously in Node.js */
syncImport?: boolean;
syncImport?: boolean | undefined;
}

@@ -262,3 +262,3 @@

importManager?: Less.ImportManager;
importManager?: Less.ImportManager | undefined;
sheets: HTMLLinkElement[];

@@ -265,0 +265,0 @@

{
"name": "@types/less",
"version": "3.0.2",
"version": "3.0.3",
"description": "TypeScript definitions for LESS",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/less",
"license": "MIT",

@@ -37,4 +38,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "80a7d917306801b6b1fa53c2982004471dd64640f849b3d7096c2e0d2eddf9f6",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "f8069d9a22ccfd721c0911813590e86006251b5e21a59bf0d39fd2cf54aae7e0",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Fri, 04 Dec 2020 06:23:40 GMT
* Last updated: Tue, 06 Jul 2021 22:02:40 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