Socket
Socket
Sign inDemoInstall

postcss-loader

Package Overview
Dependencies
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-loader - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.1.5"></a>
## [2.1.5](https://github.com/postcss/postcss-loader/compare/v2.1.4...v2.1.5) (2018-05-04)
### Bug Fixes
* **index:** remove `sourceMap` warning ([#361](https://github.com/postcss/postcss-loader/issues/361)) ([4416791](https://github.com/postcss/postcss-loader/commit/4416791))
<a name="2.1.4"></a>

@@ -7,0 +17,0 @@ ## [2.1.4](https://github.com/postcss/postcss-loader/compare/v2.1.3...v2.1.4) (2018-04-16)

4

lib/index.js

@@ -140,6 +140,2 @@ 'use strict'

if (!sourceMap && map) {
this.emitWarning(`\n\n ⚠️ PostCSS Loader\n\nPrevious source map found, but options.sourceMap isn't set.\nIn this case the loader will discard the source map entirely for performance reasons.\nSee https://github.com/postcss/postcss-loader#sourcemap for more information.\n\n`)
}
if (sourceMap && typeof map === 'string') map = JSON.parse(map)

@@ -146,0 +142,0 @@ if (sourceMap && map) options.map.prev = map

{
"name": "postcss-loader",
"version": "2.1.4",
"version": "2.1.5",
"description": "PostCSS loader for webpack",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -271,4 +271,2 @@ [![npm][npm]][npm-url]

> :warning: If a previous loader like e.g `sass-loader` is applied and it's `sourceMap` option is set, but the `sourceMap` option in `postcss-loader` is omitted, previous source maps will be discarded by `postcss-loader` **entirely**.
**webpack.config.js**

@@ -275,0 +273,0 @@ ```js

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