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

fela-plugin-remove-undefined

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-plugin-remove-undefined - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

package.json
{
"name": "fela-plugin-remove-undefined",
"version": "3.0.1",
"version": "3.0.2",
"description": "Fela plugin to remove invalid undefined values",

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

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

@@ -8,3 +8,3 @@ # fela-plugin-remove-undefined

Removes any `undefined` value or string values containing `undefined`.
It also checks array values.
It also checks array values. This plugin has been used to ensure auto prefixing to work. It is not necessary anymore as Fela automatically strips all undefined values.

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

<!-- Fela (Development): Unminified version including all warnings -->
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.1/dist/fela-plugin-remove-undefined.js"></script>
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.2/dist/fela-plugin-remove-undefined.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.1/dist/fela-plugin-remove-undefined.min.js"></script>
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.2/dist/fela-plugin-remove-undefined.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 removeUndefined from 'fela-plugin-remove-undefined'
const renderer = createRenderer({
plugins: [ removeUndefined() ]
})
```
## Example

@@ -26,0 +40,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