Socket
Socket
Sign inDemoInstall

postcss

Package Overview
Dependencies
Maintainers
1
Versions
261
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 5.0.3 to 5.0.4

4

CHANGELOG.md

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

## 5.0.4
* Fix start position in `Root#source`.
* Fix source map annotation, when CSS uses `\r\n` (by Mohammad Younes).
## 5.0.3

@@ -2,0 +6,0 @@ * Fix `url()` parsing.

5

lib/map-generator.js

@@ -175,3 +175,6 @@ 'use strict';

this.css += '\n/*# sourceMappingURL=' + content + ' */';
var eol = '\n';
if (this.css.indexOf('\r\n') !== -1) eol = '\r\n';
this.css += eol + '/*# sourceMappingURL=' + content + ' */';
};

@@ -178,0 +181,0 @@

@@ -45,3 +45,3 @@ 'use strict';

this.root.source = { input: input, start: { line: 0, column: 0 } };
this.root.source = { input: input, start: { line: 1, column: 1 } };
}

@@ -48,0 +48,0 @@

{
"name": "postcss",
"version": "5.0.3",
"version": "5.0.4",
"description": "Tool for transforming styles with JS plugins",

@@ -18,6 +18,3 @@ "keywords": [

"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/postcss/postcss.git"
},
"repository": "postcss/postcss",
"dependencies": {

@@ -30,7 +27,7 @@ "supports-color": "^3.1.0",

"concat-with-sourcemaps": "1.0.2",
"postcss-parser-tests": "5.0.1",
"postcss-parser-tests": "5.0.2",
"gulp-json-editor": "2.2.1",
"gulp-istanbul": "0.10.0",
"run-sequence": "1.1.2",
"babel-eslint": "4.1.0",
"babel-eslint": "4.1.1",
"gulp-eslint": "1.0.0",

@@ -44,9 +41,9 @@ "gulp-mocha": "2.1.3",

"fs-extra": "0.24.0",
"isparta": "3.0.3",
"eslint": "1.3.0",
"isparta": "3.0.4",
"eslint": "1.3.1",
"sinon": "1.16.1",
"mocha": "2.2.5",
"mocha": "2.3.0",
"gulp": "3.9.0",
"chai": "3.2.0",
"del": "1.2.1",
"del": "2.0.0",
"babel-core": "5.8.23"

@@ -53,0 +50,0 @@ },

@@ -117,3 +117,3 @@ # PostCSS [![Travis Build Status][travis-img]][travis] [![AppVeyor Build Status][appveyor-img]][appveyor] [![Gitter][chat-img]][chat]

There are plugins for [Grunt], [Gulp], [webpack], [Broccoli],
[Brunch], [ENB], [Stylus] and [Connect/Express].
[Brunch], [ENB], [Fly], [Stylus] and [Connect/Express].

@@ -161,2 +161,3 @@ ```js

[ENB]: https://github.com/theprotein/enb-postcss
[Fly]: https://github.com/postcss/fly-postcss

@@ -283,2 +284,3 @@ ## Custom Syntaxes

* [`postcss-epub`] adds the `-epub-` prefix to relevant properties.
* [`postcss-mqwidth-to-class`] converts min/max-width media queries to classes.
* [`postcss-opacity`] adds opacity filter for IE8.

@@ -425,2 +427,3 @@ * [`postcss-pseudoelements`] Convert `::` selectors into `:` selectors

* [`postcss-autoreset`] automatically adds reset styles.
* [`postcss-class-prefix`] adds a prefix/namespace to class selectors.

@@ -489,2 +492,3 @@ * [`postcss-currency`] replaces name of currency with symbols.

[`postcss-minify-selectors`]: https://github.com/ben-eb/postcss-minify-selectors
[`postcss-mqwidth-to-class`]: https://github.com/notacouch/postcss-mqwidth-to-class
[`postcss-quantity-queries`]: https://github.com/pascalduez/postcss-quantity-queries

@@ -548,2 +552,3 @@ [`postcss-browser-reporter`]: https://github.com/postcss/postcss-browser-reporter

[`postcss-color-hexa`]: https://github.com/nicksheffield/postcss-color-hexa
[`postcss-autoreset`]: https://github.com/maximkoretskiy/postcss-autoreset
[`postcss-font-pack`]: https://github.com/jedmao/postcss-font-pack

@@ -550,0 +555,0 @@ [`postcss-functions`]: https://github.com/andyjansson/postcss-functions

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