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

broccoli-autoprefixer

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-autoprefixer - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

10

index.js

@@ -22,8 +22,12 @@ 'use strict';

AutoprefixerFilter.prototype.processString = function (str, relativePath) {
var opts = objectAssign({}, this.options, {
map: this.options.sourcemap ? 'inline' : false,
var opts = objectAssign({
from: relativePath,
to: relativePath
});
}, this.options);
// support explicit override of inline sourcemaps
if (opts.sourcemap != null) {
opts.map = opts.sourcemap ? 'inline' : false;
}
return autoprefixer(opts.browsers).process(str, opts).css;

@@ -30,0 +34,0 @@ };

{
"name": "broccoli-autoprefixer",
"version": "0.4.0",
"version": "0.4.1",
"description": "Prefix CSS using Autoprefixer",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -10,3 +10,3 @@ # [broccoli](https://github.com/joliss/broccoli)-autoprefixer [![Build Status](https://travis-ci.org/sindresorhus/broccoli-autoprefixer.svg?branch=master)](https://travis-ci.org/sindresorhus/broccoli-autoprefixer)

```bash
```sh
$ npm install --save broccoli-autoprefixer

@@ -34,3 +34,3 @@ ```

Type: `Array`
Type: `array`
Default: `['> 1%', 'last 2 versions', 'Firefox ESR', 'Opera 12.1']`

@@ -40,5 +40,5 @@

#### sourcemap
##### sourcemap
Type: `Boolean`
Type: `boolean`
Default: `true` if the input has a sourcemap, otherwise `false`

@@ -55,4 +55,5 @@

## License
[MIT](http://opensource.org/licenses/MIT) © [Sindre Sorhus](http://sindresorhus.com)
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