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

@chakra-ui/breakpoint-utils

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/breakpoint-utils - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

dist/chunk-RXW73Z2R.mjs

5

dist/breakpoint.js

@@ -54,3 +54,2 @@ "use strict";

}
var OFFSET = 0.02;
function subtract(value) {

@@ -61,4 +60,4 @@ var _a;

value = (_a = px(value)) != null ? _a : value;
const factor = value.endsWith("px") ? -OFFSET : -(OFFSET / 16);
return typeof value === "number" ? `${value + factor}` : value.replace(/(\d+\.?\d*)/u, (m) => `${parseFloat(m) + factor}`);
const OFFSET = -0.02;
return typeof value === "number" ? `${value + OFFSET}` : value.replace(/(\d+\.?\d*)/u, (m) => `${parseFloat(m) + OFFSET}`);
}

@@ -65,0 +64,0 @@ function toMediaQueryString(min, max) {

@@ -113,3 +113,2 @@ "use strict";

}
var OFFSET = 0.02;
function subtract(value) {

@@ -120,4 +119,4 @@ var _a;

value = (_a = px(value)) != null ? _a : value;
const factor = value.endsWith("px") ? -OFFSET : -(OFFSET / 16);
return typeof value === "number" ? `${value + factor}` : value.replace(/(\d+\.?\d*)/u, (m) => `${parseFloat(m) + factor}`);
const OFFSET = -0.02;
return typeof value === "number" ? `${value + OFFSET}` : value.replace(/(\d+\.?\d*)/u, (m) => `${parseFloat(m) + OFFSET}`);
}

@@ -124,0 +123,0 @@ function toMediaQueryString(min, max) {

4

package.json
{
"name": "@chakra-ui/breakpoint-utils",
"version": "2.0.6",
"version": "2.0.7",
"description": "",

@@ -42,3 +42,3 @@ "keywords": [

"dependencies": {
"@chakra-ui/shared-utils": "2.0.4"
"@chakra-ui/shared-utils": "2.0.5"
},

@@ -45,0 +45,0 @@ "module": "dist/index.mjs",

Sorry, the diff of this file is not supported yet

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