orchid-orm 1.9.3 → 1.9.4

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.
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import * as path from 'path';
6
6
  import path__default from 'path';
7
7
  import fs from 'fs/promises';
8
8
  import typescript from 'typescript';
9
- import { plural } from 'pluralize';
9
+ import { pluralize } from 'inflection';
10
10
 
11
11
  const createBaseTable = ({
12
12
  columnTypes: columnTypes$1,
@@ -2693,7 +2693,7 @@ const checkRelation = (rel) => {
2693
2693
  return rel.columns.length === 1 && rel.foreignColumns.length === 1;
2694
2694
  };
2695
2695
  const makeRelationName = (rel) => {
2696
- return plural(
2696
+ return pluralize(
2697
2697
  rel.className[0].toLowerCase() + rel.className.slice(1).replace(/Table$/, "")
2698
2698
  );
2699
2699
  };