Socket
Socket
Sign inDemoInstall

@unocss/core

Package Overview
Dependencies
Maintainers
1
Versions
370
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.4.8 to 0.4.9

4

dist/index.js

@@ -486,7 +486,7 @@ var __defProp = Object.defineProperty;

result = result.split(/ /g);
return uniq(result.flatMap((r) => this.expandShortcut(r, depth - 1) || [r]));
return result.flatMap((r) => this.expandShortcut(r, depth - 1) || [r]);
}
async stringifyShortcuts(parent, expanded) {
const selectorMap = new TwoKeyMap();
const parsed = (await Promise.all(expanded.map((i) => this.parseUtil(i)))).filter(Boolean).sort((a, b) => a[0] - b[0]);
const parsed = (await Promise.all(uniq(expanded).map((i) => this.parseUtil(i)))).filter(Boolean).sort((a, b) => a[0] - b[0]);
const [raw, , parentVariants] = parent;

@@ -493,0 +493,0 @@ for (const item of parsed) {

{
"name": "@unocss/core",
"version": "0.4.8",
"version": "0.4.9",
"description": "",

@@ -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