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

@wework/floormap-sdk

Package Overview
Dependencies
Maintainers
22
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wework/floormap-sdk - npm Package Compare versions

Comparing version 1.1.1-rc1 to 1.1.1-rc2

5

es/map/FloorMap.js

@@ -5,3 +5,2 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _debounce from "lodash/debounce";
import _get from "lodash/get";

@@ -48,3 +47,3 @@ import _forEach from "lodash/forEach";

_defineProperty(this, "updateViewport", _debounce(function () {
_defineProperty(this, "updateViewport", function () {
_this.renderer.updateWindowDimension({

@@ -55,3 +54,3 @@ width: _this.target.offsetWidth,

}, 100));
});

@@ -58,0 +57,0 @@ _defineProperty(this, "handleRendererEvent", function (event) {

6

lib/map/FloorMap.js

@@ -16,4 +16,2 @@ "use strict";

var _debounce2 = _interopRequireDefault(require("lodash/debounce"));
var _get2 = _interopRequireDefault(require("lodash/get"));

@@ -70,3 +68,3 @@

});
(0, _defineProperty2.default)(this, "updateViewport", (0, _debounce2.default)(function () {
(0, _defineProperty2.default)(this, "updateViewport", function () {
_this.renderer.updateWindowDimension({

@@ -77,3 +75,3 @@ width: _this.target.offsetWidth,

}, 100));
});
(0, _defineProperty2.default)(this, "handleRendererEvent", function (event) {

@@ -80,0 +78,0 @@ var id = event.payload.id;

{
"name": "@wework/floormap-sdk",
"version": "1.1.1-rc1",
"version": "1.1.1-rc2",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "module": "es/index.js",

@@ -1082,3 +1082,3 @@ /* eslint-disable no-param-reassign */

*/
updateViewport = _.debounce(() => {
updateViewport = () => {
this.renderer.updateWindowDimension({

@@ -1089,3 +1089,3 @@ width: this.target.offsetWidth,

// this.renderer.fitContent(this.currentFitContent)
}, 100)
}

@@ -1092,0 +1092,0 @@ /**

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

Sorry, the diff of this file is not supported yet

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

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