Socket
Book a DemoInstallSign in
Socket

@11ty/lodash-custom

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@11ty/lodash-custom

A custom, focused build of lodash exclusively for use internally in Eleventy.

4.17.21
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@11ty/lodash-custom

Eleventy uses 3 small lodash functions:

  • get
  • set
  • chunk

Why?

  • The top level lodash package includes all of lodash and is a hefty 5 MB.
  • Using the individual, modularized lodash.get, lodash.set, lodash.chunk packages are a much smaller 106 KB but do contain duplicated code. More problematically, these are not being maintained/updated with the newest versions of lodash.

This package creates one focused custom dependency using the tools that lodash provides to do custom builds (lodash-cli) for these three lodash functions with updated versions of lodash.

FAQs

Package last updated on 22 Mar 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.