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

react-device-frameset

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-device-frameset - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

lib/DeviceFrameset.js

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

var landscape = 'landscape' in props ? props.landscape : undefined;
var style = react_1.useMemo(function () { return landscape ? ({ width: height, height: width }) : ({ width: width, height: height }); }, [width, height, landscape]);
var style = react_1.useMemo(function () { return (landscape && DeviceOptions_1.DeviceOptions[device].hasLandscape) ? ({ width: height, height: width }) : ({ width: width, height: height }); }, [width, height, landscape, device]);
return (react_1.default.createElement("div", __assign({ className: "marvel-device " + DeviceOptions_1.DeviceOptions[device].device + " " + (color ? color : '') + " " + (landscape ? 'landscape' : '') }, divProps, { style: style }),

@@ -55,0 +55,0 @@ react_1.default.createElement("div", { className: "inner" }),

@@ -25,3 +25,3 @@ {

"repository": "https://github.com/zheeeng/react-device-frameset",
"version": "1.0.7",
"version": "1.0.8",
"license": "MIT",

@@ -28,0 +28,0 @@ "main": "lib/DeviceFrameset.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