Socket
Socket
Sign inDemoInstall

en-inflectors

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

4

dist/index.d.ts
import * as verbsList from "./verb/solve_lookup";
import nonCountables from "./noun/list_uncountable";
declare class Inflectors {
export declare class Inflectors {
word: string;

@@ -22,2 +22,2 @@ constructor(word: string);

declare const infinitives: verbsList.conjugationObject;
export { Inflectors, infinitives, nonCountables };
export { Inflectors as Inflector, infinitives, nonCountables };

@@ -5,3 +5,3 @@ "use strict";

var noun = require("./noun/transform");
var noundDetection = require("./noun/detect_singular_plural");
var nounDetection = require("./noun/detect_singular_plural");
var countableDetection = require("./noun/detect_countable");

@@ -24,4 +24,4 @@ var verbsList = require("./verb/solve_lookup");

this.toSingular = function () { return noun.toSingular(_this.word); };
this.isSingular = function () { return noundDetection.isSingular(_this.word); };
this.isPlural = function () { return noundDetection.isPlural(_this.word); };
this.isSingular = function () { return nounDetection.isSingular(_this.word); };
this.isPlural = function () { return nounDetection.isPlural(_this.word); };
this.isCountable = function () { return countableDetection.isCountable(_this.word); };

@@ -34,3 +34,4 @@ this.isNotCountable = function () { return countableDetection.isNotCountable(_this.word); };

exports.Inflectors = Inflectors;
exports.Inflector = Inflectors;
var infinitives = verbsList.VBP;
exports.infinitives = infinitives;
{
"name": "en-inflectors",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

@@ -10,6 +10,11 @@ "main": "./dist/index.js",

},
"devDependencies": {},
"devDependencies": {
"@types/mocha": "^2.2.39",
"@types/node": "^7.0.5",
"ts-node": "^2.1.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc"
"test": "mocha",
"build": "tsc",
"prepublish":"mocha && tsc"
},

@@ -16,0 +21,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc