From d3adc16a08d95d6e331de55d7d3bf05a66a874a8 Mon Sep 17 00:00:00 2001 From: pack Date: Sun, 9 Aug 2026 10:54:08 +0000 Subject: stop tracking node_modules/ --- node_modules/undici/lib/mock/pluralizer.js | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 node_modules/undici/lib/mock/pluralizer.js (limited to 'node_modules/undici/lib/mock/pluralizer.js') diff --git a/node_modules/undici/lib/mock/pluralizer.js b/node_modules/undici/lib/mock/pluralizer.js deleted file mode 100644 index 47f150b..0000000 --- a/node_modules/undici/lib/mock/pluralizer.js +++ /dev/null @@ -1,29 +0,0 @@ -'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 } - } -} -- cgit v1.2.3