diff --git a/package-lock.json b/package-lock.json index e2ac7f2..c377a53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "quintoandar-kafka", - "version": "0.0.10", + "version": "0.0.12", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -34,6 +34,15 @@ "through2": "2.0.3" } }, + "@types/kafka-node": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/kafka-node/-/kafka-node-2.0.6.tgz", + "integrity": "sha512-T+xLbYLe7ZxuQYcVujxIbHgGDSQDc3z7L/WbUjYmqWKdDMd7lo77+ljN6qVL+iwYlrxOpV0dree1rwjY6M0h6A==", + "dev": true, + "requires": { + "@types/node": "10.3.0" + } + }, "@types/node": { "version": "10.3.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.3.0.tgz", @@ -927,7 +936,7 @@ "bindings": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz", - "integrity": "sha1-s0b27PapX1qBXFg5/HzbIlAvHtc=", + "integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw==", "optional": true }, "bl": { @@ -2423,14 +2432,14 @@ "dev": true }, "fsevents": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.3.tgz", - "integrity": "sha512-X+57O5YkDTiEQGiw8i7wYc2nQgweIekqkepI8Q3y4wVlurgBt2SuwxTeYUYMZIGpLZH3r/TsMjczCMXE5ZOt7Q==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", "dev": true, "optional": true, "requires": { "nan": "2.10.0", - "node-pre-gyp": "0.9.1" + "node-pre-gyp": "0.10.0" }, "dependencies": { "abbrev": { @@ -2511,7 +2520,7 @@ } }, "deep-extend": { - "version": "0.4.2", + "version": "0.5.1", "bundled": true, "dev": true, "optional": true @@ -2689,7 +2698,7 @@ } }, "node-pre-gyp": { - "version": "0.9.1", + "version": "0.10.0", "bundled": true, "dev": true, "optional": true, @@ -2700,7 +2709,7 @@ "nopt": "4.0.1", "npm-packlist": "1.1.10", "npmlog": "4.1.2", - "rc": "1.2.6", + "rc": "1.2.7", "rimraf": "2.6.2", "semver": "5.5.0", "tar": "4.4.1" @@ -2798,12 +2807,12 @@ "optional": true }, "rc": { - "version": "1.2.6", + "version": "1.2.7", "bundled": true, "dev": true, "optional": true, "requires": { - "deep-extend": "0.4.2", + "deep-extend": "0.5.1", "ini": "1.3.5", "minimist": "1.2.0", "strip-json-comments": "2.0.1" @@ -5392,7 +5401,9 @@ } }, "kafka-node": { - "version": "git+https://github.com/thspinto/kafka-node.git#005cb3c42db098239cff8a79e92104e60a4b947f", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/kafka-node/-/kafka-node-2.6.1.tgz", + "integrity": "sha512-tpivkSLjiGHRLwx0YN87fMUATOK4NYWESJneHlpikEBNNA5od7fW/ikovS3tWooMqG4Nri55vPFRUNiNvNBWZA==", "requires": { "async": "2.6.0", "binary": "0.3.0", @@ -5826,7 +5837,7 @@ "nan": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", - "integrity": "sha1-ltDNYQ69WNS03pzAxoKM2pnHVI8=", + "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==", "optional": true }, "nanomatch": { @@ -6822,7 +6833,7 @@ "capture-exit": "1.2.0", "exec-sh": "0.2.1", "fb-watchman": "2.0.0", - "fsevents": "1.2.3", + "fsevents": "1.2.4", "micromatch": "3.1.10", "minimist": "1.2.0", "walker": "1.0.7", diff --git a/package.json b/package.json index 3440c09..422af7c 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,17 @@ { "name": "quintoandar-kafka", - "version": "0.0.11", + "version": "0.0.12", "description": "Default Kafka NodeJS lib for QuintoAndar", "main": "src/main.js", "types": "types/index.d.ts", "dependencies": { - "kafka-node": "git+https://github.com/thspinto/kafka-node.git#v2.6.2-rc1", + "kafka-node": "2.6.1", "lodash": "^4.17.10", "quintoandar-logger": "git+https://github.com/quintoandar/node-logger.git#1.0.0", "uuid": "^3.2.1" }, "devDependencies": { + "@types/kafka-node": "^2.0.6", "@types/node": "^10.0.0", "EventEmitter": "^1.0.0", "eslint": "^4.7.2", diff --git a/types/index.d.ts b/types/index.d.ts index 4c012f2..123b232 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,7 +1,7 @@ import { Writable } from 'stream'; -import { ConsumerGroupOptions, KafkaClientOptions, HighLevelConsumerOptions } from 'kafka-node'; +import { ConsumerGroupOptions, KafkaClientOptions } from 'kafka-node'; -export { ConsumerGroupOptions, KafkaClientOptions, HighLevelConsumerOptions } from 'kafka-node'; +export { ConsumerGroupOptions, KafkaClientOptions } from 'kafka-node'; export interface KafkaConsumerOptions { configs: ConsumerGroupOptions;