New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gematriya

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gematriya - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

bower.json
{
"name": "gematriya",
"main": "index.js",
"version": "1.0.0",
"version": "1.0.1",
"authors": [

@@ -6,0 +6,0 @@ "Scimonster <tehalmightyscimonster@gmail.com>"

@@ -78,3 +78,3 @@ /*

if (str) {
return numbers[n] < numbers[num[i - 1]] && numbers[n] < 100 ? numbers[n] * 1000 : numbers[n];
return limit && numbers[n] < numbers[num[i - 1]] && numbers[n] < 100 ? numbers[n] * 1000 : numbers[n];
} else {

@@ -110,2 +110,2 @@ if (parseInt(n, 10) * Math.pow(10, i) > 1000) {

}
})();
})();
{
"name": "gematriya",
"version": "1.0.0",
"version": "1.0.1",
"author": "Eyal Schachter (https://github.com/Scimonster)",

@@ -19,2 +19,2 @@ "description": "Convert numbers to gematriya representation, and vice-versa.",

}
}
}

@@ -22,2 +22,4 @@ # Gematriya

When passing a string, by default, it just adds up the numbers, regardless of place. By passing `true` as a second parameter, it will treat it as being ordered, as per the output (see below).
When passing a number, a second parameter is available, `limit`. This will limit the length of the returned string to a number of digits. For example:

@@ -33,2 +35,2 @@

MIT
Licensed MIT.
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