Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-joi-simple

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-joi-simple - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/example/index.d.ts

7

package.json
{
"name": "express-joi-simple",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc"
},

@@ -9,0 +10,0 @@ "keywords": [

@@ -14,3 +14,3 @@ import * as express from 'express';

app.post('register',factory.validateJoiSchema(schema), (req, res) => {
app.post('register',factory.validateJoiSchema(schema), (req: any, res: any) => {
res.json({

@@ -17,0 +17,0 @@ message: 'register'

@@ -5,3 +5,3 @@ import { Router } from 'express';

export const router = Router();
export const router: any = Router();

@@ -14,4 +14,4 @@ const schema = {

router.post('/test', factory.validateJoiSchema(schema), (req, res) => {
router.post('/test', factory.validateJoiSchema(schema), (req: any, res: any) => {
res.json({ message: 'test' });
})

@@ -10,3 +10,3 @@ {

// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */

@@ -13,0 +13,0 @@ // "outFile": "./", /* Concatenate and emit output to single file. */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc