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

@lod/react-screen-media

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lod/react-screen-media - npm Package Compare versions

Comparing version 1.0.0-beta2 to 1.0.0

dist/components/Image/Image.d.ts

6

dist/util/screen.util.js

@@ -18,2 +18,8 @@ import { Resolution } from '../constants/resolution';

/**
* Clears the pixel ratio
*/
export var clearPixelRatio = function () {
_pixelRatio = -1;
};
/**
* Determines the pixel ratio from a query

@@ -20,0 +26,0 @@ *

4

package.json
{
"name": "@lod/react-screen-media",
"version": "1.0.0-beta2",
"version": "1.0.0",
"description": "Handles showing media based on device display and media queries",
"main": "dist/index.js",
"scripts": {
"build": "npm run lint && tsc --declaration index.d.ts",
"build": "npm run lint && tsc",
"lint": "tslint -p tsconfig.json -c tslint.json",

@@ -9,0 +9,0 @@ "test": "jest --coverage"

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