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

ang2-parallax

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ang2-parallax - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

ng2parallax.js

22

ng2-parallax-directive/parallax.directive.js

@@ -12,7 +12,7 @@ "use strict";

var core_1 = require('@angular/core');
var ng2Parallax = (function () {
function ng2Parallax(el) {
var ng2parallax = (function () {
function ng2parallax(el) {
this.element = el.nativeElement;
}
ng2Parallax.prototype.ngOnInit = function () {
ng2parallax.prototype.ngOnInit = function () {
var t = this, _img = t.src, _speed = t.speed;

@@ -62,12 +62,8 @@ window.mobileAndTabletcheck = function () {

__metadata('design:type', Object)
], ng2Parallax.prototype, "speed", void 0);
], ng2parallax.prototype, "speed", void 0);
__decorate([
core_1.Input('src'),
__metadata('design:type', Object)
], ng2Parallax.prototype, "src", void 0);
__decorate([
core_1.Input('reverse'),
__metadata('design:type', Object)
], ng2Parallax.prototype, "reverse", void 0);
ng2Parallax = __decorate([
], ng2parallax.prototype, "src", void 0);
ng2parallax = __decorate([
core_1.Directive({

@@ -77,6 +73,6 @@ selector: '[parallax]',

__metadata('design:paramtypes', [core_1.ElementRef])
], ng2Parallax);
return ng2Parallax;
], ng2parallax);
return ng2parallax;
}());
exports.ng2Parallax = ng2Parallax;
exports.ng2parallax = ng2parallax;
//# sourceMappingURL=parallax.directive.js.map

@@ -8,3 +8,3 @@ import {Directive, OnInit, ElementRef, Input, EventEmitter } from '@angular/core';

})
export class ng2Parallax implements OnInit {
export class ng2parallax implements OnInit {
@Input('speed') speed:any;

@@ -11,0 +11,0 @@ @Input('src') src:any;

{
"name": "ang2-parallax",
"version": "1.0.1",
"version": "1.0.2",
"description": "A parallax module built for Angular 2 components.",

@@ -21,3 +21,5 @@ "main": "index.js",

],
"author": "allen royston",
"author": {
"name": "allen royston"
},
"license": "ISC",

@@ -27,3 +29,30 @@ "bugs": {

},
"homepage": "https://github.com/allenRoyston/ng2-parallax#readme"
"homepage": "https://github.com/allenRoyston/ng2-parallax#readme",
"gitHead": "9dcdb47611082b47311bae227f32fc232e684990",
"_id": "ang2-parallax@1.0.1",
"_shasum": "90ea2d757877cd98c76b6978f60f1fcb49165e25",
"_from": "ang2-parallax@latest",
"_npmVersion": "3.5.2",
"_nodeVersion": "4.2.6",
"_npmUser": {
"name": "allenroyston",
"email": "allen.acr@gmail.com"
},
"dist": {
"shasum": "90ea2d757877cd98c76b6978f60f1fcb49165e25",
"tarball": "https://registry.npmjs.org/ang2-parallax/-/ang2-parallax-1.0.1.tgz"
},
"maintainers": [
{
"name": "allenroyston",
"email": "allen.acr@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/ang2-parallax-1.0.1.tgz_1470440869101_0.5517254211008549"
},
"directories": {},
"_resolved": "https://registry.npmjs.org/ang2-parallax/-/ang2-parallax-1.0.1.tgz",
"readme": "ERROR: No README data found!"
}

Sorry, the diff of this file is not supported yet

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