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

jest-util

Package Overview
Dependencies
Maintainers
6
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-util - npm Package Compare versions

Comparing version 29.6.1 to 29.6.2

6

build/index.d.ts

@@ -90,3 +90,7 @@ /**

export declare function pluralize(word: string, count: number): string;
export declare function pluralize(
word: string,
count: number,
ending?: string,
): string;

@@ -93,0 +97,0 @@ declare namespace preRunMessage {

4

build/pluralize.js

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

function pluralize(word, count) {
return `${count} ${word}${count === 1 ? '' : 's'}`;
function pluralize(word, count, ending = 's') {
return `${count} ${word}${count === 1 ? '' : ending}`;
}
{
"name": "jest-util",
"version": "29.6.1",
"version": "29.6.2",
"repository": {

@@ -37,3 +37,3 @@ "type": "git",

},
"gitHead": "1f019afdcdfc54a6664908bb45f343db4e3d0848"
"gitHead": "0fd5b1c37555f485c56a6ad2d6b010a72204f9f6"
}
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