Huge News!Announcing our $40M Series B led by Abstract Ventures.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-35 to 1.0.0-beta-36

2

package.json
{
"name": "alga-css",
"version": "1.0.0-beta-35",
"version": "1.0.0-beta-36",
"description": "Alga CSS is a 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",

const chokidar = require('chokidar')
const { readFile, writeFile } = require('node:fs')
const { resolve } = require('node:path')
const { readFile, writeFile } = require('fs')
// Configs

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

important: options?.important === false ? false : true,
directive: options?.directive === 'layer' ? 'layer' : 'use'
directive: options?.directive === 'layer' ? 'layer' : 'use',
build: false
}

@@ -102,6 +102,9 @@

if(options?.build) {
watcher.close()
}
if(options?.plugins && Number(options?.plugins.length) >= 1) {
const newPlugins = options?.plugins.map(item => {
//return './node_modules/'+item+'/*.alga'
return resolve(item+'/*.alga')
return './node_modules/'+item+'/*.alga'
})

@@ -108,0 +111,0 @@ const newComponent = packages(newPlugins, opts)

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