4.17001.1002 • Published 7 years ago
mini-lodash-004-pmb v4.17001.1002
mini-lodash-004-pmb
lodash v4.17.1, minified, on npm. Includes a housebroken AMD version.
Generated using mini-lodash-bundler-pmb.
Versioning scheme:
semver: major . minor . patch
lodash: LLL . MMM . PPP = 4.17.1
bundler: aaa . nnn . qqq = 0.1.2
mini-…: aaaLLL . MMMnnn . PPPqqq = 4.17001.1002
Files:
{core,full}._.min.js
are the official builds, downloaded from the CDN.- Named "_" because they use quite intrusive measures to find your global
object and set that property, even when they successfully detect your
AMD loader and
define()
to it.
- Named "_" because they use quite intrusive measures to find your global
object and set that property, even when they successfully detect your
AMD loader and
compile.cjs.min.js
CommonJS-exports a function that compiles a full lodash and won't pollute my browser's window object.full.anon.amd.js
anonymouslydefine()
s a factory function that returns one (always same) full lodash.full.lodash.umd.js
: likefull.anon.amd.js
but use module name "lodash" for AMD.- Also tries to CommonJS-export it.
- If
window
looks browser-y, additionally setswindow.lodash
…- if
window.lodash === undefined
and neither AMD nor CommonJS were detected, or - if CommonJS was detected and
window.lodash ===
the old/original exports object, or - if AMD was detected and
window.lodash ===
thedefine()
function.
- if
Known issues
curl-amd@0.8.13
seems to not support explicit module names when it has to dynamically fetch the file. ("Error: define() missing or duplicated: …") You can either use theanon.amd
flavor if you want curl to fetch it, or load the umd flavor with a plain old script tag.
License
MIT; see https://lodash.com/ and LICENSE.txt.