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

stylis

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylis - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

dist/stylis.js

4

package.json
{
"name": "stylis",
"version": "4.0.3",
"version": "4.0.4",
"license": "MIT",

@@ -12,3 +12,3 @@ "description": "A Light–weight CSS Preprocessor",

"type": "module",
"main": "dist/stylis.cjs",
"main": "dist/stylis.js",
"module": "dist/stylis.mjs",

@@ -15,0 +15,0 @@ "react-native": "./index.js",

@@ -69,11 +69,10 @@ import {MS, MOZ, WEBKIT} from './Enum.js'

switch (charat(value, length + 1)) {
// (f)ill-available, (f)it-content
case 102: length = charat(value, length + 3)
// (m)ax-content, (m)in-content
case 109:
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + '$2-$3') + value
// (f)ill-available
case 102:
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + '$3') + value
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (length == 108 ? '$3' : '$2-$3')) + value
// (s)tretch
case 115:
return prefix(replace(value, 'stretch', 'fill-available'), length) + value
return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value
}

@@ -80,0 +79,0 @@ break

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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