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

reactifex

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactifex - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

test_data/expected_output/put_comments.sh

2

main.js

@@ -28,3 +28,2 @@ #!/usr/bin/env node

fs.writeFileSync(scriptPath, "#!/bin/bash\n");
fs.writeFileSync(scriptPath, "set -x\n");
inData.forEach((message) => {

@@ -42,5 +41,4 @@ var info = messageInfo.find(mi => mi.key == message.id);

});
fs.writeFileSync(scriptPath, "set +x\n");
} else {
fs.writeFileSync(process.argv[3], JSON.stringify(outData, null, 2));
}
{
"name": "reactifex",
"version": "1.0.0",
"version": "1.0.1",
"description": "A helper for moving react-intl messages to transifex and back",

@@ -8,3 +8,4 @@ "bin": "./main.js",

"lint": "eslint .",
"test": "node main.js test_data/input/ test_data/test_output.json && diff test_data/test_output.json test_data/expected_output/messages.json"
"test_compile": "node main.js test_data/input/ test_data/test_output.json && diff test_data/test_output.json test_data/expected_output/messages.json",
"test_comments": "node main.js test_data/input/ --comments && diff bash_scripts/put_comments.sh test_data/expected_output/put_comments.sh"
},

@@ -11,0 +12,0 @@ "repository": {

@@ -26,4 +26,2 @@ # reactifex

Note that tests for this mode aren't included, as it relies on Transifex's API being up and responsive.
Usage is a little complicated, I'm sorry about that; you're going to be running this server-side as a series of bash commands. Do note that I assume `$SECRET_USER` and `$SECRET_PWD` env vars exist for basic auth purposes. See [Transifex's API Introduction](https://docs.transifex.com/api/introduction) for more details on authentication. Here's an example, written as it would be in the Makefile of a project that makes use of reactifex:

@@ -30,0 +28,0 @@

Sorry, the diff of this file is not supported yet

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