Socket
Socket
Sign inDemoInstall

@hapi/catbox

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/catbox - npm Package Compare versions

Comparing version 11.1.1 to 12.0.0

10

lib/policy.js

@@ -90,3 +90,3 @@ 'use strict';

if (!this._events) {
this._events = new Podium(internals.events);
this._events = new Podium.Podium(internals.events, { validate: false });
}

@@ -298,3 +298,3 @@

if (report && report.isStale !== undefined) {
if (report?.isStale !== undefined) {
this.stats.hits = this.stats.hits + pending.count;

@@ -405,3 +405,3 @@ }

rule.expiresIn = options.expiresIn || 0;
rule.expiresIn = options.expiresIn ?? 0;
}

@@ -438,4 +438,4 @@

now = now || Date.now();
created = created || now;
now = now ?? Date.now();
created = created ?? now;
const age = now - created;

@@ -442,0 +442,0 @@

@@ -1,3 +0,4 @@

Copyright (c) 2012-2020, Sideway Inc, and project contributors
Copyright (c) 2012-2014, Walmart.
Copyright (c) 2012-2022, Project contributors
Copyright (c) 2012-2020, Sideway Inc
Copyright (c) 2012-2014, Walmart.
All rights reserved.

@@ -4,0 +5,0 @@

{
"name": "@hapi/catbox",
"description": "Multi-strategy object caching service",
"version": "11.1.1",
"version": "12.0.0",
"repository": "git://github.com/hapijs/catbox",

@@ -15,11 +15,17 @@ "main": "lib/index.js",

],
"eslintConfig": {
"extends": [
"plugin:@hapi/module"
]
},
"dependencies": {
"@hapi/boom": "9.x.x",
"@hapi/hoek": "9.x.x",
"@hapi/podium": "4.x.x",
"@hapi/validate": "1.x.x"
"@hapi/boom": "^10.0.0",
"@hapi/hoek": "^10.0.0",
"@hapi/podium": "^5.0.0",
"@hapi/validate": "^2.0.0"
},
"devDependencies": {
"@hapi/code": "8.x.x",
"@hapi/lab": "23.x.x"
"@hapi/code": "^9.0.0",
"@hapi/eslint-plugin": "*",
"@hapi/lab": "^25.0.1"
},

@@ -26,0 +32,0 @@ "scripts": {

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