Socket
Socket
Sign inDemoInstall

@uppy/provider-views

Package Overview
Dependencies
Maintainers
5
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 1.0.1 to 1.0.2

4

lib/index.js

@@ -481,3 +481,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var authState = btoa(JSON.stringify({ origin: location.origin }));
var link = this.provider.authUrl() + '?state=' + authState;
// @todo remove this hardcoded version
var clientVersion = 'companion-client:1.0.2';
var link = this.provider.authUrl() + '?state=' + authState + '&uppyVersions=' + clientVersion;

@@ -484,0 +486,0 @@ var authWindow = window.open(link, '_blank');

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

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

"dependencies": {
"@uppy/utils": "0.30.6",
"@uppy/utils": "1.0.2",
"classnames": "^2.2.6",

@@ -28,3 +28,3 @@ "preact": "8.2.9"

"devDependencies": {
"@uppy/core": "1.0.1"
"@uppy/core": "1.0.2"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

},
"gitHead": "1ad322497ff694f06f328c3cccbe5cf0922c5bed"
"gitHead": "5c9e1a836df858254657a59ab8bd4b90035cf8b4"
}

@@ -414,3 +414,5 @@ const { h, Component } = require('preact')

const authState = btoa(JSON.stringify({ origin: location.origin }))
const link = `${this.provider.authUrl()}?state=${authState}`
// @todo remove this hardcoded version
const clientVersion = 'companion-client:1.0.2'
const link = `${this.provider.authUrl()}?state=${authState}&uppyVersions=${clientVersion}`

@@ -417,0 +419,0 @@ const authWindow = window.open(link, '_blank')

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