follow-redirects
Advanced tools
Comparing version 1.13.1 to 1.13.2
21
debug.js
var debug; | ||
try { | ||
/* eslint global-require: off */ | ||
debug = require("debug")("follow-redirects"); | ||
} | ||
catch (error) { | ||
debug = function () { /* */ }; | ||
} | ||
module.exports = debug; | ||
module.exports = function () { | ||
if (!debug) { | ||
try { | ||
/* eslint global-require: off */ | ||
debug = require("debug")("follow-redirects"); | ||
} | ||
catch (error) { | ||
debug = function () { /* */ }; | ||
} | ||
} | ||
debug.apply(null, arguments); | ||
}; |
{ | ||
"name": "follow-redirects", | ||
"version": "1.13.1", | ||
"version": "1.13.2", | ||
"description": "HTTP and HTTPS modules that follow redirects.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,3 @@ ## Follow Redirects | ||
[![npm version](https://img.shields.io/npm/v/follow-redirects.svg)](https://www.npmjs.com/package/follow-redirects) | ||
[![Build Status](https://travis-ci.com/follow-redirects/follow-redirects.svg?branch=master)](https://travis-ci.com/follow-redirects/follow-redirects) | ||
[![Build Status](https://github.com/follow-redirects/follow-redirects/workflows/CI/badge.svg)](https://github.com/follow-redirects/follow-redirects/actions) | ||
[![Coverage Status](https://coveralls.io/repos/follow-redirects/follow-redirects/badge.svg?branch=master)](https://coveralls.io/r/follow-redirects/follow-redirects?branch=master) | ||
@@ -9,0 +9,0 @@ [![npm downloads](https://img.shields.io/npm/dm/follow-redirects.svg)](https://www.npmjs.com/package/follow-redirects) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24501
467