Socket
Socket
Sign inDemoInstall

@hapi/wreck

Package Overview
Dependencies
3
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.2.0 to 18.0.0

8

lib/index.js

@@ -151,3 +151,3 @@ 'use strict';

_trace = _trace || [];
_trace = _trace ?? [];
_trace.push({ method: uri.method, url });

@@ -239,3 +239,3 @@

const redirectOptions = Hoek.clone(options, { shallow: internals.shallowOptions });
redirectOptions.payload = shadow || options.payload; // shadow must be ready at this point if set
redirectOptions.payload = shadow ?? options.payload; // shadow must be ready at this point if set
redirectOptions.redirects = --redirects;

@@ -553,3 +553,3 @@ if (timeoutId) {

catch (err) {
err.data = err.data || {};
err.data = err.data ?? {};
err.data.res = res;

@@ -681,3 +681,3 @@ throw err;

options.pathname = url.pathname;
options.path = `${url.pathname}${url.search || ''}`;
options.path = `${url.pathname}${url.search}`;
options.href = url.href;

@@ -684,0 +684,0 @@ if (url.port !== '') {

@@ -1,2 +0,3 @@

Copyright (c) 2012-2022, Sideway Inc, and project contributors
Copyright (c) 2012-2022, Project contributors
Copyright (c) 2012-2020, Sideway Inc
Copyright (c) 2012-2014, Walmart.

@@ -3,0 +4,0 @@ All rights reserved.

{
"name": "@hapi/wreck",
"description": "HTTP Client Utilities",
"version": "17.2.0",
"version": "18.0.0",
"repository": "git://github.com/hapijs/wreck",

@@ -17,10 +17,11 @@ "main": "lib/index",

"dependencies": {
"@hapi/bourne": "2.x.x",
"@hapi/boom": "9.x.x",
"@hapi/hoek": "9.x.x"
"@hapi/boom": "^10.0.0",
"@hapi/bourne": "^3.0.0",
"@hapi/hoek": "^10.0.0"
},
"devDependencies": {
"@hapi/code": "8.x.x",
"@hapi/lab": "24.x.x",
"typescript": "~4.0.2"
"@hapi/code": "^9.0.0",
"@hapi/lab": "^25.0.0",
"@types/node": "^17.0.31",
"typescript": "~4.6.4"
},

@@ -27,0 +28,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc