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

@uppy/provider-views

Package Overview
Dependencies
Maintainers
6
Versions
109
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.6.0 to 3.7.0

2

lib/ProviderView/ProviderView.js

@@ -14,3 +14,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.6.0"
"version": "3.7.0"
};

@@ -17,0 +17,0 @@ function formatBreadcrumbs(breadcrumbs) {

@@ -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.6.0"
"version": "3.7.0"
};

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

@@ -162,3 +162,2 @@ import getFileType from '@uppy/utils/lib/getFileType';

},
providerOptions: this.provider.opts,
providerName: this.provider.name,

@@ -168,2 +167,11 @@ provider: this.provider.provider

};
// all properties on this object get saved into the Uppy store.
// Some users might serialize their store (for example using JSON.stringify),
// or when using Golden Retriever it will serialize state into e.g. localStorage.
// However RequestClient is not serializable so we need to prevent it from being serialized.
Object.defineProperty(tagFile.remote, 'requestClient', {
value: this.provider,
enumerable: false
});
const fileType = getFileType(tagFile);

@@ -170,0 +178,0 @@

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

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

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

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

"peerDependencies": {
"@uppy/core": "^3.6.0"
"@uppy/core": "^3.7.0"
}
}

@@ -79,3 +79,2 @@ import getFileType from '@uppy/utils/lib/getFileType'

},
providerOptions: this.provider.opts,
providerName: this.provider.name,

@@ -86,2 +85,8 @@ provider: this.provider.provider,

// all properties on this object get saved into the Uppy store.
// Some users might serialize their store (for example using JSON.stringify),
// or when using Golden Retriever it will serialize state into e.g. localStorage.
// However RequestClient is not serializable so we need to prevent it from being serialized.
Object.defineProperty(tagFile.remote, 'requestClient', { value: this.provider, enumerable: false })
const fileType = getFileType(tagFile)

@@ -88,0 +93,0 @@

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