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

@cerebral/http

Package Overview
Dependencies
Maintainers
5
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cerebral/http - npm Package Compare versions

Comparing version 3.0.2-1506070305752 to 3.0.2-1506092013751

2

lib/DEFAULT_OPTIONS.js

@@ -23,3 +23,3 @@ 'use strict';

onRequest: function onRequest(xhr, options) {
if (options.headers['Content-Type'] === 'application/x-www-form-urlencoded') {
if (options.headers['Content-Type'].indexOf('application/x-www-form-urlencoded') >= 0) {
options.body = (0, _utils.urlEncode)(options.body);

@@ -26,0 +26,0 @@ } else if (options.headers['Content-Type'].indexOf('application/json') >= 0) {

{
"name": "@cerebral/http",
"version": "3.0.2-1506070305752",
"version": "3.0.2-1506092013751",
"description": "HTTP provider for Cerebral 2",

@@ -27,8 +27,8 @@ "main": "lib/index.js",

"peerDependencies": {
"cerebral": "^3.0.2-1506070305752"
"cerebral": "^3.0.2-1506092013751"
},
"devDependencies": {
"cerebral": "^3.0.2-1506070305752",
"cerebral": "^3.0.2-1506092013751",
"xhr-mock": "^1.9.0"
}
}

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