@verdaccio/types
Advanced tools
Comparing version 12.0.0-next.0 to 12.0.0-next.1
# Change Log | ||
## 12.0.0-next.1 | ||
### Major Changes | ||
- e7ebccb61: update major dependencies, remove old nodejs support | ||
## 12.0.0-next.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@verdaccio/types", | ||
"version": "12.0.0-next.0", | ||
"version": "12.0.0-next.1", | ||
"description": "verdaccio types definitions", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=18" | ||
}, | ||
@@ -23,0 +23,0 @@ "repository": { |
@@ -101,2 +101,3 @@ import { PackageAccess, PackageList } from '@verdaccio/types/src/manifest'; | ||
showDownloadTarball?: boolean; | ||
hideDeprecatedVersions?: boolean; | ||
primaryColor: string; | ||
@@ -154,14 +155,25 @@ showRaw?: boolean; | ||
export type Algorithm = | ||
| 'HS256' | ||
| 'HS384' | ||
| 'HS512' | ||
| 'RS256' | ||
| 'RS384' | ||
| 'RS512' | ||
| 'ES256' | ||
| 'ES384' | ||
| 'ES512' | ||
| 'PS256' | ||
| 'PS384' | ||
| 'PS512' | ||
| 'none'; | ||
export interface JWTSignOptions { | ||
algorithm?: string; | ||
expiresIn?: string; | ||
notBefore?: string; | ||
ignoreExpiration?: boolean; | ||
maxAge?: string | number; | ||
clockTimestamp?: number; | ||
algorithm?: Algorithm | undefined; | ||
expiresIn?: string | number | undefined; | ||
notBefore?: string | number | undefined; | ||
} | ||
export interface JWTVerifyOptions { | ||
algorithm?: string; | ||
expiresIn?: string; | ||
algorithm?: Algorithm | undefined; | ||
notBefore?: string | number; | ||
@@ -168,0 +180,0 @@ ignoreExpiration?: boolean; |
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
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
69247
655