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

jw-paginate

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jw-paginate - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/jw-paginate.js

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

var maxPagesAfterCurrentPage = Math.ceil(maxPages / 2) - 1;
if (currentPage < maxPagesBeforeCurrentPage) {
if (currentPage <= maxPagesBeforeCurrentPage) {
// current page near the start

@@ -21,0 +21,0 @@ startPage = 1;

{
"name": "jw-paginate",
"version": "1.0.0",
"version": "1.0.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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