@glints/hapi-real-ip-plugin
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -1,2 +0,2 @@ | ||
import * as Hapi from 'hapi'; | ||
import * as Hapi from '@hapi/hapi'; | ||
export interface RealIPPluginOptions { | ||
@@ -3,0 +3,0 @@ numProxies: number; |
import 'mocha'; | ||
import { assert } from 'chai'; | ||
import * as Sinon from 'sinon'; | ||
import * as Hapi from 'hapi'; | ||
import * as Hapi from '@hapi/hapi'; | ||
import RealIPPlugin from './RealIPPlugin'; | ||
@@ -6,0 +6,0 @@ describe('RealIPPlugin', () => { |
{ | ||
"name": "@glints/hapi-real-ip-plugin", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "A plugin that attempts to determine the real IP of the client.", | ||
@@ -22,8 +22,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", | ||
@@ -35,5 +35,3 @@ "sinon": "^7.5.0", | ||
}, | ||
"peerDependencies": { | ||
"hapi": ">= 17" | ||
}, | ||
"peerDependencies": {}, | ||
"publishConfig": { | ||
@@ -40,0 +38,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
10782
0
12
0