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

fela-plugin-prefixer

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-plugin-prefixer - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

package.json
{
"name": "fela-plugin-prefixer",
"version": "3.0.1",
"version": "3.0.2",
"description": "Fela plugin to add vendor prefixes",

@@ -27,4 +27,4 @@ "main": "index.js",

"peerDependencies": {
"fela": "3.0.1"
"fela": "3.0.2"
}
}

@@ -9,3 +9,3 @@ # fela-plugin-prefixer

**Requires to use [fela-plugin-fallback-value](../fela-plugin-fallback-value/) afterwards** in order to resolve alternative prefix values which get returned as an array by default.
**Requires to use [fela-plugin-fallback-value](../fela-plugin-fallback-value/) afterwards** in order to resolve alternative prefix values which get returned as an array by default.

@@ -20,7 +20,19 @@ ## Installation

<!-- Fela (Development): Unminified version including all warnings -->
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.1/dist/fela-plugin-prefixer.js"></script>
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.2/dist/fela-plugin-prefixer.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.1/dist/fela-plugin-prefixer.min.js"></script>
<script src="https://unpkg.com/fela-plugin-prefixer@3.0.2/dist/fela-plugin-prefixer.min.js"></script>
```
## Usage
Make sure to read the documentation on [how to use plugins](http://fela.js.org/docs/advanced/Plugins.html).
```javascript
import { createRenderer } from 'fela'
import prefixer from 'fela-plugin-prefixer'
const renderer = createRenderer({
plugins: [ prefixer() ]
})
```
## Example

@@ -38,3 +50,3 @@

{
display: ['webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex'],
display: [ 'webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex' ],
WebkitAppearance: 'none',

@@ -41,0 +53,0 @@ MozAppearance: 'none',

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