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

@marcopeg/utils

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marcopeg/utils - npm Package Compare versions

Comparing version 1.14.4 to 1.14.5

5

lib/services/locale.js

@@ -36,3 +36,6 @@ 'use strict';

return new Promise(function (resolve, reject) {
var origin = process.env.NODE_ENV === 'development' && locale !== 'en' ? 'public' : 'build';
// const origin = (process.env.NODE_ENV === 'development' && locale !== 'en')
// ? 'public'
// : 'build'
var origin = '.';
var filePath = _path2.default.join(process.cwd(), origin, 'locale', locale.toLowerCase() + '.json');

@@ -39,0 +42,0 @@ _fs2.default.readFile(filePath, 'utf8', function (err, data) {

2

package.json
{
"name": "@marcopeg/utils",
"version": "1.14.4",
"version": "1.14.5",
"description": "Javascript utils for server and client projects",

@@ -5,0 +5,0 @@ "main": "index.js",

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