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

@ahooksjs/use-table

Package Overview
Dependencies
Maintainers
5
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ahooksjs/use-table - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1-alpha.0

15

es/index.js

@@ -124,3 +124,3 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

useUpdateEffect(query, refreshDeps);
var tableProps = tableQueryProps.tableProps,
var $tableProps = tableQueryProps.tableProps,
getParams = tableQueryProps.getParams,

@@ -130,11 +130,12 @@ actions = tableQueryProps.actions,

var paginationProps = tableProps.paginationProps,
$tableProps = _objectWithoutProperties(tableProps, ["paginationProps"]);
var paginationProps = $tableProps.paginationProps,
tableProps = _objectWithoutProperties($tableProps, ["paginationProps"]);
return _objectSpread(_objectSpread({}, props), {}, {
tableProps: $tableProps,
return _objectSpread(_objectSpread({
actions: actions
}, props), {}, {
tableProps: tableProps,
paginationProps: paginationProps,
query: query,
getParams: getParams,
actions: actions
getParams: getParams
});

@@ -141,0 +142,0 @@ };

@@ -183,3 +183,3 @@ "use strict";

(0, _use.useUpdateEffect)(query, refreshDeps);
var tableProps = tableQueryProps.tableProps,
var $tableProps = tableQueryProps.tableProps,
getParams = tableQueryProps.getParams,

@@ -189,11 +189,12 @@ actions = tableQueryProps.actions,

var paginationProps = tableProps.paginationProps,
$tableProps = _objectWithoutProperties(tableProps, ["paginationProps"]);
var paginationProps = $tableProps.paginationProps,
tableProps = _objectWithoutProperties($tableProps, ["paginationProps"]);
return _objectSpread(_objectSpread({}, props), {}, {
tableProps: $tableProps,
return _objectSpread(_objectSpread({
actions: actions
}, props), {}, {
tableProps: tableProps,
paginationProps: paginationProps,
query: query,
getParams: getParams,
actions: actions
getParams: getParams
});

@@ -200,0 +201,0 @@ };

{
"name": "@ahooksjs/use-table",
"version": "0.1.0",
"version": "0.1.1-alpha.0",
"scripts": {

@@ -10,3 +10,3 @@ "build:tsc": "tsc --project tsconfig.build.json --declarationDir ./lib && tsc --project tsconfig.build.json --declarationDir ./es"

"dependencies": {
"@ahooksjs/use-query-display": "^0.1.0"
"@ahooksjs/use-query-display": "^0.1.1-alpha.0"
},

@@ -20,3 +20,3 @@ "peerDependencies": {

],
"gitHead": "5237903ec622c2f49a750cc5aa36189335fe2dc9"
"gitHead": "1611888bcbe23004c13479a12fa684a7d213603b"
}
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