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

@looop/react-designer

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@looop/react-designer - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

lib/actions/Dragger.js

7

lib/Designer.js

@@ -22,3 +22,3 @@ "use strict";

var actions = _interopRequireWildcard(require("./actions"));
var _index = require("./actions/index");

@@ -380,6 +380,3 @@ var _objects = require("./objects");

var mouse = this.getMouseCoords(event);
var scale = actions.scale,
rotate = actions.rotate,
drag = actions.drag;
var map = (_map = {}, _defineProperty(_map, _constants.modes.SCALE, scale), _defineProperty(_map, _constants.modes.ROTATE, rotate), _defineProperty(_map, _constants.modes.DRAG, drag), _map);
var map = (_map = {}, _defineProperty(_map, _constants.modes.SCALE, _index.scale), _defineProperty(_map, _constants.modes.ROTATE, _index.rotate), _defineProperty(_map, _constants.modes.DRAG, _index.drag), _map);
var action = map[mode];

@@ -386,0 +383,0 @@

{
"name": "@looop/react-designer",
"version": "1.1.5",
"version": "1.1.6",
"description": "Easy to configure, lightweight, editable vector graphics in your react components.",

@@ -9,3 +9,3 @@ "main": "./lib/index.js",

"deploy": "NODE_ENV=production webpack -p --config webpack.production.js",
"prepare": "babel -d lib/ src/ --extensions \".tsx\"",
"prepare": "babel -d lib/ src/ --extensions \".tsx,.ts\"",
"dev": "babel -d lib/ src/ -w",

@@ -12,0 +12,0 @@ "build": "npm run prepare",

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