bloodhound-js
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "bloodhound-js", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "bloodhound.js for node and browser", | ||
@@ -17,8 +17,9 @@ "main": "index.js", | ||
"storage2": "^0.1.0", | ||
"superagent": "^1.2.0" | ||
"superagent": "^3.8.3" | ||
}, | ||
"devDependencies": { | ||
"tape": "^4.2.2", | ||
"webpack": "^1.12.9", | ||
"webpack-dev-server": "^1.14.0" | ||
"webpack": "^4.16.2", | ||
"webpack-cli": "^3.1.0", | ||
"webpack-dev-server": "^3.1.5" | ||
}, | ||
@@ -25,0 +26,0 @@ "keywords": [ |
# bloodhound-js | ||
[![Build Status](https://travis-ci.org/pqx/bloodhound.svg)](https://travis-ci.org/pqx/bloodhound) | ||
[bloodhound.js](https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md) for node and browser | ||
@@ -7,14 +10,18 @@ | ||
### Installtion | ||
``` sh | ||
```sh | ||
npm install bloodhound-js --save | ||
``` | ||
### Changes | ||
+ no jquery deps | ||
+ works with both browser and node | ||
+ jquery deferred with [es6-promise](https://www.npmjs.com/package/es6-promise) | ||
+ storage polyfill with [storage2](https://www.npmjs.com/package/storage2) | ||
+ ajax with [superagent](https://www.npmjs.com/package/superagent) | ||
- no jquery deps | ||
- works with both browser and node | ||
- jquery deferred with [es6-promise](https://www.npmjs.com/package/es6-promise) | ||
- storage polyfill with [storage2](https://www.npmjs.com/package/storage2) | ||
- ajax with [superagent](https://www.npmjs.com/package/superagent) | ||
### Usage | ||
``` javascript | ||
```javascript | ||
var Bloodhound = require('bloodhound-js'); | ||
@@ -32,7 +39,11 @@ var engine = new Bloodhound({ | ||
engine.search('d', function(d) { | ||
console.log(d); | ||
}, function(d) { | ||
console.log(d); | ||
}); | ||
engine.search( | ||
'd', | ||
function(d) { | ||
console.log(d); | ||
}, | ||
function(d) { | ||
console.log(d); | ||
} | ||
); | ||
}); | ||
@@ -42,2 +53,3 @@ ``` | ||
### License | ||
MIT |
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
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
53
325372
4
18
1110
+ Addedasynckit@0.4.0(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcomponent-emitter@1.3.1(transitive)
+ Addedcookiejar@2.1.4(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedform-data@2.5.2(transitive)
+ Addedformidable@1.2.6(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedqs@6.13.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.25.2.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedsuperagent@3.8.3(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removedasync@1.5.2(transitive)
- Removedcomponent-emitter@1.2.1(transitive)
- Removedcookiejar@2.0.6(transitive)
- Removeddebug@2.6.9(transitive)
- Removedextend@3.0.0(transitive)
- Removedform-data@1.0.0-rc3(transitive)
- Removedformidable@1.0.17(transitive)
- Removedisarray@0.0.1(transitive)
- Removedmime@1.3.4(transitive)
- Removedms@2.0.0(transitive)
- Removedqs@2.3.3(transitive)
- Removedreadable-stream@1.0.27-1(transitive)
- Removedreduce-component@1.0.1(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedsuperagent@1.8.5(transitive)
Updatedsuperagent@^3.8.3