Socket
Socket
Sign inDemoInstall

@stencil/store

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stencil/store - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

2

dist/observable-map.d.ts
import { ObservableMap } from './types';
declare type Invocable<T> = T | (() => T);
type Invocable<T> = T | (() => T);
export declare const createObservableMap: <T extends {

@@ -4,0 +4,0 @@ [key: string]: any;

@@ -7,6 +7,6 @@ export interface Handlers<T> {

}
export declare type SetEventHandler<StoreType> = (key: keyof StoreType, newValue: any, oldValue: any) => void;
export declare type GetEventHandler<StoreType> = (key: keyof StoreType) => void;
export declare type ResetEventHandler = () => void;
export declare type DisposeEventHandler = () => void;
export type SetEventHandler<StoreType> = (key: keyof StoreType, newValue: any, oldValue: any) => void;
export type GetEventHandler<StoreType> = (key: keyof StoreType) => void;
export type ResetEventHandler = () => void;
export type DisposeEventHandler = () => void;
export interface OnHandler<StoreType> {

@@ -13,0 +13,0 @@ (eventName: 'set', callback: SetEventHandler<StoreType>): () => void;

{
"name": "@stencil/store",
"version": "2.0.8",
"version": "2.0.9",
"description": "Store is a lightweight shared state library by the StencilJS core team. Implements a simple key/value map that efficiently re-renders components when necessary.",

@@ -8,2 +8,6 @@ "main": "dist/index.js",

"types": "dist/index.d.ts",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.0.0"
},
"scripts": {

@@ -38,12 +42,12 @@ "build": "rm -rf dist && tsc -p . && npm run rollup",

"devDependencies": {
"@stencil/core": "^3.0.0",
"@types/jest": "^28.1.1",
"@ionic/prettier-config": "^4.0.0",
"@stencil/core": "^4.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^20.2.0",
"jest": "^28.1.1",
"jest-cli": "^28.1.1",
"np": "^7.4.0",
"prettier": "^2.2.1",
"jest": "^29.0.0",
"np": "^8.0.4",
"prettier": "^3.0.0",
"rollup": "^3.5.1",
"ts-jest": "^28.0.4",
"typescript": "^4.8.4"
"ts-jest": "^29.0.0",
"typescript": "~4.9.5"
},

@@ -54,6 +58,7 @@ "repository": {

},
"prettier": "@ionic/prettier-config",
"volta": {
"node": "20.2.0",
"npm": "9.6.6"
"node": "20.5.0",
"npm": "9.8.1"
}
}
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