Socket
Socket
Sign inDemoInstall

@hapi/hapi

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/hapi - npm Package Compare versions

Comparing version 18.3.1 to 18.3.2

2

lib/core.js

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

let settings = Hoek.cloneWithShallow(options, ['cache', 'listener', 'routes.bind']);
let settings = Hoek.clone(options, { shallow: ['cache', 'listener', 'routes.bind'] });
settings.routes = Config.enable(settings.routes);

@@ -600,0 +600,0 @@ settings = Config.apply('server', settings);

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

const settings = Hoek.cloneWithShallow(options, ['bind']);
const settings = Hoek.clone(options, { shallow: ['bind'] });
settings.generateKey = settings.generateKey || internals.generateKey;

@@ -49,0 +49,0 @@

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

for (const item of chain) {
config = Hoek.applyToDefaultsWithShallow(config, item, ['bind', 'validate.headers', 'validate.payload', 'validate.params', 'validate.query', 'validate.state']);
config = Hoek.applyToDefaults(config, item, { shallow: ['bind', 'validate.headers', 'validate.payload', 'validate.params', 'validate.query', 'validate.state'] });
}

@@ -498,0 +498,0 @@

@@ -1,4 +0,4 @@

Copyright (c) 2011-2019, Sideway Inc, and project contributors
Copyright (c) 2011-2014, Walmart
Copyright (c) 2011, Yahoo Inc.
Copyright (c) 2011-2019, Sideway Inc, and project contributors
Copyright (c) 2011-2014, Walmart
Copyright (c) 2011, Yahoo Inc.
All rights reserved.

@@ -5,0 +5,0 @@

@@ -5,3 +5,3 @@ {

"homepage": "https://hapijs.com",
"version": "18.3.1",
"version": "18.3.2",
"repository": "git://github.com/hapijs/hapi",

@@ -24,3 +24,3 @@ "main": "lib/index.js",

"@hapi/heavy": "6.x.x",
"@hapi/hoek": "6.x.x",
"@hapi/hoek": "8.x.x",
"@hapi/joi": "15.x.x",

@@ -37,5 +37,5 @@ "@hapi/mimos": "4.x.x",

"devDependencies": {
"@hapi/code": "5.x.x",
"@hapi/code": "6.x.x",
"@hapi/inert": "5.x.x",
"@hapi/lab": "18.x.x",
"@hapi/lab": "20.x.x",
"@hapi/wreck": "15.x.x",

@@ -42,0 +42,0 @@ "@hapi/vision": "5.x.x",

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

<img src="https://github.com/hapijs/assets/blob/master/images/hapi.png" width="400px" />
<img src="https://raw.githubusercontent.com/hapijs/assets/master/images/hapi.png" width="400px" />

@@ -3,0 +3,0 @@ ### Web and services application framework

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc