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

ng2-pagination

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pagination - npm Package Compare versions

Comparing version 0.0.1-alpha.11 to 0.0.1-alpha.12

4

dist/paginate-pipe.js

@@ -20,2 +20,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

PaginatePipe.prototype.transform = function (collection, args) {
// for non-array types, throw an exception
if (!(collection instanceof Array)) {
throw new Error("PaginationPipe: Argument error - expected an array, got " + typeof collection);
}
var usingConfig = typeof args[0] === 'object';

@@ -22,0 +26,0 @@ var serverSideMode = usingConfig && args[0].totalItems !== undefined;

2

package.json
{
"name": "ng2-pagination",
"version": "0.0.1-alpha.11",
"version": "0.0.1-alpha.12",
"description": "Pagination for Angular2",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -104,3 +104,3 @@ # Angular2 Pagination

<pagination-controls id="some_id"
(change)="pageChanged($event)
(change)="pageChanged($event)"
maxSize="9"

@@ -141,2 +141,2 @@ autoHide="true">

MIT
MIT
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