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

ractive

Package Overview
Dependencies
Maintainers
4
Versions
643
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ractive - npm Package Compare versions

Comparing version

to
1.4.0-build-53

2

package.json
{
"name": "ractive",
"description": "Next-generation DOM manipulation",
"version": "1.4.0-build-52",
"version": "1.4.0-build-53",
"homepage": "https://ractive.js.org",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -1115,5 +1115,5 @@ // Type definitions for Ractive edge

/** Get the value at the given keypath from the Ractive shared store. */
sharedGet(keypath: string, opts?: GetOpts): any;
sharedGet<U = any>(keypath: string, opts?: GetOpts): U;
/** Set the given keypath in the Ractive shared store to the given value. */
sharedSet(keypath: string, value: any, opts?: SetOpts): Promise<void>;
sharedSet<U = any>(keypath: string, value: U, opts?: SetOpts): Promise<U>;
/** Set the given map of values in the Ractive shared store. */

@@ -1123,5 +1123,5 @@ sharedSet(map: ValueMap, opts?: SetOpts): Promise<void>;

/** Get the css data for this constructor at the given keypath. */
styleGet(keypath: string, opts?: GetOpts): any;
styleGet<U = any>(keypath: string, opts?: GetOpts): U;
/** Set the css data for this constructor at the given keypath to the given value. */
styleSet(keypath: string, value: any, opts?: StyleSetOpts): Promise<void>;
styleSet<U = any>(keypath: string, value: U, opts?: StyleSetOpts): Promise<U>;
/** Set the given map of values in the css data for this constructor. */

@@ -1179,3 +1179,3 @@ styleSet(map: ValueMap, opts?: StyleSetOpts): Promise<void>;

*/
add(keypath: string, amount?: number): Promise<void>;
add(keypath: string, amount?: number): Promise<number>;

@@ -1220,3 +1220,3 @@ /**

*/
find(selector: string, opts?: FindOpts): HTMLElement;
find<U extends HTMLElement = HTMLElement>(selector: string, opts?: FindOpts): U;

@@ -1228,3 +1228,3 @@ /**

*/
findAll(selector: string, opts?: FindOpts): HTMLElement[];
findAll<U extends HTMLElement = HTMLElement>(selector: string, opts?: FindOpts): U[];

@@ -1242,3 +1242,3 @@ /**

*/
findAllComponents(name: string, opts?: FindOpts): Ractive[];
findAllComponents<U extends Ractive = Ractive>(name: string, opts?: FindOpts): U[];

@@ -1256,3 +1256,3 @@ /**

*/
findComponent(name: string, opts?: FindOpts): Ractive;
findComponent<U extends Ractive = Ractive>(name: string, opts?: FindOpts): U;

@@ -1283,3 +1283,3 @@ /**

*/
get(opts?: GetOpts): any
get<U = any>(opts?: GetOpts): U;

@@ -1291,3 +1291,3 @@ /**

*/
get(keypath: string, opts?: GetOpts): any;
get<U = any>(keypath: string, opts?: GetOpts): U;

@@ -1469,3 +1469,3 @@ /**

*/
set(keypath: string, value: any, opts?: SetOpts): Promise<void>;
set<U = any>(keypath: string, value: U, opts?: SetOpts): Promise<U>;

@@ -1505,3 +1505,3 @@ /**

*/
subtract(keypath: string, amount?: number): Promise<void>;
subtract(keypath: string, amount?: number): Promise<number>;

@@ -1527,3 +1527,3 @@ /**

*/
toggle(keypath: string): Promise<void>;
toggle(keypath: string): Promise<boolean>;

@@ -1619,5 +1619,5 @@ /**

/** Get the value at the given keypath from the Ractive shared store. */
static sharedGet(keypath: string): any;
static sharedGet<U = any>(keypath: string): U;
/** Set the given keypath in the Ractive shared store to the given value. */
static sharedSet(keypath: string, value: any): Promise<void>;
static sharedSet<U = any>(keypath: string, value: U): Promise<U>;
/** Set the given map of values in the Ractive shared store. */

@@ -1627,5 +1627,5 @@ static sharedSet(map: ValueMap): Promise<void>;

/** Get the css data for this constructor at the given keypath. */
static styleGet(keypath: string): any;
static styleGet<U = any>(keypath: string): U;
/** Set the css data for this constructor at the given keypath to the given value. */
static styleSet(keypath: string, value: any): Promise<void>;
static styleSet<U = any>(keypath: string, value: U): Promise<U>;
/** Set the given map of values in the css data for this constructor. */

@@ -1632,0 +1632,0 @@ static styleSet(map: ValueMap): Promise<void>;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet