Socket
Socket
Sign inDemoInstall

fela-dom

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-dom - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

12

dist/fela-dom.js

@@ -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

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