Socket
Socket
Sign inDemoInstall

@types/stylis

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/stylis - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

46

stylis/index.d.ts

@@ -26,21 +26,21 @@ // Type definitions for stylis 4.2

export const MS = '-ms-';
export const MOZ = '-moz-';
export const WEBKIT = '-webkit-';
export const COMMENT = 'comm';
export const RULESET = 'rule';
export const DECLARATION = 'decl';
export const PAGE = '@page';
export const MEDIA = '@media';
export const IMPORT = '@import';
export const CHARSET = '@charset';
export const VIEWPORT = '@viewport';
export const SUPPORTS = '@supports';
export const DOCUMENT = '@document';
export const NAMESPACE = '@namespace';
export const KEYFRAMES = '@keyframes';
export const FONT_FACE = '@font-face';
export const COUNTER_STYLE = '@counter-style';
export const FONT_FEATURE_VALUES = '@font-feature-values';
export const LAYER = '@layer';
export const MS = "-ms-";
export const MOZ = "-moz-";
export const WEBKIT = "-webkit-";
export const COMMENT = "comm";
export const RULESET = "rule";
export const DECLARATION = "decl";
export const PAGE = "@page";
export const MEDIA = "@media";
export const IMPORT = "@import";
export const CHARSET = "@charset";
export const VIEWPORT = "@viewport";
export const SUPPORTS = "@supports";
export const DOCUMENT = "@document";
export const NAMESPACE = "@namespace";
export const KEYFRAMES = "@keyframes";
export const FONT_FACE = "@font-face";
export const COUNTER_STYLE = "@counter-style";
export const FONT_FEATURE_VALUES = "@font-feature-values";
export const LAYER = "@layer";

@@ -52,3 +52,3 @@ // Utility.js

export function match(value: string, pattern: RegExp): string | null;
export function replace(value: string, pattern: (string | RegExp), replacement: string): string;
export function replace(value: string, pattern: string | RegExp, replacement: string): string;
export function indexof(value: string, search: unknown): number;

@@ -77,3 +77,3 @@ export function charat(value: string, index: number): number;

points: number[],
declarations: string[]
declarations: string[],
): Element[];

@@ -92,3 +92,3 @@

children: Element[],
length: number
length: number,
): Element;

@@ -119,3 +119,3 @@

children: Element[],
length: number
length: number,
): Element;

@@ -122,0 +122,0 @@

{
"name": "@types/stylis",
"version": "4.2.0",
"version": "4.2.1",
"description": "TypeScript definitions for stylis",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stylis",

"dependencies": {},
"typesPublisherContentHash": "a0a5df699d8509748cf136b7084a0b47e0431b8a7f4f2f0ca89713806fab62a8",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "2a5cf2d11ea064b1a0b38e7c16781f0a75bcd24e796dd26c96e7af3e6333d083",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 17 May 2023 16:02:58 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `stylis`

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