@balena/sbvr-types
Advanced tools
Comparing version 7.1.1 to 7.1.2-build-explicit-compare-typing-6ece56f531ba9507fb090003bd3216e90b2f583b-1
@@ -7,4 +7,9 @@ # Change Log | ||
# v7.1.2 | ||
## (2024-06-12) | ||
* Explicitly type the `compare` function for `hashed` [Pagan Gazzard] | ||
# v7.1.1 | ||
## (2024-06-03) | ||
## (2024-06-04) | ||
@@ -11,0 +16,0 @@ * Accept `Date` for the write types of `Date Time`/`Date`/`Time` [Pagan Gazzard] |
@@ -1,2 +0,2 @@ | ||
import type * as Bcrypt from 'bcrypt'; | ||
/// <reference types="node" /> | ||
import * as TypeUtils from '../type-utils'; | ||
@@ -14,3 +14,3 @@ export declare const types: { | ||
export declare const validate: TypeUtils.Validate<Types['Write'], DbWriteType>; | ||
export declare const compare: typeof Bcrypt.compare; | ||
export declare const compare: (data: string | Buffer, encrypted: string) => Promise<boolean>; | ||
export {}; |
{ | ||
"name": "@balena/sbvr-types", | ||
"version": "7.1.1", | ||
"version": "7.1.2-build-explicit-compare-typing-6ece56f531ba9507fb090003bd3216e90b2f583b-1", | ||
"description": "SBVR type definitions.", | ||
@@ -54,4 +54,4 @@ "main": "out", | ||
"versionist": { | ||
"publishedAt": "2024-06-03T18:07:36.442Z" | ||
"publishedAt": "2024-06-12T12:14:00.451Z" | ||
} | ||
} |
@@ -33,2 +33,5 @@ import type * as Bcrypt from 'bcrypt'; | ||
export const compare = bcrypt.compare.bind(bcrypt); | ||
export const compare: ( | ||
data: string | Buffer, | ||
encrypted: string, | ||
) => Promise<boolean> = bcrypt.compare.bind(bcrypt); |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
149016
2287
2