Socket
Socket
Sign inDemoInstall

@glints/hapi-url-plugin

Package Overview
Dependencies
30
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

LICENSE

4

dist/URLPlugin.d.ts
/// <reference types="node" />
import { URL } from 'url';
import * as Hapi from 'hapi';
import * as Hapi from '@hapi/hapi';
export interface URLPluginOptions {

@@ -10,3 +10,3 @@ numProxies: number;

}
declare module 'hapi' {
declare module '@hapi/hapi' {
interface PluginsStates {

@@ -13,0 +13,0 @@ URLPlugin?: URLPluginRequestState;

import 'mocha';
import { assert } from 'chai';
import * as Sinon from 'sinon';
import * as Hapi from 'hapi';
import * as Hapi from '@hapi/hapi';
import URLPlugin from './URLPlugin';

@@ -6,0 +6,0 @@ describe('URLPlugin', () => {

{
"name": "@glints/hapi-url-plugin",
"version": "2.0.0",
"version": "3.0.0",
"description": "A plugin that attempts to construct a complete URL object for an incoming request.",

@@ -19,8 +19,8 @@ "main": "./dist/index.js",

"@glints/tslint-rules": "^1.0.6",
"@hapi/hapi": "^18.4.0",
"@types/chai": "^4.2.4",
"@types/hapi": "^18.0.3",
"@types/hapi__hapi": "^18.2.6",
"@types/mocha": "^5.2.7",
"@types/sinon": "^7.5.0",
"chai": "^4.2.0",
"hapi": "^18.1.0",
"mocha": "^6.2.2",

@@ -33,3 +33,3 @@ "sinon": "^7.5.0",

"peerDependencies": {
"hapi": ">= 17"
"@hapi/hapi": ">= 18"
},

@@ -36,0 +36,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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