angular2-file-drop
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
33384
1
25
1
0
684
- Removed@types/es6-shim@^0.31.32
- Removed@types/es6-shim@0.31.45(transitive)