
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.
Before, browserify made you choose between sane debugging and sane load times. Now, you can have both.
Minifyify minifies your bundle and pulls the source map out into a separate file. Now you can deploy a minified bundle in production, and still have a sourcemap handy for when things inevitably break!
var browserify = require('browserify')
, minifyify = require('minifyify')
, path = require('path')
, bundle = new browserify()
, transforms = [require('hbsfy')]
, opts = {
// The URL the source is available at
file: '/bundle.js'
// The URL this map is available at
, map: '/bundle.map'
// Use this option to compress paths
, compressPaths: function (p) {
return path.relative('./www', p);
}
// If you use transforms, specify them here
// Do *not* apply them to the bundle yourself!
, transforms: transforms
};
bundle.add('entryScript.js');
minifyify(bundle, opts, function(code, map) {
// SourceMappingURL comment is already added for you at this point
fs.writeFileSync('www/bundle.js', code);
fs.writeFileSync('www/bundle.map', map);
});
MIT
FAQs
Minify your browserify bundles without losing the sourcemap
The npm package minifyify receives a total of 4,907 weekly downloads. As such, minifyify popularity was classified as popular.
We found that minifyify 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.