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.2.0 to 0.2.1-alpha.0

1

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

@@ -8,2 +8,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; }

import { useRef } from 'react';
export var FILTER_PLUGIN_SYMBOL = Symbol.for('FILTER_PLUGIN_SYMBOL');

@@ -25,2 +26,3 @@ var propsToParams = function propsToParams(props) {

return {
pluginType: FILTER_PLUGIN_SYMBOL,
middlewares: function middlewares(ctx, next) {

@@ -27,0 +29,0 @@ var filterParams = propsToParams(filterRef.current);

import { TUseFilterPlugin } from './type';
export declare const FILTER_PLUGIN_SYMBOL: unique symbol;
declare const useFilterPlugin: TUseFilterPlugin;
export default useFilterPlugin;

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

});
exports.default = void 0;
exports.default = exports.FILTER_PLUGIN_SYMBOL = void 0;

@@ -17,2 +17,5 @@ var _react = require("react");

var FILTER_PLUGIN_SYMBOL = Symbol.for('FILTER_PLUGIN_SYMBOL');
exports.FILTER_PLUGIN_SYMBOL = FILTER_PLUGIN_SYMBOL;
var propsToParams = function propsToParams(props) {

@@ -33,2 +36,3 @@ return Object.keys(props).reduce(function (acc, key) {

return {
pluginType: FILTER_PLUGIN_SYMBOL,
middlewares: function middlewares(ctx, next) {

@@ -35,0 +39,0 @@ var filterParams = propsToParams(filterRef.current);

6

package.json
{
"name": "@ahooksjs/use-filter-plugin",
"version": "0.2.0",
"version": "0.2.1-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.2.0"
"@ahooksjs/use-table": "^0.2.1-alpha.0"
},

@@ -25,3 +25,3 @@ "repository": {

],
"gitHead": "90c57bca1d938d47e9320bf143c0c7a1ab9459c0"
"gitHead": "d455a0816b785b1ed9fdf50bf480412342a04f43"
}
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