Initiated the action. (#1)
All checks were successful
Try out action / Try action (push) Successful in 22s
Lint / pre-commit Lint (push) Successful in 41s

Reviewed-on: #1
Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de>
Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
2024-05-28 23:29:17 +02:00
committed by Philipp Horstenkamp
parent ef8c6de171
commit aa9afe998d
302 changed files with 38370 additions and 20 deletions

29
node_modules/undici/lib/mock/pluralizer.js generated vendored Normal file
View File

@ -0,0 +1,29 @@
'use strict'
const singulars = {
pronoun: 'it',
is: 'is',
was: 'was',
this: 'this'
}
const plurals = {
pronoun: 'they',
is: 'are',
was: 'were',
this: 'these'
}
module.exports = class Pluralizer {
constructor (singular, plural) {
this.singular = singular
this.plural = plural
}
pluralize (count) {
const one = count === 1
const keys = one ? singulars : plurals
const noun = one ? this.singular : this.plural
return { ...keys, count, noun }
}
}