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

core-functions

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-functions - npm Package Compare versions

Comparing version 3.0.17 to 3.0.18

2

package.json
{
"name": "core-functions",
"version": "3.0.17",
"version": "3.0.18",
"description": "Core functions, utilities and classes for working with Node/JavaScript primitives and built-in objects, including strings, booleans, Promises, base 64, Arrays, Objects, standard AppErrors, etc.",

@@ -5,0 +5,0 @@ "author": "Byron du Preez",

@@ -1,2 +0,2 @@

# core-functions v3.0.17
# core-functions v3.0.18

@@ -3,0 +3,0 @@ Core functions, utilities and classes for working with Node/JavaScript primitives and built-in objects, including

## Changes
### 3.0.18
- Changes to `tries` module:
- Changed `describeSuccessAndFailureCounts` function to suppress clauses with counts of zero
### 3.0.17

@@ -4,0 +8,0 @@ - Changes to `promises` module:

@@ -196,3 +196,9 @@ 'use strict';

const failureCount = Try.countFailure(outcomes);
return `${successCount} success${successCount !== 1 ? 'es' : ''} & ${failureCount} failure${failureCount !== 1 ? 's' : ''}`;
const successes = successCount > 0 ? `${successCount} success${successCount !== 1 ? 'es' : ''}` : undefined;
const failures = `${failureCount} failure${failureCount !== 1 ? 's' : ''}`;
return successCount > 0 ?
failureCount > 0 ? `${successes} & ${failures}` : successes :
failures;
}

@@ -199,0 +205,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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