react-responsive-pagination
Advanced tools
Comparing version 2.7.0 to 2.7.1-beta.1
# React Responsive Pagination Changelog | ||
## [2.7.1-beta.1](https://github.com/jonelantha/react-responsive-pagination/compare/v2.7.0...v2.7.1-beta.1) (2024-08-24) | ||
### Bug Fixes | ||
* Package updates ([0aab69e](https://github.com/jonelantha/react-responsive-pagination/commit/0aab69e0d2f505d169b56e382de5ad83f0dfd131)) | ||
# [2.7.0](https://github.com/jonelantha/react-responsive-pagination/compare/v2.6.1...v2.7.0) (2024-08-04) | ||
@@ -4,0 +11,0 @@ |
@@ -1,4 +0,1 @@ | ||
export function isNumber(val) { | ||
return typeof val === 'number'; | ||
} | ||
export function sanatizeInteger(maybeInteger) { | ||
@@ -5,0 +2,0 @@ return typeof maybeInteger === 'number' && Number.isInteger(maybeInteger) |
@@ -52,5 +52,6 @@ import { useState, useCallback } from 'react'; | ||
return ellipsisWidth; | ||
default: | ||
default: { | ||
const _exCheck = type; | ||
return _exCheck; | ||
} | ||
} | ||
@@ -57,0 +58,0 @@ }; |
@@ -12,2 +12,3 @@ import React from 'react'; | ||
export function srOnlySpanLabel({ a11yActiveLabel = '(current)', srOnlyClassName = 'sr-only', } = {}) { | ||
// eslint-disable-next-line react/display-name | ||
return (item) => { | ||
@@ -14,0 +15,0 @@ const activePage = item.gotoPage !== undefined && item.active; |
@@ -37,3 +37,3 @@ import { containsEllipsis, createEllipsis, getLastPage, isEllipsis, isNav, isPageWithNumber, compositionMatches, compositionMatchesEnd, } from './compositionItem.js'; | ||
const ellipsisDropped = metaData?.appliedBehaviours?.includes(dropEllipsis); | ||
let composition = initialComposition.slice(); | ||
const composition = initialComposition.slice(); | ||
/** | ||
@@ -40,0 +40,0 @@ * normal |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.43.3" | ||
"packageVersion": "7.47.7" | ||
} | ||
] | ||
} |
{ | ||
"name": "react-responsive-pagination", | ||
"version": "2.7.0", | ||
"version": "2.7.1-beta.1", | ||
"description": "React component for responsive pagination", | ||
@@ -41,3 +41,3 @@ "author": "jonelantha", | ||
"test": "jest", | ||
"lint": "eslint --ext .ts --ext .tsx src", | ||
"lint": "eslint src --report-unused-disable-directives", | ||
"prepublishOnly": "npm run build", | ||
@@ -60,5 +60,2 @@ "release": "rm ../../package.json && semantic-release", | ||
], | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"dependencies": { | ||
@@ -79,18 +76,15 @@ "prop-types": "^15.8.1" | ||
"@types/react-dom": "^18.2.21", | ||
"@typescript-eslint/eslint-plugin": "^7.1.1", | ||
"@typescript-eslint/parser": "^7.1.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-react-app": "^7.0.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jsx-a11y": "^6.7.1", | ||
"eslint-plugin-react": "^7.34.0", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint": "^9.9.1", | ||
"eslint-plugin-jsx-a11y": "^6.9.0", | ||
"eslint-plugin-react": "^7.35.0", | ||
"eslint-plugin-react-hooks": "^5.1.0-rc-b57d2823-20240822", | ||
"jest": "^29.6.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rimraf": "^5.0.1", | ||
"semantic-release": "^23.0.2", | ||
"rimraf": "^6.0.1", | ||
"semantic-release": "^24.1.0", | ||
"ts-jest": "^29.1.2", | ||
"typescript": "^5.4.2" | ||
"typescript": "^5.4.2", | ||
"typescript-eslint": "^8.2.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89009
19
1387
1