You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

secure-flow

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-flow - npm Package Compare versions

Comparing version

to
1.0.5-beta-2

dist/key-gen.d.ts

16

package.json
{
"name": "secure-flow",
"version": "1.0.5-beta-1",
"version": "1.0.5-beta-2",
"description": "Secure Flow is a lightweight TypeScript utility package for encryption and decryption using the AES-256-CBC algorithm. This package simplifies the process of securely encrypting and decrypting text, making it easy to integrate strong encryption into your Node.js applications.",
"main": "dist/index.js",
"types": "dist/secure-flow.d.ts",
"types": "dist/index.d.ts",
"type": "module",

@@ -14,5 +14,3 @@ "bin": {

"build": "tsc",
"create-config": "ts-node src/cli.ts",
"dev": "npm run build && nodemon --inspect ./dist/server.js",
"start": "npm run build && node ./dist/server.js"
"create-config": "ts-node src/cli.ts"
},

@@ -31,11 +29,7 @@ "keywords": [

},
"dependencies": {
"express": "^4.19.2",
"inquirer": "^9.2.22"
},
"dependencies": {},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/inquirer": "^9.0.7",
"@types/node": "^20.12.12",
"nodemon": "^3.1.1",
"inquirer": "^9.2.22",
"ts-node": "^10.9.2",

@@ -42,0 +36,0 @@ "typescript": "^5.4.5"

@@ -18,4 +18,4 @@ {

},
"include": ["src/**/*.ts", "types/**/*.d.ts"],
"include": ["src/**/*.ts", "types/**/*.d.ts", "types/secure-flow.d.ts"],
"exclude": ["node_modules"]
}
// types/secure-flow.d.ts
declare module 'secure-flow' {
export function encrypt(text: string): string | undefined;
export function decrypt(text: string): string | undefined;
export function encrypt(text: string): string;
export function decrypt(text: string): string;

@@ -7,0 +7,0 @@ export interface Config {