
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
icapps-translations
Advanced tools
or add it to your project:
// install globally
$ npm install -g icapps-translations
// add it to your project
$ npm install --save-dev icapps-translations
Install globally:
$ npm install -g icapps-translations
Now translations
is availlable a command. For instructions run:
$ translations help
Usage: translations [options] [command]
Commands:
init setup a cnofiguration file based on the project type
import import translations into this project
help [cmd] display help for [cmd]
Run from your project root in order to setup the translations configuration.
$ translations init
--token [value] Add apiToken
--translations-path Add translations path
--verbose get more detailed information on what is happening
Run from your project root in order to import the translations into the matching .json files.
$ translations import
-t, --token [value] apiToken authentication token
--api-url [value] api url e.g. 'http://server/api'
--seperate-categories seperate translations in categories
--destination [value] translations destionation path
--clean clean import, delete all translations before writing new
--verbose get more detailed information on what is happening
var gulp = require('gulp');
var importTranslations = require('./lib').import;
var exec = require('child_process').exec;
// Import translations
gulp.task('translations:import', function(cb) {
return importTranslations(
'http://api-url.dev',
'XXXXXXXXXXXXXXXXXXXXXX',
{
clean: true,
verbose: true,
seperateTranslations: true,
}
);
});
// List translation files, this task dependends on the import task.
// If we run this task, the async'ness can be tested.
gulp.task('translations:list', ['translations:import'], function(cb) {
exec('ls ./src/locales', function(error, stdout, stderr) {
console.log('stdout: ', stdout);
});
});
$ npm run build
// build and keep watching
$ npm run build:dev
FAQs
Unknown package
We found that icapps-translations demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.