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

@dreamworld/device-info

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamworld/device-info - npm Package Compare versions

Comparing version 1.0.0-release.1 to 1.0.0-webpack-compatible.1

8

device-info.js

@@ -5,3 +5,3 @@ import EventEmitter from "@dreamworld/event-emitter";

import reducer from "./reducer.js";
export * as selectors from "./selectors.js";
import * as _selectors from "./selectors.js";

@@ -23,3 +23,3 @@ const mediaQueriesBylayout = {

*/
static {
static _init() {
this.layout = this._getCurrentLayout();

@@ -213,1 +213,5 @@ this.touch = !window.matchMedia("(any-pointer: fine)").matches;

}
DeviceInfo._init();
export const selectors = _selectors;
{
"name": "@dreamworld/device-info",
"version": "1.0.0-release.1",
"version": "1.0.0-webpack-compatible.1",
"description": "It's used to get basic details of device(layout, touch and virtual keyboard).",

@@ -5,0 +5,0 @@ "main": "device-info.js",

@@ -86,2 +86,2 @@ # DeviceInfo

Note: `vkb` is mainly needed because iOS devices behave differently then the Android Devices when a virtual keyboard is opened. So, to ensure common experience on all the device we use **fit** style for the dialog when dialog's content has any input elelement. In future, iOS many change this behaviour and we may remove `vkb` also.
Note: `vkb` is mainly needed because iOS devices behave differently then the Android Devices when a virtual keyboard is opened. So, to ensure common experience on all the device we use **fit** style for the dialog when dialog's content has any input elelement. In future, iOS many change this behaviour and we may remove `vkb` also.
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