@podium/client
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
@@ -140,2 +140,3 @@ /* eslint-disable no-param-reassign */ | ||
r.on('response', response => { | ||
// Remote responds but with an http error code | ||
@@ -237,4 +238,6 @@ const resError = response.statusCode !== 200; | ||
state.success = true; | ||
r.pipe(state.stream); | ||
state.stream.emit('headers', response.headers); | ||
process.nextTick(() => { | ||
r.pipe(state.stream); | ||
}); | ||
}); | ||
@@ -241,0 +244,0 @@ |
{ | ||
"name": "@podium/client", | ||
"version": "3.0.0-beta.1", | ||
"version": "3.0.0-beta.2", | ||
"main": "lib/client.js", | ||
@@ -31,3 +31,3 @@ "license": "SEE LICENSE IN LICENSE", | ||
"http-cache-semantics": "^4.0.0", | ||
"joi": "^13.5.2", | ||
"joi": "^14.3.1", | ||
"lodash.clonedeep": "^4.5.0", | ||
@@ -39,3 +39,3 @@ "readable-stream": "^3.0.3", | ||
"devDependencies": { | ||
"@podium/podlet": "2.1.2", | ||
"@podium/podlet": "3.0.0-beta.1", | ||
"benchmark": "^2.1.4", | ||
@@ -54,4 +54,4 @@ "eslint": "^5.12.0", | ||
"lint-staged": "^8.1.0", | ||
"lolex": "^2.7.1", | ||
"prettier": "^1.14.2", | ||
"lolex": "^3.0.0", | ||
"prettier": "^1.16.1", | ||
"server-destroy": "^1.0.1" | ||
@@ -58,0 +58,0 @@ }, |
# @podium/client | ||
[![Build Status](https://travis-ci.org/podium-lib/client.svg?branch=master)](https://travis-ci.org/podium-lib/client) | ||
[![Build Status](https://travis-ci.org/podium-lib/client.svg?branch=master)](https://travis-ci.org/podium-lib/client) [![Greenkeeper badge](https://badges.greenkeeper.io/podium-lib/client.svg)](https://greenkeeper.io/) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/podium-lib/client/badge.svg)](https://snyk.io/test/github/podium-lib/client) | ||
@@ -5,0 +6,0 @@ Client for fetching podium component fragments over HTTP. |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
57677
1104
426
3
+ Addedjoi@14.3.1(transitive)
- Removedjoi@13.7.0(transitive)
Updatedjoi@^14.3.1