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

react-responsive-pagination

Package Overview
Dependencies
Maintainers
0
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-pagination - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1-beta.1

7

CHANGELOG.md
# 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 @@

3

dist/helpers/util.js

@@ -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"
}
}
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