Socket
Socket
Sign inDemoInstall

@bull-board-ay/hapi

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bull-board-ay/hapi - npm Package Compare versions

Comparing version 0.0.5 to 0.0.7

9

dist/HapiAdapter.js

@@ -37,3 +37,3 @@ "use strict";

method: methods.map((method) => method.toUpperCase()),
path: toHapiPath_1.toHapiPath(path),
path: (0, toHapiPath_1.toHapiPath)(path),
handler: routeRaw.handler,

@@ -57,3 +57,3 @@ });

pkg: require('../package.json'),
register: async (server) => {
register: async (server, options = {}) => {
if (!this.statics) {

@@ -88,2 +88,3 @@ throw new Error(`Please call 'setStaticPath' before using 'registerPlugin'`);

path: `${this.statics.route}/{param*}`,
options,
handler: {

@@ -99,3 +100,4 @@ directory: {

method: method.toUpperCase(),
path: toHapiPath_1.toHapiPath(path),
path: (0, toHapiPath_1.toHapiPath)(path),
options,
handler: (_request, h) => {

@@ -111,2 +113,3 @@ const { name } = handler();

path: route.path,
options,
handler: async (request, h) => {

@@ -113,0 +116,0 @@ try {

{
"name": "@bull-board-ay/hapi",
"version": "0.0.5",
"version": "0.0.7",
"description": "Hapi.js server adapter for Bull-Board package",

@@ -28,7 +28,8 @@ "keywords": [

"build": "tsc",
"build:watch": "tsc -w",
"clean": "rm -rf dist"
},
"dependencies": {
"@bull-board-ay/api": "^0.0.5",
"@bull-board-ay/ui": "^0.0.5",
"@bull-board-ay/api": "^0.0.7",
"@bull-board-ay/ui": "^0.0.7",
"@hapi/inert": "^6.0.3",

@@ -35,0 +36,0 @@ "@hapi/vision": "^6.1.0",

Sorry, the diff of this file is not supported yet

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