@aboutbits/pagination
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -19,4 +19,3 @@ "use strict"; | ||
IndexType[IndexType["ONE_BASED"] = 1] = "ONE_BASED"; | ||
})(IndexType || (IndexType = {})); | ||
exports.IndexType = IndexType; | ||
})(IndexType || (exports.IndexType = IndexType = {})); | ||
var calculateVisiblePages = function (page, firstPage, lastPage, maxPages) { | ||
@@ -23,0 +22,0 @@ var range = Math.floor(maxPages / 2); |
{ | ||
"name": "@aboutbits/pagination", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Pagination", | ||
"author": "AboutBits", | ||
"license": "MIT", | ||
"homepage": "https://github.com/aboutbits/pagination", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/aboutbits/pagination.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/aboutbits/pagination/issues" | ||
}, | ||
"keywords": [ | ||
@@ -10,8 +20,13 @@ "pagination", | ||
], | ||
"author": "AboutBits", | ||
"license": "MIT", | ||
"private": false, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/esm/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"readme.md", | ||
"dist/**/*" | ||
], | ||
"engines": { | ||
@@ -34,32 +49,17 @@ "npm": ">=8", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/aboutbits/pagination.git" | ||
}, | ||
"files": [ | ||
"readme.md", | ||
"dist/**/*" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/aboutbits/pagination/issues" | ||
}, | ||
"homepage": "https://github.com/aboutbits/pagination#readme", | ||
"devDependencies": { | ||
"@types/jest": "^28.1.3", | ||
"@typescript-eslint/eslint-plugin": "^5.30.0", | ||
"@typescript-eslint/parser": "^5.30.0", | ||
"eslint": "^8.18.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^26.5.3", | ||
"eslint-plugin-prettier": "^4.1.0", | ||
"jest": "^28.1.2", | ||
"jest-environment-jsdom": "^29.6.1", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.5", | ||
"typescript": "^4.7.4" | ||
"@types/jest": "^29.5.12", | ||
"@typescript-eslint/eslint-plugin": "^7.3.1", | ||
"@typescript-eslint/parser": "^7.3.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jest": "^27.9.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"prettier": "^3.2.5", | ||
"ts-jest": "^29.1.2", | ||
"typescript": "^5.4.3" | ||
} | ||
} |
12503
215