jest-util
Advanced tools
Comparing version 29.6.1 to 29.6.2
@@ -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 { |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35273
1110