New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@apify/utilities

Package Overview
Dependencies
Maintainers
10
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apify/utilities - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

2

exponential_backoff.js

@@ -50,5 +50,5 @@ "use strict";

}
await utilities_1.delayPromise(randomizedWaitMillis);
await (0, utilities_1.delayPromise)(randomizedWaitMillis);
}
}
exports.retryWithExpBackoff = retryWithExpBackoff;

@@ -50,5 +50,6 @@ "use strict";

const checkPromise = this._performCheck(check);
await utilities_1.timeoutPromise(checkPromise, this.checkTimeoutMillis, 'Check has timed-out');
await (0, utilities_1.timeoutPromise)(checkPromise, this.checkTimeoutMillis, 'Check has timed-out');
}
catch (err) {
catch (_err) {
const err = _err;
throw new Error(`Health check test "${check.type}" failed with an error: ${err.message}"`);

@@ -82,3 +83,3 @@ }

async _testMongoDbWrite({ client }) {
const id = utilities_1.cryptoRandomObjectId();
const id = (0, utilities_1.cryptoRandomObjectId)();
const collection = client.collection(this.mongoDbWriteTestCollection);

@@ -101,3 +102,3 @@ // Remove old test items.

async _testRedisWrite({ client }) {
const key = `${this.redisPrefix}:${utilities_1.cryptoRandomObjectId()}`;
const key = `${this.redisPrefix}:${(0, utilities_1.cryptoRandomObjectId)()}`;
const expected = 'OK';

@@ -104,0 +105,0 @@ // Set some value in Redis and try to read it.

{
"name": "@apify/utilities",
"version": "1.1.5",
"version": "1.1.6",
"description": "Tools and constants shared across Apify projects.",

@@ -44,3 +44,3 @@ "main": "index.js",

},
"gitHead": "ae6d773c053162182b6b5a4232485cc81d7d4d1e"
"gitHead": "fa088866c86a13e31851451ff3b0cfb13eedeb5e"
}

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

throw new Error(`Cannot stringify a ${type} payload template.`);
return utilities_client_1.jsonStringifyExtended(objectTemplate, replacer, indent);
return (0, utilities_client_1.jsonStringifyExtended)(objectTemplate, replacer, indent);
}

@@ -99,0 +99,0 @@ /**

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