Socket
Socket
Sign inDemoInstall

q3-core-composer

Package Overview
Dependencies
314
Maintainers
1
Versions
286
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.6 to 3.4.9

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [3.4.9](https://github.com/3merge/q3-api/compare/v3.4.8...v3.4.9) (2022-04-09)
**Note:** Version bump only for package q3-core-composer
## [3.4.6](https://github.com/3merge/q3-api/compare/v3.4.5...v3.4.6) (2022-04-04)

@@ -8,0 +16,0 @@

12

lib/index.js

@@ -6,3 +6,2 @@ const connect = require('connect');

} = require('q3-core-session');
const aa = require('express-async-handler');
const dep = require('express-validator');

@@ -16,5 +15,8 @@ const validateBody = require('m2e-validator/lib/middlewareHelper');

const bindToActiveSession =
(fn) => async (req, res, next) =>
runPromise(async () => fn(req, res, next));
const bindToActiveSession = (fn) => (req, res, next) =>
runPromise(() =>
Promise.resolve(fn(req, res, next)).catch((e) => {
next(e);
}),
);

@@ -49,3 +51,3 @@ const flatten = (a = [], b = []) => {

flatten(formatAsArray(ctr.postAuthorization)),
aa(bindToActiveSession(ctr)),
bindToActiveSession(ctr),
]);

@@ -52,0 +54,0 @@

{
"name": "q3-core-composer",
"version": "3.4.6",
"version": "3.4.9",
"main": "lib/index.js",

@@ -8,3 +8,2 @@ "dependencies": {

"express": "^4.17.1",
"express-async-handler": "^1.2.0",
"express-mung": "^0.5.1",

@@ -36,3 +35,3 @@ "express-validator": "^6.8.0",

},
"gitHead": "1bb153c97135c4301964b83bcee0b19381386ca1"
"gitHead": "743cf8f97952151dbcf1baf7e6a110fc17ff7195"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc