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

react-select-fast-filter-options

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-fast-filter-options - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

3

CHANGELOG.MD

@@ -0,1 +1,4 @@

##### 0.1.0
Added `indexes` property to support indexing documents on more than just the (visible) label field.
##### 0.0.5

@@ -2,0 +5,0 @@ Fast filter function now properly excludes selected options to more closely mimic default `react-select` filter behavior.

4

package.json
{
"name": "react-select-fast-filter-options",
"version": "0.0.5",
"version": "0.1.0",
"description": "react-select filterOptions function optimized to quickly filter large options lists",

@@ -68,2 +68,3 @@ "main": "dist/commonjs/index.js",

"babel-preset-stage-0": "^6.5.0",
"cross-env": "^3.1.3",
"extract-text-webpack-plugin": "^1.0.1",

@@ -76,2 +77,3 @@ "file-loader": "^0.9.0",

"react-addons-shallow-compare": "^15.3.1",
"react-dom": "^15.3.2",
"react-transform-catch-errors": "^1.0.2",

@@ -78,0 +80,0 @@ "react-transform-hmr": "^1.0.4",

@@ -16,6 +16,6 @@ # react-select-fast-filter-options

ES6, CommonJS, and UMD builds are available with each distribution.
Use npmcdn to access the UMD build:
Use unpkg to access the UMD build:
```html
<script src="https://npmcdn.com/react-select-fast-filter-options/dist/umd/react-select-fast-filter-options.js"></script>
<script src="https://unpkg.com/react-select-fast-filter-options/dist/umd/react-select-fast-filter-options.js"></script>
```

@@ -57,2 +57,3 @@

|:---|:---|:---|:---|
| `indexes` | `Array<String>` | | Optional array of attributes to build search index from; defaults to the `labelKey` attribute. |
| `indexStrategy` | [`IIndexStrategy`](https://github.com/bvaughn/js-search/blob/master/source/index-strategy/index-strategy.ts) | [`AllSubstringsIndexStrategy`](https://github.com/bvaughn/js-search/blob/master/source/index-strategy/all-substrings-index-strategy.ts) | See [js-search docs](https://github.com/bvaughn/js-search) |

@@ -59,0 +60,0 @@ | `labelKey` | string | "label" | Option key containing the display text |

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