@podium/client
Advanced tools
Comparing version 5.0.0-next.7 to 5.0.0-next.8
@@ -0,1 +1,8 @@ | ||
# [5.0.0-next.8](https://github.com/podium-lib/client/compare/v5.0.0-next.7...v5.0.0-next.8) (2021-05-17) | ||
### Features | ||
* Use native streams ([#215](https://github.com/podium-lib/client/issues/215)) ([f949c9c](https://github.com/podium-lib/client/commit/f949c9cc0d66431685138ca2c0367aec622bce78)) | ||
# [5.0.0-next.7](https://github.com/podium-lib/client/compare/v5.0.0-next.6...v5.0.0-next.7) (2021-05-05) | ||
@@ -2,0 +9,0 @@ |
'use strict'; | ||
var stream = require('readable-stream'); | ||
var stream = require('stream'); | ||
var assert = require('assert'); | ||
@@ -5,0 +5,0 @@ |
'use strict'; | ||
var stream = require('readable-stream'); | ||
var stream = require('stream'); | ||
var Metrics = require('@metrics/client'); | ||
@@ -255,3 +255,3 @@ var request = require('request'); | ||
stream.pipeline(r, outgoing, err => { | ||
stream.pipeline([r, outgoing], (err) => { | ||
if (err) { | ||
@@ -258,0 +258,0 @@ this.#log.warn('error while piping content stream', err); |
'use strict'; | ||
var Metrics = require('@metrics/client'); | ||
var stream = require('readable-stream'); | ||
var stream = require('stream'); | ||
var abslog = require('abslog'); | ||
@@ -82,3 +82,5 @@ var assert = require('assert'); | ||
stream__default['default'].pipeline(outgoing, to); | ||
stream__default['default'].pipeline([outgoing, to], () => { | ||
// noop | ||
}); | ||
@@ -85,0 +87,0 @@ const { manifest, headers, redirect } = await this.#resolver.resolve( |
/* eslint-disable no-underscore-dangle */ | ||
import { PassThrough } from 'readable-stream'; | ||
import { PassThrough } from 'stream'; | ||
import assert from 'assert'; | ||
@@ -5,0 +5,0 @@ |
/* eslint-disable no-param-reassign */ | ||
import { pipeline } from 'readable-stream'; | ||
import { pipeline } from 'stream'; | ||
import Metrics from '@metrics/client'; | ||
@@ -226,3 +226,3 @@ import request from 'request'; | ||
pipeline(r, outgoing, err => { | ||
pipeline([r, outgoing], (err) => { | ||
if (err) { | ||
@@ -229,0 +229,0 @@ this.#log.warn('error while piping content stream', err); |
/* eslint-disable no-param-reassign */ | ||
import Metrics from '@metrics/client'; | ||
import stream from 'readable-stream'; | ||
import stream from 'stream'; | ||
import abslog from 'abslog'; | ||
@@ -74,3 +74,5 @@ import assert from 'assert'; | ||
stream.pipeline(outgoing, to); | ||
stream.pipeline([outgoing, to], () => { | ||
// noop | ||
}); | ||
@@ -77,0 +79,0 @@ const { manifest, headers, redirect } = await this.#resolver.resolve( |
{ | ||
"name": "@podium/client", | ||
"version": "5.0.0-next.7", | ||
"version": "5.0.0-next.8", | ||
"type": "module", | ||
@@ -51,3 +51,2 @@ "license": "MIT", | ||
"lodash.clonedeep": "^4.5.0", | ||
"readable-stream": "^3.4.0", | ||
"request": "^2.88.0", | ||
@@ -75,3 +74,2 @@ "ttl-mem-cache": "4.1.0" | ||
"http-proxy": "1.18.1", | ||
"is-stream": "2.0.0", | ||
"prettier": "2.2.1", | ||
@@ -78,0 +76,0 @@ "rollup": "2.46.0", |
139206
9
22
2756
- Removedreadable-stream@^3.4.0