Comparing version 4.1.2 to 4.2.0
@@ -59,2 +59,3 @@ (function (global, factory) { | ||
/* weak */ | ||
/* eslint-disable import/no-mutable-exports */ | ||
var warning = function warning() { | ||
@@ -87,6 +88,7 @@ return true; | ||
// warns if the DOM node either is not a valid <style> element thus the styles do not get applied as Expected | ||
// or if the node already got the data-fela-stylesheet attribute applied suggesting it is already used by another Renderer | ||
// warns if the DOM node either is not a valid <style> element | ||
// thus the styles do not get applied as Expected | ||
// or if the node already got the data-fela-stylesheet attribute applied | ||
// suggesting it is already used by another Renderer | ||
warning$1(mountNode.nodeName === 'STYLE', 'You are using a node other than `<style>`. Your styles might not get applied correctly.'); | ||
warning$1(!mountNode.hasAttribute('data-fela-stylesheet'), 'This node is already used by another renderer. Rendering might overwrite other styles.'); | ||
@@ -107,5 +109,3 @@ // mark and clean the DOM node to prevent side-effects | ||
var index = { | ||
render: render | ||
}; | ||
var index = { render: render }; | ||
@@ -112,0 +112,0 @@ return index; |
{ | ||
"name": "fela-dom", | ||
"version": "4.1.2", | ||
"version": "4.2.0", | ||
"description": "Fela package for working with the DOM", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10725