@lessondesk/react-table-context
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "@lessondesk/react-table-context", | ||
"description": "Flexible Table Provider & Consumer", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "dist/react-table-context.js", | ||
@@ -6,0 +6,0 @@ "source": "src/index.js", |
@@ -196,3 +196,2 @@ import React, { createContext, Component } from 'react' | ||
setFilters = (filters, clearData = false) => { | ||
const { data } = this.state | ||
this.handleUpdate({ | ||
@@ -202,3 +201,3 @@ filters, | ||
page: 0, | ||
data: clearData ? [] : data | ||
...(clearData && { data: [] }) | ||
}) | ||
@@ -205,0 +204,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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
25603
608