Socket
Socket
Sign inDemoInstall

@hapi/iron

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/iron - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

8

lib/index.js

@@ -178,4 +178,4 @@ 'use strict';

id: password.id,
encryption: password.secret || password.encryption,
integrity: password.secret || password.integrity
encryption: password.secret ?? password.encryption,
integrity: password.secret ?? password.integrity
};

@@ -199,3 +199,3 @@ }

const now = Date.now() + (options.localtimeOffsetMsec || 0); // Measure now before any other processing
const now = Date.now() + (options.localtimeOffsetMsec ?? 0); // Measure now before any other processing

@@ -251,3 +251,3 @@ // Serialize object

const now = Date.now() + (options.localtimeOffsetMsec || 0); // Measure now before any other processing
const now = Date.now() + (options.localtimeOffsetMsec ?? 0); // Measure now before any other processing

@@ -254,0 +254,0 @@ // Break string into components

@@ -1,2 +0,3 @@

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

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

{
"name": "@hapi/iron",
"description": "Encapsulated tokens (encrypted and mac'ed objects)",
"version": "6.0.0",
"version": "7.0.0",
"repository": "git://github.com/hueniverse/iron",

@@ -16,12 +16,20 @@ "main": "lib/index.js",

],
"eslintConfig": {
"extends": [
"plugin:@hapi/module"
]
},
"dependencies": {
"@hapi/hoek": "9.x.x",
"@hapi/b64": "5.x.x",
"@hapi/boom": "9.x.x",
"@hapi/bourne": "2.x.x",
"@hapi/cryptiles": "5.x.x"
"@hapi/hoek": "^10.0.0",
"@hapi/b64": "^6.0.0",
"@hapi/boom": "^10.0.0",
"@hapi/bourne": "^3.0.0",
"@hapi/cryptiles": "^6.0.0"
},
"devDependencies": {
"@hapi/code": "8.x.x",
"@hapi/lab": "22.x.x"
"@hapi/code": "^9.0.0",
"@hapi/eslint-plugin": "*",
"@hapi/lab": "^25.0.1",
"@types/node": "^17.0.31",
"typescript": "~4.6.4"
},

@@ -28,0 +36,0 @@ "scripts": {

@@ -0,0 +0,0 @@ <a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>

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