react-select-fast-filter-options
Advanced tools
Comparing version 0.0.5 to 0.1.0
@@ -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. |
{ | ||
"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 | |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
118
10597
32
4
66
1