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

piral-fetch

Package Overview
Dependencies
Maintainers
1
Versions
948
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-fetch - npm Package Compare versions

Comparing version 0.9.3 to 0.10.0-pre.823

4

lib/create.js

@@ -28,7 +28,7 @@ "use strict";

if (typeof header === 'object' && header) {
return Object.assign({}, obj, header);
return Object.assign(Object.assign({}, obj), header);
}
return obj;
}, originalHeaders);
return Object.assign({}, options, { headers });
return Object.assign(Object.assign({}, options), { headers });
})

@@ -35,0 +35,0 @@ .then(options => fetch_1.httpFetch(config, path, options));

@@ -13,3 +13,3 @@ "use strict";

const url = new URL(path, baseUrl);
const init = Object.assign({}, baseInit, { method, body: json ? JSON.stringify(body) : body, headers: Object.assign({}, baseHeaders, headers), cache,
const init = Object.assign(Object.assign({}, baseInit), { method, body: json ? JSON.stringify(body) : body, headers: Object.assign(Object.assign({}, baseHeaders), headers), cache,
mode });

@@ -16,0 +16,0 @@ if (json) {

{
"name": "piral-fetch",
"version": "0.9.3",
"version": "0.10.0-pre.823",
"description": "Plugin for standardizing fetch in Piral.",

@@ -40,10 +40,10 @@ "keywords": [

"devDependencies": {
"piral-core": "^0.9.3"
"piral-core": "^0.10.0-pre.823"
},
"peerDependencies": {
"piral-core": "^0.9.0",
"piral-core": "^0.9.0 || ^0.10.0",
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
},
"gitHead": "a079ff637821eeacd28f1209593b778e370d0366"
"gitHead": "6ffae5945e28b7d86c7701e25aa3b2698e32a985"
}

Sorry, the diff of this file is not supported yet

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