Socket
Socket
Sign inDemoInstall

@webex/http-core

Package Overview
Dependencies
Maintainers
21
Versions
1197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webex/http-core - npm Package Compare versions

Comparing version 1.75.1 to 1.76.0

17

dist/request/index.js

@@ -13,2 +13,4 @@ 'use strict';

var _events = require('events');
var _request2 = require('./request');

@@ -18,6 +20,2 @@

var _common = require('@webex/common');
var _events = require('events');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -29,2 +27,6 @@

*/
/*!
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file.
*/
function request(options) {

@@ -37,5 +39,2 @@ if (options.url) {

options.headers = options.headers || {};
if (!_common.inBrowser && !options.headers['user-agent']) {
options.headers['user-agent'] = '@webex/http-core';
}

@@ -86,5 +85,3 @@ options.download = new _events.EventEmitter();

}
} /*!
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file.
*/
}
//# sourceMappingURL=index.js.map
{
"name": "@webex/http-core",
"version": "1.75.1",
"version": "1.76.0",
"description": "Core HTTP library for the Cisco Webex",

@@ -25,3 +25,3 @@ "license": "MIT",

"lodash": "^4.17.14",
"@webex/common": "1.75.1",
"@webex/common": "1.76.0",
"file-type": "^3.9.0",

@@ -28,0 +28,0 @@ "request": "^2.81.0",

@@ -5,6 +5,6 @@ /*!

import _request from './request';
import {inBrowser} from '@webex/common';
import {EventEmitter} from 'events';
import _request from './request';
/**

@@ -21,7 +21,3 @@ * @param {Object} options

options.headers = options.headers || {};
if (!inBrowser && !options.headers['user-agent']) {
options.headers['user-agent'] = '@webex/http-core';
}
options.download = new EventEmitter();

@@ -28,0 +24,0 @@ options.upload = new EventEmitter();

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