Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-faux-dom

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-faux-dom - npm Package Compare versions

Comparing version 2.6.2 to 2.7.0

README.md

12

lib/Element.js

@@ -17,3 +17,7 @@ var React = require('react')

this.text = ''
var self = this
var props = this.props = {
ref: function (component) {
self.component = component
},
style: {

@@ -237,2 +241,10 @@ setProperty: function (name, value) {

Element.prototype.getBoundingClientRect = function () {
if (!this.component) {
return undefined
}
return this.component.getBoundingClientRect()
}
Element.prototype.toReact = function (index) {

@@ -239,0 +251,0 @@ index = index || 0

2

package.json
{
"name": "react-faux-dom",
"version": "2.6.2",
"version": "2.7.0",
"description": "DOM like data structure to be mutated by D3 et al, then rendered to React elements",

@@ -5,0 +5,0 @@ "main": "lib/ReactFauxDOM.js",

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