🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yummacss/nitro

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yummacss/nitro - npm Package Compare versions

Comparing version
3.25.0
to
3.26.0
+49
-1
dist/index.d.mts
import { a as configName, i as ConfigSchema, n as generator, o as defineConfig, r as Config, t as normalizeCSS } from "./normalize-Duay5QRP.mjs";
//#region src/config/load.d.ts
interface LoadConfigOptions {
/**
* Directory to resolve the config file from.
*
* @default process.cwd()
*/
cwd?: string;
/**
* Explicit path to the config file, absolute or relative to `cwd`.
*/
path?: string;
/**
* Inline configuration. When provided, no config file is read.
*/
config?: Config;
}
interface LoadedConfig {
config: Config;
/**
* Absolute path of the loaded config file, or null for inline configs.
*/
path: string | null;
}
declare function loadConfig(options?: LoadConfigOptions): Promise<LoadedConfig>;
//#endregion
//#region src/extractor.d.ts
declare function extractor(patterns: string[]): Promise<Set<string>>;
//#endregion
export { type Config, ConfigSchema, configName, defineConfig, extractor, generator, normalizeCSS };
//#region src/scan.d.ts
interface ScanResult {
classes: Set<string>;
/**
* Absolute paths of the scanned files.
*/
files: string[];
}
interface ScanOptions {
/**
* Directory to resolve glob patterns from.
*
* @default process.cwd()
*/
cwd?: string;
}
/**
* Like `extractor`, but also returns the resolved file list so callers
* (bundler plugins) can register file watchers or dependencies.
*/
declare function scan(patterns: string[], options?: ScanOptions): Promise<ScanResult>;
//#endregion
export { type Config, ConfigSchema, type LoadConfigOptions, type LoadedConfig, type ScanOptions, type ScanResult, configName, defineConfig, extractor, generator, loadConfig, normalizeCSS, scan };
+3
-5
{
"name": "@yummacss/nitro",
"version": "3.25.0",
"version": "3.26.0",
"description": "Fast CSS generation for Yumma CSS",

@@ -35,7 +35,5 @@ "keywords": [

"dependencies": {
"@yummacss/core": "3.25.0"
},
"devDependencies": {
"tinyglobby": "^0.2.15",
"zod": "^4.3.4"
"zod": "^4.3.4",
"@yummacss/core": "3.26.0"
},

@@ -42,0 +40,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display