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

hapi-auth-jwt2

Package Overview
Dependencies
Maintainers
0
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-auth-jwt2 - npm Package Compare versions

Comparing version 10.7.0 to 11.0.0

.nycrc

20

package.json
{
"name": "hapi-auth-jwt2",
"version": "10.7.0",
"version": "11.0.0",
"description": "Hapi.js Authentication Plugin/Scheme using JSON Web Tokens (JWT)",
"main": "lib/index.js",
"main": "lib/index.cjs",
"types": "lib/index.d.ts",
"type": "module",
"repository": {

@@ -64,2 +65,3 @@ "type": "git",

"devDependencies": {
"@eslint/js": "^9.19.0",
"@hapi/basic": "^7.0.0",

@@ -69,4 +71,5 @@ "@hapi/hapi": "^21.1.0",

"aguid": "^2.0.0",
"eslint": "^8.31.0",
"eslint": "^9.19.0",
"eslint-plugin-prettier": "^5.0.0",
"globals": "^15.14.0",
"nyc": "^17.0.0",

@@ -76,3 +79,4 @@ "pre-commit": "^1.2.2",

"tap-nyc": "^1.0.3",
"tape": "^4.13.0"
"tape": "^4.13.0",
"typescript-eslint": "^8.22.0"
},

@@ -103,8 +107,8 @@ "engines": {

"scripts": {
"quick": "./node_modules/tape/bin/tape ./test/*.test.js | tap-nyc",
"test": "nyc tape ./test/*.test.js | tap-nyc",
"coverage": "nyc tape ./test/*.test.js && nyc check-coverage",
"quick": "./node_modules/tape/bin/tape ./test/*.test.cjs",
"test": "nyc tape ./test/*.test.cjs | tap-nyc",
"coverage": "nyc tape ./test/*.test.cjs && nyc check-coverage",
"lint": "eslint lib",
"fixlint": "eslint lib --fix",
"start": "node example/server.js",
"start": "node example/server.cjs",
"report": "open coverage/lcov-report/index.html"

@@ -111,0 +115,0 @@ },

2

README-zh_CN.md

@@ -67,3 +67,3 @@ [![Known Vulnerabilities](https://snyk.io/test/github/dwyl/hapi-auth-jwt2/badge.svg?targetFile=package.json&style=flat-square)](https://snyk.io/test/github/dwyl/hapi-auth-jwt2?targetFile=package.json)

// 在这里引入我们的包 ↓↓, 例如, require('hapi-auth-jwt2')
await server.register(require('../lib'));
await server.register(require('../lib/index.cjs'));
server.auth.strategy('jwt', 'jwt',

@@ -70,0 +70,0 @@ { key: 'NeverShareYourSecret', // 不要告诉别人你的secret key

@@ -73,3 +73,3 @@ # Hapi Auth using JSON Web Tokens (JWT)

// include our module here ↓↓, for example, require('hapi-auth-jwt2')
await server.register(require('../lib'));
await server.register(require('../lib/index.cjs'));
server.auth.strategy('jwt', 'jwt',

@@ -76,0 +76,0 @@ { key: 'NeverShareYourSecret', // Never Share your secret key

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