Socket
Socket
Sign inDemoInstall

@kaze-style/core

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaze-style/core - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

dist/createGlobalStyle.js

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

import{compileObjectCSS as r}from"./utils/compileObjectCSS";const c=e=>{const t=new Set;for(const l in e){const o=e[l],s=r(o);s!==""&&t.add(`${l} {${s}}`)}return{cssRules:Array.from(t)}};export{c as createGlobalStyle};
import{compileObjectCSS as r}from"./utils/compileObjectCSS";const a=e=>{const t=new Set;for(const l in e){const o=e[l],s=r(o||{});s!==""&&t.add(`${l} {${s}}`)}return{cssRules:Array.from(t)}};export{a as createGlobalStyle};

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

import type { KazeGlobalStyle, KazeStyle } from '../types/style';
import type { ValueOf } from '../types/utils';
export declare const compileObjectCSS: (style: KazeStyle | ValueOf<KazeGlobalStyle>) => string;
import type { SupportedCSSProperties } from '../types/style';
export declare const compileObjectCSS: (style: SupportedCSSProperties) => string;

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

import{hyphenateProperty as s}from"./hyphenateProperty";const p=t=>{const o=[];for(const l in t){const e=t[l];(typeof e=="string"||typeof e=="number")&&o.push(s(l)+":"+e+";")}return o.join("")};export{p as compileObjectCSS};
import{hyphenateProperty as p}from"./hyphenateProperty";const i=e=>{const o=[];for(const t in e){const r=e[t];(typeof r=="string"||typeof r=="number")&&o.push(p(t)+":"+(Array.isArray(r)?r.join(" "):r)+";")}return o.join("")};export{i as compileObjectCSS};
{
"name": "@kaze-style/core",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Taishi Naritomi",

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