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

@ahooksjs/use-filter-plugin

Package Overview
Dependencies
Maintainers
5
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ahooksjs/use-filter-plugin - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2-alpha.0

LICENSE

4

es/index.d.ts
import { TUseFilterPlugin } from './type';
declare const useSortablePlugin: TUseFilterPlugin;
export default useSortablePlugin;
declare const useFilterPlugin: TUseFilterPlugin;
export default useFilterPlugin;

@@ -15,3 +15,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

var useSortablePlugin = function useSortablePlugin() {
var useFilterPlugin = function useFilterPlugin() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -47,2 +47,2 @@ var filterRef = useRef({});

export default useSortablePlugin;
export default useFilterPlugin;

@@ -1,5 +0,5 @@

import { FormTableNormalPlugin } from '@ahooksjs/use-table';
import { TableNormalPlugin } from '@ahooksjs/use-table';
export interface IOptions {
transformer?: (params: any, filterParams: any) => any;
}
export declare type TUseFilterPlugin = (options?: IOptions) => FormTableNormalPlugin;
export declare type TUseFilterPlugin = (options?: IOptions) => TableNormalPlugin;
import { TUseFilterPlugin } from './type';
declare const useSortablePlugin: TUseFilterPlugin;
export default useSortablePlugin;
declare const useFilterPlugin: TUseFilterPlugin;
export default useFilterPlugin;

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

var useSortablePlugin = function useSortablePlugin() {
var useFilterPlugin = function useFilterPlugin() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -54,3 +54,3 @@ var filterRef = (0, _react.useRef)({});

var _default = useSortablePlugin;
var _default = useFilterPlugin;
exports.default = _default;

@@ -1,5 +0,5 @@

import { FormTableNormalPlugin } from '@ahooksjs/use-table';
import { TableNormalPlugin } from '@ahooksjs/use-table';
export interface IOptions {
transformer?: (params: any, filterParams: any) => any;
}
export declare type TUseFilterPlugin = (options?: IOptions) => FormTableNormalPlugin;
export declare type TUseFilterPlugin = (options?: IOptions) => TableNormalPlugin;
{
"name": "@ahooksjs/use-filter-plugin",
"version": "0.0.1",
"version": "0.0.2-alpha.0",
"scripts": {

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

"dependencies": {
"@ahooksjs/use-table": "^0.0.1"
"@ahooksjs/use-table": "^0.0.2-alpha.0"
},

@@ -20,3 +20,3 @@ "files": [

],
"gitHead": "0fd0bf5f6cef648840bf37b99f604865f3930493"
"gitHead": "ee471296d35000937cc6e268d5b16cb81107ea87"
}
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