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

@unocss/preset-uno

Package Overview
Dependencies
Maintainers
1
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-uno - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

dist/chunk-K5WMT3AD.mjs

12

dist/index.d.ts

@@ -5,12 +5,4 @@ import { Preset } from '@unocss/core';

interface PresetUnoOptions {
/**
* Enable development only rules
*
* @default false
*/
dev?: boolean;
}
declare const preset: (options?: PresetUnoOptions) => Preset;
declare const preset: () => Preset;
export { PresetUnoOptions, preset as default, preset };
export { preset as default, preset };
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkKHFQBJ3Gjs = require('./chunk-KHFQBJ3G.js');
var _chunk4MK5R7VSjs = require('./chunk-4MK5R7VS.js');
var _chunk262SCYXBjs = require('./chunk-262SCYXB.js');

@@ -15,8 +14,5 @@

// src/index.ts
var preset = (options = {}) => ({
var preset = () => ({
theme: _chunk262SCYXBjs.theme,
rules: [
..._chunk4MK5R7VSjs.rules,
...options.dev ? _chunk4MK5R7VSjs.devRules : []
],
rules: _chunkKHFQBJ3Gjs.rules,
variants: _chunkY3JRCRGSjs.variants

@@ -23,0 +19,0 @@ });

@@ -1,2 +0,1 @@

import * as unocss from 'unocss';
import { Rule } from 'unocss';

@@ -6,4 +5,2 @@

declare const devRules: unocss.Rule<{}>[];
export { devRules, rules };
export { rules };
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunk4MK5R7VSjs = require('./chunk-4MK5R7VS.js');
var _chunkKHFQBJ3Gjs = require('./chunk-KHFQBJ3G.js');
require('./chunk-OFR2H3GI.js');
exports.devRules = _chunk4MK5R7VSjs.devRules; exports.rules = _chunk4MK5R7VSjs.rules;
exports.rules = _chunkKHFQBJ3Gjs.rules;
{
"name": "@unocss/preset-uno",
"version": "0.5.1",
"description": "",
"keywords": [],
"homepage": "https://github.com/antfu/unocss#readme",
"version": "0.6.0",
"description": "The default preset for UnoCSS",
"keywords": [
"unocss",
"unocss-preset"
],
"homepage": "https://github.com/antfu/unocss/tree/main/packages/preset-uno#readme",
"bugs": {

@@ -12,3 +15,4 @@ "url": "https://github.com/antfu/unocss/issues"

"type": "git",
"url": "git+https://github.com/antfu/unocss.git"
"url": "git+https://github.com/antfu/unocss.git",
"directory": "packages/preset-uno"
},

@@ -45,3 +49,3 @@ "funding": "https://github.com/sponsors/antfu",

"dependencies": {
"@unocss/core": "0.5.1"
"@unocss/core": "0.6.0"
},

@@ -48,0 +52,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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