New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aries-framework/node

Package Overview
Dependencies
Maintainers
3
Versions
564
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aries-framework/node - npm Package Compare versions

Comparing version 0.4.1-alpha.6 to 0.4.1-alpha.7

15

build/transport/HttpInboundTransport.js

@@ -39,11 +39,2 @@ "use strict";

this.path = path !== null && path !== void 0 ? path : '/';
this.app.use((req, res, next) => {
const contentType = req.headers['content-type'];
if (!contentType || !supportedContentTypes.includes(contentType)) {
return res
.status(415)
.send('Unsupported content-type. Supported content-types are: ' + supportedContentTypes.join(', '));
}
return next();
});
this.app.use((0, express_1.text)({ type: supportedContentTypes, limit: '5mb' }));

@@ -58,2 +49,8 @@ }

this.app.post(this.path, async (req, res) => {
const contentType = req.headers['content-type'];
if (!contentType || !supportedContentTypes.includes(contentType)) {
return res
.status(415)
.send('Unsupported content-type. Supported content-types are: ' + supportedContentTypes.join(', '));
}
const session = new HttpTransportSession(core_1.utils.uuid(), req, res);

@@ -60,0 +57,0 @@ try {

6

package.json

@@ -5,3 +5,3 @@ {

"types": "build/index",
"version": "0.4.1-alpha.6+002be4f5",
"version": "0.4.1-alpha.7+04a80589",
"files": [

@@ -28,3 +28,3 @@ "build"

"dependencies": {
"@aries-framework/core": "0.4.1-alpha.6+002be4f5",
"@aries-framework/core": "0.4.1-alpha.7+04a80589",
"@types/express": "^4.17.15",

@@ -47,3 +47,3 @@ "express": "^4.17.1",

},
"gitHead": "002be4f578729aed1c8ae337f3d2eeecce9e3725"
"gitHead": "04a80589b19725fb493e51e52a7345915b2c7341"
}

Sorry, the diff of this file is not supported yet

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