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

@derekpitt/fw

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@derekpitt/fw - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

12

dist/network.js

@@ -105,3 +105,7 @@ "use strict";

p.open(method, url + _this.buildParamString(params), true);
p.setRequestHeader("Content-Type", "application/json");
// if content is FormData, do nothing, just let the browser do it's thing
// otherwise, set this thing to json
if (!(content instanceof FormData)) {
p.setRequestHeader("Content-Type", "application/json");
}
p.setRequestHeader("Accept", "application/json, text/javascript, */*; q=0.01");

@@ -147,3 +151,7 @@ if (_this.middleware.length > 0) {

});
p.send(content ? JSON.stringify(content) : undefined);
if (content) {
p.send(content instanceof FormData ? content : JSON.stringify(content));
} else {
p.send();
}
});

@@ -150,0 +158,0 @@ }

2

package.json
{
"name": "@derekpitt/fw",
"version": "0.3.5",
"version": "0.3.6",
"description": "a class based api for vue2. includes routing and simple DI.",

@@ -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