ubdate
This commit is contained in:
15
node_modules/irregular-plurals/index.js
generated
vendored
Normal file
15
node_modules/irregular-plurals/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
const irregularPlurals = require('./irregular-plurals.json');
|
||||
|
||||
const map = new Map();
|
||||
// TODO: Use Object.entries when targeting Node.js 8
|
||||
for (const key of Object.keys(irregularPlurals)) {
|
||||
map.set(key, irregularPlurals[key]);
|
||||
}
|
||||
|
||||
// Ensure nobody can modify each others Map
|
||||
Object.defineProperty(module, 'exports', {
|
||||
get() {
|
||||
return map;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user