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

@fromscratch/store

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fromscratch/store - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

dist/store.d.ts

@@ -1,9 +0,9 @@

export default class Store {
export default class Store<T> {
private data;
private subscriptions;
get: (key: string, defaultValue?: any) => any;
set: (key: string, value: any) => void;
get: (key: string, defaultValue?: T) => T;
set: (key: string, value: T) => void;
delete: (key: string) => void;
subscribe: (key: string, fn: (value?: any) => void) => () => void;
subscribe: (key: string, fn: (value?: T) => void) => () => void;
private unsubscribe;
}
{
"name": "@fromscratch/store",
"version": "1.0.1",
"version": "1.0.2",
"description": "The simplest store",

@@ -27,4 +27,4 @@ "main": "dist/store.js",

"test": "jest",
"publish": "yarn build; npm publish"
"package:publish": "yarn build; npm publish"
}
}
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