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

@vaadin/upload

Package Overview
Dependencies
Maintainers
14
Versions
414
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/upload - npm Package Compare versions

Comparing version 23.1.0-beta1 to 23.1.0-beta2

18

package.json
{
"name": "@vaadin/upload",
"version": "23.1.0-beta1",
"version": "23.1.0-beta2",
"publishConfig": {

@@ -37,16 +37,16 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/button": "23.1.0-beta1",
"@vaadin/component-base": "23.1.0-beta1",
"@vaadin/progress-bar": "23.1.0-beta1",
"@vaadin/vaadin-lumo-styles": "23.1.0-beta1",
"@vaadin/vaadin-material-styles": "23.1.0-beta1",
"@vaadin/vaadin-themable-mixin": "23.1.0-beta1"
"@vaadin/button": "23.1.0-beta2",
"@vaadin/component-base": "23.1.0-beta2",
"@vaadin/progress-bar": "23.1.0-beta2",
"@vaadin/vaadin-lumo-styles": "23.1.0-beta2",
"@vaadin/vaadin-material-styles": "23.1.0-beta2",
"@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/form-layout": "23.1.0-beta1",
"@vaadin/form-layout": "23.1.0-beta2",
"@vaadin/testing-helpers": "^0.3.2",
"sinon": "^13.0.2"
},
"gitHead": "8be43cf83102a6b9ccf309687446e590ce0164e8"
"gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
}

@@ -62,4 +62,4 @@ /**

};
formatSize?: (bytes: number) => string;
formatTime?: (seconds: number, units: number[]) => string;
formatSize?(bytes: number): string;
formatTime?(seconds: number, units: number[]): string;
}

@@ -66,0 +66,0 @@

@@ -224,5 +224,3 @@ /**

notify: true,
value: function () {
return [];
},
value: () => [],
},

@@ -392,3 +390,3 @@

type: Object,
value: function () {
value() {
return {

@@ -474,3 +472,3 @@ dropFiles: {

for (var i = 0; i < unitSizes.length && time > 0; i++) {
for (let i = 0; i < unitSizes.length && time > 0; i++) {
timeValues[i] = time % unitSizes[i];

@@ -558,3 +556,3 @@ time = Math.floor(time / unitSizes[i]);

}
for (var key in this.headers) {
for (const key in this.headers) {
xhr.setRequestHeader(key, this.headers[key]);

@@ -604,3 +602,3 @@ }

let stalledId, last;
// onprogress is called always after onreadystatechange
// Onprogress is called always after onreadystatechange
xhr.upload.onprogress = (e) => {

@@ -755,3 +753,3 @@ clearTimeout(stalledId);

_notifyFileChanges(file) {
var p = `files.${this.files.indexOf(file)}.`;
const p = `files.${this.files.indexOf(file)}.`;
for (const i in file) {

@@ -758,0 +756,0 @@ // eslint-disable-next-line no-prototype-builtins

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