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

less-loader

Package Overview
Dependencies
Maintainers
8
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

less-loader - npm Package Versions

1
7

6.0.0

Diff

Changelog

Source

6.0.0 (2020-04-24)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 10.13,
  • minimum support webpack version is 4
  • 2 version of less is not supported anymore
  • using 3 versin of less by default, so you don't need to have less in your package.json, we already supply it
  • move less-specific options to the lessOptions option, please look at README

Features

  • the paths options now works with webpack resolver (3931470)
  • allow a function to be used for lessOptions (#325) (a6be94a)
  • added the appendData option (#336) (fb94605)
  • added the prependData option (#327) (9df8755)
  • support less and style fields in package.json
  • support index.less file for packages

Bug Fixes

  • support import aliases without tilde (#335) (24021cd)
  • do not crash on remotely imports (#333) (8e020e9)
  • add webpack v5 support (#317) (f0b42b4)
  • first resolve an import using less resolver, then using webpack resolver (#340) (443bd5a)
  • fix a resolution for @import 'package/file.ess'; and @import './package/file.ess';

<a name="5.0.0"></a>

evilebottnawi
published 5.0.0 •

Changelog

Source

5.0.0 (2019-04-29)

Bug Fixes

  • webpack watching does not recover after broken less is fixed (#289) (f41d12e)

Chores

  • remove old bits mentioning webpack < 4 and node < 6 (#286) (012eb8f)

Code Refactoring

BREAKING CHANGES

  • remove deprecated compress option.
  • drop support for node < 6.9 and webpack < 4

<a name="4.1.0"></a>

michael-ciniawsky
published 4.1.0 •

Changelog

Source

4.1.0 (2018-03-09)

Features

<a name="4.0.6"></a>

michael-ciniawsky
published 4.0.6 •

Changelog

Source

4.0.6 (2018-02-27)

Bug Fixes

  • package: add webpack >= v4.0.0 (peerDependencies) (#245) (011cc73)

<a name="4.0.5"></a>

d3viant0ne
published 4.0.5 •

Changelog

Source

4.0.5 (2017-07-10)

Chore

<a name="4.0.4"></a>

d3viant0ne
published 4.0.4 •

Changelog

Source

4.0.4 (2017-05-30)

Bug Fixes

<a name="4.0.3"></a>

jhnns
published 4.0.3 •

Changelog

Source

4.0.3 (2017-03-30)

Bug Fixes

  • sourcesContent missing in source maps (df28035)

<a name="4.0.2"></a>

jhnns
published 4.0.2 •

Changelog

Source

4.0.2 (2017-03-21)

Bug Fixes

  • Plugin.install is not a function (f8ae245)

<a name="4.0.1"></a>

jhnns
published 4.0.1 •

Changelog

Source

4.0.1 (2017-03-21)

Bug Fixes

<a name="4.0.0"></a>

jhnns
published 4.0.0 •

Changelog

Source

4.0.0 (2017-03-20)

Bug Fixes

  • error where not all files were watched (53c90fc)
  • resolve alias (98d4e63)

Chores

  • dependencies: Update peer dependencies (24a6f66)

Features

  • source-maps: refactor source maps handling (895044f)
  • allow user to choose between resolvers (1d6e505)
  • improve formatting of error messages (39772a5)
  • make any file type importable (d3022b8)
  • remove root option (39ad4f8)

BREAKING CHANGES

  • If you've already configured your resolve.alias with a .less extension, you can now remove that wrong extension.
  • The root option was never documented, so it's very unlikely that this is actually a breaking change. However, since the option was removed, we need to flag this as breaking.
  • dependencies: Require webpack 2 as peer dependency
  • source-maps: Since the map is now passed as an object to the next loader, this could potentially break if another loader than the css-loader is used. The css-loader accepts both.

Changelog

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