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

@uppy/remote-sources

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/remote-sources - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

src/index.test.ts

7

CHANGELOG.md
# @uppy/remote-sources
## 1.2.0
Released: 2024-03-27
Included in: Uppy v3.24.0
- @uppy/remote-sources: migrate to TS (Merlijn Vos / #5020)
## 1.0.2

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

19

lib/index.js

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

import Zoom from '@uppy/zoom';
// 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": "1.1.2"
"version": "1.2.0"
};

@@ -31,6 +33,12 @@ const availablePlugins = {

};
const defaultOptions = {
sources: Object.keys(availablePlugins)
};
var _installedPlugins = /*#__PURE__*/_classPrivateFieldLooseKey("installedPlugins");
export default class RemoteSources extends BasePlugin {
constructor(uppy, opts) {
super(uppy, opts);
super(uppy, {
...defaultOptions,
...opts
});
Object.defineProperty(this, _installedPlugins, {

@@ -42,9 +50,2 @@ writable: true,

this.type = 'preset';
const defaultOptions = {
sources: Object.keys(availablePlugins)
};
this.opts = {
...defaultOptions,
...opts
};
if (this.opts.companionUrl == null) {

@@ -51,0 +52,0 @@ throw new Error('Please specify companionUrl for RemoteSources to work, see https://uppy.io/docs/remote-sources#companionUrl');

{
"name": "@uppy/remote-sources",
"description": "Uppy plugin that includes all remote sources that Uppy+Companion offer, like Instagram, Google Drive, Dropox, Box, Unsplash, Url etc",
"version": "1.1.2",
"version": "1.2.0",
"license": "MIT",

@@ -30,15 +30,15 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/box": "^2.2.0",
"@uppy/dashboard": "^3.7.3",
"@uppy/dropbox": "^3.2.0",
"@uppy/facebook": "^3.2.0",
"@uppy/google-drive": "^3.4.0",
"@uppy/instagram": "^3.2.0",
"@uppy/onedrive": "^3.2.0",
"@uppy/unsplash": "^3.2.3",
"@uppy/url": "^3.5.0",
"@uppy/zoom": "^2.2.0"
"@uppy/box": "^2.3.0",
"@uppy/dashboard": "^3.8.0",
"@uppy/dropbox": "^3.3.0",
"@uppy/facebook": "^3.3.0",
"@uppy/google-drive": "^3.5.0",
"@uppy/instagram": "^3.3.0",
"@uppy/onedrive": "^3.3.0",
"@uppy/unsplash": "^3.3.0",
"@uppy/url": "^3.6.0",
"@uppy/zoom": "^2.3.0"
},
"peerDependencies": {
"@uppy/core": "^3.9.1"
"@uppy/core": "^3.10.0"
},

@@ -45,0 +45,0 @@ "publishConfig": {

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