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

@behance/helicropter

Package Overview
Dependencies
Maintainers
48
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@behance/helicropter - npm Package Compare versions

Comparing version 15.5.1 to 15.5.2

4

package.json
{
"name": "@behance/helicropter",
"version": "15.5.1",
"version": "15.5.2",
"description": "My helicropter goes \"whosh whosh whosh\"",

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

"dependencies": {
"@behance/beff": "^9.3.4",
"@behance/beff": "^9.3.6",
"@behance/fabric": "1.6.1-nodeless-tiny",

@@ -26,0 +26,0 @@ "@behance/nbd": "^1.1.8",

@@ -243,2 +243,6 @@ import extend from '@behance/nbd/util/extend';

'image-processing'() {
this.trigger('image:processing');
},
'image-upload-cancel'() {

@@ -392,3 +396,3 @@ this.trigger('image:cancelled');

this._super(extend({}, this._defaults, model));
this.relay(this._view, 'controls:enabled controls:disabled controls:paused controls:resumed image:uploading image:uploaded image:loaded error:upload image:cancelled');
this.relay(this._view, 'controls:enabled controls:disabled controls:paused controls:resumed image:uploading image:processing image:uploaded image:loaded error:upload image:cancelled');
},

@@ -395,0 +399,0 @@

@@ -179,2 +179,6 @@ import Spinner from 'spin.js';

processing() {
this.trigger('image-processing');
},
complete({ file, uploadPath, uploadEndpoint, response }) {

@@ -181,0 +185,0 @@ this.trigger('image-upload-complete');

@@ -528,2 +528,12 @@ import $ from 'jquery';

});
describe('when the image is being processed', function() {
it('emits "image:processing event"', function(done) {
this.helicropter = this._createWithoutInitialImage();
this.helicropter.on('image:processing', done);
this.helicropter._view._uploadArea.trigger('image-processing');
});
});
});

@@ -202,2 +202,12 @@ import $ from 'jquery';

describe('image processing', function() {
it('emits "image-processing" when _uploader emits processing', function(done) {
this.uploadArea = this.create();
this.uploadArea.on('image-processing', done);
this.uploadArea._uploader.trigger('processing');
});
});
describe('cancel', function() {

@@ -204,0 +214,0 @@ it('emits "image-upload-cancel" when _uploader emits cancel', function(done) {

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