From abd94a7f5a50f43c797a11b53549ae48fff667c3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 10 Oct 2016 03:43:44 +0200 Subject: add node_modules to address #4364 --- .../irregular-plurals/irregular-plurals.json | 128 +++++++++++++++++++++ node_modules/irregular-plurals/license | 21 ++++ node_modules/irregular-plurals/package.json | 107 +++++++++++++++++ node_modules/irregular-plurals/readme.md | 46 ++++++++ 4 files changed, 302 insertions(+) create mode 100644 node_modules/irregular-plurals/irregular-plurals.json create mode 100644 node_modules/irregular-plurals/license create mode 100644 node_modules/irregular-plurals/package.json create mode 100644 node_modules/irregular-plurals/readme.md (limited to 'node_modules/irregular-plurals') diff --git a/node_modules/irregular-plurals/irregular-plurals.json b/node_modules/irregular-plurals/irregular-plurals.json new file mode 100644 index 000000000..0de74a608 --- /dev/null +++ b/node_modules/irregular-plurals/irregular-plurals.json @@ -0,0 +1,128 @@ +{ + "addendum": "addenda", + "aircraft": "aircraft", + "alga": "algae", + "alumna": "alumnae", + "alumnus": "alumni", + "amoeba": "amoebae", + "analysis": "analyses", + "antenna": "antennae", + "antithesis": "antitheses", + "apex": "apices", + "appendix": "appendices", + "axis": "axes", + "bacillus": "bacilli", + "bacterium": "bacteria", + "barracks": "barracks", + "basis": "bases", + "beau": "beaux", + "bison": "bison", + "bureau": "bureaus", + "cactus": "cacti", + "calf": "calves", + "child": "children", + "château": "châteaus", + "cherub": "cherubim", + "codex": "codices", + "concerto": "concerti", + "corpus": "corpora", + "crisis": "crises", + "criterion": "criteria", + "curriculum": "curricula", + "datum": "data", + "deer": "deer", + "diagnosis": "diagnoses", + "die": "dice", + "dwarf": "dwarfs", + "echo": "echoes", + "elf": "elves", + "elk": "elk", + "ellipsis": "ellipses", + "embargo": "embargoes", + "emphasis": "emphases", + "erratum": "errata", + "faux pas": "faux pas", + "fez": "fezes", + "firmware": "firmware", + "fish": "fish", + "focus": "foci", + "foot": "feet", + "formula": "formulae", + "fungus": "fungi", + "gallows": "gallows", + "genus": "genera", + "goose": "geese", + "graffito": "graffiti", + "grouse": "grouse", + "half": "halves", + "hero": "heroes", + "hoof": "hooves", + "hypothesis": "hypotheses", + "index": "indices", + "knife": "knives", + "larva": "larvae", + "leaf": "leaves", + "libretto": "libretti", + "life": "lives", + "loaf": "loaves", + "locus": "loci", + "louse": "lice", + "man": "men", + "matrix": "matrices", + "means": "means", + "medium": "media", + "memorandum": "memoranda", + "minutia": "minutiae", + "moose": "moose", + "mouse": "mice", + "nebula": "nebulae", + "neurosis": "neuroses", + "news": "news", + "nucleus": "nuclei", + "oasis": "oases", + "offspring": "offspring", + "opus": "opera", + "ovum": "ova", + "ox": "oxen", + "paralysis": "paralyses", + "parenthesis": "parentheses", + "phenomenon": "phenomena", + "phylum": "phyla", + "potato": "potatoes", + "prognosis": "prognoses", + "quiz": "quizzes", + "radius": "radii", + "referendum": "referenda", + "salmon": "salmon", + "scarf": "scarves", + "self": "selves", + "series": "series", + "sheep": "sheep", + "shelf": "shelves", + "shrimp": "shrimp", + "species": "species", + "stimulus": "stimuli", + "stratum": "strata", + "swine": "swine", + "syllabus": "syllabi", + "symposium": "symposia", + "synopsis": "synopses", + "synthesis": "syntheses", + "tableau": "tableaus", + "that": "those", + "thesis": "theses", + "thief": "thieves", + "tomato": "tomatoes", + "tooth": "teeth", + "trout": "trout", + "tuna": "tuna", + "vertebra": "vertebrae", + "vertex": "vertices", + "veto": "vetoes", + "vita": "vitae", + "vortex": "vortices", + "wharf": "wharves", + "wife": "wives", + "wolf": "wolves", + "woman": "women" +} diff --git a/node_modules/irregular-plurals/license b/node_modules/irregular-plurals/license new file mode 100644 index 000000000..654d0bfe9 --- /dev/null +++ b/node_modules/irregular-plurals/license @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/irregular-plurals/package.json b/node_modules/irregular-plurals/package.json new file mode 100644 index 000000000..12a440b80 --- /dev/null +++ b/node_modules/irregular-plurals/package.json @@ -0,0 +1,107 @@ +{ + "_args": [ + [ + { + "raw": "irregular-plurals@^1.0.0", + "scope": null, + "escapedName": "irregular-plurals", + "name": "irregular-plurals", + "rawSpec": "^1.0.0", + "spec": ">=1.0.0 <2.0.0", + "type": "range" + }, + "/home/dold/repos/taler/wallet-webex/node_modules/plur" + ] + ], + "_from": "irregular-plurals@>=1.0.0 <2.0.0", + "_id": "irregular-plurals@1.2.0", + "_inCache": true, + "_location": "/irregular-plurals", + "_nodeVersion": "4.4.2", + "_npmOperationalInternal": { + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/irregular-plurals-1.2.0.tgz_1465294938581_0.7943159667775035" + }, + "_npmUser": { + "name": "sindresorhus", + "email": "sindresorhus@gmail.com" + }, + "_npmVersion": "2.15.0", + "_phantomChildren": {}, + "_requested": { + "raw": "irregular-plurals@^1.0.0", + "scope": null, + "escapedName": "irregular-plurals", + "name": "irregular-plurals", + "rawSpec": "^1.0.0", + "spec": ">=1.0.0 <2.0.0", + "type": "range" + }, + "_requiredBy": [ + "/plur" + ], + "_resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.2.0.tgz", + "_shasum": "38f299834ba8c00c30be9c554e137269752ff3ac", + "_shrinkwrap": null, + "_spec": "irregular-plurals@^1.0.0", + "_where": "/home/dold/repos/taler/wallet-webex/node_modules/plur", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/irregular-plurals/issues" + }, + "dependencies": {}, + "description": "Map of nouns to their irregular plural form", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "directories": {}, + "dist": { + "shasum": "38f299834ba8c00c30be9c554e137269752ff3ac", + "tarball": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.2.0.tgz" + }, + "engines": { + "node": ">=0.10.0" + }, + "files": [ + "irregular-plurals.json" + ], + "gitHead": "b1e9cf2948122adeec7950c361437f1947187307", + "homepage": "https://github.com/sindresorhus/irregular-plurals#readme", + "keywords": [ + "word", + "words", + "list", + "map", + "hash", + "json", + "irregular", + "plural", + "plurals", + "noun", + "nouns" + ], + "license": "MIT", + "main": "irregular-plurals.json", + "maintainers": [ + { + "name": "sindresorhus", + "email": "sindresorhus@gmail.com" + } + ], + "name": "irregular-plurals", + "optionalDependencies": {}, + "readme": "ERROR: No README data found!", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/irregular-plurals.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.2.0" +} diff --git a/node_modules/irregular-plurals/readme.md b/node_modules/irregular-plurals/readme.md new file mode 100644 index 000000000..a700d630e --- /dev/null +++ b/node_modules/irregular-plurals/readme.md @@ -0,0 +1,46 @@ +# irregular-plurals [![Build Status](https://travis-ci.org/sindresorhus/irregular-plurals.svg?branch=master)](https://travis-ci.org/sindresorhus/irregular-plurals) + +> Map of nouns to their irregular plural form +> +> An irregular plural in this library is defined as a noun that cannot be made plural by applying these rules: +> - If the noun ends in an "s", "x", "z", "ch" or "sh", add "es" +> - If the noun ends in a "y" and is preceded by a consonent, drop the "y" and add "ies" +> - If the noun ends in a "y" and is preceded by a vowel, add "s" + +*The list is just a [JSON file](irregular-plurals.json) and can be used wherever.* + + +## Install + +``` +$ npm install --save irregular-plurals +``` + + +## Usage + +```js +const irregularPlurals = require('irregular-plurals'); + +console.log(irregularPlurals['cactus']); +//=> 'cacti' + +console.log(irregularPlurals); +/* + { + addendum: 'addenda', + alga: 'algae', + ... + } +*/ +``` + + +## Related + +- [plur](https://github.com/sindresorhus/plur) - Pluralize a word + + +## License + +MIT © [Sindre Sorhus](http://sindresorhus.com) -- cgit v1.2.3