Socket
Socket
Sign inDemoInstall

pos

Package Overview
Dependencies
0
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.8 to 0.1.9

2

package.json

@@ -20,3 +20,3 @@ {

],
"version": "0.1.8",
"version": "0.1.9",
"licenses": [

@@ -23,0 +23,0 @@ {

@@ -97,4 +97,8 @@ /*!

// rule 5: convert a common noun (NN or NNS) to a adjective if it ends with "al"
if (startsWith(ret[i], "NN") && endsWith(word, "al"))
ret[i] = i, "JJ";
// bug: this applies also to NNP NNPS
// bug: it said here: endsWith(word, "al"), this should be: endsWith(words[i], "al")
//if (startsWith(ret[i], "NN") && endsWith(word, "al"))
if (((ret[i] === "NN") || (ret[i] === "NNS")) && endsWith(words[i], "al"))
//ret[i] = i, "JJ";
ret[i] = "JJ";
// rule 6: convert a noun to a verb if the preceding work is "would"

@@ -101,0 +105,0 @@ if (i > 0 && startsWith(ret[i], "NN") && words[i - 1].toLowerCase() == "would")

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