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

@elastic.io/object-storage-client

Package Overview
Dependencies
Maintainers
9
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/object-storage-client - npm Package Compare versions

Comparing version 0.0.1-dev.3 to 0.0.1-dev.4

2

dist/object-storage.js

@@ -46,3 +46,5 @@ "use strict";

await new Promise((resolve) => setTimeout(resolve, delay));
continue;
}
break;
}

@@ -49,0 +51,0 @@ if (err || res.status >= 400) {

7

package.json
{
"name": "@elastic.io/object-storage-client",
"version": "0.0.1-dev.3",
"version": "0.0.1-dev.4",
"description": "Elastic.io Message Store Client",

@@ -11,8 +11,7 @@ "main": "dist/index.js",

"lint": "eslint --ext .ts .",
"pretest": "npm audit && npm run lint",
"test": "NODE_ENV=test mocha -r ts-node/register --recursive ./spec/**/*.ts",
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm audit && npm run lint && npm run test && npm run build"
},
"license": "ISC",
"license": "UNLICENSED",
"dependencies": {

@@ -19,0 +18,0 @@ "@elastic.io/bunyan-logger": "1.0.5",

@@ -165,3 +165,3 @@ import nock from 'nock';

it('should retry get request 3 times on errors', async () => {
it('should retry get request on errors', async () => {
const objectStorage = new ObjectStorage(config);

@@ -174,4 +174,2 @@

.get('/objects/1')
.replyWithError({ code: 'ECONNRESET' })
.get('/objects/1')
.reply(200, putData);

@@ -178,0 +176,0 @@

@@ -48,3 +48,5 @@ import { Readable } from 'stream';

await new Promise((resolve): NodeJS.Timeout => setTimeout(resolve, delay));
continue;
}
break;
}

@@ -51,0 +53,0 @@ if (err || res.status >= 400) {

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