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

@uppy/store-default

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/store-default - npm Package Compare versions

Comparing version 3.0.5 to 3.1.0

src/index.test.ts

7

CHANGELOG.md
# @uppy/store-default
## 3.1.0
Released: 2023-11-24
Included in: Uppy v3.20.0
- @uppy/store-default: refactor to typescript (Antoine du Hamel / #4785)
## 3.0.2

@@ -4,0 +11,0 @@

10

lib/index.js
function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; }
var id = 0;
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; }
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore We don't want TS to generate types for the package.json
const packageJson = {
"version": "3.0.5"
"version": "3.1.0"
};
var _callbacks = /*#__PURE__*/_classPrivateFieldLooseKey("callbacks");
var _publish = /*#__PURE__*/_classPrivateFieldLooseKey("publish");
/**
* Default store that keeps state in a simple object.
*/
var _callbacks = /*#__PURE__*/_classPrivateFieldLooseKey("callbacks");
var _publish = /*#__PURE__*/_classPrivateFieldLooseKey("publish");
class DefaultStore {

@@ -17,2 +19,3 @@ constructor() {

});
this.state = {};
Object.defineProperty(this, _callbacks, {

@@ -22,3 +25,2 @@ writable: true,

});
this.state = {};
}

@@ -25,0 +27,0 @@ getState() {

2

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

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

Sorry, the diff of this file is not supported yet

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