@pgpm/inflection 0.20.0 → 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,7 +13,8 @@ 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', '(database|codebase|firebase|knowledgebase)s$', NULL),
16
+ ('plural', '(.+base)s$', NULL),
17
+ ('plural', '(database)s$', NULL),
17
18
  ('plural', '(drive)s$', NULL),
18
19
  ('plural', '(hi|ti)ves$', NULL),
19
20
  ('plural', '(curve)s$', NULL),
@@ -105,7 +106,7 @@ INSERT INTO inflection.inflection_rules
105
106
  ('singular', '^(m|wom)en$', E'\\1an'),
106
107
  ('singular', '(pe)ople$', E'\\1rson'),
107
108
  ('singular', '(child)ren$', E'\\1'),
108
- ('singular', '(database|codebase|firebase|knowledgebase)s$', E'\\1'),
109
+ ('singular', '(database)s$', E'\\1'),
109
110
  ('singular', '(drive)s$', E'\\1'),
110
111
  ('singular', '^genera$', E'genus'),
111
112
  ('singular', '^(criteri)a$', E'\\1on'),
@@ -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.20.0",
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": [
@@ -34,5 +34,5 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/constructive-io/pgpm-modules/issues"
36
36
  },
37
- "gitHead": "6cce537f9ec29edd952c5d7d2a09210f4e7697f5"
37
+ "gitHead": "7d80d3c6dd513d0563bb78d334247fd8815cee6e"
38
38
  }