
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@11ty/package-bundler
Advanced tools
Internal package to build bundles (using esbuild) for use in various environments
Internal package to build Eleventy core and plugin bundles (using esbuild, with support for adapters) for use in various environments (client).
Available on npm as @11ty/package-bundler:
npm install @11ty/package-bundler
import bundle from "@11ty/package-bundler";
await bundle(INPUT, OUTPUT, {
name: "Eleventy Fetch",
fileSystemMode: "consume",
external: [
"fs",
"node:fs",
"node:crypto",
],
moduleRoot: ".", // root directory to resolve node_modules paths
esbuild: {}, // options passed to esbuild
});
import pkg from "../package.json" with { type: "json" };
import bundle from "@11ty/package-bundler";
await bundle(import.meta.resolve("@11ty/eleventy-fetch"), `demo/lib/eleventy-fetch.js`, {
name: "Eleventy Fetch",
});
await bundle(import.meta.resolve("@11ty/eleventy-plugin-syntaxhighlight"), `demo/lib/eleventy-plugin-syntaxhighlight.js`, {
name: "Eleventy Syntax Highlighter",
});
await bundle(import.meta.resolve("@11ty/eleventy-navigation"), `demo/lib/eleventy-navigation.js`, {
name: "Eleventy Navigation",
});
await bundle(import.meta.resolve("@11ty/eleventy-plugin-rss"), `demo/lib/eleventy-plugin-rss.js`, {
name: "Eleventy RSS",
});
await bundle(import.meta.resolve("@11ty/eleventy-img"), `demo/lib/eleventy-img.js`, {
name: "Eleventy Image",
});
FAQs
Internal package to build bundles (using esbuild) for use in various environments
The npm package @11ty/package-bundler receives a total of 245 weekly downloads. As such, @11ty/package-bundler popularity was classified as not popular.
We found that @11ty/package-bundler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.