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

@aboutbits/pagination

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aboutbits/pagination - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

dist/esm/index.d.ts

5

dist/index.js

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.calculatePagination = void 0;
var calculateVisiblePages = function (page, total, maxPages) {

@@ -58,2 +61,2 @@ var range = Math.floor(maxPages / 2);

};
export { calculatePagination };
exports.calculatePagination = calculatePagination;

7

package.json
{
"name": "@aboutbits/pagination",
"version": "0.1.14",
"version": "0.1.15",
"description": "Pagination",

@@ -14,5 +14,8 @@ "keywords": [

"main": "dist/index.js",
"module": "dist/esm/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"build": "npm run build:node && npm run build:esm",
"build:node": "tsc",
"build:esm": "tsc --project tsconfig.esnext.json",
"lint": "eslint --ext js,ts,tsx src",

@@ -19,0 +22,0 @@ "lint:fix": "npm run lint -- --fix",

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