New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@glitz/type

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glitz/type - npm Package Compare versions

Comparing version 1.1.0-beta.6 to 1.1.0-beta.7

22

index.d.ts
import * as CSS from 'csstype';
export interface Style extends FeaturedProperties, PseudoMap {
'@keyframes'?: PropertiesList;
'@font-face'?: FontFace;
}
export interface Style extends FeaturedProperties, PseudoMap {}
export interface Properties extends CSS.StandardLonghandPropertiesFallback, CSS.VendorPropertiesFallback {}
type FeaturedProperties = Omit<Properties, keyof ExtendedProperties> &
export type FeaturedProperties = Omit<Properties, keyof ExtendedProperties> &
ExtendedProperties &
Omit<CSS.StandardShorthandPropertiesFallback, keyof ShorthandProperties> &
ShorthandProperties;
ShorthandProperties & {
'@keyframes'?: PropertiesList;
'@font-face'?: FontFace;
};
interface ExtendedProperties {
export interface ExtendedProperties {
animationName?: PropertiesList | Properties['animationName'];

@@ -23,3 +23,3 @@ fontFamily?:

interface ShorthandProperties {
export interface ShorthandProperties {
animation?: {

@@ -172,11 +172,11 @@ delay?: CSS.StandardLonghandPropertiesFallback['animationDelay'];

type PseudoMap = { [P in CSS.SimplePseudos]?: Style };
export type PseudoMap = { [P in CSS.SimplePseudos]?: FeaturedProperties & PseudoMap };
interface PropertiesList {
export interface PropertiesList {
[identifier: string]: Properties;
}
type FontFace = Omit<CSS.FontFaceFallback, 'fontFamily'>;
export type FontFace = Omit<CSS.FontFaceFallback, 'fontFamily'>;
type Diff<T extends string, U extends string> = ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T];
type Omit<T, K extends keyof T> = Pick<T, Diff<keyof T, K>>;
{
"name": "@glitz/type",
"version": "1.1.0-beta.6",
"version": "1.1.0-beta.7",
"main": "",

@@ -5,0 +5,0 @@ "types": "./index.d.ts",

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