
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
google-closure-library-bundler
Advanced tools
Library for generating a Google Closure Library bundle
Library for generating a Google Closure Library bundle, based on this demo.
Read more about the Google Closure Library here.
npm install google-closure-library-bundler
entry.js
:// for example
goog.require('goog.html.sanitizer.HtmlSanitizer.Builder')
goog.require('goog.html.sanitizer.unsafe')
build.js
:const { bundle } = require('google-closure-library-bundler')
const { join } = require('path')
bundle('./entry.js', {
path: join(__dirname, 'dist'),
filename: 'goog.js',
hashFunction: 'md5' // required for node 17+
}).then(() => {
console.log('All bundled up!')
})
build.js
to create a bundle in dist/goog.js
import goog from './dist/goog'
// for example
const htmlSanitizerBuilder = new goog.html.sanitizer.HtmlSanitizer.Builder()
bundle(entry, output) => Promise<string>
entry
- Webpack Entry Pointoutput
- Webpack Output[2.3.0] - 2025-07-02
google-closure-library
and google-closure-compiler
FAQs
Library for generating a Google Closure Library bundle
The npm package google-closure-library-bundler receives a total of 1 weekly downloads. As such, google-closure-library-bundler popularity was classified as not popular.
We found that google-closure-library-bundler demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.