New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hapi/glue

Package Overview
Dependencies
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/glue - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

22

lib/index.js

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

const Hoek = require('@hapi/hoek');
const Joi = require('@hapi/joi');
const Validate = require('@hapi/validate');

@@ -15,11 +15,11 @@

internals.schema = {
options: Joi.object({
relativeTo: Joi.string(),
preRegister: Joi.func().allow(false)
options: Validate.object({
relativeTo: Validate.string(),
preRegister: Validate.func().allow(false)
}),
manifest: Joi.object({
server: Joi.object(),
register: Joi.object({
plugins: Joi.array(),
options: Joi.any()
manifest: Validate.object({
server: Validate.object(),
register: Validate.object({
plugins: Validate.array(),
options: Validate.any()
})

@@ -32,4 +32,4 @@ })

Joi.assert(options, internals.schema.options, 'Invalid options');
Joi.assert(manifest, internals.schema.manifest, 'Invalid manifest');
Validate.assert(options, internals.schema.options, 'Invalid options');
Validate.assert(manifest, internals.schema.manifest, 'Invalid manifest');

@@ -36,0 +36,0 @@ const serverOpts = internals.parseServer(manifest.server || {}, options.relativeTo);

{
"name": "@hapi/glue",
"description": "Server composer for hapi.js",
"version": "7.0.0",
"version": "8.0.0",
"repository": {

@@ -21,5 +21,5 @@ "type": "git",

"dependencies": {
"@hapi/hapi": "19.x.x",
"@hapi/hapi": "20.x.x",
"@hapi/hoek": "9.x.x",
"@hapi/joi": "17.x.x"
"@hapi/validate": "1.x.x"
},

@@ -29,3 +29,3 @@ "devDependencies": {

"@hapi/code": "8.x.x",
"@hapi/lab": "22.x.x"
"@hapi/lab": "23.x.x"
},

@@ -32,0 +32,0 @@ "scripts": {

@@ -0,0 +0,0 @@ <a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>

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