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

postcss-import

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-import - npm Package Compare versions

Comparing version 16.0.0 to 16.0.1

16

lib/parse-statements.js

@@ -9,16 +9,2 @@ "use strict"

function split(params, start) {
const list = []
const last = params.reduce((item, node, index) => {
if (index < start) return ""
if (node.type === "div" && node.value === ",") {
list.push(item)
return ""
}
return item + stringify(node)
}, "")
list.push(last)
return list
}
module.exports = function parseStatements(result, styles, conditions, from) {

@@ -227,3 +213,3 @@ const statements = []

media = split(params, i)
media = stringify(params.slice(i))
break

@@ -230,0 +216,0 @@ }

6

package.json
{
"name": "postcss-import",
"version": "16.0.0",
"version": "16.0.1",
"description": "PostCSS plugin to import CSS files",

@@ -30,3 +30,3 @@ "keywords": [

"ava": "^6.0.0",
"c8": "^8.0.0",
"c8": "^9.0.0",
"eslint": "^8.27.0",

@@ -37,3 +37,3 @@ "eslint-config-problems": "^8.0.0",

"postcss-scss": "^4.0.0",
"prettier": "~3.1.0",
"prettier": "~3.2.0",
"sugarss": "^4.0.0"

@@ -40,0 +40,0 @@ },

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