Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

schemalint

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schemalint - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

10

build/rules/nameInflection.js

@@ -30,6 +30,6 @@ "use strict";

exports.nameInflection = void 0;
const irregular_plurals_1 = __importDefault(require("irregular-plurals"));
const irregular_plurals_json_1 = __importDefault(require("irregular-plurals/irregular-plurals.json"));
const R = __importStar(require("ramda"));
const singulars = R.keys(irregular_plurals_1.default);
const plurals = R.values(irregular_plurals_1.default);
const singulars = R.keys(irregular_plurals_json_1.default);
const plurals = R.values(irregular_plurals_json_1.default);
const trimSeparators = (s) => s.replaceAll(/^(-|_)+|(-|_)+$/g, "");

@@ -45,4 +45,4 @@ const detectInflection = (word) => {

}
if (lastWord in irregular_plurals_1.default &&
irregular_plurals_1.default.get(lastWord) === lastWord) {
if (lastWord in irregular_plurals_json_1.default &&
irregular_plurals_json_1.default[lastWord] === lastWord) {
// Irregular and singular = plural.

@@ -49,0 +49,0 @@ return "unknown";

{
"name": "schemalint",
"version": "2.0.2",
"version": "2.0.3",
"keywords": [

@@ -38,3 +38,3 @@ "postgresql",

"extract-pg-schema": "^5.0.0",
"irregular-plurals": "^4.0.0",
"irregular-plurals": "^3.2.0",
"optionator": "^0.9.1",

@@ -41,0 +41,0 @@ "pg": "^8.3.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc