
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.
gulp-angular-gettext
Advanced tools
Gulp plugin for extracting/compiling angular-gettext strings
Extract and compile translatable strings using angular-gettext
Install with npm
npm install --save-dev gulp-angular-gettext
var gulp = require('gulp');
var gettext = require('gulp-angular-gettext');
gulp.task('pot', function () {
return gulp.src(['src/partials/**/*.html', 'src/scripts/**/*.js'])
.pipe(gettext.extract('template.pot', {
// options to pass to angular-gettext-tools...
}))
.pipe(gulp.dest('po/'));
});
gulp.task('translations', function () {
return gulp.src('po/**/*.po')
.pipe(gettext.compile({
// options to pass to angular-gettext-tools...
format: 'json'
}))
.pipe(gulp.dest('dist/translations/'));
});
.extract([out], [options])
out
- an optional String representing the name of the POT file to output. If this option is given, a single POT file
will be generated for the entire set of input files. If this option is omitted, one POT file will be generated
per input file.options
- an optional object to pass to angular-gettext-tools
Extractor
.compile([options])
options
- an optional object to pass to angular-gettext-tools
Compiler
FAQs
Gulp plugin for extracting/compiling angular-gettext strings
The npm package gulp-angular-gettext receives a total of 1,673 weekly downloads. As such, gulp-angular-gettext popularity was classified as popular.
We found that gulp-angular-gettext 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.