Socket
Socket
Sign inDemoInstall

postcss

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss - npm Package Compare versions

Comparing version 8.4.32 to 8.4.33

5

lib/map-generator.js

@@ -19,2 +19,3 @@ 'use strict'

this.css = cssString
this.originalCSS = cssString
this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute

@@ -78,3 +79,3 @@

} else if (this.css) {
this.css = this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm, '')
this.css = this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm, '')
}

@@ -281,3 +282,3 @@ }

} else {
let input = new Input(this.css, this.opts)
let input = new Input(this.originalCSS, this.opts)
if (input.map) this.previousMaps.push(input.map)

@@ -284,0 +285,0 @@ }

3

lib/no-work-result.js

@@ -40,2 +40,5 @@ 'use strict'

}
} else {
map.clearAnnotation();
this.result.css = map.css;
}

@@ -42,0 +45,0 @@ }

@@ -10,3 +10,3 @@ 'use strict'

constructor(plugins = []) {
this.version = '8.4.32'
this.version = '8.4.33'
this.plugins = this.normalize(plugins)

@@ -47,6 +47,6 @@ }

if (
this.plugins.length === 0 &&
typeof opts.parser === 'undefined' &&
typeof opts.stringifier === 'undefined' &&
typeof opts.syntax === 'undefined'
!this.plugins.length &&
!opts.parser &&
!opts.stringifier &&
!opts.syntax
) {

@@ -53,0 +53,0 @@ return new NoWorkResult(this, css, opts)

{
"name": "postcss",
"version": "8.4.32",
"version": "8.4.33",
"description": "Tool for transforming styles with JS plugins",

@@ -5,0 +5,0 @@ "engines": {

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