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

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
5
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/scratch - npm Package Compare versions

Comparing version 2.11.225 to 2.11.226

4

package.json

@@ -5,3 +5,3 @@ {

"author": "symbo.ls",
"version": "2.11.225",
"version": "2.11.226",
"files": [

@@ -33,3 +33,3 @@ "src",

},
"gitHead": "6f10ab3baba728d15243a17edb13a5dd5618cb98"
"gitHead": "cc4d8658520b0dc949f40274fbc99f2915877f96"
}

@@ -49,7 +49,15 @@ 'use strict'

export const transformShadow = (sh, globalTheme) => {
return sh.split(',').map(shadow => getShadow(shadow, globalTheme)).join(',')
}
export const transformShadow = (sh, globalTheme) => getShadow(sh, globalTheme)
export const transformBoxShadow = (sh, globalTheme) => getShadow(sh, globalTheme)
export const transformBoxShadow = shadows => shadows.split('|').map(shadow => {
return shadow.split(', ').map(v => {
v = v.trim()
if (v.slice(0, 2) === '--') return `var(${v})`
if (getColor(v).length > 2) return getColor(v)
if (v.includes('px') || v.slice(-2) === 'em') return v
const arr = v.split(' ')
if (!arr.length) return v
return arr.map(v => getSpacingByKey(v, 'shadow').shadow).join(' ')
}).join(' ')
}).join(',')

@@ -56,0 +64,0 @@ export const transformBackgroundImage = (backgroundImage, globalTheme) => {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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