@adonisjs/encryption
Advanced tools
Comparing version 5.1.2-4 to 5.1.2-5
import { | ||
Encryption | ||
} from "../chunk-ZAK4JBDX.js"; | ||
} from "../chunk-V2RQQCCS.js"; | ||
@@ -5,0 +5,0 @@ // factories/encryption.ts |
import { | ||
Encryption, | ||
errors_exports | ||
} from "./chunk-ZAK4JBDX.js"; | ||
} from "./chunk-V2RQQCCS.js"; | ||
export { | ||
@@ -6,0 +6,0 @@ Encryption, |
@@ -43,3 +43,3 @@ import { base64 } from '@poppinss/utils'; | ||
*/ | ||
decrypt<T extends any>(value: string, purpose?: string): T | null; | ||
decrypt<T extends any>(value: unknown, purpose?: string): T | null; | ||
/** | ||
@@ -46,0 +46,0 @@ * Create a children instance with different secret key |
@@ -0,1 +1,2 @@ | ||
import { type Secret } from '@poppinss/utils'; | ||
/** | ||
@@ -6,3 +7,3 @@ * Config accepted by the encryption | ||
algorithm?: 'aes-256-cbc'; | ||
secret: string; | ||
secret: string | Secret<string>; | ||
}; |
{ | ||
"name": "@adonisjs/encryption", | ||
"version": "5.1.2-4", | ||
"version": "5.1.2-5", | ||
"description": "Encryption provider for AdonisJs", | ||
@@ -22,3 +22,3 @@ "main": "build/index.js", | ||
"pretest": "npm run lint", | ||
"test": "c8 npm run vscode:test", | ||
"test": "c8 npm run quick:test", | ||
"clean": "del-cli build", | ||
@@ -35,3 +35,3 @@ "typecheck": "tsc --noEmit", | ||
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/encryption", | ||
"vscode:test": "node --loader=ts-node/esm bin/test.ts" | ||
"quick:test": "node --loader=ts-node/esm --enable-source-maps bin/test.ts" | ||
}, | ||
@@ -44,24 +44,24 @@ "keywords": [ | ||
"devDependencies": { | ||
"@adonisjs/eslint-config": "^1.1.9", | ||
"@adonisjs/prettier-config": "^1.1.9", | ||
"@adonisjs/tsconfig": "^1.1.9", | ||
"@adonisjs/eslint-config": "^1.2.0", | ||
"@adonisjs/prettier-config": "^1.2.0", | ||
"@adonisjs/tsconfig": "^1.2.0", | ||
"@commitlint/cli": "^18.4.3", | ||
"@commitlint/config-conventional": "^18.4.3", | ||
"@japa/assert": "^2.0.1", | ||
"@japa/runner": "^3.1.0", | ||
"@swc/core": "^1.3.99", | ||
"@types/node": "^20.9.4", | ||
"@japa/assert": "^2.1.0", | ||
"@japa/runner": "^3.1.1", | ||
"@swc/core": "^1.3.101", | ||
"@types/node": "^20.10.5", | ||
"c8": "^8.0.1", | ||
"del-cli": "^5.1.0", | ||
"eslint": "^8.54.0", | ||
"eslint": "^8.56.0", | ||
"github-label-sync": "^2.3.1", | ||
"husky": "^8.0.3", | ||
"np": "^8.0.4", | ||
"prettier": "^3.1.0", | ||
"ts-node": "^10.9.1", | ||
"np": "^9.2.0", | ||
"prettier": "^3.1.1", | ||
"ts-node": "^10.9.2", | ||
"tsup": "^8.0.1", | ||
"typescript": "5.2.2" | ||
"typescript": "^5.3.3" | ||
}, | ||
"dependencies": { | ||
"@poppinss/utils": "^6.5.1" | ||
"@poppinss/utils": "^6.7.0" | ||
}, | ||
@@ -68,0 +68,0 @@ "repository": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31832
375
Updated@poppinss/utils@^6.7.0