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

@smartface/contx

Package Overview
Dependencies
Maintainers
5
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartface/contx - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

lib/smartface/action/addChild.d.ts

@@ -12,3 +12,3 @@ import View = require("sf-core/ui/view");

*/
export default function addChild(name: string, component: View, classNames: string, userStyle: { [key: string]: any }, defaultClassNames: string[] | string): {
export default function addChild(name: string, component: View, classNames?: string, userStyle?: { [key: string]: any }, defaultClassNames?: string[] | string): {
type: string,

@@ -15,0 +15,0 @@ name: string,

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

import View = require("sf-core/ui/view");
export default function componentContextPatch(component: View, name: string): void;
export default function componentContextPatch(component: any, name: string): void;

@@ -8,5 +8,5 @@ /**

*/
export default function removeClassName(className: string): {
type: string,
className: string
export default function removeClassName(className: string|string[]): {
type: "removeClassName",
className: string|string[]
}

@@ -7,5 +7,5 @@ /**

*/
export default function removeClassNames(className: string): {
export default function removeClassNames(className: string[]): {
type: string,
className: string
className: string[]
}
{
"name": "@smartface/contx",
"version": "3.0.1",
"version": "3.0.2",
"description": "Context Manager",

@@ -5,0 +5,0 @@ "scripts": {

@@ -12,3 +12,3 @@ import View = require("sf-core/ui/view");

*/
export default function addChild(name: string, component: View, classNames: string, userStyle: { [key: string]: any }, defaultClassNames: string[] | string): {
export default function addChild(name: string, component: View, classNames?: string, userStyle?: { [key: string]: any }, defaultClassNames?: string[] | string): {
type: string,

@@ -15,0 +15,0 @@ name: string,

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

import View = require("sf-core/ui/view");
export default function componentContextPatch(component: View, name: string): void;
export default function componentContextPatch(component: any, name: string): void;

@@ -8,5 +8,5 @@ /**

*/
export default function removeClassName(className: string): {
type: string,
className: string
export default function removeClassName(className: string|string[]): {
type: "removeClassName",
className: string|string[]
}
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