New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alga-css

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alga-css - npm Package Compare versions

Comparing version 1.0.0-beta-19 to 1.0.0-beta-20

2

package.json
{
"name": "alga-css",
"version": "1.0.0-beta-19",
"version": "1.0.0-beta-20",
"description": "Alga CSS is a scope or component oriented CSS toolkit for quickly reuse CSS components and it can be stored in .alga format file as a custom CSS component and also it has many built-in customizable CSS properties that can be directly inserted to HTML Element class",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -36,3 +36,3 @@ <p align="center">

yarn add alga-css
yarn add alga-css --dev

@@ -39,0 +39,0 @@ #or for testing (with next tag)

@@ -18,3 +18,3 @@ const postcss = require('postcss')

const refs = ref.trim().split(/-|:/).filter(i => i !== '')
const refs = ref.replace('--', '-n').replaceAll('_-', '_n').trim().split(/-|:/).filter(i => i !== '')

@@ -21,0 +21,0 @@ if(ref.includes(':')) { //Number(refs.length) === 3

@@ -24,3 +24,3 @@ const preset = require('../configs/preset.js')

for(let rf of refs) {
const props = rf.trim().split('-').filter(i => i !== '')
const props = rf.replace('--', '-n').replaceAll('_-', '_n').trim().split('-').filter(i => i !== '')

@@ -27,0 +27,0 @@ if(!rf.includes(':') && props.length >= 2) { // && Number(props.length) === 2

@@ -17,3 +17,3 @@ const postcss = require('postcss')

const refs = ref.trim().split(/-|:/).filter(i => i !== '')
const refs = ref.replace('--', '-n').replaceAll('_-', '_n').trim().split(/-|:/).filter(i => i !== '')

@@ -20,0 +20,0 @@ if(ref.includes(':') && [...properties, ...Object.keys(newPreset), ...Object.keys(newColor), ...Object.keys(shorts)].includes(refs[1])) { // for state colon like hover or active

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