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

@navita/engine

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navita/engine - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

46

index.d.ts

@@ -1,3 +0,25 @@

import { StyleRule, FontFaceRule, CSSKeyframes } from '@navita/types';
import { CSSKeyframes, FontFaceRule, StyleRule } from '@navita/types';
interface StyleBlock {
type: 'rule' | 'static';
selector: string;
property: string;
value: string;
pseudo: string;
media: string;
support: string;
container: string;
id: string | number;
}
interface KeyframesBlock {
type: 'keyframes';
rule: CSSKeyframes;
id: string;
}
interface FontFaceBlock {
type: 'fontFace';
rule: FontFaceRule[];
id: string;
}
declare class ClassList extends String {

@@ -13,2 +35,6 @@ }

};
interface Identifier {
value: string;
id: string;
}
type Options = {

@@ -51,3 +77,19 @@ context?: string;

getUsedFilePaths(): string[];
getItems(caches: UsedIdCache): {};
getItems(caches: UsedIdCache): {
rule?: (StyleBlock & {
id: string | number;
})[];
static?: (StyleBlock & {
id: string | number;
})[];
keyframes?: (KeyframesBlock & {
id: string | number;
})[];
fontFace?: (FontFaceBlock & {
id: string | number;
})[];
identifiers?: (Identifier & {
id: string | number;
})[];
};
clearUsedIds(filePath: string): void;

@@ -54,0 +96,0 @@ private addUsedIds;

2

package.json
{
"name": "@navita/engine",
"version": "0.2.0",
"version": "0.2.1",
"description": "Navitas CSS-in-JS engine",

@@ -5,0 +5,0 @@ "keywords": [

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