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

glud-component

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glud-component - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

10

lib/Table/index.js

@@ -175,4 +175,6 @@ 'use strict';

}, _this.onChangePage = function (page) {
_this.setState({
currentPage: page
_this.setState(function () {
return {
currentPage: page
};
});

@@ -191,7 +193,7 @@

key: 'componentWillReceiveProps',
value: function componentWillReceiveProps(nextProps) {
value: function componentWillReceiveProps(nextProps, prevState) {
// this.handleCurrentPage(nextProps)
this.setState({
paginations: getPagination(getTotalRecord(nextProps.dataList.length, nextProps.totalRecord), nextProps.viewPerPage),
currentPage: this.handleCurrentPage(nextProps) ? 1 : this.state.currentPage
currentPage: this.handleCurrentPage(nextProps) ? 1 : prevState.currentPage
});

@@ -198,0 +200,0 @@ }

2

package.json
{
"name": "glud-component",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

@@ -5,0 +5,0 @@ "repository": {

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