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

@eliumhq/elium-i18n

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eliumhq/elium-i18n - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@eliumhq/elium-i18n",
"version": "1.0.2",
"version": "1.0.3",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=9",

const { exec } = require('child_process')
module.exports = (commit = true) => {
function ensureArray (arr) {
return Array.isArray(arr) ? arr : [arr]
}
module.exports = (languages, commit = true) => {
console.log('Pulling PO files...')
exec(`tx pull -a`, (error, stdout, stderr) => {
const langs = languages
? ensureArray(languages)
.map(l => `-l ${l}`)
.join(' ')
: '-a '
exec(`tx pull ${langs}`, (error, stdout, stderr) => {
if (error) {

@@ -7,0 +16,0 @@ console.error(error)

Sorry, the diff of this file is not supported yet

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