@glints/hapi-url-plugin
Advanced tools
Comparing version 2.0.0 to 3.0.0
/// <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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14098
12
0