Socket
Socket
Sign inDemoInstall

@uppy/store-default

Package Overview
Dependencies
0
Maintainers
6
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.4 to 3.0.5

2

lib/index.js

@@ -5,3 +5,3 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }

const packageJson = {
"version": "3.0.4"
"version": "3.0.5"
};

@@ -8,0 +8,0 @@ /**

{
"name": "@uppy/store-default",
"description": "The default simple object-based store for Uppy.",
"version": "3.0.4",
"version": "3.0.5",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

import type { Store } from '@uppy/utils'
type State = Record<string, unknown>
type StateChangeListener = (prevState: State, nextState: State, patch: State) => void
type StateChangeListener = (
prevState: State,
nextState: State,
patch: State,
) => void
export default class DefaultStore implements Store {
constructor ()
constructor()
getState (): State
getState(): State
setState (patch: State): void
setState(patch: State): void
subscribe (listener: StateChangeListener): () => void
subscribe(listener: StateChangeListener): () => void
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc