Socket
Socket
Sign inDemoInstall

@chakra-ui/styled-system

Package Overview
Dependencies
Maintainers
2
Versions
474
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/styled-system - npm Package Compare versions

Comparing version 0.0.0-dev-20230528194103 to 0.0.0-dev-20230528200306

18

dist/index.js

@@ -727,11 +727,15 @@ "use strict";

// src/get.ts
function get(obj, path, fallback, index) {
const key = typeof path === "string" ? path.split(".") : [path];
for (index = 0; index < key.length; index += 1) {
if (!obj)
var isSafeKey = (key) => key !== "__proto__" && key !== "prototype" && key !== "constructor";
var get = (obj, path, fallback) => {
const keys2 = Array.isArray(path) ? path : path.split(".");
for (let i = 0; i < keys2.length; i++) {
const key = keys2[i];
if (!obj || !Object.prototype.hasOwnProperty.call(obj, key) || !isSafeKey(key)) {
obj = void 0;
break;
obj = obj[key[index]];
}
obj = obj[key];
}
return obj === void 0 ? fallback : obj;
}
return obj != null ? obj : fallback;
};
var memoize = (fn) => {

@@ -738,0 +742,0 @@ const cache = /* @__PURE__ */ new WeakMap();

{
"name": "@chakra-ui/styled-system",
"version": "0.0.0-dev-20230528194103",
"version": "0.0.0-dev-20230528200306",
"description": "Style function for css-in-js building component libraries",

@@ -5,0 +5,0 @@ "keywords": [

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