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

@vivareal/javascript-utils

Package Overview
Dependencies
Maintainers
26
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivareal/javascript-utils - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

4

dist/javascript-utils.js

@@ -81,6 +81,10 @@ 'use strict';

var getResizedImage = ({ cropType = 'fit-in', size = '200x200', url }) =>
(url || '').replace('{action}', cropType).replace('{width}x{height}', size);
exports.currencyFormat = currencyFormat;
exports.getFullAddress = getFullAddress;
exports.getResizedImage = getResizedImage;
exports.getSmallAddress = getSmallAddress;
exports.getUF = getUF;
exports.humanizeDate = humanizeDate;

5

dist/javascript-utils.module.js

@@ -75,2 +75,5 @@ import { isWithinInterval, subDays, addDays, formatRelative, format } from 'date-fns';

export { currencyFormat, getFullAddress, getSmallAddress, getUF, humanizeDate };
var getResizedImage = ({ cropType = 'fit-in', size = '200x200', url }) =>
(url || '').replace('{action}', cropType).replace('{width}x{height}', size);
export { currencyFormat, getFullAddress, getResizedImage, getSmallAddress, getUF, humanizeDate };
{
"name": "@vivareal/javascript-utils",
"version": "1.3.0",
"version": "1.4.0",
"description": "A set of javascript utilities",

@@ -26,3 +26,3 @@ "author": "Grupo ZAP",

"dev": "rollup -c -w",
"test": "NODE_ICU_DATA=../../node_modules/full-icu jest",
"test": "NODE_ICU_DATA=../../node_modules/full-icu TZ=America/Sao_Paulo jest",
"pretest": "npm run build"

@@ -55,3 +55,3 @@ },

},
"gitHead": "fd0fbbcc14436a048eddba733d8171148c92280c"
"gitHead": "2ea280cea8d73f44f443587d0bebefa8c8e6918a"
}
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