Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
fela-plugin-validator
Advanced tools
Logs invalid properties to the console
. One might also enable automatic property deletion.
npm i --save fela-plugin-validator
Assuming you are using npm as your package mananger you can just npm install
.
Otherwise we also provide a UMD. You can easily use it via npmcdn. It registers a FelaPluginValidator
global.
<!-- Fela (Development): Unminified version including all warnings -->
<script src="https://npmcdn.com/fela-plugin-validator@1.0.1/dist/fela-plugin-validator.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://npmcdn.com/fela-plugin-validator@1.0.1/dist/fela-plugin-validator.min.js"></script>
If the deleteInvalid
option is enabled.
{
fontSize: undefined,
color: 'red',
padding: '20px undefined 0px'
}
{
color: 'red'
}
The validator plugin uses two different option flags to enable/disable features.
import validator from 'fela-plugin-validator'
const plugin = validator({
// Will log invalid properties as well as
// the value assigned to, default: true
logInvalid: true,
// Will automatically delete invalid
// properties, default: false
deleteInvalid: true
})
Fela is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all the great contributors.
11.0.1 / 11.0.2
| Package | Changes | | --- | --- | | reason-fela | More improvements to the ReasonML typings. |
FAQs
Fela plugin to validate style objects
The npm package fela-plugin-validator receives a total of 4,769 weekly downloads. As such, fela-plugin-validator popularity was classified as popular.
We found that fela-plugin-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.