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

@ne1410s/xprest

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ne1410s/xprest - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

3

dist/ne14_xprest.cjs.min.js

@@ -37,3 +37,2 @@ 'use strict';

var xp__default = /*#__PURE__*/_interopDefaultLegacy(xp);
var bodyParser__namespace = /*#__PURE__*/_interopNamespace(bodyParser);
var ejs__namespace = /*#__PURE__*/_interopNamespace(ejs);

@@ -106,3 +105,3 @@ var path__namespace = /*#__PURE__*/_interopNamespace(path);

this.api.use(cors__default['default']());
this.api.use(bodyParser__namespace.json());
this.api.use(bodyParser.json);
this.api.engine('html', ejs__namespace.renderFile);

@@ -109,0 +108,0 @@ this.api.engine('js', ejs__namespace.renderFile);

import cors from 'cors';
import xp from 'express';
import * as bodyParser from 'body-parser';
import { json } from 'body-parser';
import * as ejs from 'ejs';

@@ -72,3 +72,3 @@ import * as path from 'path';

this.api.use(cors());
this.api.use(bodyParser.json());
this.api.use(json);
this.api.engine('html', ejs.renderFile);

@@ -75,0 +75,0 @@ this.api.engine('js', ejs.renderFile);

{
"name": "@ne1410s/xprest",
"version": "0.0.24",
"version": "0.0.25",
"description": "RESTful express core library",

@@ -41,14 +41,14 @@ "main": "dist/ne14_xprest.cjs.min.js",

"devDependencies": {
"@types/cors": "^2.8.10",
"@types/ejs": "^3.0.6",
"@types/express": "^4.17.11",
"@types/jws": "^3.2.3",
"@types/node": "^15.6.0",
"@types/cors": "^2.8.12",
"@types/ejs": "^3.0.7",
"@types/express": "^4.17.13",
"@types/jws": "^3.2.4",
"@types/node": "^16.3.3",
"chai": "^4.3.4",
"mocha": "^8.4.0",
"prettier": "^2.3.0",
"mocha": "^9.0.2",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.48.0",
"rollup": "^2.53.2",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.2.4"
"typescript": "^4.3.5"
},

@@ -55,0 +55,0 @@ "dependencies": {

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