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

@abtnode/util

Package Overview
Dependencies
Maintainers
3
Versions
770
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abtnode/util - npm Package Compare versions

Comparing version 1.0.35 to 1.0.36

lib/strong-axios.js

3

lib/constants.js

@@ -50,2 +50,5 @@ module.exports = Object.freeze({

DOMAIN_FOR_DEFAULT_SITE: '*',
DOMAIN_FOR_INTERNAL_SITE: '127.0.0.1',
NAME_FOR_WELLKNOWN_SITE: 'wellknown',
WELLKNOWN_PATH_PREFIX: '/.well-known',

@@ -52,0 +55,0 @@ DEFAULT_ADMIN_PATH: '/admin',

11

lib/ensure_endpoint_healthy.js

@@ -43,7 +43,6 @@ const axios = require('axios');

} catch (err) {
if (err.response) {
if (err.response.status >= 500) {
throw err;
}
} else {
if (
!err.response
|| err.response.status >= 500
) {
throw err;

@@ -64,3 +63,3 @@ }

if (timeout < minConsecutiveTime) {
throw new Error('timeout should not less than minConsecutiveTime');
throw new Error(`timeout should not less than ${minConsecutiveTime}ms`);
}

@@ -67,0 +66,0 @@

@@ -18,2 +18,3 @@ const pkg = require('../package.json');

const downloadFile = require('./download_file');
const strongAxios = require('./strong-axios');

@@ -48,2 +49,3 @@ const constants = require('./constants');

downloadFile,
strongAxios,
};

@@ -6,3 +6,3 @@ {

},
"version": "1.0.35",
"version": "1.0.36",
"description": "ArcBlock's JavaScript utility",

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

},
"gitHead": "6e43effd4f97568fe09721e158cdf9bd79ff9002"
"gitHead": "e73fc2ca1eb96d0cb3a292b95a3230708c0f43c7"
}
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