@naturalcycles/nodejs-lib 12.47.3 → 12.47.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ const util_1 = require("util");
9
9
  exports._pipeline = (0, util_1.promisify)(stream_1.pipeline);
10
10
  // Workaround https://github.com/nodejs/node/issues/40191
11
11
  // todo: remove it when fix is released in 16.x and in AppEngine 16.x
12
- if (process.version > 'v16.13') {
12
+ if (process.version >= 'v16.10') {
13
13
  const { pipeline } = require('stream/promises');
14
14
  exports._pipeline = ((streams) => pipeline(...streams));
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "12.47.3",
3
+ "version": "12.47.4",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
@@ -10,7 +10,7 @@ export let _pipeline = promisify(pipeline)
10
10
 
11
11
  // Workaround https://github.com/nodejs/node/issues/40191
12
12
  // todo: remove it when fix is released in 16.x and in AppEngine 16.x
13
- if (process.version > 'v16.13') {
13
+ if (process.version >= 'v16.10') {
14
14
  const { pipeline } = require('stream/promises')
15
15
  _pipeline = ((streams: AnyStream[]) => pipeline(...streams)) as any
16
16
  }