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.4.16 to 0.5.0

dist/chunk-4MK5R7VS.js

12

dist/index.d.ts

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

declare const preset: () => Preset;
interface PresetUnoOptions {
/**
* Enable development only rules
*
* @default false
*/
dev?: boolean;
}
declare const preset: (options?: PresetUnoOptions) => Preset;
export { preset as default, preset };
export { PresetUnoOptions, preset as default, preset };

10

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkTP75IRXUjs = require('./chunk-TP75IRXU.js');
var _chunk4MK5R7VSjs = require('./chunk-4MK5R7VS.js');
var _chunk262SCYXBjs = require('./chunk-262SCYXB.js');

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

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

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

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

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

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

export { rules };
declare const devRules: unocss.Rule<{}>[];
export { devRules, rules };
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkTP75IRXUjs = require('./chunk-TP75IRXU.js');
var _chunk4MK5R7VSjs = require('./chunk-4MK5R7VS.js');
require('./chunk-OFR2H3GI.js');
exports.rules = _chunkTP75IRXUjs.rules;
exports.devRules = _chunk4MK5R7VSjs.devRules; exports.rules = _chunk4MK5R7VSjs.rules;
{
"name": "@unocss/preset-uno",
"version": "0.4.16",
"version": "0.5.0",
"description": "",

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

"dependencies": {
"@unocss/core": "0.4.16"
"@unocss/core": "0.5.0"
},

@@ -47,0 +47,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