Comparing version 6.0.0 to 7.0.0
@@ -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> |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
18847
5
1
+ Added@hapi/b64@6.0.1(transitive)
+ Added@hapi/boom@10.0.1(transitive)
+ Added@hapi/bourne@3.0.0(transitive)
+ Added@hapi/cryptiles@6.0.1(transitive)
+ Added@hapi/hoek@10.0.111.0.4(transitive)
- Removed@hapi/b64@5.0.0(transitive)
- Removed@hapi/boom@9.1.4(transitive)
- Removed@hapi/bourne@2.1.0(transitive)
- Removed@hapi/cryptiles@5.1.0(transitive)
- Removed@hapi/hoek@9.3.0(transitive)
Updated@hapi/b64@^6.0.0
Updated@hapi/boom@^10.0.0
Updated@hapi/bourne@^3.0.0
Updated@hapi/cryptiles@^6.0.0
Updated@hapi/hoek@^10.0.0