Socket
Socket
Sign inDemoInstall

get-it

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-it - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

src/util/global.js

3

package.json
{
"name": "get-it",
"version": "0.0.3",
"version": "0.0.4",
"description": "Generic HTTP request library for node and browsers",

@@ -45,3 +45,2 @@ "main": "lib/index.js",

"follow-redirects": "^1.2.0",
"global": "^4.3.1",
"into-stream": "^3.1.0",

@@ -48,0 +47,0 @@ "is-retry-allowed": "^1.1.0",

@@ -1,2 +0,2 @@

const global = require('global')
const global = require('../util/global')
const objectAssign = require('object-assign')

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

const global = require('global')
const global = require('../util/global')
const Cancel = require('./cancel/Cancel')

@@ -3,0 +3,0 @@ const CancelToken = require('./cancel/CancelToken')

/* eslint max-depth: ["error", 4] */
const win = require('global/window')
const sameOrigin = require('same-origin')

@@ -7,2 +6,3 @@ const parseHeaders = require('parse-headers')

const win = window
const XmlHttpRequest = win.XMLHttpRequest || noop

@@ -9,0 +9,0 @@ const hasXhr2 = 'withCredentials' in (new XmlHttpRequest())

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