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

vue-persian-digit

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-persian-digit - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "vue-persian-digit",
"version": "0.0.3",
"version": "0.0.4",
"description": "> this filter convert number in the text to persian number",

@@ -5,0 +5,0 @@ "main": "./src/main.js",

@@ -15,8 +15,8 @@ export default function persianDigit (value) {

result = value.toString()
let result = value.toString()
for (let i = 0; i <= 9; i++) {
result = result.replace(new RegExp(`${i}`, 'g'), persian[i])
}
Vue.nextTick(() => this.value = result)
value = result
return result
}
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