Socket
Socket
Sign inDemoInstall

postcss-custom-media

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-custom-media - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.3.0 - 2014-11-25
- Better gnu message
# 1.2.1 - 2014-10-09

@@ -2,0 +6,0 @@

17

index.js
/**
* Module dependencies
*/
var helpers = require("postcss-message-helpers")
/**
* Constants.

@@ -51,3 +56,3 @@ */

console.warn(gnuMessage("missing @custom-media definition for '" + name + "'. The entire rule has been removed from the output.", rule.source))
console.warn(helpers.message("missing @custom-media definition for '" + name + "'. The entire rule has been removed from the output.", rule.source))
toRemove.push(rule)

@@ -61,11 +66,1 @@ })

}
/**
* return GNU style message
*
* @param {String} message
* @param {Object} source
*/
function gnuMessage(message, source) {
return (source ? (source.file ? source.file : "<css input>") + ":" + source.start.line + ":" + source.start.column + " " : "") + message
}
{
"name": "postcss-custom-media",
"version": "1.2.1",
"version": "1.3.0",
"description": " PostCSS plugin to transform W3C CSS Custom Media Queries to more compatible CSS",

@@ -23,7 +23,9 @@ "keywords": [

],
"dependencies": {},
"dependencies": {
"postcss-message-helpers": "^1.1.0"
},
"devDependencies": {
"jscs": "^1.6.2",
"jshint": "^2.5.6",
"postcss": "^2.2.5",
"postcss": "^3.0.0",
"tape": "^3.0.0"

@@ -30,0 +32,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