fela-plugin-validator
Advanced tools
Comparing version 3.0.8 to 4.0.0
@@ -30,2 +30,3 @@ (function (global, factory) { | ||
/* weak */ | ||
function validateStyleObject(style, logInvalid, deleteInvalid) { | ||
@@ -53,4 +54,4 @@ Object.keys(style).forEach(function (property) { | ||
function validator(style, meta, options) { | ||
var logInvalid = options.logInvalid; | ||
var deleteInvalid = options.deleteInvalid; | ||
var logInvalid = options.logInvalid, | ||
deleteInvalid = options.deleteInvalid; | ||
@@ -57,0 +58,0 @@ |
{ | ||
"name": "fela-plugin-validator", | ||
"version": "3.0.8", | ||
"version": "4.0.0", | ||
"description": "Fela plugin to validate style objects", | ||
@@ -23,4 +23,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"fela": "3.0.8" | ||
"fela": "4.0.0" | ||
} | ||
} |
@@ -18,5 +18,5 @@ # fela-plugin-validator | ||
<!-- Fela (Development): Unminified version including all warnings --> | ||
<script src="https://unpkg.com/fela-plugin-validator@3.0.8/dist/fela-plugin-validator.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-validator@4.0.0/dist/fela-plugin-validator.js"></script> | ||
<!-- Fela (Production): Minified version --> | ||
<script src="https://unpkg.com/fela-plugin-validator@3.0.8/dist/fela-plugin-validator.min.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-validator@4.0.0/dist/fela-plugin-validator.min.js"></script> | ||
``` | ||
@@ -29,3 +29,3 @@ | ||
import { createRenderer } from 'fela' | ||
import unit from 'fela-plugin-validator' | ||
import validator from 'fela-plugin-validator' | ||
@@ -32,0 +32,0 @@ const renderer = createRenderer({ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14621
90