Socket
Socket
Sign inDemoInstall

@unocss/config

Package Overview
Dependencies
Maintainers
1
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/config - npm Package Compare versions

Comparing version 0.9.2 to 0.9.3

18

dist/index.js

@@ -128,6 +128,6 @@ var __create = Object.create;

};
const run = async (fn, resolve, ...args) => {
const run = async (fn, resolve2, ...args) => {
activeCount++;
const result = (async () => fn(...args))();
resolve(result);
resolve2(result);
try {

@@ -139,4 +139,4 @@ await result;

};
const enqueue = (fn, resolve, ...args) => {
queue.enqueue(run.bind(null, fn, resolve, ...args));
const enqueue = (fn, resolve2, ...args) => {
queue.enqueue(run.bind(null, fn, resolve2, ...args));
(async () => {

@@ -149,4 +149,4 @@ await Promise.resolve();

};
const generator = (fn, ...args) => new Promise((resolve) => {
enqueue(fn, resolve, ...args);
const generator = (fn, ...args) => new Promise((resolve2) => {
enqueue(fn, resolve2, ...args);
});

@@ -378,2 +378,3 @@ Object.defineProperties(generator, {

var import_fs = __toModule(require("fs"));
var import_path = __toModule(require("path"));
var import_find_up = __toModule(require_find_up());

@@ -395,3 +396,4 @@ var import_sucrase = __toModule(require("sucrase"));

}
const filepath = isDir(dirOrPath) ? import_find_up.default.sync([
dirOrPath = (0, import_path.resolve)(dirOrPath);
let filepath = isDir(dirOrPath) ? import_find_up.default.sync([
"unocss.config.js",

@@ -404,2 +406,4 @@ "unocss.config.cjs",

], { cwd: dirOrPath }) : dirOrPath;
if (filepath && dirOrPath !== filepath)
filepath = (0, import_path.resolve)(dirOrPath, filepath);
if (!filepath || !import_fs.default.existsSync(filepath))

@@ -406,0 +410,0 @@ return {};

{
"name": "@unocss/config",
"version": "0.9.2",
"version": "0.9.3",
"description": "Config loader for UnoCSS",

@@ -31,3 +31,3 @@ "keywords": [],

"dependencies": {
"@unocss/core": "0.9.2",
"@unocss/core": "0.9.3",
"sucrase": "^3.20.3"

@@ -34,0 +34,0 @@ },

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