🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

@edx/reactifex

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edx/reactifex - npm Package Compare versions

Comparing version

to
1.0.3

2

package.json
{
"name": "@edx/reactifex",
"version": "1.0.2",
"version": "1.0.3",
"description": "A helper for moving react-intl messages to transifex and back",

@@ -5,0 +5,0 @@ "bin": "./main.js",

@@ -104,3 +104,3 @@ /*

translationStringsData.forEach(async (value) => {
for (let counter = 0; counter < translationStringsData.length; counter += 1) {
/*

@@ -113,2 +113,3 @@ Convert string <hash>|<instructions> into list

*/
const value = translationStringsData[counter];
const valueList = value.split("|");

@@ -119,8 +120,10 @@ const hash = valueList[0];

process.stdout.write(`Hash: ${stringId}, Instructions: ${instructions}\n`);
// eslint-disable-next-line no-await-in-loop
await addStringInstructions(stringId, instructions, args.token);
});
process.stdout.write(`Instruction addition for Hash ${stringId} completed\n`);
}
}
}
async function main() {
(async function () {
const args = yargs.argv;

@@ -136,6 +139,2 @@ const inputFilePath = `${args.inputFileDirectory}/hashed_data.txt`;

await addInstructions(inputData, args);
}
(async function () {
await main();
}());