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

angular2-file-drop

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-file-drop - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

.travis.yml

110

build/bundles/index.umd.js

@@ -13,3 +13,3 @@ (function (global, factory) {

};
var __metadata$1 = (undefined && undefined.__metadata) || function (k, v) {
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);

@@ -108,44 +108,44 @@ };

};
__decorate$1([
_angular_core.Output(),
__metadata$1('design:type', _angular_core.EventEmitter)
], FileDropDirective.prototype, "fileOver", void 0);
__decorate$1([
_angular_core.Output(),
__metadata$1('design:type', _angular_core.EventEmitter)
], FileDropDirective.prototype, "onFileDrop", void 0);
__decorate$1([
_angular_core.Input(),
__metadata$1('design:type', Object)
], FileDropDirective.prototype, "options", void 0);
__decorate$1([
_angular_core.HostListener('dragover', [
'$event',
]),
__metadata$1('design:type', Function),
__metadata$1('design:paramtypes', [Object]),
__metadata$1('design:returntype', void 0)
], FileDropDirective.prototype, "onDragOver", null);
__decorate$1([
_angular_core.HostListener('dragleave', [
'$event',
]),
__metadata$1('design:type', Function),
__metadata$1('design:paramtypes', [Object]),
__metadata$1('design:returntype', void 0)
], FileDropDirective.prototype, "onDragLeave", null);
__decorate$1([
_angular_core.HostListener('drop', [
'$event',
]),
__metadata$1('design:type', Function),
__metadata$1('design:paramtypes', [Object]),
__metadata$1('design:returntype', void 0)
], FileDropDirective.prototype, "onDrop", null);
FileDropDirective = __decorate$1([
_angular_core.Directive({ selector: '[fileDrop]' }),
__metadata$1('design:paramtypes', [_angular_core.ElementRef])
], FileDropDirective);
return FileDropDirective;
}());
__decorate$1([
_angular_core.Output(),
__metadata("design:type", _angular_core.EventEmitter)
], FileDropDirective.prototype, "fileOver", void 0);
__decorate$1([
_angular_core.Output(),
__metadata("design:type", _angular_core.EventEmitter)
], FileDropDirective.prototype, "onFileDrop", void 0);
__decorate$1([
_angular_core.Input(),
__metadata("design:type", Object)
], FileDropDirective.prototype, "options", void 0);
__decorate$1([
_angular_core.HostListener('dragover', [
'$event',
]),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FileDropDirective.prototype, "onDragOver", null);
__decorate$1([
_angular_core.HostListener('dragleave', [
'$event',
]),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FileDropDirective.prototype, "onDragLeave", null);
__decorate$1([
_angular_core.HostListener('drop', [
'$event',
]),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], FileDropDirective.prototype, "onDrop", null);
FileDropDirective = __decorate$1([
_angular_core.Directive({ selector: '[fileDrop]' }),
__metadata("design:paramtypes", [_angular_core.ElementRef])
], FileDropDirective);

@@ -158,26 +158,20 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {

};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var FileDropModule = (function () {
exports.FileDropModule = (function () {
function FileDropModule() {
}
FileDropModule = __decorate([
_angular_core.NgModule({
declarations: [
FileDropDirective,
],
exports: [FileDropDirective],
imports: [],
providers: [],
}),
__metadata('design:paramtypes', [])
], FileDropModule);
return FileDropModule;
}());
exports.FileDropModule = __decorate([
_angular_core.NgModule({
declarations: [
FileDropDirective,
],
exports: [FileDropDirective],
imports: [],
providers: [],
})
], exports.FileDropModule);
exports.FileDropModule = FileDropModule;
Object.defineProperty(exports, '__esModule', { value: true });
})));
{
"name": "angular2-file-drop",
"version": "0.1.0",
"version": "0.2.0",
"description": "Angular2 component with Drag and Drop support for files",

@@ -9,3 +9,3 @@ "main": "build/bundles/index.umd.js",

"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "npm run build",
"prebuild": "npm run lint",

@@ -39,3 +39,2 @@ "build": "tsc && npm run bundle",

"dependencies": {
"@types/es6-shim": "^0.31.32",
"fileapi": "^2.0.20"

@@ -42,0 +41,0 @@ },

@@ -12,4 +12,4 @@ {

"noImplicitAny": false,
"types": ["@types/es6-shim"],
"moduleResolution": "node"
"moduleResolution": "node",
"lib": ["es2015", "dom"]
},

@@ -16,0 +16,0 @@ "files": [

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