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

english-determiners

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

english-determiners - npm Package Compare versions

Comparing version 2.16.5 to 2.16.6

2

dist/index.d.ts

@@ -5,2 +5,2 @@ export declare type Genders = 'M' | 'F' | 'N';

export declare type DetType = 'DEFINITE' | 'INDEFINITE' | 'DEMONSTRATIVE' | 'POSSESSIVE';
export declare function getDet(detType: DetType, genderOwner: Genders, numberOwner: Numbers, numberOwned: Numbers, dist: Dist): string;
export declare function getDet(detType: DetType, genderOwner: Genders, numberOwner: Numbers, numberOwned: Numbers, dist: Dist, forceArticlePlural: boolean): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDet = void 0;
function getDet(detType, genderOwner, numberOwner, numberOwned, dist) {
function getDet(detType, genderOwner, numberOwner, numberOwned, dist, forceArticlePlural) {
if (detType != 'DEFINITE' && detType != 'INDEFINITE' && detType != 'DEMONSTRATIVE' && detType != 'POSSESSIVE') {

@@ -40,3 +40,8 @@ const err = new Error();

case 'P': {
return '';
if (forceArticlePlural) {
return 'the';
}
else {
return '';
}
}

@@ -43,0 +48,0 @@ }

{
"name": "english-determiners",
"version": "2.16.5",
"version": "2.16.6",
"description": "English determiners",

@@ -52,3 +52,3 @@ "main": "dist/index.js",

"license": "MIT",
"gitHead": "77679387e09adc51a73c453df0791030146864f4"
"gitHead": "b50fe4d70a72415c198cfe6bc2a273e0a83a780f"
}

@@ -15,2 +15,3 @@ # english-determiners

* distance (string, optional, only used for `DEMONSTRATIVE`): `NEAR` (_this these_) or `FAR` (_that those_)
* boolean to force usage of _the_ when `DEFINITE` plural (default is false: no article when definite plural)

@@ -17,0 +18,0 @@ ## Installation

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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