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

@uppy/golden-retriever

Package Overview
Dependencies
Maintainers
8
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/golden-retriever - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0-beta

14

lib/cleanup.js

@@ -1,6 +0,3 @@

"use strict";
const IndexedDBStore = require("./IndexedDBStore.js");
const MetaDataStore = require("./MetaDataStore.js");
import IndexedDBStore from './IndexedDBStore.js';
import MetaDataStore from './MetaDataStore.js';
/**

@@ -10,8 +7,5 @@ * Clean old blobs without needing to import all of Uppy.

function cleanup() {
export default function cleanup() {
MetaDataStore.cleanup();
IndexedDBStore.cleanup();
}
module.exports = cleanup;
}

@@ -1,15 +0,8 @@

"use strict";
const throttle = require("lodash.throttle");
const BasePlugin = require("@uppy/core/lib/BasePlugin");
const ServiceWorkerStore = require("./ServiceWorkerStore.js");
const IndexedDBStore = require("./IndexedDBStore.js");
const MetaDataStore = require("./MetaDataStore.js");
import throttle from 'lodash.throttle';
import BasePlugin from '@uppy/core/lib/BasePlugin';
import ServiceWorkerStore from './ServiceWorkerStore.js';
import IndexedDBStore from './IndexedDBStore.js';
import MetaDataStore from './MetaDataStore.js';
const packageJson = {
"version": "2.1.0"
"version": "3.0.0-beta"
};

@@ -24,3 +17,3 @@ /**

class GoldenRetriever extends BasePlugin {
export default class GoldenRetriever extends BasePlugin {
constructor(uppy, opts) {

@@ -400,4 +393,2 @@ super(uppy, opts);

}
GoldenRetriever.VERSION = packageJson.version;
module.exports = GoldenRetriever;
GoldenRetriever.VERSION = packageJson.version;

@@ -1,3 +0,1 @@

"use strict";
const indexedDB = typeof window !== 'undefined' && (window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB || window.OIndexedDB || window.msIndexedDB);

@@ -251,2 +249,2 @@ const isSupported = !!indexedDB;

IndexedDBStore.isSupported = isSupported;
module.exports = IndexedDBStore;
export default IndexedDBStore;

@@ -1,3 +0,1 @@

"use strict";
/**

@@ -33,4 +31,3 @@ * Get uppy instance IDs for which state is stored.

let cleanedUp = false;
class MetaDataStore {
export default class MetaDataStore {
constructor(opts) {

@@ -102,4 +99,2 @@ this.opts = {

}
module.exports = MetaDataStore;
}

@@ -1,3 +0,1 @@

"use strict";
/* globals clients */

@@ -4,0 +2,0 @@ const fileCache = Object.create(null);

@@ -1,3 +0,1 @@

"use strict";
const isSupported = typeof navigator !== 'undefined' && 'serviceWorker' in navigator;

@@ -82,2 +80,2 @@

ServiceWorkerStore.isSupported = isSupported;
module.exports = ServiceWorkerStore;
export default ServiceWorkerStore;
{
"name": "@uppy/golden-retriever",
"description": "The GoldenRetriever Uppy plugin saves selected files in browser cache to seamlessly resume uploding after browser crash or accidentally closed tab",
"version": "2.1.0",
"version": "3.0.0-beta",
"license": "MIT",

@@ -28,8 +28,9 @@ "main": "lib/index.js",

"@transloadit/prettier-bytes": "0.0.7",
"@uppy/utils": "^4.1.0",
"@uppy/utils": "^5.0.0-beta",
"lodash.throttle": "^4.1.1"
},
"peerDependencies": {
"@uppy/core": "^2.3.0"
}
"@uppy/core": "^3.0.0-beta"
},
"stableVersion": "2.1.0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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