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

@talend/i18n-scripts

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@talend/i18n-scripts - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

8

common/xtm.js

@@ -243,6 +243,6 @@ /* eslint-disable no-param-reassign */

function getProjectTemplate(data) {
const { projectName } = data;
const { templateName } = data;
const xtm = getXTMVariables();
printRunning(`Get template for project "${projectName}"...`);
printRunning(`Get template for project "${templateName}"...`);
return fetch(`${xtm.apiUrl}/projects/templates?customerIds=${xtm.customerId}&scope=ALL`, {

@@ -253,3 +253,3 @@ headers: { Authorization: `XTM-Basic ${xtm.token}` },

.then((res) => res.json())
.then((templates) => templates.find((template) => template.name === projectName))
.then((templates) => templates.find((template) => template.name === templateName))
.then((template) => {

@@ -261,3 +261,3 @@ if (template) {

} else {
error(`${projectName} template not found`);
error(`${templateName} template not found`);
}

@@ -264,0 +264,0 @@ });

@@ -12,7 +12,7 @@ # Upload/Download

| Variable | Description |
|---|---|
| XTM_API_URL | The XTM api url |
| XTM_CUSTOMER_ID | The XTM customer ID |
| XTM_TOKEN | The XTM authentication token |
| Variable | Description |
| --------------- | ---------------------------- |
| XTM_API_URL | The XTM api url |
| XTM_CUSTOMER_ID | The XTM customer ID |
| XTM_TOKEN | The XTM authentication token |

@@ -25,3 +25,4 @@ ## Upload

"load": {
"project": "UI"
"project": "ui-forms",
"template": "TUI",
}

@@ -31,5 +32,6 @@ }

| Configuration | Description |
|---|---|
| project | The XTM project name. |
| Configuration | Description |
| ------------- | ----------------------------------------------------------------------------------------------- |
| project | The XTM project name. |
| template | The XTM project template name. If not provided, it will take the project name as template name. |

@@ -49,7 +51,7 @@

| Configuration | Description |
|---|---|
| project | The XTM project name. |
| fixQuote | transforms odd numbers of quote on properties files |
| Configuration | Description |
| ------------- | --------------------------------------------------- |
| project | The XTM project name. |
| fixQuote | transforms odd numbers of quote on properties files |
It will download only the files corresponding to the current version of your project (version extracted). If no version is detected, all versions will be downloaded.
{
"name": "@talend/i18n-scripts",
"description": "Set of scripts to ease i18n workflow",
"version": "2.4.0",
"version": "2.5.0",
"license": "Apache-2.0",

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

@@ -9,2 +9,3 @@ const path = require('path');

filePath: path.join(process.cwd(), extract.target, 'i18n.zip'),
templateName: load.template || load.project,
projectName: load.project,

@@ -11,0 +12,0 @@ version: getVersion(),

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