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

angular2-useful-swiper

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-useful-swiper - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

lib/swiper.component.d.ts

@@ -1,3 +0,3 @@

import { OnInit, ElementRef, AfterViewChecked } from '@angular/core';
export declare class SwiperComponent implements OnInit, AfterViewChecked {
import { ElementRef, AfterViewInit, AfterViewChecked } from '@angular/core';
export declare class SwiperComponent implements AfterViewInit, AfterViewChecked {
private elementRef;

@@ -9,4 +9,4 @@ config: Object;

constructor(elementRef: ElementRef);
ngOnInit(): void;
ngAfterViewInit(): void;
ngAfterViewChecked(): void;
}

@@ -17,3 +17,3 @@ "use strict";

}
SwiperComponent.prototype.ngOnInit = function () {
SwiperComponent.prototype.ngAfterViewInit = function () {
this.swiperWrapper = this.elementRef.nativeElement.querySelector('.swiper-wrapper');

@@ -20,0 +20,0 @@ this.slideCount = this.swiperWrapper.childElementCount;

{
"name": "angular2-useful-swiper",
"version": "2.0.1",
"description": "Use iDangero.us's Swiper in Angular 2.",
"version": "2.0.2",
"description": "Use iDangero.us's Swiper in Angular 2.",
"directories": {},

@@ -33,23 +33,15 @@ "files": [

"peerDependencies": {
"@angular/core": "2.0.0"
"@angular/core": "^2.0.0"
},
"dependencies": {},
"devDependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/forms": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/upgrade": "2.0.0",
"@angular2-material/button": "2.0.0-alpha.8",
"@angular2-material/card": "2.0.0-alpha.8",
"@angular2-material/core": "2.0.0-alpha.8",
"@angular2-material/icon": "2.0.0-alpha.8",
"@angular2-material/input": "2.0.0-alpha.8",
"@angular2-material/list": "2.0.0-alpha.8",
"@angular2-material/progress-circle": "2.0.0-alpha.8",
"@angular2-material/sidenav": "2.0.0-alpha.8",
"@angular2-material/toolbar": "2.0.0-alpha.8",
"@angular/common": "^2.0.0",
"@angular/compiler": "^2.0.0",
"@angular/core": "^2.0.0",
"@angular/forms": "^2.0.0",
"@angular/http": "^2.0.0",
"@angular/platform-browser": "^2.0.0",
"@angular/platform-browser-dynamic": "^2.0.0",
"@angular/upgrade": "^2.0.0",
"@angular/material": "^2.0.0-alpha.9",
"canonical-path": "0.0.2",

@@ -56,0 +48,0 @@ "concurrently": "^2.0.0",

@@ -40,2 +40,13 @@ ##angular2-useful-swiper

####or for angular-cli
Add the package to **angular-cli.json**
```json
"packages": [
"node_modules/angular2-useful-swiper/lib"
]
```
###How to use it

@@ -56,3 +67,3 @@

import { SwiperModule } from 'angular2-useful-swiper';
import { SwiperModule } from 'angular2-useful-swiper'; //or for angular-cli the path will be ../../node_modules/angular2-useful-swiper

@@ -59,0 +70,0 @@ import { AppComponent } from './app.component';

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