4.17001.1002 • Published 9 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.1002Files:
{core,full}._.min.jsare 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.jsCommonJS-exports a function that compiles a full lodash and won't pollute my browser's window object.full.anon.amd.jsanonymouslydefine()s a factory function that returns one (always same) full lodash.full.lodash.umd.js: likefull.anon.amd.jsbut use module name "lodash" for AMD.- Also tries to CommonJS-export it.
- If
windowlooks browser-y, additionally setswindow.lodash…- if
window.lodash === undefinedand 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.13seems to not support explicit module names when it has to dynamically fetch the file. ("Error: define() missing or duplicated: …") You can either use theanon.amdflavor 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.