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

@unocss/core

Package Overview
Dependencies
Maintainers
1
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/core - npm Package Compare versions

Comparing version 0.8.1 to 0.9.0

4

dist/index.d.ts

@@ -162,3 +162,3 @@ declare class UnoGenerator {

}
interface Preset extends ConfigBase {
interface Preset<Theme extends {} = {}> extends ConfigBase<Theme> {
name: string;

@@ -218,3 +218,3 @@ enforce?: 'pre' | 'post';

getLayer(name?: string): string | undefined;
getLayers(excludes?: string[]): string;
getLayers(includes?: string[], excludes?: string[]): string;
matched: Set<string>;

@@ -221,0 +221,0 @@ }

@@ -448,4 +448,4 @@ var __defProp = Object.defineProperty;

};
const getLayers = (excludes) => {
return layers.filter((i) => !(excludes == null ? void 0 : excludes.includes(i))).map((i) => getLayer(i) || "").filter(Boolean).join("\n");
const getLayers = (includes = layers, excludes) => {
return includes.filter((i) => !(excludes == null ? void 0 : excludes.includes(i))).map((i) => getLayer(i) || "").filter(Boolean).join("\n");
};

@@ -452,0 +452,0 @@ return {

{
"name": "@unocss/core",
"version": "0.8.1",
"version": "0.9.0",
"description": "The instant on-demand Atomic CSS engine.",

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

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