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

directus-transport-safe-run-middleware

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directus-transport-safe-run-middleware - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

10

dist/index.js

@@ -17,3 +17,9 @@ "use strict";

method,
body: data
body: data,
headers: {
remoteAddress: '127.0.0.1',
origin: '127.0.0.1',
'content-type': 'application/json',
'transfer-encoding': 'identity'
}
};

@@ -23,3 +29,3 @@ if (options.params)

if (options.headers)
params.headers = options.headers;
Object.assign(params.headers, options.headers);
return new Promise(resolve => this.app.runMiddleware(this.url + path, params, (status, data, headers) => {

@@ -26,0 +32,0 @@ console.log(status, data, headers);

2

package.json
{
"name": "directus-transport-safe-run-middleware",
"version": "1.0.8",
"version": "1.0.9",
"description": "A transport for the Directus JavaScript SDK which uses safe-run-middleware",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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