@pgpm/inflection 0.19.1 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ INSERT INTO inflection.inflection_rules
13
13
  ('plural', '(child)ren$', NULL),
14
14
  ('plural', '([ti])a$', NULL),
15
15
  ('plural', '((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$', NULL),
16
+ ('plural', '(.+base)s$', NULL),
16
17
  ('plural', '(database)s$', NULL),
17
18
  ('plural', '(drive)s$', NULL),
18
19
  ('plural', '(hi|ti)ves$', NULL),
@@ -115,6 +116,7 @@ INSERT INTO inflection.inflection_rules
115
116
  ('singular', '(memorand)a$', E'\\1um'),
116
117
  ('singular', '(curricul)a$', E'\\1um'),
117
118
  ('singular', '([ti])a$', E'\\1um'),
119
+ ('singular', '(.+base)s$', E'\\1'),
118
120
  ('singular', '((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$', E'\\1\\2sis'),
119
121
  ('singular', '(hi|ti)ves$', E'\\1ve'),
120
122
  ('singular', '(curve)s$', E'\\1'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpm/inflection",
3
- "version": "0.19.1",
3
+ "version": "0.20.1",
4
4
  "description": "String inflection utilities for PostgreSQL naming conventions",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "contributors": [
@@ -21,7 +21,7 @@
21
21
  "test:watch": "jest --watch"
22
22
  },
23
23
  "dependencies": {
24
- "@pgpm/verify": "0.19.1"
24
+ "@pgpm/verify": "0.20.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "pgpm": "^4.2.3"
@@ -34,5 +34,5 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/constructive-io/pgpm-modules/issues"
36
36
  },
37
- "gitHead": "874490c55094ce0232bf230c613ee58685f369dc"
37
+ "gitHead": "7d80d3c6dd513d0563bb78d334247fd8815cee6e"
38
38
  }
@@ -348,7 +348,7 @@ INSERT INTO inflection.inflection_rules (
348
348
  ('plural', '(child)ren$', NULL),
349
349
  ('plural', '([ti])a$', NULL),
350
350
  ('plural', '((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$', NULL),
351
- ('plural', '(database)s$', NULL),
351
+ ('plural', '(database|codebase|firebase|knowledgebase)s$', NULL),
352
352
  ('plural', '(drive)s$', NULL),
353
353
  ('plural', '(hi|ti)ves$', NULL),
354
354
  ('plural', '(curve)s$', NULL),
@@ -440,7 +440,7 @@ INSERT INTO inflection.inflection_rules (
440
440
  ('singular', '^(m|wom)en$', E'\\1an'),
441
441
  ('singular', '(pe)ople$', E'\\1rson'),
442
442
  ('singular', '(child)ren$', E'\\1'),
443
- ('singular', '(database)s$', E'\\1'),
443
+ ('singular', '(database|codebase|firebase|knowledgebase)s$', E'\\1'),
444
444
  ('singular', '(drive)s$', E'\\1'),
445
445
  ('singular', '^genera$', 'genus'),
446
446
  ('singular', '^(criteri)a$', E'\\1on'),