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

unleash-client

Package Overview
Dependencies
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unleash-client - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

2

lib/metrics.js

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

}
if (res.statusCode !== 200) {
if (!(res.statusCode >= 200 && res.statusCode < 300)) {
_this.emit('warn', url + " returning " + res.statusCode);

@@ -96,0 +96,0 @@ return;

@@ -66,4 +66,4 @@ 'use strict';

}
if (res.statusCode !== 200) {
return _this.emit('error', new Error('Response was not statusCode 200'));
if (!(res.statusCode >= 200 && res.statusCode < 300)) {
return _this.emit('error', new Error("Response was not statusCode 2XX, but was " + res.statusCode));
}

@@ -70,0 +70,0 @@ try {

{
"name": "unleash-client",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "Unleash Client for Node",

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

"dependencies": {
"request": "^2.74.0"
"request": "^2.79.0"
},

@@ -32,0 +32,0 @@ "engines": {

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