Socket
Socket
Sign inDemoInstall

@uppy/provider-views

Package Overview
Dependencies
Maintainers
6
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/provider-views - npm Package Compare versions

Comparing version 3.5.0 to 3.6.0

5

lib/ProviderView/ProviderView.js

@@ -5,3 +5,2 @@ 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 { h } from 'preact';
// eslint-disable-next-line import/no-unresolved
import PQueue from 'p-queue';

@@ -16,3 +15,3 @@ import { getSafeFileId } from '@uppy/utils/lib/generateFileID';

const packageJson = {
"version": "3.5.0"
"version": "3.6.0"
};

@@ -347,3 +346,3 @@ function formatBreadcrumbs(breadcrumbs) {

// see https://github.com/transloadit/uppy/pull/4384
this.plugin.uppy.log('Adding remote provider files');
this.plugin.uppy.log('Adding files from a remote provider');
this.plugin.uppy.addFiles(newFiles.map(file => this.getTagFile(file)));

@@ -350,0 +349,0 @@ this.plugin.setPluginState({

2

lib/SearchProviderView/SearchProviderView.js

@@ -10,3 +10,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.5.0"
"version": "3.6.0"
};

@@ -13,0 +13,0 @@ /**

{
"name": "@uppy/provider-views",
"description": "View library for Uppy remote provider plugins.",
"version": "3.5.0",
"version": "3.6.0",
"license": "MIT",

@@ -23,3 +23,3 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "^5.4.3",
"@uppy/utils": "^5.5.2",
"classnames": "^2.2.6",

@@ -31,4 +31,4 @@ "nanoid": "^4.0.0",

"peerDependencies": {
"@uppy/core": "^3.4.0"
"@uppy/core": "^3.6.0"
}
}
import { h } from 'preact'
// eslint-disable-next-line import/no-unresolved
import PQueue from 'p-queue'

@@ -387,3 +386,3 @@

// see https://github.com/transloadit/uppy/pull/4384
this.plugin.uppy.log('Adding remote provider files')
this.plugin.uppy.log('Adding files from a remote provider')
this.plugin.uppy.addFiles(newFiles.map((file) => this.getTagFile(file)))

@@ -390,0 +389,0 @@

@@ -5,15 +5,15 @@ import type { UIPlugin } from '@uppy/core'

interface ProviderViewOptions {
provider: Provider
viewType?: 'list' | 'grid'
showTitles?: boolean
showFilter?: boolean
showBreadcrumbs?: boolean
provider: Provider
viewType?: 'list' | 'grid'
showTitles?: boolean
showFilter?: boolean
showBreadcrumbs?: boolean
}
interface OnFirstRenderer {
onFirstRender: () => any
onFirstRender: () => any
}
declare class ProviderView {
constructor (plugin: UIPlugin & OnFirstRenderer, opts: ProviderViewOptions)
constructor(plugin: UIPlugin & OnFirstRenderer, opts: ProviderViewOptions)
// @todo add other provider view methods

@@ -20,0 +20,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

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