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

cultura

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cultura - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

lib/index.js

@@ -91,6 +91,7 @@ 'use strict';

var _amount = amount || 0;
var _currency = currency || 'CHF';
var stdAmount = _amount.toLocaleString('en-US', { minimumFractionDigits: settings.digitsNo }).replace(',', stdThSep).replace('.', stdDecSep);
return _currency + ' ' + stdAmount.replace(stdThSep, settings.thousandSep).replace(stdDecSep, settings.decimalSep);
return [currency, stdAmount.replace(stdThSep, settings.thousandSep).replace(stdDecSep, settings.decimalSep)].filter(function (x) {
return !!x;
}).join(' ');
}

@@ -97,0 +98,0 @@

2

package.json
{
"name": "cultura",
"version": "1.2.0",
"version": "1.2.1",
"description": "formatting dates and numbers according to os settings",

@@ -5,0 +5,0 @@ "engine": {

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