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

@types/knockout

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/knockout - npm Package Compare versions

Comparing version 3.4.70 to 3.4.71

36

knockout/index.d.ts

@@ -304,4 +304,4 @@ // Type definitions for Knockout v3.4.0

peek(): T;
valueHasMutated?: { (): void; };
valueWillMutate?: { (): void; };
valueHasMutated?: { (): void; } | undefined;
valueWillMutate?: { (): void; } | undefined;
}

@@ -331,3 +331,3 @@

*/
disposeWhenNodeIsRemoved?: Node;
disposeWhenNodeIsRemoved?: Node | undefined;
/**

@@ -346,7 +346,7 @@ * This function is executed before each re-evaluation to determine if the computed observable should be disposed.

*/
deferEvaluation?: boolean;
deferEvaluation?: boolean | undefined;
/**
* If true, the computed observable will be set up as a purecomputed observable. This option is an alternative to the ko.pureComputed constructor.
*/
pure?: boolean;
pure?: boolean | undefined;
}

@@ -367,4 +367,4 @@

$rawData: any | KnockoutObservable<any>;
$index?: KnockoutObservable<number>;
$parentContext?: KnockoutBindingContext;
$index?: KnockoutObservable<number> | undefined;
$parentContext?: KnockoutBindingContext | undefined;
$component: any;

@@ -395,7 +395,7 @@ $componentTemplateNodes: Node[];

interface KnockoutBindingHandler<E extends Node = any, V = any, VM = any> {
after?: Array<string>;
init?: (element: E, valueAccessor: () => V, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: VM, bindingContext: KnockoutBindingContext) => void | { controlsDescendantBindings: boolean; };
update?: (element: E, valueAccessor: () => V, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: VM, bindingContext: KnockoutBindingContext) => void;
after?: Array<string> | undefined;
init?: ((element: E, valueAccessor: () => V, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: VM, bindingContext: KnockoutBindingContext) => void | { controlsDescendantBindings: boolean; }) | undefined;
update?: ((element: E, valueAccessor: () => V, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: VM, bindingContext: KnockoutBindingContext) => void) | undefined;
options?: any;
preprocess?: (value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string;
preprocess?: ((value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string) | undefined;
[s: string]: any;

@@ -467,3 +467,3 @@ }

rateLimit(target: any, timeout: number): any;
rateLimit(target: any, options: { timeout: number; method?: string; }): any;
rateLimit(target: any, options: { timeout: number; method?: string | undefined; }): any;

@@ -585,3 +585,3 @@ trackArrayChanges(target: any): any;

index: number;
moved?: number;
moved?: number | undefined;
}

@@ -930,3 +930,3 @@

onError?: (error: Error) => void;
onError?: ((error: Error) => void) | undefined;
}

@@ -961,9 +961,9 @@

interface Config<T> {
viewModel?: T;
viewModel?: T | undefined;
template: string | Node[] | DocumentFragment | TemplateElement | AMDModule;
synchronous?: boolean;
synchronous?: boolean | undefined;
}
interface ComponentConfig<T = ViewModel> {
viewModel?: T;
viewModel?: T | undefined;
template: any;

@@ -1024,3 +1024,3 @@ createViewModel?: any;

loadViewModel?(componentName: string, viewModelConfig: any, callback: (result: any) => void): void;
suppressLoaderExceptions?: boolean;
suppressLoaderExceptions?: boolean | undefined;
}

@@ -1027,0 +1027,0 @@

{
"name": "@types/knockout",
"version": "3.4.70",
"version": "3.4.71",
"description": "TypeScript definitions for Knockout",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout",
"license": "MIT",

@@ -69,4 +70,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "0ee0fe9cb907edb590378b10621fb015c3cf77968495049ade5e10ac1f34acb3",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "93534c77d1beb05378e21d8ad80e457c2b4557d6c06f6bb0120f8b644ff9a170",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Thu, 25 Mar 2021 02:21:09 GMT
* Last updated: Tue, 06 Jul 2021 22:02:36 GMT
* Dependencies: none

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

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