New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fela-preset-web

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-preset-web - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

dist/fela-preset-web.js

2

index.js

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

module.exports = require('fela/lib/presets/dev')
module.exports = require('fela/lib/presets/web')
{
"name": "fela-preset-web",
"version": "2.0.0",
"version": "3.0.0",
"description": "Fela plugin preset for web applications",

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

"peerDependencies": {
"fela": "2.0.0"
"fela": "3.0.0"
}
}

@@ -1,10 +0,12 @@

# fela-preset-dev
# fela-preset-web
A Fela plugin preset for development.
A Fela plugin preset for web applications.<br>
It contains everything you need to start building cross-browser compatible apps.
> Do **not** use this preset in production!
#### Contains (exact order)
* [fela-plugin-logger](../fela-plugin-logger/)
* [fela-plugin-validator](../fela-plugin-validator/)
* [fela-plugin-extend](../fela-plugin-extend/)
* [fela-plugin-prefixer](../fela-plugin-prefixer/)
* [fela-plugin-fallback-value](../fela-plugin-fallback-value/)
* [fela-plugin-lvha](../fela-plugin-lvha/)
* [fela-plugin-unit](../fela-plugin-unit/)

@@ -14,11 +16,11 @@

```sh
npm i --save fela-preset-dev
npm i --save fela-preset-web
```
Assuming you are using [npm](https://www.npmjs.com) as your package mananger you can just `npm install`.<br>
Otherwise we also provide a [UMD](https://github.com/umdjs/umd). You can easily use it via [unpkg](https://unpkg.com/). It registers a `FelaPresetDev` global.
Otherwise we also provide a [UMD](https://github.com/umdjs/umd). You can easily use it via [unpkg](https://unpkg.com/). It registers a `FelaPresetWeb` global.
```HTML
<!-- Fela (Development): Unminified version including all warnings -->
<script src="https://unpkg.com/fela-preset-dev@2.0.0/dist/fela-preset-dev.js"></script>
<script src="https://unpkg.com/fela-preset-web@3.0.0/dist/fela-preset-web.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://unpkg.com/fela-preset-dev@2.0.0/dist/fela-preset-dev.min.js"></script>
<script src="https://unpkg.com/fela-preset-web@3.0.0/dist/fela-preset-web.min.js"></script>
```

@@ -31,8 +33,8 @@

import { createRenderer } from 'fela'
import devPreset from 'fela-preset-dev'
import webPreset from 'fela-preset-web'
const config = {
plugins: [
// other plugins,
...devPreset
...webPreset,
// other plugins
]

@@ -39,0 +41,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