Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit 204225e

Browse files
committed
new is stream
1 parent 82e33dd commit 204225e

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

package-lock.json

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@elastic/elasticsearch": "^7.14.0",
1313
"bluebird": "^3.5.1",
14-
"is-stream": "^1.1.0",
14+
"is-stream": "^4.0.1",
1515
"itemsapi": "^2.1.0",
1616
"lodash": "^4.17.21"
1717
},

src/elasticitems7x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const _ = require('lodash');
44
const Promise = require('bluebird');
5-
const isStream = require('is-stream');
5+
const { isStream } = require('is-stream');
66
const { Client } = require('@elastic/elasticsearch');
77

88
/**

src/itemsapi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const _ = require('lodash');
44
const Promise = require('bluebird');
5-
const isStream = require('is-stream');
5+
const { isStream } = require('is-stream');
66
const ItemsAPI = require('itemsapi');
77

88

0 commit comments

Comments
 (0)