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

postcss-less

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-less - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

4

lib/nodes/inline-comment.js

@@ -12,5 +12,5 @@ const tokenizer = require('postcss/lib/tokenize');

while (token) {
if (/\n/.test(token[1])) {
if (/\r?\n/.test(token[1])) {
// If there are quotes, fix tokenizer creating one token from start quote to end quote
if (/['"].*\n/.test(token[1])) {
if (/['"].*\r?\n/.test(token[1])) {
// Add string before newline to inline comment token

@@ -17,0 +17,0 @@ bits.push(token[1].substring(0, token[1].indexOf('\n')));

{
"name": "postcss-less",
"version": "3.1.2",
"version": "3.1.3",
"description": "LESS parser for PostCSS",

@@ -18,3 +18,2 @@ "license": "MIT",

"ci:lint": "npm run lint && npm run security",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "npm run test",

@@ -48,3 +47,3 @@ "commitlint": "commitlint",

"node-fetch": "^2.2.0",
"nyc": "^13.0.1",
"nyc": "^13.3.0",
"postcss-parser-tests": "^6.3.1",

@@ -51,0 +50,0 @@ "pre-commit": "^1.2.2",

@@ -34,7 +34,7 @@ [tests]: https://img.shields.io/circleci/project/github/shellscape/postcss-less.svg

Using yarn:
<a href="https://www.patreon.com/shellscape">
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
</a>
```console
yarn add postcss-less --dev
```
Please consider [becoming a patron](https://www.patreon.com/shellscape) if you find this module useful.

@@ -41,0 +41,0 @@ ## Usage

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