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

@stylable/runtime

Package Overview
Dependencies
Maintainers
6
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/runtime - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

dist/inject-styles.d.ts

5

dist/types.d.ts

@@ -37,2 +37,7 @@ export declare type StateValue = boolean | number | string;

}
export interface Host {
sts?: (namespace: string, context: string | undefined, stateOrClass?: string | StateMap | undefined, ...classes: Array<string | undefined>) => string;
stc?: (namespace: string, stateMapping?: StateMap | null | undefined) => string;
sti?: (namespace: string, css: string, depth: number, runtimeId: string) => void;
}
//# sourceMappingURL=types.d.ts.map

4

package.json
{
"name": "@stylable/runtime",
"version": "4.1.1",
"version": "4.2.0",
"description": "Stylable runtime DOM integration",

@@ -13,4 +13,6 @@ "main": "dist/index.js",

"dist",
"esm",
"!dist/test",
"src",
"stylesheet.d.ts",
"!*/tsconfig.{json,tsbuildinfo}"

@@ -17,0 +19,0 @@ ],

@@ -90,4 +90,6 @@ # @stylable/runtime

declare module '*.st.css' {
const stylesheet: import('@stylable/runtime').RuntimeStylesheet;
export = stylesheet;
export * from '@stylable/runtime/stylesheet';
const defaultExport: never;
export default defaultExport;
}

@@ -94,0 +96,0 @@ ```

@@ -49,1 +49,12 @@ export type StateValue = boolean | number | string;

}
export interface Host {
sts?: (
namespace: string,
context: string | undefined,
stateOrClass?: string | StateMap | undefined,
...classes: Array<string | undefined>
) => string;
stc?: (namespace: string, stateMapping?: StateMap | null | undefined) => string;
sti?: (namespace: string, css: string, depth: number, runtimeId: string) => void;
}

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