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

@botmock/editor

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@botmock/editor - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

7

components/block/index.js

@@ -24,3 +24,3 @@ import "../../styling/block.less";

}
componentDidMount() {
componentWillMount() {
let blockPreviousDimensions = previousDimensions.find(d => d.id === this.props.id);

@@ -60,2 +60,5 @@ if (blockPreviousDimensions) {

}
componentDidMount() {
this.recalculateDimensions();
}
componentWillUnmount() {

@@ -67,4 +70,6 @@ if (this.observer) {

recalculateDimensions() {
console.log(this.blockRef && this.blockRef.current);
if (this.blockRef && this.blockRef.current) {
let { height, width } = this.blockRef.current.getBoundingClientRect();
console.log(height, width)
height /= this.props.zoomLevel;

@@ -71,0 +76,0 @@ width /= this.props.zoomLevel;

2

package.json
{
"name": "@botmock/editor",
"version": "0.1.18",
"version": "0.1.19",
"description": "Botmock Editor",

@@ -5,0 +5,0 @@ "main": "output/editor.esm.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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