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

@behance/beff

Package Overview
Dependencies
Maintainers
45
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@behance/beff - npm Package Compare versions

Comparing version 9.3.2 to 9.3.3

3

Component/CloudUploader.js

@@ -409,2 +409,5 @@ define([

dropZoneElements: [element],
classes: {
dropActive: 'fine-uploader-drop-active',
},
callbacks: {

@@ -411,0 +414,0 @@ processingDroppedFilesComplete: cb

2

package.json
{
"name": "@behance/beff",
"version": "9.3.2",
"version": "9.3.3",
"description": "Behance Frontend Framework",

@@ -5,0 +5,0 @@ "directories": {

@@ -333,18 +333,3 @@ define([

});
it('creates a DragAndDrop instance with the provided classes', function() {
var dropElementClasses = {
dropActive: 'dropClass',
};
this.uploader = Uploader.init({
dropElementClasses: dropElementClasses,
});
this.uploader.setDropElement(document.body);
expect(fineUploader.DragAndDrop).toHaveBeenCalledWith(jasmine.objectContaining({
classes: dropElementClasses,
}));
});
it('creates a DragAndDrop instance with the provided callback', function() {

@@ -360,2 +345,28 @@ var processingDoneFn = jasmine.createSpy();

});
it('assigns the default dragActive class', function() {
CloudUploader.setDropElement();
expect(fineUploader.DragAndDrop).toHaveBeenCalledWith(jasmine.objectContaining({
classes: {
dropActive: 'fine-uploader-drop-active',
},
}));
});
describe('the instance method', function() {
it('creates a DragAndDrop instance with the provided classes', function() {
var dropElementClasses = {
dropActive: 'dropClass',
};
this.uploader = Uploader.init({
dropElementClasses: dropElementClasses,
});
this.uploader.setDropElement(document.body);
expect(fineUploader.DragAndDrop).toHaveBeenCalledWith(jasmine.objectContaining({
classes: dropElementClasses,
}));
});
});
});

@@ -362,0 +373,0 @@

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