--- /srv/reproducible-results/rbuild-debian/r-b-build.lRxFa8Hl/b1/underscore_1.13.4~dfsg+~1.11.4-3_armhf.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.lRxFa8Hl/b2/underscore_1.13.4~dfsg+~1.11.4-3_armhf.changes ├── Files │ @@ -1,3 +1,3 @@ │ │ ab489f52a05cb6f576a7f31bbb51ac3b 115632 javascript optional libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb │ - 58e6e20a6e8f3837aed1cace987f8651 120500 javascript optional node-underscore_1.13.4~dfsg+~1.11.4-3_all.deb │ + aeb292b45ddcc537c3df149e9c8cc9e6 120488 javascript optional node-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ├── node-underscore_1.13.4~dfsg+~1.11.4-3_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2023-01-02 04:09:24.000000 debian-binary │ │ --rw-r--r-- 0 0 0 11604 2023-01-02 04:09:24.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 108704 2023-01-02 04:09:24.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 11580 2023-01-02 04:09:24.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 108716 2023-01-02 04:09:24.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -12,335 +12,335 @@ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-02 04:09:24.000000 ./usr/share/nodejs/@types/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-02 04:09:24.000000 ./usr/share/nodejs/@types/underscore/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1697 2023-01-02 04:09:24.000000 ./usr/share/nodejs/@types/underscore/index.d.mts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 242854 2023-01-02 04:09:24.000000 ./usr/share/nodejs/@types/underscore/index.d.ts │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2254 2023-01-02 04:09:24.000000 ./usr/share/nodejs/@types/underscore/package.json │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 715 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 411 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index10.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 270 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index100.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 114 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index101.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 613 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index102.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 311 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index103.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 292 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index104.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 405 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index105.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 577 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index106.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 571 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index107.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 327 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index108.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 985 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index109.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 331 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index11.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 464 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index110.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 981 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index111.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 573 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index112.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 220 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index113.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 134 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index114.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 192 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index115.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 580 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index116.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 574 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1085 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index10.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 114 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index100.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 446 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index101.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 554 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index102.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 405 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index103.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 233 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index104.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 577 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index105.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 571 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index106.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 327 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index107.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 985 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index108.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 464 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index109.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 411 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index11.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 981 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index110.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 573 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index111.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 220 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index112.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 134 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index113.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 192 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index114.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 580 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index115.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 138 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index116.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 681 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index117.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 252 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index118.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 401 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index119.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 233 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index12.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 608 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index12.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1001 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index120.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 329 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index121.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 840 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index122.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 237 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index123.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 237 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index122.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 296 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index123.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 384 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index124.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 296 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index125.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 270 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index126.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 640 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index127.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 199 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index128.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 184 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index129.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 609 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index13.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 272 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index130.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 348 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index131.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1219 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index132.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 785 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index133.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 554 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index134.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 445 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index135.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 640 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index125.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 200 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index126.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 270 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index127.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 185 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index128.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 272 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index129.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 207 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index13.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 348 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index130.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1219 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index131.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 785 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index132.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 982 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index133.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 161 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index134.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 292 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index135.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 264 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index136.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 556 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index137.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 722 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index138.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 587 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index139.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1006 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index14.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 338 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index140.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 3476 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index141.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 385 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index142.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1567 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index143.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 313 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index144.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 659 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index145.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 304 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index146.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 978 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index147.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 844 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index148.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 210 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index149.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 207 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index15.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 326 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index150.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1251 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index151.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 285 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index152.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 471 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index153.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 335 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index154.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index155.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index156.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 329 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index157.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 227 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index158.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 982 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index159.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 191 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index16.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 161 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index160.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 491 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index17.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 240 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index18.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 331 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index14.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 456 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index140.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 338 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index141.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3476 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index142.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 313 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index143.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 385 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index144.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1567 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index145.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 660 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index146.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 844 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index147.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 210 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index148.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 326 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index149.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 191 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index15.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 285 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index150.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 471 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index151.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 335 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index152.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index153.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index154.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 329 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index155.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 227 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index156.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 840 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index157.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1251 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index158.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 305 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index159.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 491 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index16.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 978 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index160.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 240 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index17.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1008 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index18.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 119 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index19.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 434 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index2.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 246 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index2.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 436 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index20.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 289 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index21.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 227 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index22.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1708 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index23.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 888 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index24.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 2593 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index25.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 255 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index26.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1708 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index22.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 888 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index23.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 227 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index24.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 233 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index25.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2593 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index26.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 555 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index27.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index28.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 401 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index29.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 574 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index3.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1429 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index3.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 263 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index30.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 187 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index31.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 268 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index32.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 411 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index33.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 356 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index34.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 532 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index35.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 658 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index36.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 413 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index37.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 182 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index38.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 234 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index39.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 246 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index4.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 205 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index40.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 631 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index36.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 234 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index37.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 413 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index38.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 255 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index39.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 658 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index4.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 182 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index40.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 456 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index41.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 406 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index42.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 378 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index43.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1291 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index44.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 404 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index45.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 200 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index46.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 248 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index47.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 337 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index48.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 477 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index49.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1429 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index5.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 743 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index50.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 198 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index51.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 547 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index52.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 212 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index53.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 321 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index54.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 383 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index55.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 631 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index56.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 205 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index42.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 406 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index43.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 378 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index44.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1291 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index45.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 403 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index46.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 199 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index47.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 248 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index48.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 337 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index49.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 716 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index5.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 477 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index50.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 743 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index51.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 289 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index52.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 547 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index53.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 211 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index54.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 320 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index55.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 383 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index56.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 386 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index57.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 210 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index58.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 417 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index59.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 662 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index6.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 218 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index60.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 297 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index61.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 435 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index6.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 297 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index60.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 218 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index61.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 438 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index62.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 307 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index63.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 498 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index64.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 367 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index65.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 557 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index66.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 162 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index67.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 845 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index68.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8189 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index69.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1031 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index7.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index70.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 288 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index71.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 396 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index72.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 350 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index73.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 424 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index74.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 850 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index75.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 456 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index76.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 233 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index77.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 311 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index63.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 307 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index64.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 498 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index65.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 367 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index66.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 557 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index67.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 162 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index68.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 845 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index69.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 662 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index7.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8189 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index70.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 293 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index71.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 424 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index72.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 613 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index73.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 396 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index74.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 350 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index75.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 850 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index76.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 198 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index77.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 126 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index78.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 230 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index79.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 560 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index8.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1031 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index8.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 513 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index80.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 105 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index81.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 161 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index82.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 624 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index83.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index84.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 5640 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index85.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 626 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index83.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 5640 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index84.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index85.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 243 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index86.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 588 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index87.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 254 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index88.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 453 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index89.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1085 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index9.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 197 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index90.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 138 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index91.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index92.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 197 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index89.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 560 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index9.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 453 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index90.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index91.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 207 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index92.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index93.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 207 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index94.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 254 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index95.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 254 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index94.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index95.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index96.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index97.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 728 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index98.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 149 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index99.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 728 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index97.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 149 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index98.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 270 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/amd/index99.js │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 796 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 394 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index10.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 301 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index100.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index101.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 595 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index102.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 298 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index103.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 304 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index104.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 388 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index105.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 584 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index106.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 559 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index107.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 325 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index108.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 985 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index109.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 292 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index11.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 439 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index110.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 981 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index111.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 614 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index112.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 187 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index113.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 112 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index114.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 163 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index115.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 549 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index116.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 560 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1070 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index10.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 111 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index100.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 446 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index101.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 580 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index102.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 388 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index103.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 245 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index104.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 584 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index105.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 559 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index106.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 325 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index107.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 985 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index108.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 439 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index109.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 394 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index11.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 981 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index110.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 614 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index111.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 187 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index112.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 112 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index113.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 163 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index114.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 549 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index115.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 109 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index116.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 752 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index117.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 264 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index118.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 376 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index119.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 194 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index12.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 602 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index12.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 996 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index120.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 316 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index121.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 884 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index122.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 243 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index123.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 243 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index122.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 296 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index123.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 382 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index124.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 296 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index125.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 233 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index126.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 583 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index127.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 194 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index128.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 180 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index129.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 603 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index13.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 295 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index130.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 333 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index131.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1144 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index132.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 761 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index133.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 580 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index134.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 445 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index135.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 583 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index125.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 195 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index126.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 233 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index127.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 181 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index128.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 295 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index129.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 203 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index13.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 333 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index130.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1144 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index131.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 761 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index132.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1005 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index133.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 150 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index134.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 304 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index135.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 268 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index136.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 565 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index137.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 713 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index138.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 577 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index139.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1002 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index14.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 303 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index140.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 3320 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index141.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 368 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index142.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1482 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index143.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 296 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index144.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 734 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index145.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 306 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index146.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 980 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index147.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 803 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index148.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 223 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index149.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 203 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index15.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 347 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index150.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1237 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index151.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 250 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index152.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 482 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index153.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 312 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index154.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 297 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index155.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 299 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index156.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 314 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index157.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 239 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index158.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1005 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index159.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 187 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index16.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 150 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index160.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 481 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index17.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 229 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index18.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 292 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index14.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 448 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index140.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 303 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index141.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3320 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index142.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 296 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index143.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 368 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index144.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1482 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index145.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 735 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index146.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 803 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index147.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 223 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index148.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 347 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index149.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 187 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index15.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 250 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index150.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 482 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index151.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 312 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index152.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 297 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index153.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 299 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index154.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 314 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index155.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 239 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index156.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 884 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index157.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1237 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index158.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 307 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index159.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 481 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index16.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 980 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index160.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 229 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index17.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1004 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index18.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 116 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index19.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 453 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index2.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 235 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index2.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 446 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index20.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 301 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index21.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 196 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index22.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1641 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index23.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 825 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index24.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 2434 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index25.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 222 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index26.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1641 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index22.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 825 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index23.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 196 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index24.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 194 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index25.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2434 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index26.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 505 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index27.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 276 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index28.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 380 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index29.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 560 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index3.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1394 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index3.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 252 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index30.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 200 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index31.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 231 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index32.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 424 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index33.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 311 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index34.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 545 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index35.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 601 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index36.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 388 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index37.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 171 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index38.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 219 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index39.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 235 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index4.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 172 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index40.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 636 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index36.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 219 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index37.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 388 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index38.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 222 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index39.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 601 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index4.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 171 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index40.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 411 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index41.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 425 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index42.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 380 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index43.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1239 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index44.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 402 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index45.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 213 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index46.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 277 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index47.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 320 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index48.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 509 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index49.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1394 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index5.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 736 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index50.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 211 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index51.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 556 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index52.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 225 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index53.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 332 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index54.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 379 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index55.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 636 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index56.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 172 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index42.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 425 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index43.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 380 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index44.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1239 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index45.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 401 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index46.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 212 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index47.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 277 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index48.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 320 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index49.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 797 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index5.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 509 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index50.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 736 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index51.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 310 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index52.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 556 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index53.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 224 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index54.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 331 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index55.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 379 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index56.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 405 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index57.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 206 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index58.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 413 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index59.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 629 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index6.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 214 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index60.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 301 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index61.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 454 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index6.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 301 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index60.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 214 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index61.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 421 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index62.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 288 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index63.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 513 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index64.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 371 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index65.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 545 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index66.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 133 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index67.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 838 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index68.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8930 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index69.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1014 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index7.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 280 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index70.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 309 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index71.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 381 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index72.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 329 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index73.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 451 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index74.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 871 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index75.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 448 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index76.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 245 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index77.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 298 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index63.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 288 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index64.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 513 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index65.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 371 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index66.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 545 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index67.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 133 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index68.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 838 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index69.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 629 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index7.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8930 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index70.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 280 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index71.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 451 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index72.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 595 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index73.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 381 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index74.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 329 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index75.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 871 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index76.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 211 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index77.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 123 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index78.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 219 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index79.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 550 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index8.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 1014 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index8.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 547 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index80.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 102 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index81.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 132 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index82.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 665 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index83.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 105 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index84.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 5552 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index85.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 667 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index83.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 5552 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index84.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 105 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index85.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 249 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index86.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 582 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index87.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 285 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index88.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 428 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index89.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 1070 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index9.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 203 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index90.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 109 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index91.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index92.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 203 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index89.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 550 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index9.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 428 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index90.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index91.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 176 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index92.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index93.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 176 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index94.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 285 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index95.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 285 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index94.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index95.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index96.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 108 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index97.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 758 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index98.js │ │ │ │ --rw-r--r-- 0 root (0) root (0) 120 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index99.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 758 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index97.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 120 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index98.js │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 301 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/cjs/index99.js │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 535 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/_baseCreate.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 764 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/_baseIteratee.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 418 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/_cb.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 200 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/_chainResult.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1363 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/_collectNonEnumProps.js │ │ │ │ -rw-r--r-- 0 root (0) root (0) 582 2023-01-02 04:09:24.000000 ./usr/share/nodejs/underscore/modules/_createAssigner.js │ │ │ ├── ./usr/share/nodejs/underscore/amd/index.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,21 @@ │ │ │ │ │ -define(['./index67', './index87', './index94', './index77', './index108', './index124', './index24'], (function(identity, isFunction, isObject, isArray, matcher, property, _optimizeCb) { │ │ │ │ │ +define(['./index92', './index26'], (function(isObject, _setup) { │ │ │ │ │ │ │ │ │ │ - // An internal function to generate callbacks that can be applied to each │ │ │ │ │ - // element in a collection, returning the desired result — either `_.identity`, │ │ │ │ │ - // an arbitrary callback, a property matcher, or a property accessor. │ │ │ │ │ - function baseIteratee(value, context, argCount) { │ │ │ │ │ - if (value == null) return identity; │ │ │ │ │ - if (isFunction(value)) return _optimizeCb(value, context, argCount); │ │ │ │ │ - if (isObject(value) && !isArray(value)) return matcher(value); │ │ │ │ │ - return property(value); │ │ │ │ │ + // Create a naked function reference for surrogate-prototype-swapping. │ │ │ │ │ + function ctor() { │ │ │ │ │ + return function() {}; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return baseIteratee; │ │ │ │ │ + // An internal function for creating a new object that inherits from another. │ │ │ │ │ + function baseCreate(prototype) { │ │ │ │ │ + if (!isObject(prototype)) return {}; │ │ │ │ │ + if (_setup.nativeCreate) return _setup.nativeCreate(prototype); │ │ │ │ │ + var Ctor = ctor(); │ │ │ │ │ + Ctor.prototype = prototype; │ │ │ │ │ + var result = new Ctor; │ │ │ │ │ + Ctor.prototype = null; │ │ │ │ │ + return result; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + return baseCreate; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index10.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,30 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index20', './index102', './index23'], (function(_isArrayLike, keys, _optimizeCb) { │ │ │ │ │ │ │ │ │ │ - // Common internal logic for `isArrayLike` and `isBufferLike`. │ │ │ │ │ - function createSizePropertyCheck(getSizeProperty) { │ │ │ │ │ - return function(collection) { │ │ │ │ │ - var sizeProperty = getSizeProperty(collection); │ │ │ │ │ - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; │ │ │ │ │ - } │ │ │ │ │ + // Internal helper to create a reducing function, iterating left or right. │ │ │ │ │ + function createReduce(dir) { │ │ │ │ │ + // Wrap code that reassigns argument variables in a separate function than │ │ │ │ │ + // the one that accesses `arguments.length` to avoid a perf hit. (#1991) │ │ │ │ │ + var reducer = function(obj, iteratee, memo, initial) { │ │ │ │ │ + var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ + length = (_keys || obj).length, │ │ │ │ │ + index = dir > 0 ? 0 : length - 1; │ │ │ │ │ + if (!initial) { │ │ │ │ │ + memo = obj[_keys ? _keys[index] : index]; │ │ │ │ │ + index += dir; │ │ │ │ │ + } │ │ │ │ │ + for (; index >= 0 && index < length; index += dir) { │ │ │ │ │ + var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ + memo = iteratee(memo, obj[currentKey], currentKey, obj); │ │ │ │ │ + } │ │ │ │ │ + return memo; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return function(obj, iteratee, memo, context) { │ │ │ │ │ + var initial = arguments.length >= 3; │ │ │ │ │ + return reducer(obj, _optimizeCb(iteratee, context, 4), memo, initial); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return createSizePropertyCheck; │ │ │ │ │ + return createReduce; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index100.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ -define(['./index28', './index27', './index23'], (function(_tagTester, _stringTagBug, _methodFingerprint) { │ │ │ │ │ +define(['./index28'], (function(_tagTester) { │ │ │ │ │ │ │ │ │ │ - var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); │ │ │ │ │ + var isWeakSet = _tagTester('WeakSet'); │ │ │ │ │ │ │ │ │ │ - return isWeakMap; │ │ │ │ │ + return isWeakSet; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index101.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,13 @@ │ │ │ │ │ -define(['./index28'], (function(_tagTester) { │ │ │ │ │ +define(['./index147', './index5'], (function(underscore, _baseIteratee) { │ │ │ │ │ │ │ │ │ │ - var isWeakSet = _tagTester('WeakSet'); │ │ │ │ │ + // External wrapper for our callback generator. Users may customize │ │ │ │ │ + // `_.iteratee` if they want additional predicate/iteratee shorthand styles. │ │ │ │ │ + // This abstraction hides the internal-only `argCount` argument. │ │ │ │ │ + function iteratee(value, context) { │ │ │ │ │ + return _baseIteratee(value, context, Infinity); │ │ │ │ │ + } │ │ │ │ │ + underscore.iteratee = iteratee; │ │ │ │ │ │ │ │ │ │ - return isWeakSet; │ │ │ │ │ + return iteratee; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index102.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,22 +1,18 @@ │ │ │ │ │ -define(['./index16', './index42'], (function(_getLength, contains) { │ │ │ │ │ +define(['./index92', './index26', './index17', './index3'], (function(isObject, _setup, _has, _collectNonEnumProps) { │ │ │ │ │ │ │ │ │ │ - // Produce an array that contains every item shared between all the │ │ │ │ │ - // passed-in arrays. │ │ │ │ │ - function intersection(array) { │ │ │ │ │ - var result = []; │ │ │ │ │ - var argsLength = arguments.length; │ │ │ │ │ - for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ - var item = array[i]; │ │ │ │ │ - if (contains(result, item)) continue; │ │ │ │ │ - var j; │ │ │ │ │ - for (j = 1; j < argsLength; j++) { │ │ │ │ │ - if (!contains(arguments[j], item)) break; │ │ │ │ │ - } │ │ │ │ │ - if (j === argsLength) result.push(item); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ + // Retrieve the names of an object's own properties. │ │ │ │ │ + // Delegates to **ECMAScript 5**'s native `Object.keys`. │ │ │ │ │ + function keys(obj) { │ │ │ │ │ + if (!isObject(obj)) return []; │ │ │ │ │ + if (_setup.nativeKeys) return _setup.nativeKeys(obj); │ │ │ │ │ + var keys = []; │ │ │ │ │ + for (var key in obj) │ │ │ │ │ + if (_has(obj, key)) keys.push(key); │ │ │ │ │ + // Ahem, IE < 9. │ │ │ │ │ + if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); │ │ │ │ │ + return keys; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return intersection; │ │ │ │ │ + return keys; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index103.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,13 @@ │ │ │ │ │ -define(['./index14'], (function(_flatten) { │ │ │ │ │ +define(['./index130'], (function(rest) { │ │ │ │ │ │ │ │ │ │ - // Flatten out an array, either recursively (by default), or up to `depth`. │ │ │ │ │ - // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. │ │ │ │ │ - function flatten(array, depth) { │ │ │ │ │ - return _flatten(array, depth, false); │ │ │ │ │ + // Get the last element of an array. Passing **n** will return the last N │ │ │ │ │ + // values in the array. │ │ │ │ │ + function last(array, n, guard) { │ │ │ │ │ + if (array == null || array.length < 1) return n == null || guard ? void 0 : []; │ │ │ │ │ + if (n == null || guard) return array[array.length - 1]; │ │ │ │ │ + return rest(array, Math.max(0, array.length - n)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return flatten; │ │ │ │ │ + return last; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index104.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ -define(['./index60', './index7'], (function(findLastIndex, _createIndexFinder) { │ │ │ │ │ +define(['./index26', './index28'], (function(_setup, _tagTester) { │ │ │ │ │ │ │ │ │ │ - // Return the position of the last occurrence of an item in an array, │ │ │ │ │ - // or -1 if the item is not included in the array. │ │ │ │ │ - var lastIndexOf = _createIndexFinder(-1, findLastIndex); │ │ │ │ │ + // Is a given value an array? │ │ │ │ │ + // Delegates to ECMA5's native `Array.isArray`. │ │ │ │ │ + var isArray = _setup.nativeIsArray || _tagTester('Array'); │ │ │ │ │ │ │ │ │ │ - return lastIndexOf; │ │ │ │ │ + return isArray; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index105.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,18 @@ │ │ │ │ │ -define(['./index131'], (function(rest) { │ │ │ │ │ +define(['./index6', './index20', './index102'], (function(_cb, _isArrayLike, keys) { │ │ │ │ │ │ │ │ │ │ - // Get the last element of an array. Passing **n** will return the last N │ │ │ │ │ - // values in the array. │ │ │ │ │ - function last(array, n, guard) { │ │ │ │ │ - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; │ │ │ │ │ - if (n == null || guard) return array[array.length - 1]; │ │ │ │ │ - return rest(array, Math.max(0, array.length - n)); │ │ │ │ │ + // Return the results of applying the iteratee to each element. │ │ │ │ │ + function map(obj, iteratee, context) { │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ + length = (_keys || obj).length, │ │ │ │ │ + results = Array(length); │ │ │ │ │ + for (var index = 0; index < length; index++) { │ │ │ │ │ + var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ + results[index] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ + } │ │ │ │ │ + return results; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return last; │ │ │ │ │ + return map; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index106.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,19 @@ │ │ │ │ │ -define(['./index2', './index20', './index134'], (function(_cb, _isArrayLike, keys) { │ │ │ │ │ +define(['./index6', './index102'], (function(_cb, keys) { │ │ │ │ │ │ │ │ │ │ - // Return the results of applying the iteratee to each element. │ │ │ │ │ - function map(obj, iteratee, context) { │ │ │ │ │ + // Returns the results of applying the `iteratee` to each element of `obj`. │ │ │ │ │ + // In contrast to `_.map` it returns an object. │ │ │ │ │ + function mapObject(obj, iteratee, context) { │ │ │ │ │ iteratee = _cb(iteratee, context); │ │ │ │ │ - var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ - length = (_keys || obj).length, │ │ │ │ │ - results = Array(length); │ │ │ │ │ + var _keys = keys(obj), │ │ │ │ │ + length = _keys.length, │ │ │ │ │ + results = {}; │ │ │ │ │ for (var index = 0; index < length; index++) { │ │ │ │ │ - var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ - results[index] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ + var currentKey = _keys[index]; │ │ │ │ │ + results[currentKey] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ } │ │ │ │ │ return results; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return map; │ │ │ │ │ + return mapObject; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index107.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,14 @@ │ │ │ │ │ -define(['./index2', './index134'], (function(_cb, keys) { │ │ │ │ │ +define(['./index55', './index90'], (function(extendOwn, isMatch) { │ │ │ │ │ │ │ │ │ │ - // Returns the results of applying the `iteratee` to each element of `obj`. │ │ │ │ │ - // In contrast to `_.map` it returns an object. │ │ │ │ │ - function mapObject(obj, iteratee, context) { │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - var _keys = keys(obj), │ │ │ │ │ - length = _keys.length, │ │ │ │ │ - results = {}; │ │ │ │ │ - for (var index = 0; index < length; index++) { │ │ │ │ │ - var currentKey = _keys[index]; │ │ │ │ │ - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ - } │ │ │ │ │ - return results; │ │ │ │ │ + // Returns a predicate for checking whether an object has a given set of │ │ │ │ │ + // `key:value` pairs. │ │ │ │ │ + function matcher(attrs) { │ │ │ │ │ + attrs = extendOwn({}, attrs); │ │ │ │ │ + return function(obj) { │ │ │ │ │ + return isMatch(obj, attrs); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return mapObject; │ │ │ │ │ + return matcher; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index108.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,31 @@ │ │ │ │ │ -define(['./index54', './index89'], (function(extendOwn, isMatch) { │ │ │ │ │ +define(['./index20', './index152', './index6', './index51'], (function(_isArrayLike, values, _cb, each) { │ │ │ │ │ │ │ │ │ │ - // Returns a predicate for checking whether an object has a given set of │ │ │ │ │ - // `key:value` pairs. │ │ │ │ │ - function matcher(attrs) { │ │ │ │ │ - attrs = extendOwn({}, attrs); │ │ │ │ │ - return function(obj) { │ │ │ │ │ - return isMatch(obj, attrs); │ │ │ │ │ - }; │ │ │ │ │ + // Return the maximum element (or element-based computation). │ │ │ │ │ + function max(obj, iteratee, context) { │ │ │ │ │ + var result = -Infinity, │ │ │ │ │ + lastComputed = -Infinity, │ │ │ │ │ + value, computed; │ │ │ │ │ + if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ + obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ + for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ + value = obj[i]; │ │ │ │ │ + if (value != null && value > result) { │ │ │ │ │ + result = value; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + each(obj, function(v, index, list) { │ │ │ │ │ + computed = iteratee(v, index, list); │ │ │ │ │ + if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) { │ │ │ │ │ + result = v; │ │ │ │ │ + lastComputed = computed; │ │ │ │ │ + } │ │ │ │ │ + }); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return matcher; │ │ │ │ │ + return max; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index109.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,31 +1,17 @@ │ │ │ │ │ -define(['./index20', './index154', './index2', './index50'], (function(_isArrayLike, values, _cb, each) { │ │ │ │ │ +define(['./index17'], (function(_has) { │ │ │ │ │ │ │ │ │ │ - // Return the maximum element (or element-based computation). │ │ │ │ │ - function max(obj, iteratee, context) { │ │ │ │ │ - var result = -Infinity, │ │ │ │ │ - lastComputed = -Infinity, │ │ │ │ │ - value, computed; │ │ │ │ │ - if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ - obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ - for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ - value = obj[i]; │ │ │ │ │ - if (value != null && value > result) { │ │ │ │ │ - result = value; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - each(obj, function(v, index, list) { │ │ │ │ │ - computed = iteratee(v, index, list); │ │ │ │ │ - if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) { │ │ │ │ │ - result = v; │ │ │ │ │ - lastComputed = computed; │ │ │ │ │ - } │ │ │ │ │ - }); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ + // Memoize an expensive function by storing its results. │ │ │ │ │ + function memoize(func, hasher) { │ │ │ │ │ + var memoize = function(key) { │ │ │ │ │ + var cache = memoize.cache; │ │ │ │ │ + var address = '' + (hasher ? hasher.apply(this, arguments) : key); │ │ │ │ │ + if (!_has(cache, address)) cache[address] = func.apply(this, arguments); │ │ │ │ │ + return cache[address]; │ │ │ │ │ + }; │ │ │ │ │ + memoize.cache = {}; │ │ │ │ │ + return memoize; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return max; │ │ │ │ │ + return memoize; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index11.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,13 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ - // Internal function to obtain a nested property in `obj` along `path`. │ │ │ │ │ - function deepGet(obj, path) { │ │ │ │ │ - var length = path.length; │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - if (obj == null) return void 0; │ │ │ │ │ - obj = obj[path[i]]; │ │ │ │ │ + // Common internal logic for `isArrayLike` and `isBufferLike`. │ │ │ │ │ + function createSizePropertyCheck(getSizeProperty) { │ │ │ │ │ + return function(collection) { │ │ │ │ │ + var sizeProperty = getSizeProperty(collection); │ │ │ │ │ + return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; │ │ │ │ │ } │ │ │ │ │ - return length ? obj : void 0; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return deepGet; │ │ │ │ │ + return createSizePropertyCheck; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index110.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,31 @@ │ │ │ │ │ -define(['./index18'], (function(_has) { │ │ │ │ │ +define(['./index20', './index152', './index6', './index51'], (function(_isArrayLike, values, _cb, each) { │ │ │ │ │ │ │ │ │ │ - // Memoize an expensive function by storing its results. │ │ │ │ │ - function memoize(func, hasher) { │ │ │ │ │ - var memoize = function(key) { │ │ │ │ │ - var cache = memoize.cache; │ │ │ │ │ - var address = '' + (hasher ? hasher.apply(this, arguments) : key); │ │ │ │ │ - if (!_has(cache, address)) cache[address] = func.apply(this, arguments); │ │ │ │ │ - return cache[address]; │ │ │ │ │ - }; │ │ │ │ │ - memoize.cache = {}; │ │ │ │ │ - return memoize; │ │ │ │ │ + // Return the minimum element (or element-based computation). │ │ │ │ │ + function min(obj, iteratee, context) { │ │ │ │ │ + var result = Infinity, │ │ │ │ │ + lastComputed = Infinity, │ │ │ │ │ + value, computed; │ │ │ │ │ + if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ + obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ + for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ + value = obj[i]; │ │ │ │ │ + if (value != null && value < result) { │ │ │ │ │ + result = value; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + each(obj, function(v, index, list) { │ │ │ │ │ + computed = iteratee(v, index, list); │ │ │ │ │ + if (computed < lastComputed || (computed === Infinity && result === Infinity)) { │ │ │ │ │ + result = v; │ │ │ │ │ + lastComputed = computed; │ │ │ │ │ + } │ │ │ │ │ + }); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return memoize; │ │ │ │ │ + return min; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index111.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,31 +1,18 @@ │ │ │ │ │ -define(['./index20', './index154', './index2', './index50'], (function(_isArrayLike, values, _cb, each) { │ │ │ │ │ +define(['./index147', './index51', './index64', './index26', './index2'], (function(underscore, each, functions, _setup, _chainResult) { │ │ │ │ │ │ │ │ │ │ - // Return the minimum element (or element-based computation). │ │ │ │ │ - function min(obj, iteratee, context) { │ │ │ │ │ - var result = Infinity, │ │ │ │ │ - lastComputed = Infinity, │ │ │ │ │ - value, computed; │ │ │ │ │ - if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ - obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ - for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ - value = obj[i]; │ │ │ │ │ - if (value != null && value < result) { │ │ │ │ │ - result = value; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - each(obj, function(v, index, list) { │ │ │ │ │ - computed = iteratee(v, index, list); │ │ │ │ │ - if (computed < lastComputed || (computed === Infinity && result === Infinity)) { │ │ │ │ │ - result = v; │ │ │ │ │ - lastComputed = computed; │ │ │ │ │ - } │ │ │ │ │ - }); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ + // Add your own custom functions to the Underscore object. │ │ │ │ │ + function mixin(obj) { │ │ │ │ │ + each(functions(obj), function(name) { │ │ │ │ │ + var func = underscore[name] = obj[name]; │ │ │ │ │ + underscore.prototype[name] = function() { │ │ │ │ │ + var args = [this._wrapped]; │ │ │ │ │ + _setup.push.apply(args, arguments); │ │ │ │ │ + return _chainResult(this, func.apply(underscore, args)); │ │ │ │ │ + }; │ │ │ │ │ + }); │ │ │ │ │ + return underscore; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return min; │ │ │ │ │ + return mixin; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index112.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,12 @@ │ │ │ │ │ -define(['./index148', './index50', './index63', './index25', './index4'], (function(underscore, each, functions, _setup, _chainResult) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Add your own custom functions to the Underscore object. │ │ │ │ │ - function mixin(obj) { │ │ │ │ │ - each(functions(obj), function(name) { │ │ │ │ │ - var func = underscore[name] = obj[name]; │ │ │ │ │ - underscore.prototype[name] = function() { │ │ │ │ │ - var args = [this._wrapped]; │ │ │ │ │ - _setup.push.apply(args, arguments); │ │ │ │ │ - return _chainResult(this, func.apply(underscore, args)); │ │ │ │ │ - }; │ │ │ │ │ - }); │ │ │ │ │ - return underscore; │ │ │ │ │ + // Returns a negated version of the passed-in predicate. │ │ │ │ │ + function negate(predicate) { │ │ │ │ │ + return function() { │ │ │ │ │ + return !predicate.apply(this, arguments); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return mixin; │ │ │ │ │ + return negate; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index113.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,8 @@ │ │ │ │ │ define((function() { │ │ │ │ │ │ │ │ │ │ - // Returns a negated version of the passed-in predicate. │ │ │ │ │ - function negate(predicate) { │ │ │ │ │ - return function() { │ │ │ │ │ - return !predicate.apply(this, arguments); │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ + // Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ + function noop() {} │ │ │ │ │ │ │ │ │ │ - return negate; │ │ │ │ │ + return noop; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index114.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,10 @@ │ │ │ │ │ define((function() { │ │ │ │ │ │ │ │ │ │ - // Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ - function noop() {} │ │ │ │ │ + // A (possibly faster) way to get the current timestamp as an integer. │ │ │ │ │ + var now = Date.now || function() { │ │ │ │ │ + return new Date().getTime(); │ │ │ │ │ + }; │ │ │ │ │ │ │ │ │ │ - return noop; │ │ │ │ │ + return now; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index115.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,20 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index15'], (function(_getLength) { │ │ │ │ │ │ │ │ │ │ - // A (possibly faster) way to get the current timestamp as an integer. │ │ │ │ │ - var now = Date.now || function() { │ │ │ │ │ - return new Date().getTime(); │ │ │ │ │ - }; │ │ │ │ │ + // Converts lists into objects. Pass either a single array of `[key, value]` │ │ │ │ │ + // pairs, or two parallel arrays of the same length -- one of keys, and one of │ │ │ │ │ + // the corresponding values. Passing by pairs is the reverse of `_.pairs`. │ │ │ │ │ + function object(list, values) { │ │ │ │ │ + var result = {}; │ │ │ │ │ + for (var i = 0, length = _getLength(list); i < length; i++) { │ │ │ │ │ + if (values) { │ │ │ │ │ + result[list[i]] = values[i]; │ │ │ │ │ + } else { │ │ │ │ │ + result[list[i][0]] = list[i][1]; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return now; │ │ │ │ │ + return object; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index116.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,20 +1,10 @@ │ │ │ │ │ -define(['./index16'], (function(_getLength) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Converts lists into objects. Pass either a single array of `[key, value]` │ │ │ │ │ - // pairs, or two parallel arrays of the same length -- one of keys, and one of │ │ │ │ │ - // the corresponding values. Passing by pairs is the reverse of `_.pairs`. │ │ │ │ │ - function object(list, values) { │ │ │ │ │ - var result = {}; │ │ │ │ │ - for (var i = 0, length = _getLength(list); i < length; i++) { │ │ │ │ │ - if (values) { │ │ │ │ │ - result[list[i]] = values[i]; │ │ │ │ │ - } else { │ │ │ │ │ - result[list[i][0]] = list[i][1]; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ + // Is a given value equal to null? │ │ │ │ │ + function isNull(obj) { │ │ │ │ │ + return obj === null; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return object; │ │ │ │ │ + return isNull; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index117.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index132', './index87', './index113', './index106', './index14', './index42', './index122'], (function(restArguments, isFunction, negate, map, _flatten, contains, pick) { │ │ │ │ │ +define(['./index131', './index87', './index112', './index105', './index18', './index43', './index157'], (function(restArguments, isFunction, negate, map, _flatten, contains, pick) { │ │ │ │ │ │ │ │ │ │ // Return a copy of the object without the disallowed properties. │ │ │ │ │ var omit = restArguments(function(obj, keys) { │ │ │ │ │ var iteratee = keys[0], │ │ │ │ │ context; │ │ │ │ │ if (isFunction(iteratee)) { │ │ │ │ │ iteratee = negate(iteratee); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index119.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index134'], (function(keys) { │ │ │ │ │ +define(['./index102'], (function(keys) { │ │ │ │ │ │ │ │ │ │ // Convert an object into a list of `[key, value]` pairs. │ │ │ │ │ // The opposite of `_.object` with one argument. │ │ │ │ │ function pairs(obj) { │ │ │ │ │ var _keys = keys(obj); │ │ │ │ │ var length = _keys.length; │ │ │ │ │ var pairs = Array(length); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index12.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,16 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index', './index92'], (function(_baseCreate, isObject) { │ │ │ │ │ │ │ │ │ │ - // Internal list of HTML entities for escaping. │ │ │ │ │ - var escapeMap = { │ │ │ │ │ - '&': '&', │ │ │ │ │ - '<': '<', │ │ │ │ │ - '>': '>', │ │ │ │ │ - '"': '"', │ │ │ │ │ - "'": ''', │ │ │ │ │ - '`': '`' │ │ │ │ │ - }; │ │ │ │ │ + // Internal function to execute `sourceFunc` bound to `context` with optional │ │ │ │ │ + // `args`. Determines whether to execute a function as a constructor or as a │ │ │ │ │ + // normal function. │ │ │ │ │ + function executeBound(sourceFunc, boundFunc, context, callingContext, args) { │ │ │ │ │ + if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); │ │ │ │ │ + var self = _baseCreate(sourceFunc.prototype); │ │ │ │ │ + var result = sourceFunc.apply(self, args); │ │ │ │ │ + if (isObject(result)) return result; │ │ │ │ │ + return self; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return escapeMap; │ │ │ │ │ + return executeBound; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index120.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index132', './index13', './index148'], (function(restArguments, _executeBound, underscore) { │ │ │ │ │ +define(['./index131', './index12', './index147'], (function(restArguments, _executeBound, underscore) { │ │ │ │ │ │ │ │ │ │ // Partially apply a function by creating a version that has had some of its │ │ │ │ │ // arguments pre-filled, without changing its dynamic `this` context. `_` acts │ │ │ │ │ // as a placeholder by default, allowing any combination of arguments to be │ │ │ │ │ // pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. │ │ │ │ │ var partial = restArguments(function(func, boundArgs) { │ │ │ │ │ var placeholder = partial.placeholder; │ │ │ ├── ./usr/share/nodejs/underscore/amd/index121.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index17'], (function(_group) { │ │ │ │ │ +define(['./index16'], (function(_group) { │ │ │ │ │ │ │ │ │ │ // Split a collection into two arrays: one whose elements all pass the given │ │ │ │ │ // truth test, and one whose elements all do not pass the truth test. │ │ │ │ │ var partition = _group(function(result, value, pass) { │ │ │ │ │ result[pass ? 0 : 1].push(value); │ │ │ │ │ }, true); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index122.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,26 +1,10 @@ │ │ │ │ │ -define(['./index132', './index87', './index24', './index33', './index22', './index14'], (function(restArguments, isFunction, _optimizeCb, allKeys, _keyInObj, _flatten) { │ │ │ │ │ +define(['./index105', './index124'], (function(map, property) { │ │ │ │ │ │ │ │ │ │ - // Return a copy of the object only containing the allowed properties. │ │ │ │ │ - var pick = restArguments(function(obj, keys) { │ │ │ │ │ - var result = {}, │ │ │ │ │ - iteratee = keys[0]; │ │ │ │ │ - if (obj == null) return result; │ │ │ │ │ - if (isFunction(iteratee)) { │ │ │ │ │ - if (keys.length > 1) iteratee = _optimizeCb(iteratee, keys[1]); │ │ │ │ │ - keys = allKeys(obj); │ │ │ │ │ - } else { │ │ │ │ │ - iteratee = _keyInObj; │ │ │ │ │ - keys = _flatten(keys, false, false); │ │ │ │ │ - obj = Object(obj); │ │ │ │ │ - } │ │ │ │ │ - for (var i = 0, length = keys.length; i < length; i++) { │ │ │ │ │ - var key = keys[i]; │ │ │ │ │ - var value = obj[key]; │ │ │ │ │ - if (iteratee(value, key, obj)) result[key] = value; │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ - }); │ │ │ │ │ + // Convenience version of a common use case of `_.map`: fetching a property. │ │ │ │ │ + function pluck(obj, key) { │ │ │ │ │ + return map(obj, property(key)); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return pick; │ │ │ │ │ + return pluck; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index123.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,13 @@ │ │ │ │ │ -define(['./index106', './index124'], (function(map, property) { │ │ │ │ │ +define(['./index113', './index65'], (function(noop, get) { │ │ │ │ │ │ │ │ │ │ - // Convenience version of a common use case of `_.map`: fetching a property. │ │ │ │ │ - function pluck(obj, key) { │ │ │ │ │ - return map(obj, property(key)); │ │ │ │ │ + // Generates a function for a given object that returns a given property. │ │ │ │ │ + function propertyOf(obj) { │ │ │ │ │ + if (obj == null) return noop; │ │ │ │ │ + return function(path) { │ │ │ │ │ + return get(obj, path); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return pluck; │ │ │ │ │ + return propertyOf; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index124.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index11', './index30'], (function(_deepGet, _toPath) { │ │ │ │ │ +define(['./index14', './index30'], (function(_deepGet, _toPath) { │ │ │ │ │ │ │ │ │ │ // Creates a function that, when passed an object, will traverse that object’s │ │ │ │ │ // properties down the given `path`, specified as an array of keys or indices. │ │ │ │ │ function property(path) { │ │ │ │ │ path = _toPath(path); │ │ │ │ │ return function(obj) { │ │ │ │ │ return _deepGet(obj, path); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index125.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,27 @@ │ │ │ │ │ -define(['./index114', './index64'], (function(noop, get) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Generates a function for a given object that returns a given property. │ │ │ │ │ - function propertyOf(obj) { │ │ │ │ │ - if (obj == null) return noop; │ │ │ │ │ - return function(path) { │ │ │ │ │ - return get(obj, path); │ │ │ │ │ - }; │ │ │ │ │ + // Generate an integer Array containing an arithmetic progression. A port of │ │ │ │ │ + // the native Python `range()` function. See │ │ │ │ │ + // [the Python documentation](https://docs.python.org/library/functions.html#range). │ │ │ │ │ + function range(start, stop, step) { │ │ │ │ │ + if (stop == null) { │ │ │ │ │ + stop = start || 0; │ │ │ │ │ + start = 0; │ │ │ │ │ + } │ │ │ │ │ + if (!step) { │ │ │ │ │ + step = stop < start ? -1 : 1; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + var length = Math.max(Math.ceil((stop - start) / step), 0); │ │ │ │ │ + var range = Array(length); │ │ │ │ │ + │ │ │ │ │ + for (var idx = 0; idx < length; idx++, start += step) { │ │ │ │ │ + range[idx] = start; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + return range; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return propertyOf; │ │ │ │ │ + return range; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index126.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,9 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index10'], (function(_createReduce) { │ │ │ │ │ │ │ │ │ │ - // Return a random integer between `min` and `max` (inclusive). │ │ │ │ │ - function random(min, max) { │ │ │ │ │ - if (max == null) { │ │ │ │ │ - max = min; │ │ │ │ │ - min = 0; │ │ │ │ │ - } │ │ │ │ │ - return min + Math.floor(Math.random() * (max - min + 1)); │ │ │ │ │ - } │ │ │ │ │ + // **Reduce** builds up a single result from a list of values, aka `inject`, │ │ │ │ │ + // or `foldl`. │ │ │ │ │ + var reduce = _createReduce(1); │ │ │ │ │ │ │ │ │ │ - return random; │ │ │ │ │ + return reduce; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index127.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,27 +1,14 @@ │ │ │ │ │ define((function() { │ │ │ │ │ │ │ │ │ │ - // Generate an integer Array containing an arithmetic progression. A port of │ │ │ │ │ - // the native Python `range()` function. See │ │ │ │ │ - // [the Python documentation](https://docs.python.org/library/functions.html#range). │ │ │ │ │ - function range(start, stop, step) { │ │ │ │ │ - if (stop == null) { │ │ │ │ │ - stop = start || 0; │ │ │ │ │ - start = 0; │ │ │ │ │ + // Return a random integer between `min` and `max` (inclusive). │ │ │ │ │ + function random(min, max) { │ │ │ │ │ + if (max == null) { │ │ │ │ │ + max = min; │ │ │ │ │ + min = 0; │ │ │ │ │ } │ │ │ │ │ - if (!step) { │ │ │ │ │ - step = stop < start ? -1 : 1; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - var length = Math.max(Math.ceil((stop - start) / step), 0); │ │ │ │ │ - var range = Array(length); │ │ │ │ │ - │ │ │ │ │ - for (var idx = 0; idx < length; idx++, start += step) { │ │ │ │ │ - range[idx] = start; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - return range; │ │ │ │ │ + return min + Math.floor(Math.random() * (max - min + 1)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return range; │ │ │ │ │ + return random; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index128.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,8 @@ │ │ │ │ │ -define(['./index9'], (function(_createReduce) { │ │ │ │ │ +define(['./index10'], (function(_createReduce) { │ │ │ │ │ │ │ │ │ │ - // **Reduce** builds up a single result from a list of values, aka `inject`, │ │ │ │ │ - // or `foldl`. │ │ │ │ │ - var reduce = _createReduce(1); │ │ │ │ │ + // The right-associative version of reduce, also known as `foldr`. │ │ │ │ │ + var reduceRight = _createReduce(-1); │ │ │ │ │ │ │ │ │ │ - return reduce; │ │ │ │ │ + return reduceRight; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index129.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,10 @@ │ │ │ │ │ -define(['./index9'], (function(_createReduce) { │ │ │ │ │ +define(['./index56', './index112', './index6'], (function(filter, negate, _cb) { │ │ │ │ │ │ │ │ │ │ - // The right-associative version of reduce, also known as `foldr`. │ │ │ │ │ - var reduceRight = _createReduce(-1); │ │ │ │ │ + // Return all the elements for which a truth test fails. │ │ │ │ │ + function reject(obj, predicate, context) { │ │ │ │ │ + return filter(obj, negate(_cb(predicate)), context); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return reduceRight; │ │ │ │ │ + return reject; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index13.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,16 +1,8 @@ │ │ │ │ │ -define(['./index3', './index94'], (function(_baseCreate, isObject) { │ │ │ │ │ +define(['./index39'], (function(_shallowProperty) { │ │ │ │ │ │ │ │ │ │ - // Internal function to execute `sourceFunc` bound to `context` with optional │ │ │ │ │ - // `args`. Determines whether to execute a function as a constructor or as a │ │ │ │ │ - // normal function. │ │ │ │ │ - function executeBound(sourceFunc, boundFunc, context, callingContext, args) { │ │ │ │ │ - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); │ │ │ │ │ - var self = _baseCreate(sourceFunc.prototype); │ │ │ │ │ - var result = sourceFunc.apply(self, args); │ │ │ │ │ - if (isObject(result)) return result; │ │ │ │ │ - return self; │ │ │ │ │ - } │ │ │ │ │ + // Internal helper to obtain the `byteLength` property of an object. │ │ │ │ │ + var getByteLength = _shallowProperty('byteLength'); │ │ │ │ │ │ │ │ │ │ - return executeBound; │ │ │ │ │ + return getByteLength; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index130.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,12 @@ │ │ │ │ │ -define(['./index55', './index113', './index2'], (function(filter, negate, _cb) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ - // Return all the elements for which a truth test fails. │ │ │ │ │ - function reject(obj, predicate, context) { │ │ │ │ │ - return filter(obj, negate(_cb(predicate)), context); │ │ │ │ │ + // Returns everything but the first entry of the `array`. Especially useful on │ │ │ │ │ + // the `arguments` object. Passing an **n** will return the rest N values in the │ │ │ │ │ + // `array`. │ │ │ │ │ + function rest(array, n, guard) { │ │ │ │ │ + return _setup.slice.call(array, n == null || guard ? 1 : n); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return reject; │ │ │ │ │ + return rest; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index131.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,36 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Returns everything but the first entry of the `array`. Especially useful on │ │ │ │ │ - // the `arguments` object. Passing an **n** will return the rest N values in the │ │ │ │ │ - // `array`. │ │ │ │ │ - function rest(array, n, guard) { │ │ │ │ │ - return _setup.slice.call(array, n == null || guard ? 1 : n); │ │ │ │ │ + // Some functions take a variable number of arguments, or a few expected │ │ │ │ │ + // arguments at the beginning and then a variable number of values to operate │ │ │ │ │ + // on. This helper accumulates all remaining arguments past the function’s │ │ │ │ │ + // argument length (or an explicit `startIndex`), into an array that becomes │ │ │ │ │ + // the last argument. Similar to ES6’s "rest parameter". │ │ │ │ │ + function restArguments(func, startIndex) { │ │ │ │ │ + startIndex = startIndex == null ? func.length - 1 : +startIndex; │ │ │ │ │ + return function() { │ │ │ │ │ + var length = Math.max(arguments.length - startIndex, 0), │ │ │ │ │ + rest = Array(length), │ │ │ │ │ + index = 0; │ │ │ │ │ + for (; index < length; index++) { │ │ │ │ │ + rest[index] = arguments[index + startIndex]; │ │ │ │ │ + } │ │ │ │ │ + switch (startIndex) { │ │ │ │ │ + case 0: │ │ │ │ │ + return func.call(this, rest); │ │ │ │ │ + case 1: │ │ │ │ │ + return func.call(this, arguments[0], rest); │ │ │ │ │ + case 2: │ │ │ │ │ + return func.call(this, arguments[0], arguments[1], rest); │ │ │ │ │ + } │ │ │ │ │ + var args = Array(startIndex + 1); │ │ │ │ │ + for (index = 0; index < startIndex; index++) { │ │ │ │ │ + args[index] = arguments[index]; │ │ │ │ │ + } │ │ │ │ │ + args[startIndex] = rest; │ │ │ │ │ + return func.apply(this, args); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return rest; │ │ │ │ │ + return restArguments; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index132.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,36 +1,25 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index87', './index30'], (function(isFunction, _toPath) { │ │ │ │ │ │ │ │ │ │ - // Some functions take a variable number of arguments, or a few expected │ │ │ │ │ - // arguments at the beginning and then a variable number of values to operate │ │ │ │ │ - // on. This helper accumulates all remaining arguments past the function’s │ │ │ │ │ - // argument length (or an explicit `startIndex`), into an array that becomes │ │ │ │ │ - // the last argument. Similar to ES6’s "rest parameter". │ │ │ │ │ - function restArguments(func, startIndex) { │ │ │ │ │ - startIndex = startIndex == null ? func.length - 1 : +startIndex; │ │ │ │ │ - return function() { │ │ │ │ │ - var length = Math.max(arguments.length - startIndex, 0), │ │ │ │ │ - rest = Array(length), │ │ │ │ │ - index = 0; │ │ │ │ │ - for (; index < length; index++) { │ │ │ │ │ - rest[index] = arguments[index + startIndex]; │ │ │ │ │ + // Traverses the children of `obj` along `path`. If a child is a function, it │ │ │ │ │ + // is invoked with its parent as context. Returns the value of the final │ │ │ │ │ + // child, or `fallback` if any child is undefined. │ │ │ │ │ + function result(obj, path, fallback) { │ │ │ │ │ + path = _toPath(path); │ │ │ │ │ + var length = path.length; │ │ │ │ │ + if (!length) { │ │ │ │ │ + return isFunction(fallback) ? fallback.call(obj) : fallback; │ │ │ │ │ + } │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + var prop = obj == null ? void 0 : obj[path[i]]; │ │ │ │ │ + if (prop === void 0) { │ │ │ │ │ + prop = fallback; │ │ │ │ │ + i = length; // Ensure we don't continue iterating. │ │ │ │ │ } │ │ │ │ │ - switch (startIndex) { │ │ │ │ │ - case 0: │ │ │ │ │ - return func.call(this, rest); │ │ │ │ │ - case 1: │ │ │ │ │ - return func.call(this, arguments[0], rest); │ │ │ │ │ - case 2: │ │ │ │ │ - return func.call(this, arguments[0], arguments[1], rest); │ │ │ │ │ - } │ │ │ │ │ - var args = Array(startIndex + 1); │ │ │ │ │ - for (index = 0; index < startIndex; index++) { │ │ │ │ │ - args[index] = arguments[index]; │ │ │ │ │ - } │ │ │ │ │ - args[startIndex] = rest; │ │ │ │ │ - return func.apply(this, args); │ │ │ │ │ - }; │ │ │ │ │ + obj = isFunction(prop) ? prop.call(obj) : prop; │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return restArguments; │ │ │ │ │ + return result; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index133.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,25 +1,27 @@ │ │ │ │ │ -define(['./index87', './index30'], (function(isFunction, _toPath) { │ │ │ │ │ +define(['./index20', './index152', './index15', './index127', './index146'], (function(_isArrayLike, values, _getLength, random, toArray) { │ │ │ │ │ │ │ │ │ │ - // Traverses the children of `obj` along `path`. If a child is a function, it │ │ │ │ │ - // is invoked with its parent as context. Returns the value of the final │ │ │ │ │ - // child, or `fallback` if any child is undefined. │ │ │ │ │ - function result(obj, path, fallback) { │ │ │ │ │ - path = _toPath(path); │ │ │ │ │ - var length = path.length; │ │ │ │ │ - if (!length) { │ │ │ │ │ - return isFunction(fallback) ? fallback.call(obj) : fallback; │ │ │ │ │ + // Sample **n** random values from a collection using the modern version of the │ │ │ │ │ + // [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). │ │ │ │ │ + // If **n** is not specified, returns a single random element. │ │ │ │ │ + // The internal `guard` argument allows it to work with `_.map`. │ │ │ │ │ + function sample(obj, n, guard) { │ │ │ │ │ + if (n == null || guard) { │ │ │ │ │ + if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ + return obj[random(obj.length - 1)]; │ │ │ │ │ } │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - var prop = obj == null ? void 0 : obj[path[i]]; │ │ │ │ │ - if (prop === void 0) { │ │ │ │ │ - prop = fallback; │ │ │ │ │ - i = length; // Ensure we don't continue iterating. │ │ │ │ │ - } │ │ │ │ │ - obj = isFunction(prop) ? prop.call(obj) : prop; │ │ │ │ │ + var sample = toArray(obj); │ │ │ │ │ + var length = _getLength(sample); │ │ │ │ │ + n = Math.max(Math.min(n, length), 0); │ │ │ │ │ + var last = length - 1; │ │ │ │ │ + for (var index = 0; index < n; index++) { │ │ │ │ │ + var rand = random(index, last); │ │ │ │ │ + var temp = sample[index]; │ │ │ │ │ + sample[index] = sample[rand]; │ │ │ │ │ + sample[rand] = temp; │ │ │ │ │ } │ │ │ │ │ - return obj; │ │ │ │ │ + return sample.slice(0, n); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return result; │ │ │ │ │ + return sample; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index134.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,10 @@ │ │ │ │ │ -define(['./index94', './index25', './index18', './index5'], (function(isObject, _setup, _has, _collectNonEnumProps) { │ │ │ │ │ +define(['./index133'], (function(sample) { │ │ │ │ │ │ │ │ │ │ - // Retrieve the names of an object's own properties. │ │ │ │ │ - // Delegates to **ECMAScript 5**'s native `Object.keys`. │ │ │ │ │ - function keys(obj) { │ │ │ │ │ - if (!isObject(obj)) return []; │ │ │ │ │ - if (_setup.nativeKeys) return _setup.nativeKeys(obj); │ │ │ │ │ - var keys = []; │ │ │ │ │ - for (var key in obj) │ │ │ │ │ - if (_has(obj, key)) keys.push(key); │ │ │ │ │ - // Ahem, IE < 9. │ │ │ │ │ - if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); │ │ │ │ │ - return keys; │ │ │ │ │ + // Shuffle a collection. │ │ │ │ │ + function shuffle(obj) { │ │ │ │ │ + return sample(obj, Infinity); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return keys; │ │ │ │ │ + return shuffle; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index135.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,9 @@ │ │ │ │ │ -define(['./index148', './index'], (function(underscore, _baseIteratee) { │ │ │ │ │ +define(['./index61', './index8'], (function(findLastIndex, _createIndexFinder) { │ │ │ │ │ │ │ │ │ │ - // External wrapper for our callback generator. Users may customize │ │ │ │ │ - // `_.iteratee` if they want additional predicate/iteratee shorthand styles. │ │ │ │ │ - // This abstraction hides the internal-only `argCount` argument. │ │ │ │ │ - function iteratee(value, context) { │ │ │ │ │ - return _baseIteratee(value, context, Infinity); │ │ │ │ │ - } │ │ │ │ │ - underscore.iteratee = iteratee; │ │ │ │ │ + // Return the position of the last occurrence of an item in an array, │ │ │ │ │ + // or -1 if the item is not included in the array. │ │ │ │ │ + var lastIndexOf = _createIndexFinder(-1, findLastIndex); │ │ │ │ │ │ │ │ │ │ - return iteratee; │ │ │ │ │ + return lastIndexOf; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index136.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index20', './index134'], (function(_isArrayLike, keys) { │ │ │ │ │ +define(['./index20', './index102'], (function(_isArrayLike, keys) { │ │ │ │ │ │ │ │ │ │ // Return the number of elements in a collection. │ │ │ │ │ function size(obj) { │ │ │ │ │ if (obj == null) return 0; │ │ │ │ │ return _isArrayLike(obj) ? obj.length : keys(obj).length; │ │ │ │ │ } │ │ │ ├── ./usr/share/nodejs/underscore/amd/index137.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index2', './index20', './index134'], (function(_cb, _isArrayLike, keys) { │ │ │ │ │ +define(['./index6', './index20', './index102'], (function(_cb, _isArrayLike, keys) { │ │ │ │ │ │ │ │ │ │ // Determine if at least one element in the object passes a truth test. │ │ │ │ │ function some(obj, predicate, context) { │ │ │ │ │ predicate = _cb(predicate, context); │ │ │ │ │ var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ length = (_keys || obj).length; │ │ │ │ │ for (var index = 0; index < length; index++) { │ │ │ ├── ./usr/share/nodejs/underscore/amd/index138.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index2', './index123', './index106'], (function(_cb, pluck, map) { │ │ │ │ │ +define(['./index6', './index122', './index105'], (function(_cb, pluck, map) { │ │ │ │ │ │ │ │ │ │ // Sort the object's values by a criterion produced by an iteratee. │ │ │ │ │ function sortBy(obj, iteratee, context) { │ │ │ │ │ var index = 0; │ │ │ │ │ iteratee = _cb(iteratee, context); │ │ │ │ │ return pluck(map(obj, function(value, key, list) { │ │ │ │ │ return { │ │ │ ├── ./usr/share/nodejs/underscore/amd/index139.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index2', './index16'], (function(_cb, _getLength) { │ │ │ │ │ +define(['./index6', './index15'], (function(_cb, _getLength) { │ │ │ │ │ │ │ │ │ │ // Use a comparator function to figure out the smallest index at which │ │ │ │ │ // an object should be inserted so as to maintain order. Uses binary search. │ │ │ │ │ function sortedIndex(array, obj, iteratee, context) { │ │ │ │ │ iteratee = _cb(iteratee, context, 1); │ │ │ │ │ var value = iteratee(obj); │ │ │ │ │ var low = 0, │ │ │ ├── ./usr/share/nodejs/underscore/amd/index14.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,33 +1,15 @@ │ │ │ │ │ -define(['./index16', './index20', './index77', './index76'], (function(_getLength, _isArrayLike, isArray, isArguments) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Internal implementation of a recursive `flatten` function. │ │ │ │ │ - function flatten(input, depth, strict, output) { │ │ │ │ │ - output = output || []; │ │ │ │ │ - if (!depth && depth !== 0) { │ │ │ │ │ - depth = Infinity; │ │ │ │ │ - } else if (depth <= 0) { │ │ │ │ │ - return output.concat(input); │ │ │ │ │ + // Internal function to obtain a nested property in `obj` along `path`. │ │ │ │ │ + function deepGet(obj, path) { │ │ │ │ │ + var length = path.length; │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + if (obj == null) return void 0; │ │ │ │ │ + obj = obj[path[i]]; │ │ │ │ │ } │ │ │ │ │ - var idx = output.length; │ │ │ │ │ - for (var i = 0, length = _getLength(input); i < length; i++) { │ │ │ │ │ - var value = input[i]; │ │ │ │ │ - if (_isArrayLike(value) && (isArray(value) || isArguments(value))) { │ │ │ │ │ - // Flatten current level of array or arguments object. │ │ │ │ │ - if (depth > 1) { │ │ │ │ │ - flatten(value, depth - 1, strict, output); │ │ │ │ │ - idx = output.length; │ │ │ │ │ - } else { │ │ │ │ │ - var j = 0, │ │ │ │ │ - len = value.length; │ │ │ │ │ - while (j < len) output[idx++] = value[j++]; │ │ │ │ │ - } │ │ │ │ │ - } else if (!strict) { │ │ │ │ │ - output[idx++] = value; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return output; │ │ │ │ │ + return length ? obj : void 0; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return flatten; │ │ │ │ │ + return deepGet; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index140.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,19 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index28', './index17'], (function(_tagTester, _has) { │ │ │ │ │ │ │ │ │ │ - // Invokes `interceptor` with the `obj` and then returns `obj`. │ │ │ │ │ - // The primary purpose of this method is to "tap into" a method chain, in │ │ │ │ │ - // order to perform operations on intermediate results within the chain. │ │ │ │ │ - function tap(obj, interceptor) { │ │ │ │ │ - interceptor(obj); │ │ │ │ │ - return obj; │ │ │ │ │ - } │ │ │ │ │ + var isArguments = _tagTester('Arguments'); │ │ │ │ │ │ │ │ │ │ - return tap; │ │ │ │ │ + // Define a fallback version of the method in browsers (ahem, IE < 9), where │ │ │ │ │ + // there isn't any inspectable "Arguments" type. │ │ │ │ │ + (function() { │ │ │ │ │ + if (!isArguments(arguments)) { │ │ │ │ │ + isArguments = function(obj) { │ │ │ │ │ + return _has(obj, 'callee'); │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ + }()); │ │ │ │ │ + │ │ │ │ │ + var isArguments$1 = isArguments; │ │ │ │ │ + │ │ │ │ │ + return isArguments$1; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index141.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,103 +1,13 @@ │ │ │ │ │ -define(['./index46', './index148', './index142'], (function(defaults, underscore, templateSettings) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // When customizing `_.templateSettings`, if you don't want to define an │ │ │ │ │ - // interpolation, evaluation or escaping regex, we need one that is │ │ │ │ │ - // guaranteed not to match. │ │ │ │ │ - var noMatch = /(.)^/; │ │ │ │ │ - │ │ │ │ │ - // Certain characters need to be escaped so that they can be put into a │ │ │ │ │ - // string literal. │ │ │ │ │ - var escapes = { │ │ │ │ │ - "'": "'", │ │ │ │ │ - '\\': '\\', │ │ │ │ │ - '\r': 'r', │ │ │ │ │ - '\n': 'n', │ │ │ │ │ - '\u2028': 'u2028', │ │ │ │ │ - '\u2029': 'u2029' │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; │ │ │ │ │ - │ │ │ │ │ - function escapeChar(match) { │ │ │ │ │ - return '\\' + escapes[match]; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // In order to prevent third-party code injection through │ │ │ │ │ - // `_.templateSettings.variable`, we test it against the following regular │ │ │ │ │ - // expression. It is intentionally a bit more liberal than just matching valid │ │ │ │ │ - // identifiers, but still prevents possible loopholes through defaults or │ │ │ │ │ - // destructuring assignment. │ │ │ │ │ - var bareIdentifier = /^\s*(\w|\$)+\s*$/; │ │ │ │ │ - │ │ │ │ │ - // JavaScript micro-templating, similar to John Resig's implementation. │ │ │ │ │ - // Underscore templating handles arbitrary delimiters, preserves whitespace, │ │ │ │ │ - // and correctly escapes quotes within interpolated code. │ │ │ │ │ - // NB: `oldSettings` only exists for backwards compatibility. │ │ │ │ │ - function template(text, settings, oldSettings) { │ │ │ │ │ - if (!settings && oldSettings) settings = oldSettings; │ │ │ │ │ - settings = defaults({}, settings, underscore.templateSettings); │ │ │ │ │ - │ │ │ │ │ - // Combine delimiters into one regular expression via alternation. │ │ │ │ │ - var matcher = RegExp([ │ │ │ │ │ - (settings.escape || noMatch).source, │ │ │ │ │ - (settings.interpolate || noMatch).source, │ │ │ │ │ - (settings.evaluate || noMatch).source │ │ │ │ │ - ].join('|') + '|$', 'g'); │ │ │ │ │ - │ │ │ │ │ - // Compile the template source, escaping string literals appropriately. │ │ │ │ │ - var index = 0; │ │ │ │ │ - var source = "__p+='"; │ │ │ │ │ - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { │ │ │ │ │ - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); │ │ │ │ │ - index = offset + match.length; │ │ │ │ │ - │ │ │ │ │ - if (escape) { │ │ │ │ │ - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; │ │ │ │ │ - } else if (interpolate) { │ │ │ │ │ - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; │ │ │ │ │ - } else if (evaluate) { │ │ │ │ │ - source += "';\n" + evaluate + "\n__p+='"; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // Adobe VMs need the match returned to produce the correct offset. │ │ │ │ │ - return match; │ │ │ │ │ - }); │ │ │ │ │ - source += "';\n"; │ │ │ │ │ - │ │ │ │ │ - var argument = settings.variable; │ │ │ │ │ - if (argument) { │ │ │ │ │ - // Insure against third-party code injection. (CVE-2021-23358) │ │ │ │ │ - if (!bareIdentifier.test(argument)) throw new Error( │ │ │ │ │ - 'variable is not a bare identifier: ' + argument │ │ │ │ │ - ); │ │ │ │ │ - } else { │ │ │ │ │ - // If a variable is not specified, place data values in local scope. │ │ │ │ │ - source = 'with(obj||{}){\n' + source + '}\n'; │ │ │ │ │ - argument = 'obj'; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - source = "var __t,__p='',__j=Array.prototype.join," + │ │ │ │ │ - "print=function(){__p+=__j.call(arguments,'');};\n" + │ │ │ │ │ - source + 'return __p;\n'; │ │ │ │ │ - │ │ │ │ │ - var render; │ │ │ │ │ - try { │ │ │ │ │ - render = new Function(argument, '_', source); │ │ │ │ │ - } catch (e) { │ │ │ │ │ - e.source = source; │ │ │ │ │ - throw e; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - var template = function(data) { │ │ │ │ │ - return render.call(this, data, underscore); │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - // Provide the compiled source as a convenience for precompilation. │ │ │ │ │ - template.source = 'function(' + argument + '){\n' + source + '}'; │ │ │ │ │ - │ │ │ │ │ - return template; │ │ │ │ │ + // Invokes `interceptor` with the `obj` and then returns `obj`. │ │ │ │ │ + // The primary purpose of this method is to "tap into" a method chain, in │ │ │ │ │ + // order to perform operations on intermediate results within the chain. │ │ │ │ │ + function tap(obj, interceptor) { │ │ │ │ │ + interceptor(obj); │ │ │ │ │ + return obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return template; │ │ │ │ │ + return tap; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index142.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,103 @@ │ │ │ │ │ -define(['./index148'], (function(underscore) { │ │ │ │ │ +define(['./index47', './index147', './index144'], (function(defaults, underscore, templateSettings) { │ │ │ │ │ │ │ │ │ │ - // By default, Underscore uses ERB-style template delimiters. Change the │ │ │ │ │ - // following template settings to use alternative delimiters. │ │ │ │ │ - var templateSettings = underscore.templateSettings = { │ │ │ │ │ - evaluate: /<%([\s\S]+?)%>/g, │ │ │ │ │ - interpolate: /<%=([\s\S]+?)%>/g, │ │ │ │ │ - escape: /<%-([\s\S]+?)%>/g │ │ │ │ │ + // When customizing `_.templateSettings`, if you don't want to define an │ │ │ │ │ + // interpolation, evaluation or escaping regex, we need one that is │ │ │ │ │ + // guaranteed not to match. │ │ │ │ │ + var noMatch = /(.)^/; │ │ │ │ │ + │ │ │ │ │ + // Certain characters need to be escaped so that they can be put into a │ │ │ │ │ + // string literal. │ │ │ │ │ + var escapes = { │ │ │ │ │ + "'": "'", │ │ │ │ │ + '\\': '\\', │ │ │ │ │ + '\r': 'r', │ │ │ │ │ + '\n': 'n', │ │ │ │ │ + '\u2028': 'u2028', │ │ │ │ │ + '\u2029': 'u2029' │ │ │ │ │ }; │ │ │ │ │ │ │ │ │ │ - return templateSettings; │ │ │ │ │ + var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; │ │ │ │ │ + │ │ │ │ │ + function escapeChar(match) { │ │ │ │ │ + return '\\' + escapes[match]; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // In order to prevent third-party code injection through │ │ │ │ │ + // `_.templateSettings.variable`, we test it against the following regular │ │ │ │ │ + // expression. It is intentionally a bit more liberal than just matching valid │ │ │ │ │ + // identifiers, but still prevents possible loopholes through defaults or │ │ │ │ │ + // destructuring assignment. │ │ │ │ │ + var bareIdentifier = /^\s*(\w|\$)+\s*$/; │ │ │ │ │ + │ │ │ │ │ + // JavaScript micro-templating, similar to John Resig's implementation. │ │ │ │ │ + // Underscore templating handles arbitrary delimiters, preserves whitespace, │ │ │ │ │ + // and correctly escapes quotes within interpolated code. │ │ │ │ │ + // NB: `oldSettings` only exists for backwards compatibility. │ │ │ │ │ + function template(text, settings, oldSettings) { │ │ │ │ │ + if (!settings && oldSettings) settings = oldSettings; │ │ │ │ │ + settings = defaults({}, settings, underscore.templateSettings); │ │ │ │ │ + │ │ │ │ │ + // Combine delimiters into one regular expression via alternation. │ │ │ │ │ + var matcher = RegExp([ │ │ │ │ │ + (settings.escape || noMatch).source, │ │ │ │ │ + (settings.interpolate || noMatch).source, │ │ │ │ │ + (settings.evaluate || noMatch).source │ │ │ │ │ + ].join('|') + '|$', 'g'); │ │ │ │ │ + │ │ │ │ │ + // Compile the template source, escaping string literals appropriately. │ │ │ │ │ + var index = 0; │ │ │ │ │ + var source = "__p+='"; │ │ │ │ │ + text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { │ │ │ │ │ + source += text.slice(index, offset).replace(escapeRegExp, escapeChar); │ │ │ │ │ + index = offset + match.length; │ │ │ │ │ + │ │ │ │ │ + if (escape) { │ │ │ │ │ + source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; │ │ │ │ │ + } else if (interpolate) { │ │ │ │ │ + source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; │ │ │ │ │ + } else if (evaluate) { │ │ │ │ │ + source += "';\n" + evaluate + "\n__p+='"; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // Adobe VMs need the match returned to produce the correct offset. │ │ │ │ │ + return match; │ │ │ │ │ + }); │ │ │ │ │ + source += "';\n"; │ │ │ │ │ + │ │ │ │ │ + var argument = settings.variable; │ │ │ │ │ + if (argument) { │ │ │ │ │ + // Insure against third-party code injection. (CVE-2021-23358) │ │ │ │ │ + if (!bareIdentifier.test(argument)) throw new Error( │ │ │ │ │ + 'variable is not a bare identifier: ' + argument │ │ │ │ │ + ); │ │ │ │ │ + } else { │ │ │ │ │ + // If a variable is not specified, place data values in local scope. │ │ │ │ │ + source = 'with(obj||{}){\n' + source + '}\n'; │ │ │ │ │ + argument = 'obj'; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + source = "var __t,__p='',__j=Array.prototype.join," + │ │ │ │ │ + "print=function(){__p+=__j.call(arguments,'');};\n" + │ │ │ │ │ + source + 'return __p;\n'; │ │ │ │ │ + │ │ │ │ │ + var render; │ │ │ │ │ + try { │ │ │ │ │ + render = new Function(argument, '_', source); │ │ │ │ │ + } catch (e) { │ │ │ │ │ + e.source = source; │ │ │ │ │ + throw e; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + var template = function(data) { │ │ │ │ │ + return render.call(this, data, underscore); │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + // Provide the compiled source as a convenience for precompilation. │ │ │ │ │ + template.source = 'function(' + argument + '){\n' + source + '}'; │ │ │ │ │ + │ │ │ │ │ + return template; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + return template; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index143.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,51 +1,13 @@ │ │ │ │ │ -define(['./index115'], (function(now) { │ │ │ │ │ +define(['./index23'], (function(_optimizeCb) { │ │ │ │ │ │ │ │ │ │ - // Returns a function, that, when invoked, will only be triggered at most once │ │ │ │ │ - // during a given window of time. Normally, the throttled function will run │ │ │ │ │ - // as much as it can, without ever going more than once per `wait` duration; │ │ │ │ │ - // but if you'd like to disable the execution on the leading edge, pass │ │ │ │ │ - // `{leading: false}`. To disable execution on the trailing edge, ditto. │ │ │ │ │ - function throttle(func, wait, options) { │ │ │ │ │ - var timeout, context, args, result; │ │ │ │ │ - var previous = 0; │ │ │ │ │ - if (!options) options = {}; │ │ │ │ │ - │ │ │ │ │ - var later = function() { │ │ │ │ │ - previous = options.leading === false ? 0 : now(); │ │ │ │ │ - timeout = null; │ │ │ │ │ - result = func.apply(context, args); │ │ │ │ │ - if (!timeout) context = args = null; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - var throttled = function() { │ │ │ │ │ - var _now = now(); │ │ │ │ │ - if (!previous && options.leading === false) previous = _now; │ │ │ │ │ - var remaining = wait - (_now - previous); │ │ │ │ │ - context = this; │ │ │ │ │ - args = arguments; │ │ │ │ │ - if (remaining <= 0 || remaining > wait) { │ │ │ │ │ - if (timeout) { │ │ │ │ │ - clearTimeout(timeout); │ │ │ │ │ - timeout = null; │ │ │ │ │ - } │ │ │ │ │ - previous = _now; │ │ │ │ │ - result = func.apply(context, args); │ │ │ │ │ - if (!timeout) context = args = null; │ │ │ │ │ - } else if (!timeout && options.trailing !== false) { │ │ │ │ │ - timeout = setTimeout(later, remaining); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - throttled.cancel = function() { │ │ │ │ │ - clearTimeout(timeout); │ │ │ │ │ - previous = 0; │ │ │ │ │ - timeout = context = args = null; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return throttled; │ │ │ │ │ + // Run a function **n** times. │ │ │ │ │ + function times(n, iteratee, context) { │ │ │ │ │ + var accum = Array(Math.max(0, n)); │ │ │ │ │ + iteratee = _optimizeCb(iteratee, context, 1); │ │ │ │ │ + for (var i = 0; i < n; i++) accum[i] = iteratee(i); │ │ │ │ │ + return accum; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return throttle; │ │ │ │ │ + return times; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index144.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,13 @@ │ │ │ │ │ -define(['./index24'], (function(_optimizeCb) { │ │ │ │ │ +define(['./index147'], (function(underscore) { │ │ │ │ │ │ │ │ │ │ - // Run a function **n** times. │ │ │ │ │ - function times(n, iteratee, context) { │ │ │ │ │ - var accum = Array(Math.max(0, n)); │ │ │ │ │ - iteratee = _optimizeCb(iteratee, context, 1); │ │ │ │ │ - for (var i = 0; i < n; i++) accum[i] = iteratee(i); │ │ │ │ │ - return accum; │ │ │ │ │ - } │ │ │ │ │ + // By default, Underscore uses ERB-style template delimiters. Change the │ │ │ │ │ + // following template settings to use alternative delimiters. │ │ │ │ │ + var templateSettings = underscore.templateSettings = { │ │ │ │ │ + evaluate: /<%([\s\S]+?)%>/g, │ │ │ │ │ + interpolate: /<%=([\s\S]+?)%>/g, │ │ │ │ │ + escape: /<%-([\s\S]+?)%>/g │ │ │ │ │ + }; │ │ │ │ │ │ │ │ │ │ - return times; │ │ │ │ │ + return templateSettings; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index145.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,51 @@ │ │ │ │ │ -define(['./index77', './index25', './index96', './index20', './index106', './index67', './index154'], (function(isArray, _setup, isString, _isArrayLike, map, identity, values) { │ │ │ │ │ +define(['./index114'], (function(now) { │ │ │ │ │ │ │ │ │ │ - // Safely create a real, live array from anything iterable. │ │ │ │ │ - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; │ │ │ │ │ + // Returns a function, that, when invoked, will only be triggered at most once │ │ │ │ │ + // during a given window of time. Normally, the throttled function will run │ │ │ │ │ + // as much as it can, without ever going more than once per `wait` duration; │ │ │ │ │ + // but if you'd like to disable the execution on the leading edge, pass │ │ │ │ │ + // `{leading: false}`. To disable execution on the trailing edge, ditto. │ │ │ │ │ + function throttle(func, wait, options) { │ │ │ │ │ + var timeout, context, args, result; │ │ │ │ │ + var previous = 0; │ │ │ │ │ + if (!options) options = {}; │ │ │ │ │ │ │ │ │ │ - function toArray(obj) { │ │ │ │ │ - if (!obj) return []; │ │ │ │ │ - if (isArray(obj)) return _setup.slice.call(obj); │ │ │ │ │ - if (isString(obj)) { │ │ │ │ │ - // Keep surrogate pair characters together. │ │ │ │ │ - return obj.match(reStrSymbol); │ │ │ │ │ - } │ │ │ │ │ - if (_isArrayLike(obj)) return map(obj, identity); │ │ │ │ │ - return values(obj); │ │ │ │ │ + var later = function() { │ │ │ │ │ + previous = options.leading === false ? 0 : now(); │ │ │ │ │ + timeout = null; │ │ │ │ │ + result = func.apply(context, args); │ │ │ │ │ + if (!timeout) context = args = null; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + var throttled = function() { │ │ │ │ │ + var _now = now(); │ │ │ │ │ + if (!previous && options.leading === false) previous = _now; │ │ │ │ │ + var remaining = wait - (_now - previous); │ │ │ │ │ + context = this; │ │ │ │ │ + args = arguments; │ │ │ │ │ + if (remaining <= 0 || remaining > wait) { │ │ │ │ │ + if (timeout) { │ │ │ │ │ + clearTimeout(timeout); │ │ │ │ │ + timeout = null; │ │ │ │ │ + } │ │ │ │ │ + previous = _now; │ │ │ │ │ + result = func.apply(context, args); │ │ │ │ │ + if (!timeout) context = args = null; │ │ │ │ │ + } else if (!timeout && options.trailing !== false) { │ │ │ │ │ + timeout = setTimeout(later, remaining); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + throttled.cancel = function() { │ │ │ │ │ + clearTimeout(timeout); │ │ │ │ │ + previous = 0; │ │ │ │ │ + timeout = context = args = null; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return throttled; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return toArray; │ │ │ │ │ + return throttle; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index146.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,19 @@ │ │ │ │ │ -define(['./index148', './index77'], (function(underscore, isArray) { │ │ │ │ │ +define(['./index104', './index26', './index95', './index20', './index105', './index68', './index152'], (function(isArray, _setup, isString, _isArrayLike, map, identity, values) { │ │ │ │ │ │ │ │ │ │ - // Normalize a (deep) property `path` to array. │ │ │ │ │ - // Like `_.iteratee`, this function can be customized. │ │ │ │ │ - function toPath(path) { │ │ │ │ │ - return isArray(path) ? path : [path]; │ │ │ │ │ + // Safely create a real, live array from anything iterable. │ │ │ │ │ + var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; │ │ │ │ │ + │ │ │ │ │ + function toArray(obj) { │ │ │ │ │ + if (!obj) return []; │ │ │ │ │ + if (isArray(obj)) return _setup.slice.call(obj); │ │ │ │ │ + if (isString(obj)) { │ │ │ │ │ + // Keep surrogate pair characters together. │ │ │ │ │ + return obj.match(reStrSymbol); │ │ │ │ │ + } │ │ │ │ │ + if (_isArrayLike(obj)) return map(obj, identity); │ │ │ │ │ + return values(obj); │ │ │ │ │ } │ │ │ │ │ - underscore.toPath = toPath; │ │ │ │ │ │ │ │ │ │ - return toPath; │ │ │ │ │ + return toArray; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index147.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,30 +1,29 @@ │ │ │ │ │ -define(['./index148', './index50', './index25', './index4'], (function(underscore, each, _setup, _chainResult) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ - // Add all mutator `Array` functions to the wrapper. │ │ │ │ │ - each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { │ │ │ │ │ - var method = _setup.ArrayProto[name]; │ │ │ │ │ - underscore.prototype[name] = function() { │ │ │ │ │ - var obj = this._wrapped; │ │ │ │ │ - if (obj != null) { │ │ │ │ │ - method.apply(obj, arguments); │ │ │ │ │ - if ((name === 'shift' || name === 'splice') && obj.length === 0) { │ │ │ │ │ - delete obj[0]; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return _chainResult(this, obj); │ │ │ │ │ - }; │ │ │ │ │ - }); │ │ │ │ │ - │ │ │ │ │ - // Add all accessor `Array` functions to the wrapper. │ │ │ │ │ - each(['concat', 'join', 'slice'], function(name) { │ │ │ │ │ - var method = _setup.ArrayProto[name]; │ │ │ │ │ - underscore.prototype[name] = function() { │ │ │ │ │ - var obj = this._wrapped; │ │ │ │ │ - if (obj != null) obj = method.apply(obj, arguments); │ │ │ │ │ - return _chainResult(this, obj); │ │ │ │ │ - }; │ │ │ │ │ - }); │ │ │ │ │ + // If Underscore is called as a function, it returns a wrapped object that can │ │ │ │ │ + // be used OO-style. This wrapper holds altered versions of all functions added │ │ │ │ │ + // through `_.mixin`. Wrapped objects may be chained. │ │ │ │ │ + function _(obj) { │ │ │ │ │ + if (obj instanceof _) return obj; │ │ │ │ │ + if (!(this instanceof _)) return new _(obj); │ │ │ │ │ + this._wrapped = obj; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return underscore; │ │ │ │ │ + _.VERSION = _setup.VERSION; │ │ │ │ │ + │ │ │ │ │ + // Extracts the result from a wrapped and chained object. │ │ │ │ │ + _.prototype.value = function() { │ │ │ │ │ + return this._wrapped; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + // Provide unwrapping proxies for some methods used in engine operations │ │ │ │ │ + // such as arithmetic and JSON stringification. │ │ │ │ │ + _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; │ │ │ │ │ + │ │ │ │ │ + _.prototype.toString = function() { │ │ │ │ │ + return String(this._wrapped); │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return _; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index148.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,29 +1,8 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index7', './index31'], (function(_createEscaper, _unescapeMap) { │ │ │ │ │ │ │ │ │ │ - // If Underscore is called as a function, it returns a wrapped object that can │ │ │ │ │ - // be used OO-style. This wrapper holds altered versions of all functions added │ │ │ │ │ - // through `_.mixin`. Wrapped objects may be chained. │ │ │ │ │ - function _(obj) { │ │ │ │ │ - if (obj instanceof _) return obj; │ │ │ │ │ - if (!(this instanceof _)) return new _(obj); │ │ │ │ │ - this._wrapped = obj; │ │ │ │ │ - } │ │ │ │ │ + // Function for unescaping strings from HTML interpolation. │ │ │ │ │ + var unescape = _createEscaper(_unescapeMap); │ │ │ │ │ │ │ │ │ │ - _.VERSION = _setup.VERSION; │ │ │ │ │ - │ │ │ │ │ - // Extracts the result from a wrapped and chained object. │ │ │ │ │ - _.prototype.value = function() { │ │ │ │ │ - return this._wrapped; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - // Provide unwrapping proxies for some methods used in engine operations │ │ │ │ │ - // such as arithmetic and JSON stringification. │ │ │ │ │ - _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; │ │ │ │ │ - │ │ │ │ │ - _.prototype.toString = function() { │ │ │ │ │ - return String(this._wrapped); │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return _; │ │ │ │ │ + return unescape; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index149.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,11 @@ │ │ │ │ │ -define(['./index6', './index31'], (function(_createEscaper, _unescapeMap) { │ │ │ │ │ +define(['./index131', './index158', './index18'], (function(restArguments, uniq, _flatten) { │ │ │ │ │ │ │ │ │ │ - // Function for unescaping strings from HTML interpolation. │ │ │ │ │ - var unescape = _createEscaper(_unescapeMap); │ │ │ │ │ + // Produce an array that contains the union: each distinct element from all of │ │ │ │ │ + // the passed-in arrays. │ │ │ │ │ + var union = restArguments(function(arrays) { │ │ │ │ │ + return uniq(_flatten(arrays, true, true)); │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return unescape; │ │ │ │ │ + return union; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index15.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index26'], (function(_shallowProperty) { │ │ │ │ │ +define(['./index39'], (function(_shallowProperty) { │ │ │ │ │ │ │ │ │ │ - // Internal helper to obtain the `byteLength` property of an object. │ │ │ │ │ - var getByteLength = _shallowProperty('byteLength'); │ │ │ │ │ + // Internal helper to obtain the `length` property of an object. │ │ │ │ │ + var getLength = _shallowProperty('length'); │ │ │ │ │ │ │ │ │ │ - return getByteLength; │ │ │ │ │ + return getLength; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index150.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,14 @@ │ │ │ │ │ -define(['./index132', './index151', './index14'], (function(restArguments, uniq, _flatten) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Produce an array that contains the union: each distinct element from all of │ │ │ │ │ - // the passed-in arrays. │ │ │ │ │ - var union = restArguments(function(arrays) { │ │ │ │ │ - return uniq(_flatten(arrays, true, true)); │ │ │ │ │ - }); │ │ │ │ │ + // Generate a unique integer id (unique within the entire client session). │ │ │ │ │ + // Useful for temporary DOM ids. │ │ │ │ │ + var idCounter = 0; │ │ │ │ │ │ │ │ │ │ - return union; │ │ │ │ │ + function uniqueId(prefix) { │ │ │ │ │ + var id = ++idCounter + ''; │ │ │ │ │ + return prefix ? prefix + id : id; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + return uniqueId; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index151.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,37 +1,17 @@ │ │ │ │ │ -define(['./index79', './index2', './index16', './index42'], (function(isBoolean, _cb, _getLength, contains) { │ │ │ │ │ +define(['./index108', './index15', './index122'], (function(max, _getLength, pluck) { │ │ │ │ │ │ │ │ │ │ - // Produce a duplicate-free version of the array. If the array has already │ │ │ │ │ - // been sorted, you have the option of using a faster algorithm. │ │ │ │ │ - // The faster algorithm will not work with an iteratee if the iteratee │ │ │ │ │ - // is not a one-to-one function, so providing an iteratee will disable │ │ │ │ │ - // the faster algorithm. │ │ │ │ │ - function uniq(array, isSorted, iteratee, context) { │ │ │ │ │ - if (!isBoolean(isSorted)) { │ │ │ │ │ - context = iteratee; │ │ │ │ │ - iteratee = isSorted; │ │ │ │ │ - isSorted = false; │ │ │ │ │ - } │ │ │ │ │ - if (iteratee != null) iteratee = _cb(iteratee, context); │ │ │ │ │ - var result = []; │ │ │ │ │ - var seen = []; │ │ │ │ │ - for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ - var value = array[i], │ │ │ │ │ - computed = iteratee ? iteratee(value, i, array) : value; │ │ │ │ │ - if (isSorted && !iteratee) { │ │ │ │ │ - if (!i || seen !== computed) result.push(value); │ │ │ │ │ - seen = computed; │ │ │ │ │ - } else if (iteratee) { │ │ │ │ │ - if (!contains(seen, computed)) { │ │ │ │ │ - seen.push(computed); │ │ │ │ │ - result.push(value); │ │ │ │ │ - } │ │ │ │ │ - } else if (!contains(result, value)) { │ │ │ │ │ - result.push(value); │ │ │ │ │ - } │ │ │ │ │ + // Complement of zip. Unzip accepts an array of arrays and groups │ │ │ │ │ + // each array's elements on shared indices. │ │ │ │ │ + function unzip(array) { │ │ │ │ │ + var length = (array && max(array, _getLength).length) || 0; │ │ │ │ │ + var result = Array(length); │ │ │ │ │ + │ │ │ │ │ + for (var index = 0; index < length; index++) { │ │ │ │ │ + result[index] = pluck(array, index); │ │ │ │ │ } │ │ │ │ │ return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return uniq; │ │ │ │ │ + return unzip; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index152.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,16 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index102'], (function(keys) { │ │ │ │ │ │ │ │ │ │ - // Generate a unique integer id (unique within the entire client session). │ │ │ │ │ - // Useful for temporary DOM ids. │ │ │ │ │ - var idCounter = 0; │ │ │ │ │ - │ │ │ │ │ - function uniqueId(prefix) { │ │ │ │ │ - var id = ++idCounter + ''; │ │ │ │ │ - return prefix ? prefix + id : id; │ │ │ │ │ + // Retrieve the values of an object's properties. │ │ │ │ │ + function values(obj) { │ │ │ │ │ + var _keys = keys(obj); │ │ │ │ │ + var length = _keys.length; │ │ │ │ │ + var values = Array(length); │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + values[i] = obj[_keys[i]]; │ │ │ │ │ + } │ │ │ │ │ + return values; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return uniqueId; │ │ │ │ │ + return values; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index153.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,11 @@ │ │ │ │ │ -define(['./index109', './index16', './index123'], (function(max, _getLength, pluck) { │ │ │ │ │ +define(['./index56', './index107'], (function(filter, matcher) { │ │ │ │ │ │ │ │ │ │ - // Complement of zip. Unzip accepts an array of arrays and groups │ │ │ │ │ - // each array's elements on shared indices. │ │ │ │ │ - function unzip(array) { │ │ │ │ │ - var length = (array && max(array, _getLength).length) || 0; │ │ │ │ │ - var result = Array(length); │ │ │ │ │ - │ │ │ │ │ - for (var index = 0; index < length; index++) { │ │ │ │ │ - result[index] = pluck(array, index); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ + // Convenience version of a common use case of `_.filter`: selecting only │ │ │ │ │ + // objects containing specific `key:value` pairs. │ │ │ │ │ + function where(obj, attrs) { │ │ │ │ │ + return filter(obj, matcher(attrs)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return unzip; │ │ │ │ │ + return where; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index154.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,16 +1,10 @@ │ │ │ │ │ -define(['./index134'], (function(keys) { │ │ │ │ │ +define(['./index131', './index50'], (function(restArguments, difference) { │ │ │ │ │ │ │ │ │ │ - // Retrieve the values of an object's properties. │ │ │ │ │ - function values(obj) { │ │ │ │ │ - var _keys = keys(obj); │ │ │ │ │ - var length = _keys.length; │ │ │ │ │ - var values = Array(length); │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - values[i] = obj[_keys[i]]; │ │ │ │ │ - } │ │ │ │ │ - return values; │ │ │ │ │ - } │ │ │ │ │ + // Return a version of the array that does not contain the specified value(s). │ │ │ │ │ + var without = restArguments(function(array, otherArrays) { │ │ │ │ │ + return difference(array, otherArrays); │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return values; │ │ │ │ │ + return without; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index155.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,12 @@ │ │ │ │ │ -define(['./index55', './index108'], (function(filter, matcher) { │ │ │ │ │ +define(['./index120'], (function(partial) { │ │ │ │ │ │ │ │ │ │ - // Convenience version of a common use case of `_.filter`: selecting only │ │ │ │ │ - // objects containing specific `key:value` pairs. │ │ │ │ │ - function where(obj, attrs) { │ │ │ │ │ - return filter(obj, matcher(attrs)); │ │ │ │ │ + // Returns the first function passed as an argument to the second, │ │ │ │ │ + // allowing you to adjust arguments, run code before and after, and │ │ │ │ │ + // conditionally execute the original function. │ │ │ │ │ + function wrap(func, wrapper) { │ │ │ │ │ + return partial(wrapper, func); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return where; │ │ │ │ │ + return wrap; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index156.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,9 @@ │ │ │ │ │ -define(['./index132', './index49'], (function(restArguments, difference) { │ │ │ │ │ +define(['./index131', './index151'], (function(restArguments, unzip) { │ │ │ │ │ │ │ │ │ │ - // Return a version of the array that does not contain the specified value(s). │ │ │ │ │ - var without = restArguments(function(array, otherArrays) { │ │ │ │ │ - return difference(array, otherArrays); │ │ │ │ │ - }); │ │ │ │ │ + // Zip together multiple lists into a single array -- elements that share │ │ │ │ │ + // an index go together. │ │ │ │ │ + var zip = restArguments(unzip); │ │ │ │ │ │ │ │ │ │ - return without; │ │ │ │ │ + return zip; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index157.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,26 @@ │ │ │ │ │ -define(['./index120'], (function(partial) { │ │ │ │ │ +define(['./index131', './index87', './index23', './index33', './index24', './index18'], (function(restArguments, isFunction, _optimizeCb, allKeys, _keyInObj, _flatten) { │ │ │ │ │ │ │ │ │ │ - // Returns the first function passed as an argument to the second, │ │ │ │ │ - // allowing you to adjust arguments, run code before and after, and │ │ │ │ │ - // conditionally execute the original function. │ │ │ │ │ - function wrap(func, wrapper) { │ │ │ │ │ - return partial(wrapper, func); │ │ │ │ │ - } │ │ │ │ │ + // Return a copy of the object only containing the allowed properties. │ │ │ │ │ + var pick = restArguments(function(obj, keys) { │ │ │ │ │ + var result = {}, │ │ │ │ │ + iteratee = keys[0]; │ │ │ │ │ + if (obj == null) return result; │ │ │ │ │ + if (isFunction(iteratee)) { │ │ │ │ │ + if (keys.length > 1) iteratee = _optimizeCb(iteratee, keys[1]); │ │ │ │ │ + keys = allKeys(obj); │ │ │ │ │ + } else { │ │ │ │ │ + iteratee = _keyInObj; │ │ │ │ │ + keys = _flatten(keys, false, false); │ │ │ │ │ + obj = Object(obj); │ │ │ │ │ + } │ │ │ │ │ + for (var i = 0, length = keys.length; i < length; i++) { │ │ │ │ │ + var key = keys[i]; │ │ │ │ │ + var value = obj[key]; │ │ │ │ │ + if (iteratee(value, key, obj)) result[key] = value; │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return wrap; │ │ │ │ │ + return pick; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index158.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,37 @@ │ │ │ │ │ -define(['./index132', './index153'], (function(restArguments, unzip) { │ │ │ │ │ +define(['./index79', './index6', './index15', './index43'], (function(isBoolean, _cb, _getLength, contains) { │ │ │ │ │ │ │ │ │ │ - // Zip together multiple lists into a single array -- elements that share │ │ │ │ │ - // an index go together. │ │ │ │ │ - var zip = restArguments(unzip); │ │ │ │ │ + // Produce a duplicate-free version of the array. If the array has already │ │ │ │ │ + // been sorted, you have the option of using a faster algorithm. │ │ │ │ │ + // The faster algorithm will not work with an iteratee if the iteratee │ │ │ │ │ + // is not a one-to-one function, so providing an iteratee will disable │ │ │ │ │ + // the faster algorithm. │ │ │ │ │ + function uniq(array, isSorted, iteratee, context) { │ │ │ │ │ + if (!isBoolean(isSorted)) { │ │ │ │ │ + context = iteratee; │ │ │ │ │ + iteratee = isSorted; │ │ │ │ │ + isSorted = false; │ │ │ │ │ + } │ │ │ │ │ + if (iteratee != null) iteratee = _cb(iteratee, context); │ │ │ │ │ + var result = []; │ │ │ │ │ + var seen = []; │ │ │ │ │ + for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ + var value = array[i], │ │ │ │ │ + computed = iteratee ? iteratee(value, i, array) : value; │ │ │ │ │ + if (isSorted && !iteratee) { │ │ │ │ │ + if (!i || seen !== computed) result.push(value); │ │ │ │ │ + seen = computed; │ │ │ │ │ + } else if (iteratee) { │ │ │ │ │ + if (!contains(seen, computed)) { │ │ │ │ │ + seen.push(computed); │ │ │ │ │ + result.push(value); │ │ │ │ │ + } │ │ │ │ │ + } else if (!contains(result, value)) { │ │ │ │ │ + result.push(value); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return zip; │ │ │ │ │ + return uniq; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index159.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,27 +1,12 @@ │ │ │ │ │ -define(['./index20', './index154', './index16', './index126', './index145'], (function(_isArrayLike, values, _getLength, random, toArray) { │ │ │ │ │ +define(['./index147', './index104'], (function(underscore, isArray) { │ │ │ │ │ │ │ │ │ │ - // Sample **n** random values from a collection using the modern version of the │ │ │ │ │ - // [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). │ │ │ │ │ - // If **n** is not specified, returns a single random element. │ │ │ │ │ - // The internal `guard` argument allows it to work with `_.map`. │ │ │ │ │ - function sample(obj, n, guard) { │ │ │ │ │ - if (n == null || guard) { │ │ │ │ │ - if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ - return obj[random(obj.length - 1)]; │ │ │ │ │ - } │ │ │ │ │ - var sample = toArray(obj); │ │ │ │ │ - var length = _getLength(sample); │ │ │ │ │ - n = Math.max(Math.min(n, length), 0); │ │ │ │ │ - var last = length - 1; │ │ │ │ │ - for (var index = 0; index < n; index++) { │ │ │ │ │ - var rand = random(index, last); │ │ │ │ │ - var temp = sample[index]; │ │ │ │ │ - sample[index] = sample[rand]; │ │ │ │ │ - sample[rand] = temp; │ │ │ │ │ - } │ │ │ │ │ - return sample.slice(0, n); │ │ │ │ │ + // Normalize a (deep) property `path` to array. │ │ │ │ │ + // Like `_.iteratee`, this function can be customized. │ │ │ │ │ + function toPath(path) { │ │ │ │ │ + return isArray(path) ? path : [path]; │ │ │ │ │ } │ │ │ │ │ + underscore.toPath = toPath; │ │ │ │ │ │ │ │ │ │ - return sample; │ │ │ │ │ + return toPath; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index16.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,21 @@ │ │ │ │ │ -define(['./index26'], (function(_shallowProperty) { │ │ │ │ │ +define(['./index6', './index51'], (function(_cb, each) { │ │ │ │ │ │ │ │ │ │ - // Internal helper to obtain the `length` property of an object. │ │ │ │ │ - var getLength = _shallowProperty('length'); │ │ │ │ │ + // An internal function used for aggregate "group by" operations. │ │ │ │ │ + function group(behavior, partition) { │ │ │ │ │ + return function(obj, iteratee, context) { │ │ │ │ │ + var result = partition ? [ │ │ │ │ │ + [], │ │ │ │ │ + [] │ │ │ │ │ + ] : {}; │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + each(obj, function(value, index) { │ │ │ │ │ + var key = iteratee(value, index, obj); │ │ │ │ │ + behavior(result, value, key); │ │ │ │ │ + }); │ │ │ │ │ + return result; │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return getLength; │ │ │ │ │ + return group; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index160.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,30 @@ │ │ │ │ │ -define(['./index159'], (function(sample) { │ │ │ │ │ +define(['./index147', './index51', './index26', './index2'], (function(underscore, each, _setup, _chainResult) { │ │ │ │ │ │ │ │ │ │ - // Shuffle a collection. │ │ │ │ │ - function shuffle(obj) { │ │ │ │ │ - return sample(obj, Infinity); │ │ │ │ │ - } │ │ │ │ │ + // Add all mutator `Array` functions to the wrapper. │ │ │ │ │ + each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { │ │ │ │ │ + var method = _setup.ArrayProto[name]; │ │ │ │ │ + underscore.prototype[name] = function() { │ │ │ │ │ + var obj = this._wrapped; │ │ │ │ │ + if (obj != null) { │ │ │ │ │ + method.apply(obj, arguments); │ │ │ │ │ + if ((name === 'shift' || name === 'splice') && obj.length === 0) { │ │ │ │ │ + delete obj[0]; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return _chainResult(this, obj); │ │ │ │ │ + }; │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return shuffle; │ │ │ │ │ + // Add all accessor `Array` functions to the wrapper. │ │ │ │ │ + each(['concat', 'join', 'slice'], function(name) { │ │ │ │ │ + var method = _setup.ArrayProto[name]; │ │ │ │ │ + underscore.prototype[name] = function() { │ │ │ │ │ + var obj = this._wrapped; │ │ │ │ │ + if (obj != null) obj = method.apply(obj, arguments); │ │ │ │ │ + return _chainResult(this, obj); │ │ │ │ │ + }; │ │ │ │ │ + }); │ │ │ │ │ + │ │ │ │ │ + return underscore; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index17.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,21 +1,10 @@ │ │ │ │ │ -define(['./index2', './index50'], (function(_cb, each) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ - // An internal function used for aggregate "group by" operations. │ │ │ │ │ - function group(behavior, partition) { │ │ │ │ │ - return function(obj, iteratee, context) { │ │ │ │ │ - var result = partition ? [ │ │ │ │ │ - [], │ │ │ │ │ - [] │ │ │ │ │ - ] : {}; │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - each(obj, function(value, index) { │ │ │ │ │ - var key = iteratee(value, index, obj); │ │ │ │ │ - behavior(result, value, key); │ │ │ │ │ - }); │ │ │ │ │ - return result; │ │ │ │ │ - }; │ │ │ │ │ + // Internal function to check whether `key` is an own property name of `obj`. │ │ │ │ │ + function has(obj, key) { │ │ │ │ │ + return obj != null && _setup.hasOwnProperty.call(obj, key); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return group; │ │ │ │ │ + return has; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index18.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,33 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index15', './index20', './index104', './index140'], (function(_getLength, _isArrayLike, isArray, isArguments) { │ │ │ │ │ │ │ │ │ │ - // Internal function to check whether `key` is an own property name of `obj`. │ │ │ │ │ - function has(obj, key) { │ │ │ │ │ - return obj != null && _setup.hasOwnProperty.call(obj, key); │ │ │ │ │ + // Internal implementation of a recursive `flatten` function. │ │ │ │ │ + function flatten(input, depth, strict, output) { │ │ │ │ │ + output = output || []; │ │ │ │ │ + if (!depth && depth !== 0) { │ │ │ │ │ + depth = Infinity; │ │ │ │ │ + } else if (depth <= 0) { │ │ │ │ │ + return output.concat(input); │ │ │ │ │ + } │ │ │ │ │ + var idx = output.length; │ │ │ │ │ + for (var i = 0, length = _getLength(input); i < length; i++) { │ │ │ │ │ + var value = input[i]; │ │ │ │ │ + if (_isArrayLike(value) && (isArray(value) || isArguments(value))) { │ │ │ │ │ + // Flatten current level of array or arguments object. │ │ │ │ │ + if (depth > 1) { │ │ │ │ │ + flatten(value, depth - 1, strict, output); │ │ │ │ │ + idx = output.length; │ │ │ │ │ + } else { │ │ │ │ │ + var j = 0, │ │ │ │ │ + len = value.length; │ │ │ │ │ + while (j < len) output[idx++] = value[j++]; │ │ │ │ │ + } │ │ │ │ │ + } else if (!strict) { │ │ │ │ │ + output[idx++] = value; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return output; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return has; │ │ │ │ │ + return flatten; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index2.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,10 @@ │ │ │ │ │ -define(['./index148', './index', './index135'], (function(underscore, _baseIteratee, iteratee) { │ │ │ │ │ +define(['./index147'], (function(underscore) { │ │ │ │ │ │ │ │ │ │ - // The function we call internally to generate a callback. It invokes │ │ │ │ │ - // `_.iteratee` if overridden, otherwise `baseIteratee`. │ │ │ │ │ - function cb(value, context, argCount) { │ │ │ │ │ - if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context); │ │ │ │ │ - return _baseIteratee(value, context, argCount); │ │ │ │ │ + // Helper function to continue chaining intermediate results. │ │ │ │ │ + function chainResult(instance, obj) { │ │ │ │ │ + return instance._chain ? underscore(obj).chain() : obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return cb; │ │ │ │ │ + return chainResult; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index20.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index10', './index16'], (function(_createSizePropertyCheck, _getLength) { │ │ │ │ │ +define(['./index11', './index15'], (function(_createSizePropertyCheck, _getLength) { │ │ │ │ │ │ │ │ │ │ // Internal helper for collection methods to determine whether a collection │ │ │ │ │ // should be iterated as an array or as an object. │ │ │ │ │ // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength │ │ │ │ │ // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 │ │ │ │ │ var isArrayLike = _createSizePropertyCheck(_getLength); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index21.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index10', './index15'], (function(_createSizePropertyCheck, _getByteLength) { │ │ │ │ │ +define(['./index11', './index13'], (function(_createSizePropertyCheck, _getByteLength) { │ │ │ │ │ │ │ │ │ │ // Internal helper to determine whether we should spend extensive checks against │ │ │ │ │ // `ArrayBuffer` et al. │ │ │ │ │ var isBufferLike = _createSizePropertyCheck(_getByteLength); │ │ │ │ │ │ │ │ │ │ return isBufferLike; │ │ │ ├── ./usr/share/nodejs/underscore/amd/index22.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,42 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['exports', './index15', './index87', './index33'], (function(exports, _getLength, isFunction, allKeys) { │ │ │ │ │ │ │ │ │ │ - // Internal `_.pick` helper function to determine whether `key` is an enumerable │ │ │ │ │ - // property name of `obj`. │ │ │ │ │ - function keyInObj(value, key, obj) { │ │ │ │ │ - return key in obj; │ │ │ │ │ + // Since the regular `Object.prototype.toString` type tests don't work for │ │ │ │ │ + // some types in IE 11, we use a fingerprinting heuristic instead, based │ │ │ │ │ + // on the methods. It's not great, but it's the best we got. │ │ │ │ │ + // The fingerprint method lists are defined below. │ │ │ │ │ + function ie11fingerprint(methods) { │ │ │ │ │ + var length = _getLength(methods); │ │ │ │ │ + return function(obj) { │ │ │ │ │ + if (obj == null) return false; │ │ │ │ │ + // `Map`, `WeakMap` and `Set` have no enumerable keys. │ │ │ │ │ + var keys = allKeys(obj); │ │ │ │ │ + if (_getLength(keys)) return false; │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + if (!isFunction(obj[methods[i]])) return false; │ │ │ │ │ + } │ │ │ │ │ + // If we are testing against `WeakMap`, we need to ensure that │ │ │ │ │ + // `obj` doesn't have a `forEach` method in order to distinguish │ │ │ │ │ + // it from a regular `Map`. │ │ │ │ │ + return methods !== weakMapMethods || !isFunction(obj[forEachName]); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return keyInObj; │ │ │ │ │ + // In the interest of compact minification, we write │ │ │ │ │ + // each string in the fingerprints only once. │ │ │ │ │ + var forEachName = 'forEach', │ │ │ │ │ + hasName = 'has', │ │ │ │ │ + commonInit = ['clear', 'delete'], │ │ │ │ │ + mapTail = ['get', hasName, 'set']; │ │ │ │ │ + │ │ │ │ │ + // `Map`, `WeakMap` and `Set` each have slightly different │ │ │ │ │ + // combinations of the above sublists. │ │ │ │ │ + var mapMethods = commonInit.concat(forEachName, mapTail), │ │ │ │ │ + weakMapMethods = commonInit.concat(mapTail), │ │ │ │ │ + setMethods = ['add'].concat(commonInit, forEachName, hasName); │ │ │ │ │ + │ │ │ │ │ + exports.ie11fingerprint = ie11fingerprint; │ │ │ │ │ + exports.mapMethods = mapMethods; │ │ │ │ │ + exports.setMethods = setMethods; │ │ │ │ │ + exports.weakMapMethods = weakMapMethods; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index23.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,42 +1,30 @@ │ │ │ │ │ -define(['exports', './index16', './index87', './index33'], (function(exports, _getLength, isFunction, allKeys) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Since the regular `Object.prototype.toString` type tests don't work for │ │ │ │ │ - // some types in IE 11, we use a fingerprinting heuristic instead, based │ │ │ │ │ - // on the methods. It's not great, but it's the best we got. │ │ │ │ │ - // The fingerprint method lists are defined below. │ │ │ │ │ - function ie11fingerprint(methods) { │ │ │ │ │ - var length = _getLength(methods); │ │ │ │ │ - return function(obj) { │ │ │ │ │ - if (obj == null) return false; │ │ │ │ │ - // `Map`, `WeakMap` and `Set` have no enumerable keys. │ │ │ │ │ - var keys = allKeys(obj); │ │ │ │ │ - if (_getLength(keys)) return false; │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - if (!isFunction(obj[methods[i]])) return false; │ │ │ │ │ - } │ │ │ │ │ - // If we are testing against `WeakMap`, we need to ensure that │ │ │ │ │ - // `obj` doesn't have a `forEach` method in order to distinguish │ │ │ │ │ - // it from a regular `Map`. │ │ │ │ │ - return methods !== weakMapMethods || !isFunction(obj[forEachName]); │ │ │ │ │ + // Internal function that returns an efficient (for current engines) version │ │ │ │ │ + // of the passed-in callback, to be repeatedly applied in other Underscore │ │ │ │ │ + // functions. │ │ │ │ │ + function optimizeCb(func, context, argCount) { │ │ │ │ │ + if (context === void 0) return func; │ │ │ │ │ + switch (argCount == null ? 3 : argCount) { │ │ │ │ │ + case 1: │ │ │ │ │ + return function(value) { │ │ │ │ │ + return func.call(context, value); │ │ │ │ │ + }; │ │ │ │ │ + // The 2-argument case is omitted because we’re not using it. │ │ │ │ │ + case 3: │ │ │ │ │ + return function(value, index, collection) { │ │ │ │ │ + return func.call(context, value, index, collection); │ │ │ │ │ + }; │ │ │ │ │ + case 4: │ │ │ │ │ + return function(accumulator, value, index, collection) { │ │ │ │ │ + return func.call(context, accumulator, value, index, collection); │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ + return function() { │ │ │ │ │ + return func.apply(context, arguments); │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - // In the interest of compact minification, we write │ │ │ │ │ - // each string in the fingerprints only once. │ │ │ │ │ - var forEachName = 'forEach', │ │ │ │ │ - hasName = 'has', │ │ │ │ │ - commonInit = ['clear', 'delete'], │ │ │ │ │ - mapTail = ['get', hasName, 'set']; │ │ │ │ │ - │ │ │ │ │ - // `Map`, `WeakMap` and `Set` each have slightly different │ │ │ │ │ - // combinations of the above sublists. │ │ │ │ │ - var mapMethods = commonInit.concat(forEachName, mapTail), │ │ │ │ │ - weakMapMethods = commonInit.concat(mapTail), │ │ │ │ │ - setMethods = ['add'].concat(commonInit, forEachName, hasName); │ │ │ │ │ - │ │ │ │ │ - exports.ie11fingerprint = ie11fingerprint; │ │ │ │ │ - exports.mapMethods = mapMethods; │ │ │ │ │ - exports.setMethods = setMethods; │ │ │ │ │ - exports.weakMapMethods = weakMapMethods; │ │ │ │ │ + return optimizeCb; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index24.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,30 +1,11 @@ │ │ │ │ │ define((function() { │ │ │ │ │ │ │ │ │ │ - // Internal function that returns an efficient (for current engines) version │ │ │ │ │ - // of the passed-in callback, to be repeatedly applied in other Underscore │ │ │ │ │ - // functions. │ │ │ │ │ - function optimizeCb(func, context, argCount) { │ │ │ │ │ - if (context === void 0) return func; │ │ │ │ │ - switch (argCount == null ? 3 : argCount) { │ │ │ │ │ - case 1: │ │ │ │ │ - return function(value) { │ │ │ │ │ - return func.call(context, value); │ │ │ │ │ - }; │ │ │ │ │ - // The 2-argument case is omitted because we’re not using it. │ │ │ │ │ - case 3: │ │ │ │ │ - return function(value, index, collection) { │ │ │ │ │ - return func.call(context, value, index, collection); │ │ │ │ │ - }; │ │ │ │ │ - case 4: │ │ │ │ │ - return function(accumulator, value, index, collection) { │ │ │ │ │ - return func.call(context, accumulator, value, index, collection); │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ - return function() { │ │ │ │ │ - return func.apply(context, arguments); │ │ │ │ │ - }; │ │ │ │ │ + // Internal `_.pick` helper function to determine whether `key` is an enumerable │ │ │ │ │ + // property name of `obj`. │ │ │ │ │ + function keyInObj(value, key, obj) { │ │ │ │ │ + return key in obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return optimizeCb; │ │ │ │ │ + return keyInObj; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index25.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,71 +1,15 @@ │ │ │ │ │ -define(['exports'], (function(exports) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Current version. │ │ │ │ │ - var VERSION = '1.13.4'; │ │ │ │ │ + // Internal list of HTML entities for escaping. │ │ │ │ │ + var escapeMap = { │ │ │ │ │ + '&': '&', │ │ │ │ │ + '<': '<', │ │ │ │ │ + '>': '>', │ │ │ │ │ + '"': '"', │ │ │ │ │ + "'": ''', │ │ │ │ │ + '`': '`' │ │ │ │ │ + }; │ │ │ │ │ │ │ │ │ │ - // Establish the root object, `window` (`self`) in the browser, `global` │ │ │ │ │ - // on the server, or `this` in some virtual machines. We use `self` │ │ │ │ │ - // instead of `window` for `WebWorker` support. │ │ │ │ │ - var root = (typeof self == 'object' && self.self === self && self) || │ │ │ │ │ - (typeof global == 'object' && global.global === global && global) || │ │ │ │ │ - Function('return this')() || {}; │ │ │ │ │ - │ │ │ │ │ - // Save bytes in the minified (but not gzipped) version: │ │ │ │ │ - var ArrayProto = Array.prototype, │ │ │ │ │ - ObjProto = Object.prototype; │ │ │ │ │ - var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; │ │ │ │ │ - │ │ │ │ │ - // Create quick reference variables for speed access to core prototypes. │ │ │ │ │ - var push = ArrayProto.push, │ │ │ │ │ - slice = ArrayProto.slice, │ │ │ │ │ - toString = ObjProto.toString, │ │ │ │ │ - hasOwnProperty = ObjProto.hasOwnProperty; │ │ │ │ │ - │ │ │ │ │ - // Modern feature detection. │ │ │ │ │ - var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', │ │ │ │ │ - supportsDataView = typeof DataView !== 'undefined'; │ │ │ │ │ - │ │ │ │ │ - // All **ECMAScript 5+** native function implementations that we hope to use │ │ │ │ │ - // are declared here. │ │ │ │ │ - var nativeIsArray = Array.isArray, │ │ │ │ │ - nativeKeys = Object.keys, │ │ │ │ │ - nativeCreate = Object.create, │ │ │ │ │ - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; │ │ │ │ │ - │ │ │ │ │ - // Create references to these builtin functions because we override them. │ │ │ │ │ - var _isNaN = isNaN, │ │ │ │ │ - _isFinite = isFinite; │ │ │ │ │ - │ │ │ │ │ - // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. │ │ │ │ │ - var hasEnumBug = !{ │ │ │ │ │ - toString: null │ │ │ │ │ - }.propertyIsEnumerable('toString'); │ │ │ │ │ - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', │ │ │ │ │ - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString' │ │ │ │ │ - ]; │ │ │ │ │ - │ │ │ │ │ - // The largest integer that can be represented exactly. │ │ │ │ │ - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; │ │ │ │ │ - │ │ │ │ │ - exports.ArrayProto = ArrayProto; │ │ │ │ │ - exports.MAX_ARRAY_INDEX = MAX_ARRAY_INDEX; │ │ │ │ │ - exports.ObjProto = ObjProto; │ │ │ │ │ - exports.SymbolProto = SymbolProto; │ │ │ │ │ - exports.VERSION = VERSION; │ │ │ │ │ - exports._isFinite = _isFinite; │ │ │ │ │ - exports._isNaN = _isNaN; │ │ │ │ │ - exports.hasEnumBug = hasEnumBug; │ │ │ │ │ - exports.hasOwnProperty = hasOwnProperty; │ │ │ │ │ - exports.nativeCreate = nativeCreate; │ │ │ │ │ - exports.nativeIsArray = nativeIsArray; │ │ │ │ │ - exports.nativeIsView = nativeIsView; │ │ │ │ │ - exports.nativeKeys = nativeKeys; │ │ │ │ │ - exports.nonEnumerableProps = nonEnumerableProps; │ │ │ │ │ - exports.push = push; │ │ │ │ │ - exports.root = root; │ │ │ │ │ - exports.slice = slice; │ │ │ │ │ - exports.supportsArrayBuffer = supportsArrayBuffer; │ │ │ │ │ - exports.supportsDataView = supportsDataView; │ │ │ │ │ - exports.toString = toString; │ │ │ │ │ + return escapeMap; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index26.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,71 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['exports'], (function(exports) { │ │ │ │ │ │ │ │ │ │ - // Internal helper to generate a function to obtain property `key` from `obj`. │ │ │ │ │ - function shallowProperty(key) { │ │ │ │ │ - return function(obj) { │ │ │ │ │ - return obj == null ? void 0 : obj[key]; │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ + // Current version. │ │ │ │ │ + var VERSION = '1.13.4'; │ │ │ │ │ │ │ │ │ │ - return shallowProperty; │ │ │ │ │ + // Establish the root object, `window` (`self`) in the browser, `global` │ │ │ │ │ + // on the server, or `this` in some virtual machines. We use `self` │ │ │ │ │ + // instead of `window` for `WebWorker` support. │ │ │ │ │ + var root = (typeof self == 'object' && self.self === self && self) || │ │ │ │ │ + (typeof global == 'object' && global.global === global && global) || │ │ │ │ │ + Function('return this')() || {}; │ │ │ │ │ + │ │ │ │ │ + // Save bytes in the minified (but not gzipped) version: │ │ │ │ │ + var ArrayProto = Array.prototype, │ │ │ │ │ + ObjProto = Object.prototype; │ │ │ │ │ + var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; │ │ │ │ │ + │ │ │ │ │ + // Create quick reference variables for speed access to core prototypes. │ │ │ │ │ + var push = ArrayProto.push, │ │ │ │ │ + slice = ArrayProto.slice, │ │ │ │ │ + toString = ObjProto.toString, │ │ │ │ │ + hasOwnProperty = ObjProto.hasOwnProperty; │ │ │ │ │ + │ │ │ │ │ + // Modern feature detection. │ │ │ │ │ + var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', │ │ │ │ │ + supportsDataView = typeof DataView !== 'undefined'; │ │ │ │ │ + │ │ │ │ │ + // All **ECMAScript 5+** native function implementations that we hope to use │ │ │ │ │ + // are declared here. │ │ │ │ │ + var nativeIsArray = Array.isArray, │ │ │ │ │ + nativeKeys = Object.keys, │ │ │ │ │ + nativeCreate = Object.create, │ │ │ │ │ + nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; │ │ │ │ │ + │ │ │ │ │ + // Create references to these builtin functions because we override them. │ │ │ │ │ + var _isNaN = isNaN, │ │ │ │ │ + _isFinite = isFinite; │ │ │ │ │ + │ │ │ │ │ + // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. │ │ │ │ │ + var hasEnumBug = !{ │ │ │ │ │ + toString: null │ │ │ │ │ + }.propertyIsEnumerable('toString'); │ │ │ │ │ + var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', │ │ │ │ │ + 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString' │ │ │ │ │ + ]; │ │ │ │ │ + │ │ │ │ │ + // The largest integer that can be represented exactly. │ │ │ │ │ + var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; │ │ │ │ │ + │ │ │ │ │ + exports.ArrayProto = ArrayProto; │ │ │ │ │ + exports.MAX_ARRAY_INDEX = MAX_ARRAY_INDEX; │ │ │ │ │ + exports.ObjProto = ObjProto; │ │ │ │ │ + exports.SymbolProto = SymbolProto; │ │ │ │ │ + exports.VERSION = VERSION; │ │ │ │ │ + exports._isFinite = _isFinite; │ │ │ │ │ + exports._isNaN = _isNaN; │ │ │ │ │ + exports.hasEnumBug = hasEnumBug; │ │ │ │ │ + exports.hasOwnProperty = hasOwnProperty; │ │ │ │ │ + exports.nativeCreate = nativeCreate; │ │ │ │ │ + exports.nativeIsArray = nativeIsArray; │ │ │ │ │ + exports.nativeIsView = nativeIsView; │ │ │ │ │ + exports.nativeKeys = nativeKeys; │ │ │ │ │ + exports.nonEnumerableProps = nonEnumerableProps; │ │ │ │ │ + exports.push = push; │ │ │ │ │ + exports.root = root; │ │ │ │ │ + exports.slice = slice; │ │ │ │ │ + exports.supportsArrayBuffer = supportsArrayBuffer; │ │ │ │ │ + exports.supportsDataView = supportsDataView; │ │ │ │ │ + exports.toString = toString; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index27.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['exports', './index25', './index19'], (function(exports, _setup, _hasObjectTag) { │ │ │ │ │ +define(['exports', './index26', './index19'], (function(exports, _setup, _hasObjectTag) { │ │ │ │ │ │ │ │ │ │ // In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. │ │ │ │ │ // In IE 11, the most common among them, this problem also applies to │ │ │ │ │ // `Map`, `WeakMap` and `Set`. │ │ │ │ │ var hasStringTagBug = ( │ │ │ │ │ _setup.supportsDataView && _hasObjectTag(new DataView(new ArrayBuffer(8))) │ │ │ │ │ ), │ │ │ ├── ./usr/share/nodejs/underscore/amd/index28.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ // Internal function for creating a `toString`-based type tester. │ │ │ │ │ function tagTester(name) { │ │ │ │ │ var tag = '[object ' + name + ']'; │ │ │ │ │ return function(obj) { │ │ │ │ │ return _setup.toString.call(obj) === tag; │ │ │ │ │ }; │ │ │ ├── ./usr/share/nodejs/underscore/amd/index29.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index15'], (function(_getByteLength) { │ │ │ │ │ +define(['./index13'], (function(_getByteLength) { │ │ │ │ │ │ │ │ │ │ // Internal function to wrap or shallow-copy an ArrayBuffer, │ │ │ │ │ // typed array or DataView to a new view, reusing the buffer. │ │ │ │ │ function toBufferView(bufferSource) { │ │ │ │ │ return new Uint8Array( │ │ │ │ │ bufferSource.buffer || bufferSource, │ │ │ │ │ bufferSource.byteOffset || 0, │ │ │ ├── ./usr/share/nodejs/underscore/amd/index3.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,21 +1,44 @@ │ │ │ │ │ -define(['./index94', './index25'], (function(isObject, _setup) { │ │ │ │ │ +define(['./index26', './index87', './index17'], (function(_setup, isFunction, _has) { │ │ │ │ │ │ │ │ │ │ - // Create a naked function reference for surrogate-prototype-swapping. │ │ │ │ │ - function ctor() { │ │ │ │ │ - return function() {}; │ │ │ │ │ + // Internal helper to create a simple lookup structure. │ │ │ │ │ + // `collectNonEnumProps` used to depend on `_.contains`, but this led to │ │ │ │ │ + // circular imports. `emulatedSet` is a one-off solution that only works for │ │ │ │ │ + // arrays of strings. │ │ │ │ │ + function emulatedSet(keys) { │ │ │ │ │ + var hash = {}; │ │ │ │ │ + for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; │ │ │ │ │ + return { │ │ │ │ │ + contains: function(key) { │ │ │ │ │ + return hash[key] === true; │ │ │ │ │ + }, │ │ │ │ │ + push: function(key) { │ │ │ │ │ + hash[key] = true; │ │ │ │ │ + return keys.push(key); │ │ │ │ │ + } │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - // An internal function for creating a new object that inherits from another. │ │ │ │ │ - function baseCreate(prototype) { │ │ │ │ │ - if (!isObject(prototype)) return {}; │ │ │ │ │ - if (_setup.nativeCreate) return _setup.nativeCreate(prototype); │ │ │ │ │ - var Ctor = ctor(); │ │ │ │ │ - Ctor.prototype = prototype; │ │ │ │ │ - var result = new Ctor; │ │ │ │ │ - Ctor.prototype = null; │ │ │ │ │ - return result; │ │ │ │ │ + // Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't │ │ │ │ │ + // be iterated by `for key in ...` and thus missed. Extends `keys` in place if │ │ │ │ │ + // needed. │ │ │ │ │ + function collectNonEnumProps(obj, keys) { │ │ │ │ │ + keys = emulatedSet(keys); │ │ │ │ │ + var nonEnumIdx = _setup.nonEnumerableProps.length; │ │ │ │ │ + var constructor = obj.constructor; │ │ │ │ │ + var proto = (isFunction(constructor) && constructor.prototype) || _setup.ObjProto; │ │ │ │ │ + │ │ │ │ │ + // Constructor is a special case. │ │ │ │ │ + var prop = 'constructor'; │ │ │ │ │ + if (_has(obj, prop) && !keys.contains(prop)) keys.push(prop); │ │ │ │ │ + │ │ │ │ │ + while (nonEnumIdx--) { │ │ │ │ │ + prop = _setup.nonEnumerableProps[nonEnumIdx]; │ │ │ │ │ + if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { │ │ │ │ │ + keys.push(prop); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return baseCreate; │ │ │ │ │ + return collectNonEnumProps; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index30.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index148', './index146'], (function(underscore, toPath$1) { │ │ │ │ │ +define(['./index147', './index159'], (function(underscore, toPath$1) { │ │ │ │ │ │ │ │ │ │ // Internal wrapper for `_.toPath` to enable minification. │ │ │ │ │ // Similar to `cb` for `_.iteratee`. │ │ │ │ │ function toPath(path) { │ │ │ │ │ return underscore.toPath(path); │ │ │ │ │ } │ │ │ ├── ./usr/share/nodejs/underscore/amd/index31.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index73', './index12'], (function(invert, _escapeMap) { │ │ │ │ │ +define(['./index75', './index25'], (function(invert, _escapeMap) { │ │ │ │ │ │ │ │ │ │ // Internal list of HTML entities for unescaping. │ │ │ │ │ var unescapeMap = invert(_escapeMap); │ │ │ │ │ │ │ │ │ │ return unescapeMap; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index33.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index94', './index25', './index5'], (function(isObject, _setup, _collectNonEnumProps) { │ │ │ │ │ +define(['./index92', './index26', './index3'], (function(isObject, _setup, _collectNonEnumProps) { │ │ │ │ │ │ │ │ │ │ // Retrieve all the enumerable property names of an object. │ │ │ │ │ function allKeys(obj) { │ │ │ │ │ if (!isObject(obj)) return []; │ │ │ │ │ var keys = []; │ │ │ │ │ for (var key in obj) keys.push(key); │ │ │ │ │ // Ahem, IE < 9. │ │ │ ├── ./usr/share/nodejs/underscore/amd/index35.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index132', './index87', './index13'], (function(restArguments, isFunction, _executeBound) { │ │ │ │ │ +define(['./index131', './index87', './index12'], (function(restArguments, isFunction, _executeBound) { │ │ │ │ │ │ │ │ │ │ // Create a function bound to a given object (assigning `this`, and arguments, │ │ │ │ │ // optionally). │ │ │ │ │ var bind = restArguments(function(func, context, args) { │ │ │ │ │ if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); │ │ │ │ │ var bound = restArguments(function(callArgs) { │ │ │ │ │ return _executeBound(func, bound, context, this, args.concat(callArgs)); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index36.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,24 +1,19 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index131', './index18', './index35'], (function(restArguments, _flatten, bind) { │ │ │ │ │ │ │ │ │ │ - // An internal function for creating assigner functions. │ │ │ │ │ - function createAssigner(keysFunc, defaults) { │ │ │ │ │ - return function(obj) { │ │ │ │ │ - var length = arguments.length; │ │ │ │ │ - if (defaults) obj = Object(obj); │ │ │ │ │ - if (length < 2 || obj == null) return obj; │ │ │ │ │ - for (var index = 1; index < length; index++) { │ │ │ │ │ - var source = arguments[index], │ │ │ │ │ - keys = keysFunc(source), │ │ │ │ │ - l = keys.length; │ │ │ │ │ - for (var i = 0; i < l; i++) { │ │ │ │ │ - var key = keys[i]; │ │ │ │ │ - if (!defaults || obj[key] === void 0) obj[key] = source[key]; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return obj; │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ + // Bind a number of an object's methods to that object. Remaining arguments │ │ │ │ │ + // are the method names to be bound. Useful for ensuring that all callbacks │ │ │ │ │ + // defined on an object belong to it. │ │ │ │ │ + var bindAll = restArguments(function(obj, keys) { │ │ │ │ │ + keys = _flatten(keys, false, false); │ │ │ │ │ + var index = keys.length; │ │ │ │ │ + if (index < 1) throw new Error('bindAll must be passed function names'); │ │ │ │ │ + while (index--) { │ │ │ │ │ + var key = keys[index]; │ │ │ │ │ + obj[key] = bind(obj[key], obj); │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return createAssigner; │ │ │ │ │ + return bindAll; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index37.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,12 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index147'], (function(underscore) { │ │ │ │ │ │ │ │ │ │ - // Chunk a single array into multiple arrays, each containing `count` or fewer │ │ │ │ │ - // items. │ │ │ │ │ - function chunk(array, count) { │ │ │ │ │ - if (count == null || count < 1) return []; │ │ │ │ │ - var result = []; │ │ │ │ │ - var i = 0, │ │ │ │ │ - length = array.length; │ │ │ │ │ - while (i < length) { │ │ │ │ │ - result.push(_setup.slice.call(array, i, i += count)); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ + // Start chaining a wrapped Underscore object. │ │ │ │ │ + function chain(obj) { │ │ │ │ │ + var instance = underscore(obj); │ │ │ │ │ + instance._chain = true; │ │ │ │ │ + return instance; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return chunk; │ │ │ │ │ + return chain; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index38.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,18 @@ │ │ │ │ │ -define(['./index55'], (function(filter) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ - // Trim out all falsy values from an array. │ │ │ │ │ - function compact(array) { │ │ │ │ │ - return filter(array, Boolean); │ │ │ │ │ + // Chunk a single array into multiple arrays, each containing `count` or fewer │ │ │ │ │ + // items. │ │ │ │ │ + function chunk(array, count) { │ │ │ │ │ + if (count == null || count < 1) return []; │ │ │ │ │ + var result = []; │ │ │ │ │ + var i = 0, │ │ │ │ │ + length = array.length; │ │ │ │ │ + while (i < length) { │ │ │ │ │ + result.push(_setup.slice.call(array, i, i += count)); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return compact; │ │ │ │ │ + return chunk; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index39.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ │ -define(['./index148'], (function(underscore) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Start chaining a wrapped Underscore object. │ │ │ │ │ - function chain(obj) { │ │ │ │ │ - var instance = underscore(obj); │ │ │ │ │ - instance._chain = true; │ │ │ │ │ - return instance; │ │ │ │ │ + // Internal helper to generate a function to obtain property `key` from `obj`. │ │ │ │ │ + function shallowProperty(key) { │ │ │ │ │ + return function(obj) { │ │ │ │ │ + return obj == null ? void 0 : obj[key]; │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return chain; │ │ │ │ │ + return shallowProperty; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index4.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,24 @@ │ │ │ │ │ -define(['./index148'], (function(underscore) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Helper function to continue chaining intermediate results. │ │ │ │ │ - function chainResult(instance, obj) { │ │ │ │ │ - return instance._chain ? underscore(obj).chain() : obj; │ │ │ │ │ + // An internal function for creating assigner functions. │ │ │ │ │ + function createAssigner(keysFunc, defaults) { │ │ │ │ │ + return function(obj) { │ │ │ │ │ + var length = arguments.length; │ │ │ │ │ + if (defaults) obj = Object(obj); │ │ │ │ │ + if (length < 2 || obj == null) return obj; │ │ │ │ │ + for (var index = 1; index < length; index++) { │ │ │ │ │ + var source = arguments[index], │ │ │ │ │ + keys = keysFunc(source), │ │ │ │ │ + l = keys.length; │ │ │ │ │ + for (var i = 0; i < l; i++) { │ │ │ │ │ + var key = keys[i]; │ │ │ │ │ + if (!defaults || obj[key] === void 0) obj[key] = source[key]; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return chainResult; │ │ │ │ │ + return createAssigner; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index40.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,10 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index56'], (function(filter) { │ │ │ │ │ │ │ │ │ │ - // Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ - function constant(value) { │ │ │ │ │ - return function() { │ │ │ │ │ - return value; │ │ │ │ │ - }; │ │ │ │ │ + // Trim out all falsy values from an array. │ │ │ │ │ + function compact(array) { │ │ │ │ │ + return filter(array, Boolean); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return constant; │ │ │ │ │ + return compact; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index42.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ │ -define(['./index20', './index154', './index74'], (function(_isArrayLike, values, indexOf) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Determine if the array or object contains a given item (using `===`). │ │ │ │ │ - function contains(obj, item, fromIndex, guard) { │ │ │ │ │ - if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ - if (typeof fromIndex != 'number' || guard) fromIndex = 0; │ │ │ │ │ - return indexOf(obj, item, fromIndex) >= 0; │ │ │ │ │ + // Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ + function constant(value) { │ │ │ │ │ + return function() { │ │ │ │ │ + return value; │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return contains; │ │ │ │ │ + return constant; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index43.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,12 @@ │ │ │ │ │ -define(['./index17', './index18'], (function(_group, _has) { │ │ │ │ │ +define(['./index20', './index152', './index72'], (function(_isArrayLike, values, indexOf) { │ │ │ │ │ │ │ │ │ │ - // Counts instances of an object that group by a certain criterion. Pass │ │ │ │ │ - // either a string attribute to count by, or a function that returns the │ │ │ │ │ - // criterion. │ │ │ │ │ - var countBy = _group(function(result, value, key) { │ │ │ │ │ - if (_has(result, key)) result[key]++; │ │ │ │ │ - else result[key] = 1; │ │ │ │ │ - }); │ │ │ │ │ + // Determine if the array or object contains a given item (using `===`). │ │ │ │ │ + function contains(obj, item, fromIndex, guard) { │ │ │ │ │ + if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ + if (typeof fromIndex != 'number' || guard) fromIndex = 0; │ │ │ │ │ + return indexOf(obj, item, fromIndex) >= 0; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return countBy; │ │ │ │ │ + return contains; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index44.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,43 +1,13 @@ │ │ │ │ │ -define(['./index132', './index115'], (function(restArguments, now) { │ │ │ │ │ +define(['./index16', './index17'], (function(_group, _has) { │ │ │ │ │ │ │ │ │ │ - // When a sequence of calls of the returned function ends, the argument │ │ │ │ │ - // function is triggered. The end of a sequence is defined by the `wait` │ │ │ │ │ - // parameter. If `immediate` is passed, the argument function will be │ │ │ │ │ - // triggered at the beginning of the sequence instead of at the end. │ │ │ │ │ - function debounce(func, wait, immediate) { │ │ │ │ │ - var timeout, previous, args, result, context; │ │ │ │ │ + // Counts instances of an object that group by a certain criterion. Pass │ │ │ │ │ + // either a string attribute to count by, or a function that returns the │ │ │ │ │ + // criterion. │ │ │ │ │ + var countBy = _group(function(result, value, key) { │ │ │ │ │ + if (_has(result, key)) result[key]++; │ │ │ │ │ + else result[key] = 1; │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - var later = function() { │ │ │ │ │ - var passed = now() - previous; │ │ │ │ │ - if (wait > passed) { │ │ │ │ │ - timeout = setTimeout(later, wait - passed); │ │ │ │ │ - } else { │ │ │ │ │ - timeout = null; │ │ │ │ │ - if (!immediate) result = func.apply(context, args); │ │ │ │ │ - // This check is needed because `func` can recursively invoke `debounced`. │ │ │ │ │ - if (!timeout) args = context = null; │ │ │ │ │ - } │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - var debounced = restArguments(function(_args) { │ │ │ │ │ - context = this; │ │ │ │ │ - args = _args; │ │ │ │ │ - previous = now(); │ │ │ │ │ - if (!timeout) { │ │ │ │ │ - timeout = setTimeout(later, wait); │ │ │ │ │ - if (immediate) result = func.apply(context, args); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ - }); │ │ │ │ │ - │ │ │ │ │ - debounced.cancel = function() { │ │ │ │ │ - clearTimeout(timeout); │ │ │ │ │ - timeout = args = context = null; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return debounced; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - return debounce; │ │ │ │ │ + return countBy; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index45.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,43 @@ │ │ │ │ │ -define(['./index3', './index54'], (function(_baseCreate, extendOwn) { │ │ │ │ │ +define(['./index131', './index114'], (function(restArguments, now) { │ │ │ │ │ │ │ │ │ │ - // Creates an object that inherits from the given prototype object. │ │ │ │ │ - // If additional properties are provided then they will be added to the │ │ │ │ │ - // created object. │ │ │ │ │ - function create(prototype, props) { │ │ │ │ │ - var result = _baseCreate(prototype); │ │ │ │ │ - if (props) extendOwn(result, props); │ │ │ │ │ - return result; │ │ │ │ │ + // When a sequence of calls of the returned function ends, the argument │ │ │ │ │ + // function is triggered. The end of a sequence is defined by the `wait` │ │ │ │ │ + // parameter. If `immediate` is passed, the argument function will be │ │ │ │ │ + // triggered at the beginning of the sequence instead of at the end. │ │ │ │ │ + function debounce(func, wait, immediate) { │ │ │ │ │ + var timeout, previous, args, result, context; │ │ │ │ │ + │ │ │ │ │ + var later = function() { │ │ │ │ │ + var passed = now() - previous; │ │ │ │ │ + if (wait > passed) { │ │ │ │ │ + timeout = setTimeout(later, wait - passed); │ │ │ │ │ + } else { │ │ │ │ │ + timeout = null; │ │ │ │ │ + if (!immediate) result = func.apply(context, args); │ │ │ │ │ + // This check is needed because `func` can recursively invoke `debounced`. │ │ │ │ │ + if (!timeout) args = context = null; │ │ │ │ │ + } │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + var debounced = restArguments(function(_args) { │ │ │ │ │ + context = this; │ │ │ │ │ + args = _args; │ │ │ │ │ + previous = now(); │ │ │ │ │ + if (!timeout) { │ │ │ │ │ + timeout = setTimeout(later, wait); │ │ │ │ │ + if (immediate) result = func.apply(context, args); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + }); │ │ │ │ │ + │ │ │ │ │ + debounced.cancel = function() { │ │ │ │ │ + clearTimeout(timeout); │ │ │ │ │ + timeout = args = context = null; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return debounced; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return create; │ │ │ │ │ + return debounce; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index46.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,14 @@ │ │ │ │ │ -define(['./index36', './index33'], (function(_createAssigner, allKeys) { │ │ │ │ │ +define(['./index', './index55'], (function(_baseCreate, extendOwn) { │ │ │ │ │ │ │ │ │ │ - // Fill in a given object with default properties. │ │ │ │ │ - var defaults = _createAssigner(allKeys, true); │ │ │ │ │ + // Creates an object that inherits from the given prototype object. │ │ │ │ │ + // If additional properties are provided then they will be added to the │ │ │ │ │ + // created object. │ │ │ │ │ + function create(prototype, props) { │ │ │ │ │ + var result = _baseCreate(prototype); │ │ │ │ │ + if (props) extendOwn(result, props); │ │ │ │ │ + return result; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return defaults; │ │ │ │ │ + return create; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index47.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,8 @@ │ │ │ │ │ -define(['./index120', './index48', './index148'], (function(partial, delay, underscore) { │ │ │ │ │ +define(['./index4', './index33'], (function(_createAssigner, allKeys) { │ │ │ │ │ │ │ │ │ │ - // Defers a function, scheduling it to run after the current call stack has │ │ │ │ │ - // cleared. │ │ │ │ │ - var defer = partial(delay, underscore, 1); │ │ │ │ │ + // Fill in a given object with default properties. │ │ │ │ │ + var defaults = _createAssigner(allKeys, true); │ │ │ │ │ │ │ │ │ │ - return defer; │ │ │ │ │ + return defaults; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index48.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,9 @@ │ │ │ │ │ -define(['./index132'], (function(restArguments) { │ │ │ │ │ +define(['./index120', './index49', './index147'], (function(partial, delay, underscore) { │ │ │ │ │ │ │ │ │ │ - // Delays a function for the given number of milliseconds, and then calls │ │ │ │ │ - // it with the arguments supplied. │ │ │ │ │ - var delay = restArguments(function(func, wait, args) { │ │ │ │ │ - return setTimeout(function() { │ │ │ │ │ - return func.apply(null, args); │ │ │ │ │ - }, wait); │ │ │ │ │ - }); │ │ │ │ │ + // Defers a function, scheduling it to run after the current call stack has │ │ │ │ │ + // cleared. │ │ │ │ │ + var defer = partial(delay, underscore, 1); │ │ │ │ │ │ │ │ │ │ - return delay; │ │ │ │ │ + return defer; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index49.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,13 @@ │ │ │ │ │ -define(['./index132', './index14', './index55', './index42'], (function(restArguments, _flatten, filter, contains) { │ │ │ │ │ +define(['./index131'], (function(restArguments) { │ │ │ │ │ │ │ │ │ │ - // Take the difference between one array and a number of other arrays. │ │ │ │ │ - // Only the elements present in just the first array will remain. │ │ │ │ │ - var difference = restArguments(function(array, rest) { │ │ │ │ │ - rest = _flatten(rest, true, true); │ │ │ │ │ - return filter(array, function(value) { │ │ │ │ │ - return !contains(rest, value); │ │ │ │ │ - }); │ │ │ │ │ + // Delays a function for the given number of milliseconds, and then calls │ │ │ │ │ + // it with the arguments supplied. │ │ │ │ │ + var delay = restArguments(function(func, wait, args) { │ │ │ │ │ + return setTimeout(function() { │ │ │ │ │ + return func.apply(null, args); │ │ │ │ │ + }, wait); │ │ │ │ │ }); │ │ │ │ │ │ │ │ │ │ - return difference; │ │ │ │ │ + return delay; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index5.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,44 +1,15 @@ │ │ │ │ │ -define(['./index25', './index87', './index18'], (function(_setup, isFunction, _has) { │ │ │ │ │ +define(['./index68', './index87', './index92', './index104', './index107', './index124', './index23'], (function(identity, isFunction, isObject, isArray, matcher, property, _optimizeCb) { │ │ │ │ │ │ │ │ │ │ - // Internal helper to create a simple lookup structure. │ │ │ │ │ - // `collectNonEnumProps` used to depend on `_.contains`, but this led to │ │ │ │ │ - // circular imports. `emulatedSet` is a one-off solution that only works for │ │ │ │ │ - // arrays of strings. │ │ │ │ │ - function emulatedSet(keys) { │ │ │ │ │ - var hash = {}; │ │ │ │ │ - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; │ │ │ │ │ - return { │ │ │ │ │ - contains: function(key) { │ │ │ │ │ - return hash[key] === true; │ │ │ │ │ - }, │ │ │ │ │ - push: function(key) { │ │ │ │ │ - hash[key] = true; │ │ │ │ │ - return keys.push(key); │ │ │ │ │ - } │ │ │ │ │ - }; │ │ │ │ │ + // An internal function to generate callbacks that can be applied to each │ │ │ │ │ + // element in a collection, returning the desired result — either `_.identity`, │ │ │ │ │ + // an arbitrary callback, a property matcher, or a property accessor. │ │ │ │ │ + function baseIteratee(value, context, argCount) { │ │ │ │ │ + if (value == null) return identity; │ │ │ │ │ + if (isFunction(value)) return _optimizeCb(value, context, argCount); │ │ │ │ │ + if (isObject(value) && !isArray(value)) return matcher(value); │ │ │ │ │ + return property(value); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - // Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't │ │ │ │ │ - // be iterated by `for key in ...` and thus missed. Extends `keys` in place if │ │ │ │ │ - // needed. │ │ │ │ │ - function collectNonEnumProps(obj, keys) { │ │ │ │ │ - keys = emulatedSet(keys); │ │ │ │ │ - var nonEnumIdx = _setup.nonEnumerableProps.length; │ │ │ │ │ - var constructor = obj.constructor; │ │ │ │ │ - var proto = (isFunction(constructor) && constructor.prototype) || _setup.ObjProto; │ │ │ │ │ - │ │ │ │ │ - // Constructor is a special case. │ │ │ │ │ - var prop = 'constructor'; │ │ │ │ │ - if (_has(obj, prop) && !keys.contains(prop)) keys.push(prop); │ │ │ │ │ - │ │ │ │ │ - while (nonEnumIdx--) { │ │ │ │ │ - prop = _setup.nonEnumerableProps[nonEnumIdx]; │ │ │ │ │ - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { │ │ │ │ │ - keys.push(prop); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - return collectNonEnumProps; │ │ │ │ │ + return baseIteratee; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index50.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,25 +1,14 @@ │ │ │ │ │ -define(['./index24', './index20', './index134'], (function(_optimizeCb, _isArrayLike, keys) { │ │ │ │ │ +define(['./index131', './index18', './index56', './index43'], (function(restArguments, _flatten, filter, contains) { │ │ │ │ │ │ │ │ │ │ - // The cornerstone for collection functions, an `each` │ │ │ │ │ - // implementation, aka `forEach`. │ │ │ │ │ - // Handles raw objects in addition to array-likes. Treats all │ │ │ │ │ - // sparse array-likes as if they were dense. │ │ │ │ │ - function each(obj, iteratee, context) { │ │ │ │ │ - iteratee = _optimizeCb(iteratee, context); │ │ │ │ │ - var i, length; │ │ │ │ │ - if (_isArrayLike(obj)) { │ │ │ │ │ - for (i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ - iteratee(obj[i], i, obj); │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - var _keys = keys(obj); │ │ │ │ │ - for (i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ - iteratee(obj[_keys[i]], _keys[i], obj); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return obj; │ │ │ │ │ - } │ │ │ │ │ + // Take the difference between one array and a number of other arrays. │ │ │ │ │ + // Only the elements present in just the first array will remain. │ │ │ │ │ + var difference = restArguments(function(array, rest) { │ │ │ │ │ + rest = _flatten(rest, true, true); │ │ │ │ │ + return filter(array, function(value) { │ │ │ │ │ + return !contains(rest, value); │ │ │ │ │ + }); │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return each; │ │ │ │ │ + return difference; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index51.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,25 @@ │ │ │ │ │ -define(['./index6', './index12'], (function(_createEscaper, _escapeMap) { │ │ │ │ │ +define(['./index23', './index20', './index102'], (function(_optimizeCb, _isArrayLike, keys) { │ │ │ │ │ │ │ │ │ │ - // Function for escaping strings to HTML interpolation. │ │ │ │ │ - var escape = _createEscaper(_escapeMap); │ │ │ │ │ + // The cornerstone for collection functions, an `each` │ │ │ │ │ + // implementation, aka `forEach`. │ │ │ │ │ + // Handles raw objects in addition to array-likes. Treats all │ │ │ │ │ + // sparse array-likes as if they were dense. │ │ │ │ │ + function each(obj, iteratee, context) { │ │ │ │ │ + iteratee = _optimizeCb(iteratee, context); │ │ │ │ │ + var i, length; │ │ │ │ │ + if (_isArrayLike(obj)) { │ │ │ │ │ + for (i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ + iteratee(obj[i], i, obj); │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + var _keys = keys(obj); │ │ │ │ │ + for (i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ + iteratee(obj[_keys[i]], _keys[i], obj); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return escape; │ │ │ │ │ + return each; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index52.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,11 @@ │ │ │ │ │ -define(['./index2', './index20', './index134'], (function(_cb, _isArrayLike, keys) { │ │ │ │ │ +define(['./index92', './index104', './index54'], (function(isObject, isArray, extend) { │ │ │ │ │ │ │ │ │ │ - // Determine whether all of the elements pass a truth test. │ │ │ │ │ - function every(obj, predicate, context) { │ │ │ │ │ - predicate = _cb(predicate, context); │ │ │ │ │ - var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ - length = (_keys || obj).length; │ │ │ │ │ - for (var index = 0; index < length; index++) { │ │ │ │ │ - var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ - if (!predicate(obj[currentKey], currentKey, obj)) return false; │ │ │ │ │ - } │ │ │ │ │ - return true; │ │ │ │ │ + // Create a (shallow-cloned) duplicate of an object. │ │ │ │ │ + function clone(obj) { │ │ │ │ │ + if (!isObject(obj)) return obj; │ │ │ │ │ + return isArray(obj) ? obj.slice() : extend({}, obj); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return every; │ │ │ │ │ + return clone; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index53.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,17 @@ │ │ │ │ │ -define(['./index36', './index33'], (function(_createAssigner, allKeys) { │ │ │ │ │ +define(['./index6', './index20', './index102'], (function(_cb, _isArrayLike, keys) { │ │ │ │ │ │ │ │ │ │ - // Extend a given object with all the properties in passed-in object(s). │ │ │ │ │ - var extend = _createAssigner(allKeys); │ │ │ │ │ + // Determine whether all of the elements pass a truth test. │ │ │ │ │ + function every(obj, predicate, context) { │ │ │ │ │ + predicate = _cb(predicate, context); │ │ │ │ │ + var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ + length = (_keys || obj).length; │ │ │ │ │ + for (var index = 0; index < length; index++) { │ │ │ │ │ + var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ + if (!predicate(obj[currentKey], currentKey, obj)) return false; │ │ │ │ │ + } │ │ │ │ │ + return true; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return extend; │ │ │ │ │ + return every; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index54.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,8 @@ │ │ │ │ │ -define(['./index36', './index134'], (function(_createAssigner, keys) { │ │ │ │ │ +define(['./index4', './index33'], (function(_createAssigner, allKeys) { │ │ │ │ │ │ │ │ │ │ - // Assigns a given object with all the own properties in the passed-in │ │ │ │ │ - // object(s). │ │ │ │ │ - // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) │ │ │ │ │ - var extendOwn = _createAssigner(keys); │ │ │ │ │ + // Extend a given object with all the properties in passed-in object(s). │ │ │ │ │ + var extend = _createAssigner(allKeys); │ │ │ │ │ │ │ │ │ │ - return extendOwn; │ │ │ │ │ + return extend; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index55.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,10 @@ │ │ │ │ │ -define(['./index2', './index50'], (function(_cb, each) { │ │ │ │ │ +define(['./index4', './index102'], (function(_createAssigner, keys) { │ │ │ │ │ │ │ │ │ │ - // Return all the elements that pass a truth test. │ │ │ │ │ - function filter(obj, predicate, context) { │ │ │ │ │ - var results = []; │ │ │ │ │ - predicate = _cb(predicate, context); │ │ │ │ │ - each(obj, function(value, index, list) { │ │ │ │ │ - if (predicate(value, index, list)) results.push(value); │ │ │ │ │ - }); │ │ │ │ │ - return results; │ │ │ │ │ - } │ │ │ │ │ + // Assigns a given object with all the own properties in the passed-in │ │ │ │ │ + // object(s). │ │ │ │ │ + // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) │ │ │ │ │ + var extendOwn = _createAssigner(keys); │ │ │ │ │ │ │ │ │ │ - return filter; │ │ │ │ │ + return extendOwn; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index56.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,15 @@ │ │ │ │ │ -define(['./index132', './index14', './index35'], (function(restArguments, _flatten, bind) { │ │ │ │ │ +define(['./index6', './index51'], (function(_cb, each) { │ │ │ │ │ │ │ │ │ │ - // Bind a number of an object's methods to that object. Remaining arguments │ │ │ │ │ - // are the method names to be bound. Useful for ensuring that all callbacks │ │ │ │ │ - // defined on an object belong to it. │ │ │ │ │ - var bindAll = restArguments(function(obj, keys) { │ │ │ │ │ - keys = _flatten(keys, false, false); │ │ │ │ │ - var index = keys.length; │ │ │ │ │ - if (index < 1) throw new Error('bindAll must be passed function names'); │ │ │ │ │ - while (index--) { │ │ │ │ │ - var key = keys[index]; │ │ │ │ │ - obj[key] = bind(obj[key], obj); │ │ │ │ │ - } │ │ │ │ │ - return obj; │ │ │ │ │ - }); │ │ │ │ │ + // Return all the elements that pass a truth test. │ │ │ │ │ + function filter(obj, predicate, context) { │ │ │ │ │ + var results = []; │ │ │ │ │ + predicate = _cb(predicate, context); │ │ │ │ │ + each(obj, function(value, index, list) { │ │ │ │ │ + if (predicate(value, index, list)) results.push(value); │ │ │ │ │ + }); │ │ │ │ │ + return results; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return bindAll; │ │ │ │ │ + return filter; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index58.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index8'], (function(_createPredicateIndexFinder) { │ │ │ │ │ +define(['./index9'], (function(_createPredicateIndexFinder) { │ │ │ │ │ │ │ │ │ │ // Returns the first index on an array-like that passes a truth test. │ │ │ │ │ var findIndex = _createPredicateIndexFinder(1); │ │ │ │ │ │ │ │ │ │ return findIndex; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index59.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index2', './index134'], (function(_cb, keys) { │ │ │ │ │ +define(['./index6', './index102'], (function(_cb, keys) { │ │ │ │ │ │ │ │ │ │ // Returns the first key on an object that passes a truth test. │ │ │ │ │ function findKey(obj, predicate, context) { │ │ │ │ │ predicate = _cb(predicate, context); │ │ │ │ │ var _keys = keys(obj), │ │ │ │ │ key; │ │ │ │ │ for (var i = 0, length = _keys.length; i < length; i++) { │ │ │ ├── ./usr/share/nodejs/underscore/amd/index6.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,21 +1,12 @@ │ │ │ │ │ -define(['./index134'], (function(keys) { │ │ │ │ │ +define(['./index147', './index5', './index101'], (function(underscore, _baseIteratee, iteratee) { │ │ │ │ │ │ │ │ │ │ - // Internal helper to generate functions for escaping and unescaping strings │ │ │ │ │ - // to/from HTML interpolation. │ │ │ │ │ - function createEscaper(map) { │ │ │ │ │ - var escaper = function(match) { │ │ │ │ │ - return map[match]; │ │ │ │ │ - }; │ │ │ │ │ - // Regexes for identifying a key that needs to be escaped. │ │ │ │ │ - var source = '(?:' + keys(map).join('|') + ')'; │ │ │ │ │ - var testRegexp = RegExp(source); │ │ │ │ │ - var replaceRegexp = RegExp(source, 'g'); │ │ │ │ │ - return function(string) { │ │ │ │ │ - string = string == null ? '' : '' + string; │ │ │ │ │ - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; │ │ │ │ │ - }; │ │ │ │ │ + // The function we call internally to generate a callback. It invokes │ │ │ │ │ + // `_.iteratee` if overridden, otherwise `baseIteratee`. │ │ │ │ │ + function cb(value, context, argCount) { │ │ │ │ │ + if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context); │ │ │ │ │ + return _baseIteratee(value, context, argCount); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return createEscaper; │ │ │ │ │ + return cb; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index60.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,11 @@ │ │ │ │ │ -define(['./index8'], (function(_createPredicateIndexFinder) { │ │ │ │ │ +define(['./index57', './index107'], (function(find, matcher) { │ │ │ │ │ │ │ │ │ │ - // Returns the last index on an array-like that passes a truth test. │ │ │ │ │ - var findLastIndex = _createPredicateIndexFinder(-1); │ │ │ │ │ + // Convenience version of a common use case of `_.find`: getting the first │ │ │ │ │ + // object containing specific `key:value` pairs. │ │ │ │ │ + function findWhere(obj, attrs) { │ │ │ │ │ + return find(obj, matcher(attrs)); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return findLastIndex; │ │ │ │ │ + return findWhere; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index61.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,8 @@ │ │ │ │ │ -define(['./index57', './index108'], (function(find, matcher) { │ │ │ │ │ +define(['./index9'], (function(_createPredicateIndexFinder) { │ │ │ │ │ │ │ │ │ │ - // Convenience version of a common use case of `_.find`: getting the first │ │ │ │ │ - // object containing specific `key:value` pairs. │ │ │ │ │ - function findWhere(obj, attrs) { │ │ │ │ │ - return find(obj, matcher(attrs)); │ │ │ │ │ - } │ │ │ │ │ + // Returns the last index on an array-like that passes a truth test. │ │ │ │ │ + var findLastIndex = _createPredicateIndexFinder(-1); │ │ │ │ │ │ │ │ │ │ - return findWhere; │ │ │ │ │ + return findLastIndex; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index62.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index72'], (function(initial) { │ │ │ │ │ +define(['./index74'], (function(initial) { │ │ │ │ │ │ │ │ │ │ // Get the first element of an array. Passing **n** will return the first N │ │ │ │ │ // values in the array. The **guard** check allows it to work with `_.map`. │ │ │ │ │ function first(array, n, guard) { │ │ │ │ │ if (array == null || array.length < 1) return n == null || guard ? void 0 : []; │ │ │ │ │ if (n == null || guard) return array[0]; │ │ │ │ │ return initial(array, array.length - n); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index63.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,11 @@ │ │ │ │ │ -define(['./index87'], (function(isFunction) { │ │ │ │ │ +define(['./index18'], (function(_flatten) { │ │ │ │ │ │ │ │ │ │ - // Return a sorted list of the function names available on the object. │ │ │ │ │ - function functions(obj) { │ │ │ │ │ - var names = []; │ │ │ │ │ - for (var key in obj) { │ │ │ │ │ - if (isFunction(obj[key])) names.push(key); │ │ │ │ │ - } │ │ │ │ │ - return names.sort(); │ │ │ │ │ + // Flatten out an array, either recursively (by default), or up to `depth`. │ │ │ │ │ + // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. │ │ │ │ │ + function flatten(array, depth) { │ │ │ │ │ + return _flatten(array, depth, false); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return functions; │ │ │ │ │ + return flatten; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index64.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,14 @@ │ │ │ │ │ -define(['./index30', './index11', './index99'], (function(_toPath, _deepGet, isUndefined) { │ │ │ │ │ +define(['./index87'], (function(isFunction) { │ │ │ │ │ │ │ │ │ │ - // Get the value of the (deep) property on `path` from `object`. │ │ │ │ │ - // If any property in `path` does not exist or if the value is │ │ │ │ │ - // `undefined`, return `defaultValue` instead. │ │ │ │ │ - // The `path` is normalized through `_.toPath`. │ │ │ │ │ - function get(object, path, defaultValue) { │ │ │ │ │ - var value = _deepGet(object, _toPath(path)); │ │ │ │ │ - return isUndefined(value) ? defaultValue : value; │ │ │ │ │ + // Return a sorted list of the function names available on the object. │ │ │ │ │ + function functions(obj) { │ │ │ │ │ + var names = []; │ │ │ │ │ + for (var key in obj) { │ │ │ │ │ + if (isFunction(obj[key])) names.push(key); │ │ │ │ │ + } │ │ │ │ │ + return names.sort(); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return get; │ │ │ │ │ + return functions; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index65.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,14 @@ │ │ │ │ │ -define(['./index17', './index18'], (function(_group, _has) { │ │ │ │ │ +define(['./index30', './index14', './index98'], (function(_toPath, _deepGet, isUndefined) { │ │ │ │ │ │ │ │ │ │ - // Groups the object's values by a criterion. Pass either a string attribute │ │ │ │ │ - // to group by, or a function that returns the criterion. │ │ │ │ │ - var groupBy = _group(function(result, value, key) { │ │ │ │ │ - if (_has(result, key)) result[key].push(value); │ │ │ │ │ - else result[key] = [value]; │ │ │ │ │ - }); │ │ │ │ │ + // Get the value of the (deep) property on `path` from `object`. │ │ │ │ │ + // If any property in `path` does not exist or if the value is │ │ │ │ │ + // `undefined`, return `defaultValue` instead. │ │ │ │ │ + // The `path` is normalized through `_.toPath`. │ │ │ │ │ + function get(object, path, defaultValue) { │ │ │ │ │ + var value = _deepGet(object, _toPath(path)); │ │ │ │ │ + return isUndefined(value) ? defaultValue : value; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return groupBy; │ │ │ │ │ + return get; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index66.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,12 @@ │ │ │ │ │ -define(['./index18', './index30'], (function(_has, _toPath) { │ │ │ │ │ +define(['./index16', './index17'], (function(_group, _has) { │ │ │ │ │ │ │ │ │ │ - // Shortcut function for checking if an object has a given property directly on │ │ │ │ │ - // itself (in other words, not on a prototype). Unlike the internal `has` │ │ │ │ │ - // function, this public version can also traverse nested properties. │ │ │ │ │ - function has(obj, path) { │ │ │ │ │ - path = _toPath(path); │ │ │ │ │ - var length = path.length; │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - var key = path[i]; │ │ │ │ │ - if (!_has(obj, key)) return false; │ │ │ │ │ - obj = obj[key]; │ │ │ │ │ - } │ │ │ │ │ - return !!length; │ │ │ │ │ - } │ │ │ │ │ + // Groups the object's values by a criterion. Pass either a string attribute │ │ │ │ │ + // to group by, or a function that returns the criterion. │ │ │ │ │ + var groupBy = _group(function(result, value, key) { │ │ │ │ │ + if (_has(result, key)) result[key].push(value); │ │ │ │ │ + else result[key] = [value]; │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return has; │ │ │ │ │ + return groupBy; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index67.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,19 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index17', './index30'], (function(_has, _toPath) { │ │ │ │ │ │ │ │ │ │ - // Keep the identity function around for default iteratees. │ │ │ │ │ - function identity(value) { │ │ │ │ │ - return value; │ │ │ │ │ + // Shortcut function for checking if an object has a given property directly on │ │ │ │ │ + // itself (in other words, not on a prototype). Unlike the internal `has` │ │ │ │ │ + // function, this public version can also traverse nested properties. │ │ │ │ │ + function has(obj, path) { │ │ │ │ │ + path = _toPath(path); │ │ │ │ │ + var length = path.length; │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + var key = path[i]; │ │ │ │ │ + if (!_has(obj, key)) return false; │ │ │ │ │ + obj = obj[key]; │ │ │ │ │ + } │ │ │ │ │ + return !!length; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return identity; │ │ │ │ │ + return has; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index68.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,29 +1,10 @@ │ │ │ │ │ -define(['./index69', './index112'], (function(index, mixin) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Default Export │ │ │ │ │ - // ============== │ │ │ │ │ - // In this module, we mix our bundled exports into the `_` object and export │ │ │ │ │ - // the result. This is analogous to setting `module.exports = _` in CommonJS. │ │ │ │ │ - // Hence, this module is also the entry point of our UMD bundle and the package │ │ │ │ │ - // entry point for CommonJS and AMD users. In other words, this is (the source │ │ │ │ │ - // of) the module you are interfacing with when you do any of the following: │ │ │ │ │ - // │ │ │ │ │ - // ```js │ │ │ │ │ - // // CommonJS │ │ │ │ │ - // var _ = require('underscore'); │ │ │ │ │ - // │ │ │ │ │ - // // AMD │ │ │ │ │ - // define(['underscore'], function(_) {...}); │ │ │ │ │ - // │ │ │ │ │ - // // UMD in the browser │ │ │ │ │ - // // _ is available as a global variable │ │ │ │ │ - // ``` │ │ │ │ │ + // Keep the identity function around for default iteratees. │ │ │ │ │ + function identity(value) { │ │ │ │ │ + return value; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - // Add all of the Underscore functions to the wrapper object. │ │ │ │ │ - var _ = mixin(index); │ │ │ │ │ - // Legacy Node.js API. │ │ │ │ │ - _._ = _; │ │ │ │ │ - │ │ │ │ │ - return _; │ │ │ │ │ + return identity; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index69.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,157 +1,29 @@ │ │ │ │ │ -define(['exports', './index25', './index132', './index94', './index91', './index99', './index79', './index82', './index96', './index92', './index81', './index93', './index84', './index97', './index78', './index80', './index77', './index87', './index76', './index86', './index90', './index98', './index83', './index89', './index85', './index88', './index100', './index95', './index101', './index134', './index33', './index154', './index119', './index73', './index63', './index53', './index54', './index46', './index45', './index71', './index140', './index64', './index66', './index107', './index67', './index40', './index114', './index146', './index124', './index125', './index108', './index144', './index126', './index115', './index51', './index149', './index142', './index141', './index133', './index152', './index39', './index135', './index120', './index35', './index56', './index110', './index48', './index47', './index143', './index44', './index157', './index113', './index41', './index32', './index34', './index118', './index59', './index58', './index60', './index139', './index74', './index104', './index57', './index61', './index50', './index106', './index128', './index129', './index55', './index130', './index52', './index137', './index42', './index75', './index123', './index155', './index109', './index111', './index160', './index159', './index138', './index65', './index70', './index43', './index121', './index145', './index136', './index122', './index117', './index62', './index72', './index105', './index131', './index38', './index103', './index156', './index151', './index150', './index102', './index49', './index153', './index158', './index116', './index127', './index37', './index112', './index147', './index148'], (function(exports, _setup, restArguments, isObject, isNull, isUndefined, isBoolean, isElement, isString, isNumber, isDate, isRegExp, isError, isSymbol, isArrayBuffer, isDataView, isArray, isFunction, isArguments, isFinite, isNaN, isTypedArray, isEmpty, isMatch, isEqual, isMap, isWeakMap, isSet, isWeakSet, keys, allKeys, values, pairs, invert, functions, extend, extendOwn, defaults, create, clone, tap, get, has, mapObject, identity, constant, noop, toPath, property, propertyOf, matcher, times, random, now, escape, unescape, templateSettings, template, result, uniqueId, chain, iteratee, partial, bind, bindAll, memoize, delay, defer, throttle, debounce, wrap, negate, compose, after, before, once, findKey, findIndex, findLastIndex, sortedIndex, indexOf, lastIndexOf, find, findWhere, each, map, reduce, reduceRight, filter, reject, every, some, contains, invoke, pluck, where, max, min, shuffle, sample, sortBy, groupBy, indexBy, countBy, partition, toArray, size, pick, omit, first, initial, last, rest, compact, flatten, without, uniq, union, intersection, difference, unzip, zip, object, range, chunk, mixin, underscoreArrayMethods, underscore) { │ │ │ │ │ +define(['./index70', './index111'], (function(index, mixin) { │ │ │ │ │ │ │ │ │ │ - // Named Exports │ │ │ │ │ - // ============= │ │ │ │ │ + // Default Export │ │ │ │ │ + // ============== │ │ │ │ │ + // In this module, we mix our bundled exports into the `_` object and export │ │ │ │ │ + // the result. This is analogous to setting `module.exports = _` in CommonJS. │ │ │ │ │ + // Hence, this module is also the entry point of our UMD bundle and the package │ │ │ │ │ + // entry point for CommonJS and AMD users. In other words, this is (the source │ │ │ │ │ + // of) the module you are interfacing with when you do any of the following: │ │ │ │ │ + // │ │ │ │ │ + // ```js │ │ │ │ │ + // // CommonJS │ │ │ │ │ + // var _ = require('underscore'); │ │ │ │ │ + // │ │ │ │ │ + // // AMD │ │ │ │ │ + // define(['underscore'], function(_) {...}); │ │ │ │ │ + // │ │ │ │ │ + // // UMD in the browser │ │ │ │ │ + // // _ is available as a global variable │ │ │ │ │ + // ``` │ │ │ │ │ │ │ │ │ │ - exports.VERSION = _setup.VERSION; │ │ │ │ │ - exports.restArguments = restArguments; │ │ │ │ │ - exports.isObject = isObject; │ │ │ │ │ - exports.isNull = isNull; │ │ │ │ │ - exports.isUndefined = isUndefined; │ │ │ │ │ - exports.isBoolean = isBoolean; │ │ │ │ │ - exports.isElement = isElement; │ │ │ │ │ - exports.isString = isString; │ │ │ │ │ - exports.isNumber = isNumber; │ │ │ │ │ - exports.isDate = isDate; │ │ │ │ │ - exports.isRegExp = isRegExp; │ │ │ │ │ - exports.isError = isError; │ │ │ │ │ - exports.isSymbol = isSymbol; │ │ │ │ │ - exports.isArrayBuffer = isArrayBuffer; │ │ │ │ │ - exports.isDataView = isDataView; │ │ │ │ │ - exports.isArray = isArray; │ │ │ │ │ - exports.isFunction = isFunction; │ │ │ │ │ - exports.isArguments = isArguments; │ │ │ │ │ - exports.isFinite = isFinite; │ │ │ │ │ - exports.isNaN = isNaN; │ │ │ │ │ - exports.isTypedArray = isTypedArray; │ │ │ │ │ - exports.isEmpty = isEmpty; │ │ │ │ │ - exports.isMatch = isMatch; │ │ │ │ │ - exports.isEqual = isEqual; │ │ │ │ │ - exports.isMap = isMap; │ │ │ │ │ - exports.isWeakMap = isWeakMap; │ │ │ │ │ - exports.isSet = isSet; │ │ │ │ │ - exports.isWeakSet = isWeakSet; │ │ │ │ │ - exports.keys = keys; │ │ │ │ │ - exports.allKeys = allKeys; │ │ │ │ │ - exports.values = values; │ │ │ │ │ - exports.pairs = pairs; │ │ │ │ │ - exports.invert = invert; │ │ │ │ │ - exports.functions = functions; │ │ │ │ │ - exports.methods = functions; │ │ │ │ │ - exports.extend = extend; │ │ │ │ │ - exports.assign = extendOwn; │ │ │ │ │ - exports.extendOwn = extendOwn; │ │ │ │ │ - exports.defaults = defaults; │ │ │ │ │ - exports.create = create; │ │ │ │ │ - exports.clone = clone; │ │ │ │ │ - exports.tap = tap; │ │ │ │ │ - exports.get = get; │ │ │ │ │ - exports.has = has; │ │ │ │ │ - exports.mapObject = mapObject; │ │ │ │ │ - exports.identity = identity; │ │ │ │ │ - exports.constant = constant; │ │ │ │ │ - exports.noop = noop; │ │ │ │ │ - exports.toPath = toPath; │ │ │ │ │ - exports.property = property; │ │ │ │ │ - exports.propertyOf = propertyOf; │ │ │ │ │ - exports.matcher = matcher; │ │ │ │ │ - exports.matches = matcher; │ │ │ │ │ - exports.times = times; │ │ │ │ │ - exports.random = random; │ │ │ │ │ - exports.now = now; │ │ │ │ │ - exports.escape = escape; │ │ │ │ │ - exports.unescape = unescape; │ │ │ │ │ - exports.templateSettings = templateSettings; │ │ │ │ │ - exports.template = template; │ │ │ │ │ - exports.result = result; │ │ │ │ │ - exports.uniqueId = uniqueId; │ │ │ │ │ - exports.chain = chain; │ │ │ │ │ - exports.iteratee = iteratee; │ │ │ │ │ - exports.partial = partial; │ │ │ │ │ - exports.bind = bind; │ │ │ │ │ - exports.bindAll = bindAll; │ │ │ │ │ - exports.memoize = memoize; │ │ │ │ │ - exports.delay = delay; │ │ │ │ │ - exports.defer = defer; │ │ │ │ │ - exports.throttle = throttle; │ │ │ │ │ - exports.debounce = debounce; │ │ │ │ │ - exports.wrap = wrap; │ │ │ │ │ - exports.negate = negate; │ │ │ │ │ - exports.compose = compose; │ │ │ │ │ - exports.after = after; │ │ │ │ │ - exports.before = before; │ │ │ │ │ - exports.once = once; │ │ │ │ │ - exports.findKey = findKey; │ │ │ │ │ - exports.findIndex = findIndex; │ │ │ │ │ - exports.findLastIndex = findLastIndex; │ │ │ │ │ - exports.sortedIndex = sortedIndex; │ │ │ │ │ - exports.indexOf = indexOf; │ │ │ │ │ - exports.lastIndexOf = lastIndexOf; │ │ │ │ │ - exports.detect = find; │ │ │ │ │ - exports.find = find; │ │ │ │ │ - exports.findWhere = findWhere; │ │ │ │ │ - exports.each = each; │ │ │ │ │ - exports.forEach = each; │ │ │ │ │ - exports.collect = map; │ │ │ │ │ - exports.map = map; │ │ │ │ │ - exports.foldl = reduce; │ │ │ │ │ - exports.inject = reduce; │ │ │ │ │ - exports.reduce = reduce; │ │ │ │ │ - exports.foldr = reduceRight; │ │ │ │ │ - exports.reduceRight = reduceRight; │ │ │ │ │ - exports.filter = filter; │ │ │ │ │ - exports.select = filter; │ │ │ │ │ - exports.reject = reject; │ │ │ │ │ - exports.all = every; │ │ │ │ │ - exports.every = every; │ │ │ │ │ - exports.any = some; │ │ │ │ │ - exports.some = some; │ │ │ │ │ - exports.contains = contains; │ │ │ │ │ - exports.include = contains; │ │ │ │ │ - exports.includes = contains; │ │ │ │ │ - exports.invoke = invoke; │ │ │ │ │ - exports.pluck = pluck; │ │ │ │ │ - exports.where = where; │ │ │ │ │ - exports.max = max; │ │ │ │ │ - exports.min = min; │ │ │ │ │ - exports.shuffle = shuffle; │ │ │ │ │ - exports.sample = sample; │ │ │ │ │ - exports.sortBy = sortBy; │ │ │ │ │ - exports.groupBy = groupBy; │ │ │ │ │ - exports.indexBy = indexBy; │ │ │ │ │ - exports.countBy = countBy; │ │ │ │ │ - exports.partition = partition; │ │ │ │ │ - exports.toArray = toArray; │ │ │ │ │ - exports.size = size; │ │ │ │ │ - exports.pick = pick; │ │ │ │ │ - exports.omit = omit; │ │ │ │ │ - exports.first = first; │ │ │ │ │ - exports.head = first; │ │ │ │ │ - exports.take = first; │ │ │ │ │ - exports.initial = initial; │ │ │ │ │ - exports.last = last; │ │ │ │ │ - exports.drop = rest; │ │ │ │ │ - exports.rest = rest; │ │ │ │ │ - exports.tail = rest; │ │ │ │ │ - exports.compact = compact; │ │ │ │ │ - exports.flatten = flatten; │ │ │ │ │ - exports.without = without; │ │ │ │ │ - exports.uniq = uniq; │ │ │ │ │ - exports.unique = uniq; │ │ │ │ │ - exports.union = union; │ │ │ │ │ - exports.intersection = intersection; │ │ │ │ │ - exports.difference = difference; │ │ │ │ │ - exports.transpose = unzip; │ │ │ │ │ - exports.unzip = unzip; │ │ │ │ │ - exports.zip = zip; │ │ │ │ │ - exports.object = object; │ │ │ │ │ - exports.range = range; │ │ │ │ │ - exports.chunk = chunk; │ │ │ │ │ - exports.mixin = mixin; │ │ │ │ │ - exports.default = underscore; │ │ │ │ │ + // Add all of the Underscore functions to the wrapper object. │ │ │ │ │ + var _ = mixin(index); │ │ │ │ │ + // Legacy Node.js API. │ │ │ │ │ + _._ = _; │ │ │ │ │ │ │ │ │ │ - Object.defineProperty(exports, '__esModule', { │ │ │ │ │ - value: true │ │ │ │ │ - }); │ │ │ │ │ + return _; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index7.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,31 +1,21 @@ │ │ │ │ │ -define(['./index16', './index25', './index90'], (function(_getLength, _setup, isNaN) { │ │ │ │ │ +define(['./index102'], (function(keys) { │ │ │ │ │ │ │ │ │ │ - // Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. │ │ │ │ │ - function createIndexFinder(dir, predicateFind, sortedIndex) { │ │ │ │ │ - return function(array, item, idx) { │ │ │ │ │ - var i = 0, │ │ │ │ │ - length = _getLength(array); │ │ │ │ │ - if (typeof idx == 'number') { │ │ │ │ │ - if (dir > 0) { │ │ │ │ │ - i = idx >= 0 ? idx : Math.max(idx + length, i); │ │ │ │ │ - } else { │ │ │ │ │ - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; │ │ │ │ │ - } │ │ │ │ │ - } else if (sortedIndex && idx && length) { │ │ │ │ │ - idx = sortedIndex(array, item); │ │ │ │ │ - return array[idx] === item ? idx : -1; │ │ │ │ │ - } │ │ │ │ │ - if (item !== item) { │ │ │ │ │ - idx = predicateFind(_setup.slice.call(array, i, length), isNaN); │ │ │ │ │ - return idx >= 0 ? idx + i : -1; │ │ │ │ │ - } │ │ │ │ │ - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { │ │ │ │ │ - if (array[idx] === item) return idx; │ │ │ │ │ - } │ │ │ │ │ - return -1; │ │ │ │ │ + // Internal helper to generate functions for escaping and unescaping strings │ │ │ │ │ + // to/from HTML interpolation. │ │ │ │ │ + function createEscaper(map) { │ │ │ │ │ + var escaper = function(match) { │ │ │ │ │ + return map[match]; │ │ │ │ │ + }; │ │ │ │ │ + // Regexes for identifying a key that needs to be escaped. │ │ │ │ │ + var source = '(?:' + keys(map).join('|') + ')'; │ │ │ │ │ + var testRegexp = RegExp(source); │ │ │ │ │ + var replaceRegexp = RegExp(source, 'g'); │ │ │ │ │ + return function(string) { │ │ │ │ │ + string = string == null ? '' : '' + string; │ │ │ │ │ + return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return createIndexFinder; │ │ │ │ │ + return createEscaper; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index70.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,157 @@ │ │ │ │ │ -define(['./index17'], (function(_group) { │ │ │ │ │ +define(['exports', './index26', './index131', './index92', './index116', './index98', './index79', './index82', './index95', './index91', './index81', './index93', './index85', './index96', './index78', './index80', './index104', './index87', './index140', './index86', './index89', './index97', './index83', './index90', './index84', './index88', './index99', './index94', './index100', './index102', './index33', './index152', './index119', './index75', './index64', './index54', './index55', './index47', './index46', './index52', './index141', './index65', './index67', './index106', './index68', './index42', './index113', './index159', './index124', './index123', './index107', './index143', './index127', './index114', './index77', './index148', './index144', './index142', './index132', './index150', './index37', './index101', './index120', './index35', './index36', './index109', './index49', './index48', './index145', './index45', './index155', './index112', './index41', './index32', './index34', './index118', './index59', './index58', './index61', './index139', './index72', './index135', './index57', './index60', './index51', './index105', './index126', './index128', './index56', './index129', './index53', './index137', './index43', './index76', './index122', './index153', './index108', './index110', './index134', './index133', './index138', './index66', './index71', './index44', './index121', './index146', './index136', './index157', './index117', './index62', './index74', './index103', './index130', './index40', './index63', './index154', './index158', './index149', './index73', './index50', './index151', './index156', './index115', './index125', './index38', './index111', './index160', './index147'], (function(exports, _setup, restArguments, isObject, isNull, isUndefined, isBoolean, isElement, isString, isNumber, isDate, isRegExp, isError, isSymbol, isArrayBuffer, isDataView, isArray, isFunction, isArguments, isFinite, isNaN, isTypedArray, isEmpty, isMatch, isEqual, isMap, isWeakMap, isSet, isWeakSet, keys, allKeys, values, pairs, invert, functions, extend, extendOwn, defaults, create, clone, tap, get, has, mapObject, identity, constant, noop, toPath, property, propertyOf, matcher, times, random, now, escape, unescape, templateSettings, template, result, uniqueId, chain, iteratee, partial, bind, bindAll, memoize, delay, defer, throttle, debounce, wrap, negate, compose, after, before, once, findKey, findIndex, findLastIndex, sortedIndex, indexOf, lastIndexOf, find, findWhere, each, map, reduce, reduceRight, filter, reject, every, some, contains, invoke, pluck, where, max, min, shuffle, sample, sortBy, groupBy, indexBy, countBy, partition, toArray, size, pick, omit, first, initial, last, rest, compact, flatten, without, uniq, union, intersection, difference, unzip, zip, object, range, chunk, mixin, underscoreArrayMethods, underscore) { │ │ │ │ │ │ │ │ │ │ - // Indexes the object's values by a criterion, similar to `_.groupBy`, but for │ │ │ │ │ - // when you know that your index values will be unique. │ │ │ │ │ - var indexBy = _group(function(result, value, key) { │ │ │ │ │ - result[key] = value; │ │ │ │ │ - }); │ │ │ │ │ + // Named Exports │ │ │ │ │ + // ============= │ │ │ │ │ + │ │ │ │ │ + exports.VERSION = _setup.VERSION; │ │ │ │ │ + exports.restArguments = restArguments; │ │ │ │ │ + exports.isObject = isObject; │ │ │ │ │ + exports.isNull = isNull; │ │ │ │ │ + exports.isUndefined = isUndefined; │ │ │ │ │ + exports.isBoolean = isBoolean; │ │ │ │ │ + exports.isElement = isElement; │ │ │ │ │ + exports.isString = isString; │ │ │ │ │ + exports.isNumber = isNumber; │ │ │ │ │ + exports.isDate = isDate; │ │ │ │ │ + exports.isRegExp = isRegExp; │ │ │ │ │ + exports.isError = isError; │ │ │ │ │ + exports.isSymbol = isSymbol; │ │ │ │ │ + exports.isArrayBuffer = isArrayBuffer; │ │ │ │ │ + exports.isDataView = isDataView; │ │ │ │ │ + exports.isArray = isArray; │ │ │ │ │ + exports.isFunction = isFunction; │ │ │ │ │ + exports.isArguments = isArguments; │ │ │ │ │ + exports.isFinite = isFinite; │ │ │ │ │ + exports.isNaN = isNaN; │ │ │ │ │ + exports.isTypedArray = isTypedArray; │ │ │ │ │ + exports.isEmpty = isEmpty; │ │ │ │ │ + exports.isMatch = isMatch; │ │ │ │ │ + exports.isEqual = isEqual; │ │ │ │ │ + exports.isMap = isMap; │ │ │ │ │ + exports.isWeakMap = isWeakMap; │ │ │ │ │ + exports.isSet = isSet; │ │ │ │ │ + exports.isWeakSet = isWeakSet; │ │ │ │ │ + exports.keys = keys; │ │ │ │ │ + exports.allKeys = allKeys; │ │ │ │ │ + exports.values = values; │ │ │ │ │ + exports.pairs = pairs; │ │ │ │ │ + exports.invert = invert; │ │ │ │ │ + exports.functions = functions; │ │ │ │ │ + exports.methods = functions; │ │ │ │ │ + exports.extend = extend; │ │ │ │ │ + exports.assign = extendOwn; │ │ │ │ │ + exports.extendOwn = extendOwn; │ │ │ │ │ + exports.defaults = defaults; │ │ │ │ │ + exports.create = create; │ │ │ │ │ + exports.clone = clone; │ │ │ │ │ + exports.tap = tap; │ │ │ │ │ + exports.get = get; │ │ │ │ │ + exports.has = has; │ │ │ │ │ + exports.mapObject = mapObject; │ │ │ │ │ + exports.identity = identity; │ │ │ │ │ + exports.constant = constant; │ │ │ │ │ + exports.noop = noop; │ │ │ │ │ + exports.toPath = toPath; │ │ │ │ │ + exports.property = property; │ │ │ │ │ + exports.propertyOf = propertyOf; │ │ │ │ │ + exports.matcher = matcher; │ │ │ │ │ + exports.matches = matcher; │ │ │ │ │ + exports.times = times; │ │ │ │ │ + exports.random = random; │ │ │ │ │ + exports.now = now; │ │ │ │ │ + exports.escape = escape; │ │ │ │ │ + exports.unescape = unescape; │ │ │ │ │ + exports.templateSettings = templateSettings; │ │ │ │ │ + exports.template = template; │ │ │ │ │ + exports.result = result; │ │ │ │ │ + exports.uniqueId = uniqueId; │ │ │ │ │ + exports.chain = chain; │ │ │ │ │ + exports.iteratee = iteratee; │ │ │ │ │ + exports.partial = partial; │ │ │ │ │ + exports.bind = bind; │ │ │ │ │ + exports.bindAll = bindAll; │ │ │ │ │ + exports.memoize = memoize; │ │ │ │ │ + exports.delay = delay; │ │ │ │ │ + exports.defer = defer; │ │ │ │ │ + exports.throttle = throttle; │ │ │ │ │ + exports.debounce = debounce; │ │ │ │ │ + exports.wrap = wrap; │ │ │ │ │ + exports.negate = negate; │ │ │ │ │ + exports.compose = compose; │ │ │ │ │ + exports.after = after; │ │ │ │ │ + exports.before = before; │ │ │ │ │ + exports.once = once; │ │ │ │ │ + exports.findKey = findKey; │ │ │ │ │ + exports.findIndex = findIndex; │ │ │ │ │ + exports.findLastIndex = findLastIndex; │ │ │ │ │ + exports.sortedIndex = sortedIndex; │ │ │ │ │ + exports.indexOf = indexOf; │ │ │ │ │ + exports.lastIndexOf = lastIndexOf; │ │ │ │ │ + exports.detect = find; │ │ │ │ │ + exports.find = find; │ │ │ │ │ + exports.findWhere = findWhere; │ │ │ │ │ + exports.each = each; │ │ │ │ │ + exports.forEach = each; │ │ │ │ │ + exports.collect = map; │ │ │ │ │ + exports.map = map; │ │ │ │ │ + exports.foldl = reduce; │ │ │ │ │ + exports.inject = reduce; │ │ │ │ │ + exports.reduce = reduce; │ │ │ │ │ + exports.foldr = reduceRight; │ │ │ │ │ + exports.reduceRight = reduceRight; │ │ │ │ │ + exports.filter = filter; │ │ │ │ │ + exports.select = filter; │ │ │ │ │ + exports.reject = reject; │ │ │ │ │ + exports.all = every; │ │ │ │ │ + exports.every = every; │ │ │ │ │ + exports.any = some; │ │ │ │ │ + exports.some = some; │ │ │ │ │ + exports.contains = contains; │ │ │ │ │ + exports.include = contains; │ │ │ │ │ + exports.includes = contains; │ │ │ │ │ + exports.invoke = invoke; │ │ │ │ │ + exports.pluck = pluck; │ │ │ │ │ + exports.where = where; │ │ │ │ │ + exports.max = max; │ │ │ │ │ + exports.min = min; │ │ │ │ │ + exports.shuffle = shuffle; │ │ │ │ │ + exports.sample = sample; │ │ │ │ │ + exports.sortBy = sortBy; │ │ │ │ │ + exports.groupBy = groupBy; │ │ │ │ │ + exports.indexBy = indexBy; │ │ │ │ │ + exports.countBy = countBy; │ │ │ │ │ + exports.partition = partition; │ │ │ │ │ + exports.toArray = toArray; │ │ │ │ │ + exports.size = size; │ │ │ │ │ + exports.pick = pick; │ │ │ │ │ + exports.omit = omit; │ │ │ │ │ + exports.first = first; │ │ │ │ │ + exports.head = first; │ │ │ │ │ + exports.take = first; │ │ │ │ │ + exports.initial = initial; │ │ │ │ │ + exports.last = last; │ │ │ │ │ + exports.drop = rest; │ │ │ │ │ + exports.rest = rest; │ │ │ │ │ + exports.tail = rest; │ │ │ │ │ + exports.compact = compact; │ │ │ │ │ + exports.flatten = flatten; │ │ │ │ │ + exports.without = without; │ │ │ │ │ + exports.uniq = uniq; │ │ │ │ │ + exports.unique = uniq; │ │ │ │ │ + exports.union = union; │ │ │ │ │ + exports.intersection = intersection; │ │ │ │ │ + exports.difference = difference; │ │ │ │ │ + exports.transpose = unzip; │ │ │ │ │ + exports.unzip = unzip; │ │ │ │ │ + exports.zip = zip; │ │ │ │ │ + exports.object = object; │ │ │ │ │ + exports.range = range; │ │ │ │ │ + exports.chunk = chunk; │ │ │ │ │ + exports.mixin = mixin; │ │ │ │ │ + exports.default = underscore; │ │ │ │ │ │ │ │ │ │ - return indexBy; │ │ │ │ │ + Object.defineProperty(exports, '__esModule', { │ │ │ │ │ + value: true │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index71.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,11 @@ │ │ │ │ │ -define(['./index94', './index77', './index53'], (function(isObject, isArray, extend) { │ │ │ │ │ +define(['./index16'], (function(_group) { │ │ │ │ │ │ │ │ │ │ - // Create a (shallow-cloned) duplicate of an object. │ │ │ │ │ - function clone(obj) { │ │ │ │ │ - if (!isObject(obj)) return obj; │ │ │ │ │ - return isArray(obj) ? obj.slice() : extend({}, obj); │ │ │ │ │ - } │ │ │ │ │ + // Indexes the object's values by a criterion, similar to `_.groupBy`, but for │ │ │ │ │ + // when you know that your index values will be unique. │ │ │ │ │ + var indexBy = _group(function(result, value, key) { │ │ │ │ │ + result[key] = value; │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return clone; │ │ │ │ │ + return indexBy; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index72.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,11 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index139', './index58', './index8'], (function(sortedIndex, findIndex, _createIndexFinder) { │ │ │ │ │ │ │ │ │ │ - // Returns everything but the last entry of the array. Especially useful on │ │ │ │ │ - // the arguments object. Passing **n** will return all the values in │ │ │ │ │ - // the array, excluding the last N. │ │ │ │ │ - function initial(array, n, guard) { │ │ │ │ │ - return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); │ │ │ │ │ - } │ │ │ │ │ + // Return the position of the first occurrence of an item in an array, │ │ │ │ │ + // or -1 if the item is not included in the array. │ │ │ │ │ + // If the array is large and already in sort order, pass `true` │ │ │ │ │ + // for **isSorted** to use binary search. │ │ │ │ │ + var indexOf = _createIndexFinder(1, findIndex, sortedIndex); │ │ │ │ │ │ │ │ │ │ - return initial; │ │ │ │ │ + return indexOf; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index73.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,22 @@ │ │ │ │ │ -define(['./index134'], (function(keys) { │ │ │ │ │ +define(['./index15', './index43'], (function(_getLength, contains) { │ │ │ │ │ │ │ │ │ │ - // Invert the keys and values of an object. The values must be serializable. │ │ │ │ │ - function invert(obj) { │ │ │ │ │ - var result = {}; │ │ │ │ │ - var _keys = keys(obj); │ │ │ │ │ - for (var i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ - result[obj[_keys[i]]] = _keys[i]; │ │ │ │ │ + // Produce an array that contains every item shared between all the │ │ │ │ │ + // passed-in arrays. │ │ │ │ │ + function intersection(array) { │ │ │ │ │ + var result = []; │ │ │ │ │ + var argsLength = arguments.length; │ │ │ │ │ + for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ + var item = array[i]; │ │ │ │ │ + if (contains(result, item)) continue; │ │ │ │ │ + var j; │ │ │ │ │ + for (j = 1; j < argsLength; j++) { │ │ │ │ │ + if (!contains(arguments[j], item)) break; │ │ │ │ │ + } │ │ │ │ │ + if (j === argsLength) result.push(item); │ │ │ │ │ } │ │ │ │ │ return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return invert; │ │ │ │ │ + return intersection; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index74.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,12 @@ │ │ │ │ │ -define(['./index139', './index58', './index7'], (function(sortedIndex, findIndex, _createIndexFinder) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ - // Return the position of the first occurrence of an item in an array, │ │ │ │ │ - // or -1 if the item is not included in the array. │ │ │ │ │ - // If the array is large and already in sort order, pass `true` │ │ │ │ │ - // for **isSorted** to use binary search. │ │ │ │ │ - var indexOf = _createIndexFinder(1, findIndex, sortedIndex); │ │ │ │ │ + // Returns everything but the last entry of the array. Especially useful on │ │ │ │ │ + // the arguments object. Passing **n** will return all the values in │ │ │ │ │ + // the array, excluding the last N. │ │ │ │ │ + function initial(array, n, guard) { │ │ │ │ │ + return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return indexOf; │ │ │ │ │ + return initial; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index75.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,28 +1,15 @@ │ │ │ │ │ -define(['./index132', './index87', './index106', './index11', './index30'], (function(restArguments, isFunction, map, _deepGet, _toPath) { │ │ │ │ │ +define(['./index102'], (function(keys) { │ │ │ │ │ │ │ │ │ │ - // Invoke a method (with arguments) on every item in a collection. │ │ │ │ │ - var invoke = restArguments(function(obj, path, args) { │ │ │ │ │ - var contextPath, func; │ │ │ │ │ - if (isFunction(path)) { │ │ │ │ │ - func = path; │ │ │ │ │ - } else { │ │ │ │ │ - path = _toPath(path); │ │ │ │ │ - contextPath = path.slice(0, -1); │ │ │ │ │ - path = path[path.length - 1]; │ │ │ │ │ + // Invert the keys and values of an object. The values must be serializable. │ │ │ │ │ + function invert(obj) { │ │ │ │ │ + var result = {}; │ │ │ │ │ + var _keys = keys(obj); │ │ │ │ │ + for (var i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ + result[obj[_keys[i]]] = _keys[i]; │ │ │ │ │ } │ │ │ │ │ - return map(obj, function(context) { │ │ │ │ │ - var method = func; │ │ │ │ │ - if (!method) { │ │ │ │ │ - if (contextPath && contextPath.length) { │ │ │ │ │ - context = _deepGet(context, contextPath); │ │ │ │ │ - } │ │ │ │ │ - if (context == null) return void 0; │ │ │ │ │ - method = context[path]; │ │ │ │ │ - } │ │ │ │ │ - return method == null ? method : method.apply(context, args); │ │ │ │ │ - }); │ │ │ │ │ - }); │ │ │ │ │ + return result; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return invoke; │ │ │ │ │ + return invert; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index76.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,28 @@ │ │ │ │ │ -define(['./index28', './index18'], (function(_tagTester, _has) { │ │ │ │ │ +define(['./index131', './index87', './index105', './index14', './index30'], (function(restArguments, isFunction, map, _deepGet, _toPath) { │ │ │ │ │ │ │ │ │ │ - var isArguments = _tagTester('Arguments'); │ │ │ │ │ - │ │ │ │ │ - // Define a fallback version of the method in browsers (ahem, IE < 9), where │ │ │ │ │ - // there isn't any inspectable "Arguments" type. │ │ │ │ │ - (function() { │ │ │ │ │ - if (!isArguments(arguments)) { │ │ │ │ │ - isArguments = function(obj) { │ │ │ │ │ - return _has(obj, 'callee'); │ │ │ │ │ - }; │ │ │ │ │ + // Invoke a method (with arguments) on every item in a collection. │ │ │ │ │ + var invoke = restArguments(function(obj, path, args) { │ │ │ │ │ + var contextPath, func; │ │ │ │ │ + if (isFunction(path)) { │ │ │ │ │ + func = path; │ │ │ │ │ + } else { │ │ │ │ │ + path = _toPath(path); │ │ │ │ │ + contextPath = path.slice(0, -1); │ │ │ │ │ + path = path[path.length - 1]; │ │ │ │ │ } │ │ │ │ │ - }()); │ │ │ │ │ - │ │ │ │ │ - var isArguments$1 = isArguments; │ │ │ │ │ + return map(obj, function(context) { │ │ │ │ │ + var method = func; │ │ │ │ │ + if (!method) { │ │ │ │ │ + if (contextPath && contextPath.length) { │ │ │ │ │ + context = _deepGet(context, contextPath); │ │ │ │ │ + } │ │ │ │ │ + if (context == null) return void 0; │ │ │ │ │ + method = context[path]; │ │ │ │ │ + } │ │ │ │ │ + return method == null ? method : method.apply(context, args); │ │ │ │ │ + }); │ │ │ │ │ + }); │ │ │ │ │ │ │ │ │ │ - return isArguments$1; │ │ │ │ │ + return invoke; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index77.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,8 @@ │ │ │ │ │ -define(['./index25', './index28'], (function(_setup, _tagTester) { │ │ │ │ │ +define(['./index7', './index25'], (function(_createEscaper, _escapeMap) { │ │ │ │ │ │ │ │ │ │ - // Is a given value an array? │ │ │ │ │ - // Delegates to ECMA5's native `Array.isArray`. │ │ │ │ │ - var isArray = _setup.nativeIsArray || _tagTester('Array'); │ │ │ │ │ + // Function for escaping strings to HTML interpolation. │ │ │ │ │ + var escape = _createEscaper(_escapeMap); │ │ │ │ │ │ │ │ │ │ - return isArray; │ │ │ │ │ + return escape; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index79.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index25'], (function(_setup) { │ │ │ │ │ +define(['./index26'], (function(_setup) { │ │ │ │ │ │ │ │ │ │ // Is a given value a boolean? │ │ │ │ │ function isBoolean(obj) { │ │ │ │ │ return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]'; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ return isBoolean; │ │ │ ├── ./usr/share/nodejs/underscore/amd/index8.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,31 @@ │ │ │ │ │ -define(['./index2', './index16'], (function(_cb, _getLength) { │ │ │ │ │ +define(['./index15', './index26', './index89'], (function(_getLength, _setup, isNaN) { │ │ │ │ │ │ │ │ │ │ - // Internal function to generate `_.findIndex` and `_.findLastIndex`. │ │ │ │ │ - function createPredicateIndexFinder(dir) { │ │ │ │ │ - return function(array, predicate, context) { │ │ │ │ │ - predicate = _cb(predicate, context); │ │ │ │ │ - var length = _getLength(array); │ │ │ │ │ - var index = dir > 0 ? 0 : length - 1; │ │ │ │ │ - for (; index >= 0 && index < length; index += dir) { │ │ │ │ │ - if (predicate(array[index], index, array)) return index; │ │ │ │ │ + // Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. │ │ │ │ │ + function createIndexFinder(dir, predicateFind, sortedIndex) { │ │ │ │ │ + return function(array, item, idx) { │ │ │ │ │ + var i = 0, │ │ │ │ │ + length = _getLength(array); │ │ │ │ │ + if (typeof idx == 'number') { │ │ │ │ │ + if (dir > 0) { │ │ │ │ │ + i = idx >= 0 ? idx : Math.max(idx + length, i); │ │ │ │ │ + } else { │ │ │ │ │ + length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; │ │ │ │ │ + } │ │ │ │ │ + } else if (sortedIndex && idx && length) { │ │ │ │ │ + idx = sortedIndex(array, item); │ │ │ │ │ + return array[idx] === item ? idx : -1; │ │ │ │ │ + } │ │ │ │ │ + if (item !== item) { │ │ │ │ │ + idx = predicateFind(_setup.slice.call(array, i, length), isNaN); │ │ │ │ │ + return idx >= 0 ? idx + i : -1; │ │ │ │ │ + } │ │ │ │ │ + for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { │ │ │ │ │ + if (array[idx] === item) return idx; │ │ │ │ │ } │ │ │ │ │ return -1; │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return createPredicateIndexFinder; │ │ │ │ │ + return createIndexFinder; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index83.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index16', './index77', './index96', './index76', './index134'], (function(_getLength, isArray, isString, isArguments, keys) { │ │ │ │ │ +define(['./index15', './index104', './index95', './index140', './index102'], (function(_getLength, isArray, isString, isArguments, keys) { │ │ │ │ │ │ │ │ │ │ // Is a given array, string, or object empty? │ │ │ │ │ // An "empty" object has no enumerable own-properties. │ │ │ │ │ function isEmpty(obj) { │ │ │ │ │ if (obj == null) return true; │ │ │ │ │ // Skip the more expensive `toString`-based type checks if `obj` has no │ │ │ │ │ // `.length`. │ │ │ ├── ./usr/share/nodejs/underscore/amd/index84.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,135 @@ │ │ │ │ │ -define(['./index28'], (function(_tagTester) { │ │ │ │ │ +define(['./index147', './index26', './index13', './index97', './index87', './index27', './index80', './index102', './index17', './index29'], (function(underscore, _setup, _getByteLength, isTypedArray, isFunction, _stringTagBug, isDataView, keys, _has, _toBufferView) { │ │ │ │ │ │ │ │ │ │ - var isError = _tagTester('Error'); │ │ │ │ │ + // We use this string twice, so give it a name for minification. │ │ │ │ │ + var tagDataView = '[object DataView]'; │ │ │ │ │ │ │ │ │ │ - return isError; │ │ │ │ │ + // Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ + function eq(a, b, aStack, bStack) { │ │ │ │ │ + // Identical objects are equal. `0 === -0`, but they aren't identical. │ │ │ │ │ + // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). │ │ │ │ │ + if (a === b) return a !== 0 || 1 / a === 1 / b; │ │ │ │ │ + // `null` or `undefined` only equal to itself (strict comparison). │ │ │ │ │ + if (a == null || b == null) return false; │ │ │ │ │ + // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ + if (a !== a) return b !== b; │ │ │ │ │ + // Exhaust primitive checks │ │ │ │ │ + var type = typeof a; │ │ │ │ │ + if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; │ │ │ │ │ + return deepEq(a, b, aStack, bStack); │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ + function deepEq(a, b, aStack, bStack) { │ │ │ │ │ + // Unwrap any wrapped objects. │ │ │ │ │ + if (a instanceof underscore) a = a._wrapped; │ │ │ │ │ + if (b instanceof underscore) b = b._wrapped; │ │ │ │ │ + // Compare `[[Class]]` names. │ │ │ │ │ + var className = _setup.toString.call(a); │ │ │ │ │ + if (className !== _setup.toString.call(b)) return false; │ │ │ │ │ + // Work around a bug in IE 10 - Edge 13. │ │ │ │ │ + if (_stringTagBug.hasStringTagBug && className == '[object Object]' && isDataView(a)) { │ │ │ │ │ + if (!isDataView(b)) return false; │ │ │ │ │ + className = tagDataView; │ │ │ │ │ + } │ │ │ │ │ + switch (className) { │ │ │ │ │ + // These types are compared by value. │ │ │ │ │ + case '[object RegExp]': │ │ │ │ │ + // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') │ │ │ │ │ + case '[object String]': │ │ │ │ │ + // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is │ │ │ │ │ + // equivalent to `new String("5")`. │ │ │ │ │ + return '' + a === '' + b; │ │ │ │ │ + case '[object Number]': │ │ │ │ │ + // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ + // Object(NaN) is equivalent to NaN. │ │ │ │ │ + if (+a !== +a) return +b !== +b; │ │ │ │ │ + // An `egal` comparison is performed for other numeric values. │ │ │ │ │ + return +a === 0 ? 1 / +a === 1 / b : +a === +b; │ │ │ │ │ + case '[object Date]': │ │ │ │ │ + case '[object Boolean]': │ │ │ │ │ + // Coerce dates and booleans to numeric primitive values. Dates are compared by their │ │ │ │ │ + // millisecond representations. Note that invalid dates with millisecond representations │ │ │ │ │ + // of `NaN` are not equivalent. │ │ │ │ │ + return +a === +b; │ │ │ │ │ + case '[object Symbol]': │ │ │ │ │ + return _setup.SymbolProto.valueOf.call(a) === _setup.SymbolProto.valueOf.call(b); │ │ │ │ │ + case '[object ArrayBuffer]': │ │ │ │ │ + case tagDataView: │ │ │ │ │ + // Coerce to typed array so we can fall through. │ │ │ │ │ + return deepEq(_toBufferView(a), _toBufferView(b), aStack, bStack); │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + var areArrays = className === '[object Array]'; │ │ │ │ │ + if (!areArrays && isTypedArray(a)) { │ │ │ │ │ + var byteLength = _getByteLength(a); │ │ │ │ │ + if (byteLength !== _getByteLength(b)) return false; │ │ │ │ │ + if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; │ │ │ │ │ + areArrays = true; │ │ │ │ │ + } │ │ │ │ │ + if (!areArrays) { │ │ │ │ │ + if (typeof a != 'object' || typeof b != 'object') return false; │ │ │ │ │ + │ │ │ │ │ + // Objects with different constructors are not equivalent, but `Object`s or `Array`s │ │ │ │ │ + // from different frames are. │ │ │ │ │ + var aCtor = a.constructor, │ │ │ │ │ + bCtor = b.constructor; │ │ │ │ │ + if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && │ │ │ │ │ + isFunction(bCtor) && bCtor instanceof bCtor) && │ │ │ │ │ + ('constructor' in a && 'constructor' in b)) { │ │ │ │ │ + return false; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + // Assume equality for cyclic structures. The algorithm for detecting cyclic │ │ │ │ │ + // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. │ │ │ │ │ + │ │ │ │ │ + // Initializing stack of traversed objects. │ │ │ │ │ + // It's done here since we only need them for objects and arrays comparison. │ │ │ │ │ + aStack = aStack || []; │ │ │ │ │ + bStack = bStack || []; │ │ │ │ │ + var length = aStack.length; │ │ │ │ │ + while (length--) { │ │ │ │ │ + // Linear search. Performance is inversely proportional to the number of │ │ │ │ │ + // unique nested structures. │ │ │ │ │ + if (aStack[length] === a) return bStack[length] === b; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // Add the first object to the stack of traversed objects. │ │ │ │ │ + aStack.push(a); │ │ │ │ │ + bStack.push(b); │ │ │ │ │ + │ │ │ │ │ + // Recursively compare objects and arrays. │ │ │ │ │ + if (areArrays) { │ │ │ │ │ + // Compare array lengths to determine if a deep comparison is necessary. │ │ │ │ │ + length = a.length; │ │ │ │ │ + if (length !== b.length) return false; │ │ │ │ │ + // Deep compare the contents, ignoring non-numeric properties. │ │ │ │ │ + while (length--) { │ │ │ │ │ + if (!eq(a[length], b[length], aStack, bStack)) return false; │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + // Deep compare objects. │ │ │ │ │ + var _keys = keys(a), │ │ │ │ │ + key; │ │ │ │ │ + length = _keys.length; │ │ │ │ │ + // Ensure that both objects contain the same number of properties before comparing deep equality. │ │ │ │ │ + if (keys(b).length !== length) return false; │ │ │ │ │ + while (length--) { │ │ │ │ │ + // Deep compare each member │ │ │ │ │ + key = _keys[length]; │ │ │ │ │ + if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + // Remove the first object from the stack of traversed objects. │ │ │ │ │ + aStack.pop(); │ │ │ │ │ + bStack.pop(); │ │ │ │ │ + return true; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // Perform a deep comparison to check if two objects are equal. │ │ │ │ │ + function isEqual(a, b) { │ │ │ │ │ + return eq(a, b); │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + return isEqual; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index85.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,135 +1,7 @@ │ │ │ │ │ -define(['./index148', './index25', './index15', './index98', './index87', './index27', './index80', './index134', './index18', './index29'], (function(underscore, _setup, _getByteLength, isTypedArray, isFunction, _stringTagBug, isDataView, keys, _has, _toBufferView) { │ │ │ │ │ +define(['./index28'], (function(_tagTester) { │ │ │ │ │ │ │ │ │ │ - // We use this string twice, so give it a name for minification. │ │ │ │ │ - var tagDataView = '[object DataView]'; │ │ │ │ │ + var isError = _tagTester('Error'); │ │ │ │ │ │ │ │ │ │ - // Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ - function eq(a, b, aStack, bStack) { │ │ │ │ │ - // Identical objects are equal. `0 === -0`, but they aren't identical. │ │ │ │ │ - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). │ │ │ │ │ - if (a === b) return a !== 0 || 1 / a === 1 / b; │ │ │ │ │ - // `null` or `undefined` only equal to itself (strict comparison). │ │ │ │ │ - if (a == null || b == null) return false; │ │ │ │ │ - // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ - if (a !== a) return b !== b; │ │ │ │ │ - // Exhaust primitive checks │ │ │ │ │ - var type = typeof a; │ │ │ │ │ - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; │ │ │ │ │ - return deepEq(a, b, aStack, bStack); │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ - function deepEq(a, b, aStack, bStack) { │ │ │ │ │ - // Unwrap any wrapped objects. │ │ │ │ │ - if (a instanceof underscore) a = a._wrapped; │ │ │ │ │ - if (b instanceof underscore) b = b._wrapped; │ │ │ │ │ - // Compare `[[Class]]` names. │ │ │ │ │ - var className = _setup.toString.call(a); │ │ │ │ │ - if (className !== _setup.toString.call(b)) return false; │ │ │ │ │ - // Work around a bug in IE 10 - Edge 13. │ │ │ │ │ - if (_stringTagBug.hasStringTagBug && className == '[object Object]' && isDataView(a)) { │ │ │ │ │ - if (!isDataView(b)) return false; │ │ │ │ │ - className = tagDataView; │ │ │ │ │ - } │ │ │ │ │ - switch (className) { │ │ │ │ │ - // These types are compared by value. │ │ │ │ │ - case '[object RegExp]': │ │ │ │ │ - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') │ │ │ │ │ - case '[object String]': │ │ │ │ │ - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is │ │ │ │ │ - // equivalent to `new String("5")`. │ │ │ │ │ - return '' + a === '' + b; │ │ │ │ │ - case '[object Number]': │ │ │ │ │ - // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ - // Object(NaN) is equivalent to NaN. │ │ │ │ │ - if (+a !== +a) return +b !== +b; │ │ │ │ │ - // An `egal` comparison is performed for other numeric values. │ │ │ │ │ - return +a === 0 ? 1 / +a === 1 / b : +a === +b; │ │ │ │ │ - case '[object Date]': │ │ │ │ │ - case '[object Boolean]': │ │ │ │ │ - // Coerce dates and booleans to numeric primitive values. Dates are compared by their │ │ │ │ │ - // millisecond representations. Note that invalid dates with millisecond representations │ │ │ │ │ - // of `NaN` are not equivalent. │ │ │ │ │ - return +a === +b; │ │ │ │ │ - case '[object Symbol]': │ │ │ │ │ - return _setup.SymbolProto.valueOf.call(a) === _setup.SymbolProto.valueOf.call(b); │ │ │ │ │ - case '[object ArrayBuffer]': │ │ │ │ │ - case tagDataView: │ │ │ │ │ - // Coerce to typed array so we can fall through. │ │ │ │ │ - return deepEq(_toBufferView(a), _toBufferView(b), aStack, bStack); │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - var areArrays = className === '[object Array]'; │ │ │ │ │ - if (!areArrays && isTypedArray(a)) { │ │ │ │ │ - var byteLength = _getByteLength(a); │ │ │ │ │ - if (byteLength !== _getByteLength(b)) return false; │ │ │ │ │ - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; │ │ │ │ │ - areArrays = true; │ │ │ │ │ - } │ │ │ │ │ - if (!areArrays) { │ │ │ │ │ - if (typeof a != 'object' || typeof b != 'object') return false; │ │ │ │ │ - │ │ │ │ │ - // Objects with different constructors are not equivalent, but `Object`s or `Array`s │ │ │ │ │ - // from different frames are. │ │ │ │ │ - var aCtor = a.constructor, │ │ │ │ │ - bCtor = b.constructor; │ │ │ │ │ - if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && │ │ │ │ │ - isFunction(bCtor) && bCtor instanceof bCtor) && │ │ │ │ │ - ('constructor' in a && 'constructor' in b)) { │ │ │ │ │ - return false; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - // Assume equality for cyclic structures. The algorithm for detecting cyclic │ │ │ │ │ - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. │ │ │ │ │ - │ │ │ │ │ - // Initializing stack of traversed objects. │ │ │ │ │ - // It's done here since we only need them for objects and arrays comparison. │ │ │ │ │ - aStack = aStack || []; │ │ │ │ │ - bStack = bStack || []; │ │ │ │ │ - var length = aStack.length; │ │ │ │ │ - while (length--) { │ │ │ │ │ - // Linear search. Performance is inversely proportional to the number of │ │ │ │ │ - // unique nested structures. │ │ │ │ │ - if (aStack[length] === a) return bStack[length] === b; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // Add the first object to the stack of traversed objects. │ │ │ │ │ - aStack.push(a); │ │ │ │ │ - bStack.push(b); │ │ │ │ │ - │ │ │ │ │ - // Recursively compare objects and arrays. │ │ │ │ │ - if (areArrays) { │ │ │ │ │ - // Compare array lengths to determine if a deep comparison is necessary. │ │ │ │ │ - length = a.length; │ │ │ │ │ - if (length !== b.length) return false; │ │ │ │ │ - // Deep compare the contents, ignoring non-numeric properties. │ │ │ │ │ - while (length--) { │ │ │ │ │ - if (!eq(a[length], b[length], aStack, bStack)) return false; │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - // Deep compare objects. │ │ │ │ │ - var _keys = keys(a), │ │ │ │ │ - key; │ │ │ │ │ - length = _keys.length; │ │ │ │ │ - // Ensure that both objects contain the same number of properties before comparing deep equality. │ │ │ │ │ - if (keys(b).length !== length) return false; │ │ │ │ │ - while (length--) { │ │ │ │ │ - // Deep compare each member │ │ │ │ │ - key = _keys[length]; │ │ │ │ │ - if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - // Remove the first object from the stack of traversed objects. │ │ │ │ │ - aStack.pop(); │ │ │ │ │ - bStack.pop(); │ │ │ │ │ - return true; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // Perform a deep comparison to check if two objects are equal. │ │ │ │ │ - function isEqual(a, b) { │ │ │ │ │ - return eq(a, b); │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - return isEqual; │ │ │ │ │ + return isError; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index86.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index25', './index97'], (function(_setup, isSymbol) { │ │ │ │ │ +define(['./index26', './index96'], (function(_setup, isSymbol) { │ │ │ │ │ │ │ │ │ │ // Is a given object a finite number? │ │ │ │ │ function isFinite(obj) { │ │ │ │ │ return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ return isFinite; │ │ │ ├── ./usr/share/nodejs/underscore/amd/index87.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -define(['./index28', './index25'], (function(_tagTester, _setup) { │ │ │ │ │ +define(['./index28', './index26'], (function(_tagTester, _setup) { │ │ │ │ │ │ │ │ │ │ var isFunction = _tagTester('Function'); │ │ │ │ │ │ │ │ │ │ // Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old │ │ │ │ │ // v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). │ │ │ │ │ var nodelist = _setup.root.document && _setup.root.document.childNodes; │ │ │ │ │ if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { │ │ │ ├── ./usr/share/nodejs/underscore/amd/index88.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ -define(['./index28', './index27', './index23'], (function(_tagTester, _stringTagBug, _methodFingerprint) { │ │ │ │ │ +define(['./index28', './index27', './index22'], (function(_tagTester, _stringTagBug, _methodFingerprint) { │ │ │ │ │ │ │ │ │ │ var isMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.mapMethods) : _tagTester('Map'); │ │ │ │ │ │ │ │ │ │ return isMap; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index89.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,10 @@ │ │ │ │ │ -define(['./index134'], (function(keys) { │ │ │ │ │ +define(['./index26', './index91'], (function(_setup, isNumber) { │ │ │ │ │ │ │ │ │ │ - // Returns whether an object has a given set of `key:value` pairs. │ │ │ │ │ - function isMatch(object, attrs) { │ │ │ │ │ - var _keys = keys(attrs), │ │ │ │ │ - length = _keys.length; │ │ │ │ │ - if (object == null) return !length; │ │ │ │ │ - var obj = Object(object); │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - var key = _keys[i]; │ │ │ │ │ - if (attrs[key] !== obj[key] || !(key in obj)) return false; │ │ │ │ │ - } │ │ │ │ │ - return true; │ │ │ │ │ + // Is the given value `NaN`? │ │ │ │ │ + function isNaN(obj) { │ │ │ │ │ + return isNumber(obj) && _setup._isNaN(obj); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return isMatch; │ │ │ │ │ + return isNaN; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index9.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,30 +1,18 @@ │ │ │ │ │ -define(['./index20', './index134', './index24'], (function(_isArrayLike, keys, _optimizeCb) { │ │ │ │ │ +define(['./index6', './index15'], (function(_cb, _getLength) { │ │ │ │ │ │ │ │ │ │ - // Internal helper to create a reducing function, iterating left or right. │ │ │ │ │ - function createReduce(dir) { │ │ │ │ │ - // Wrap code that reassigns argument variables in a separate function than │ │ │ │ │ - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) │ │ │ │ │ - var reducer = function(obj, iteratee, memo, initial) { │ │ │ │ │ - var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ - length = (_keys || obj).length, │ │ │ │ │ - index = dir > 0 ? 0 : length - 1; │ │ │ │ │ - if (!initial) { │ │ │ │ │ - memo = obj[_keys ? _keys[index] : index]; │ │ │ │ │ - index += dir; │ │ │ │ │ - } │ │ │ │ │ + // Internal function to generate `_.findIndex` and `_.findLastIndex`. │ │ │ │ │ + function createPredicateIndexFinder(dir) { │ │ │ │ │ + return function(array, predicate, context) { │ │ │ │ │ + predicate = _cb(predicate, context); │ │ │ │ │ + var length = _getLength(array); │ │ │ │ │ + var index = dir > 0 ? 0 : length - 1; │ │ │ │ │ for (; index >= 0 && index < length; index += dir) { │ │ │ │ │ - var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ - memo = iteratee(memo, obj[currentKey], currentKey, obj); │ │ │ │ │ + if (predicate(array[index], index, array)) return index; │ │ │ │ │ } │ │ │ │ │ - return memo; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return function(obj, iteratee, memo, context) { │ │ │ │ │ - var initial = arguments.length >= 3; │ │ │ │ │ - return reducer(obj, _optimizeCb(iteratee, context, 4), memo, initial); │ │ │ │ │ + return -1; │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return createReduce; │ │ │ │ │ + return createPredicateIndexFinder; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index90.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,18 @@ │ │ │ │ │ -define(['./index25', './index92'], (function(_setup, isNumber) { │ │ │ │ │ +define(['./index102'], (function(keys) { │ │ │ │ │ │ │ │ │ │ - // Is the given value `NaN`? │ │ │ │ │ - function isNaN(obj) { │ │ │ │ │ - return isNumber(obj) && _setup._isNaN(obj); │ │ │ │ │ + // Returns whether an object has a given set of `key:value` pairs. │ │ │ │ │ + function isMatch(object, attrs) { │ │ │ │ │ + var _keys = keys(attrs), │ │ │ │ │ + length = _keys.length; │ │ │ │ │ + if (object == null) return !length; │ │ │ │ │ + var obj = Object(object); │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + var key = _keys[i]; │ │ │ │ │ + if (attrs[key] !== obj[key] || !(key in obj)) return false; │ │ │ │ │ + } │ │ │ │ │ + return true; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - return isNaN; │ │ │ │ │ + return isMatch; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index91.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,7 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index28'], (function(_tagTester) { │ │ │ │ │ │ │ │ │ │ - // Is a given value equal to null? │ │ │ │ │ - function isNull(obj) { │ │ │ │ │ - return obj === null; │ │ │ │ │ - } │ │ │ │ │ + var isNumber = _tagTester('Number'); │ │ │ │ │ │ │ │ │ │ - return isNull; │ │ │ │ │ + return isNumber; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index92.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,11 @@ │ │ │ │ │ -define(['./index28'], (function(_tagTester) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - var isNumber = _tagTester('Number'); │ │ │ │ │ + // Is a given variable an object? │ │ │ │ │ + function isObject(obj) { │ │ │ │ │ + var type = typeof obj; │ │ │ │ │ + return type === 'function' || (type === 'object' && !!obj); │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ - return isNumber; │ │ │ │ │ + return isObject; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index94.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,7 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index28', './index27', './index22'], (function(_tagTester, _stringTagBug, _methodFingerprint) { │ │ │ │ │ │ │ │ │ │ - // Is a given variable an object? │ │ │ │ │ - function isObject(obj) { │ │ │ │ │ - var type = typeof obj; │ │ │ │ │ - return type === 'function' || (type === 'object' && !!obj); │ │ │ │ │ - } │ │ │ │ │ + var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); │ │ │ │ │ │ │ │ │ │ - return isObject; │ │ │ │ │ + return isSet; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index95.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ -define(['./index28', './index27', './index23'], (function(_tagTester, _stringTagBug, _methodFingerprint) { │ │ │ │ │ +define(['./index28'], (function(_tagTester) { │ │ │ │ │ │ │ │ │ │ - var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); │ │ │ │ │ + var isString = _tagTester('String'); │ │ │ │ │ │ │ │ │ │ - return isSet; │ │ │ │ │ + return isString; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index96.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ define(['./index28'], (function(_tagTester) { │ │ │ │ │ │ │ │ │ │ - var isString = _tagTester('String'); │ │ │ │ │ + var isSymbol = _tagTester('Symbol'); │ │ │ │ │ │ │ │ │ │ - return isString; │ │ │ │ │ + return isSymbol; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index97.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,17 @@ │ │ │ │ │ -define(['./index28'], (function(_tagTester) { │ │ │ │ │ +define(['./index26', './index80', './index42', './index21'], (function(_setup, isDataView, constant, _isBufferLike) { │ │ │ │ │ │ │ │ │ │ - var isSymbol = _tagTester('Symbol'); │ │ │ │ │ + // Is a given value a typed array? │ │ │ │ │ + var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; │ │ │ │ │ │ │ │ │ │ - return isSymbol; │ │ │ │ │ + function isTypedArray(obj) { │ │ │ │ │ + // `ArrayBuffer.isView` is the most future-proof, so use it when available. │ │ │ │ │ + // Otherwise, fall back on the above regular expression. │ │ │ │ │ + return _setup.nativeIsView ? (_setup.nativeIsView(obj) && !isDataView(obj)) : │ │ │ │ │ + _isBufferLike(obj) && typedArrayPattern.test(_setup.toString.call(obj)); │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + var isTypedArray$1 = _setup.supportsArrayBuffer ? isTypedArray : constant(false); │ │ │ │ │ + │ │ │ │ │ + return isTypedArray$1; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index98.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,10 @@ │ │ │ │ │ -define(['./index25', './index80', './index40', './index21'], (function(_setup, isDataView, constant, _isBufferLike) { │ │ │ │ │ +define((function() { │ │ │ │ │ │ │ │ │ │ - // Is a given value a typed array? │ │ │ │ │ - var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; │ │ │ │ │ - │ │ │ │ │ - function isTypedArray(obj) { │ │ │ │ │ - // `ArrayBuffer.isView` is the most future-proof, so use it when available. │ │ │ │ │ - // Otherwise, fall back on the above regular expression. │ │ │ │ │ - return _setup.nativeIsView ? (_setup.nativeIsView(obj) && !isDataView(obj)) : │ │ │ │ │ - _isBufferLike(obj) && typedArrayPattern.test(_setup.toString.call(obj)); │ │ │ │ │ + // Is a given variable undefined? │ │ │ │ │ + function isUndefined(obj) { │ │ │ │ │ + return obj === void 0; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ - var isTypedArray$1 = _setup.supportsArrayBuffer ? isTypedArray : constant(false); │ │ │ │ │ - │ │ │ │ │ - return isTypedArray$1; │ │ │ │ │ + return isUndefined; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/amd/index99.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,7 @@ │ │ │ │ │ -define((function() { │ │ │ │ │ +define(['./index28', './index27', './index22'], (function(_tagTester, _stringTagBug, _methodFingerprint) { │ │ │ │ │ │ │ │ │ │ - // Is a given variable undefined? │ │ │ │ │ - function isUndefined(obj) { │ │ │ │ │ - return obj === void 0; │ │ │ │ │ - } │ │ │ │ │ + var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); │ │ │ │ │ │ │ │ │ │ - return isUndefined; │ │ │ │ │ + return isWeakMap; │ │ │ │ │ │ │ │ │ │ })); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,20 @@ │ │ │ │ │ -var identity = require('./index67.js'); │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ -var matcher = require('./index108.js'); │ │ │ │ │ -var property = require('./index124.js'); │ │ │ │ │ -var _optimizeCb = require('./index24.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ -// An internal function to generate callbacks that can be applied to each │ │ │ │ │ -// element in a collection, returning the desired result — either `_.identity`, │ │ │ │ │ -// an arbitrary callback, a property matcher, or a property accessor. │ │ │ │ │ -function baseIteratee(value, context, argCount) { │ │ │ │ │ - if (value == null) return identity; │ │ │ │ │ - if (isFunction(value)) return _optimizeCb(value, context, argCount); │ │ │ │ │ - if (isObject(value) && !isArray(value)) return matcher(value); │ │ │ │ │ - return property(value); │ │ │ │ │ +// Create a naked function reference for surrogate-prototype-swapping. │ │ │ │ │ +function ctor() { │ │ │ │ │ + return function() {}; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = baseIteratee; │ │ │ │ │ +// An internal function for creating a new object that inherits from another. │ │ │ │ │ +function baseCreate(prototype) { │ │ │ │ │ + if (!isObject(prototype)) return {}; │ │ │ │ │ + if (_setup.nativeCreate) return _setup.nativeCreate(prototype); │ │ │ │ │ + var Ctor = ctor(); │ │ │ │ │ + Ctor.prototype = prototype; │ │ │ │ │ + var result = new Ctor; │ │ │ │ │ + Ctor.prototype = null; │ │ │ │ │ + return result; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +module.exports = baseCreate; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index10.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,30 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ +var _optimizeCb = require('./index23.js'); │ │ │ │ │ │ │ │ │ │ -// Common internal logic for `isArrayLike` and `isBufferLike`. │ │ │ │ │ -function createSizePropertyCheck(getSizeProperty) { │ │ │ │ │ - return function(collection) { │ │ │ │ │ - var sizeProperty = getSizeProperty(collection); │ │ │ │ │ - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; │ │ │ │ │ - } │ │ │ │ │ +// Internal helper to create a reducing function, iterating left or right. │ │ │ │ │ +function createReduce(dir) { │ │ │ │ │ + // Wrap code that reassigns argument variables in a separate function than │ │ │ │ │ + // the one that accesses `arguments.length` to avoid a perf hit. (#1991) │ │ │ │ │ + var reducer = function(obj, iteratee, memo, initial) { │ │ │ │ │ + var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ + length = (_keys || obj).length, │ │ │ │ │ + index = dir > 0 ? 0 : length - 1; │ │ │ │ │ + if (!initial) { │ │ │ │ │ + memo = obj[_keys ? _keys[index] : index]; │ │ │ │ │ + index += dir; │ │ │ │ │ + } │ │ │ │ │ + for (; index >= 0 && index < length; index += dir) { │ │ │ │ │ + var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ + memo = iteratee(memo, obj[currentKey], currentKey, obj); │ │ │ │ │ + } │ │ │ │ │ + return memo; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return function(obj, iteratee, memo, context) { │ │ │ │ │ + var initial = arguments.length >= 3; │ │ │ │ │ + return reducer(obj, _optimizeCb(iteratee, context, 4), memo, initial); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = createSizePropertyCheck; │ │ │ │ │ +module.exports = createReduce; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index100.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,5 @@ │ │ │ │ │ var _tagTester = require('./index28.js'); │ │ │ │ │ -var _stringTagBug = require('./index27.js'); │ │ │ │ │ -var _methodFingerprint = require('./index23.js'); │ │ │ │ │ │ │ │ │ │ -var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); │ │ │ │ │ +var isWeakSet = _tagTester('WeakSet'); │ │ │ │ │ │ │ │ │ │ -module.exports = isWeakMap; │ │ │ │ │ +module.exports = isWeakSet; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index101.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,5 +1,12 @@ │ │ │ │ │ -var _tagTester = require('./index28.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +var _baseIteratee = require('./index5.js'); │ │ │ │ │ │ │ │ │ │ -var isWeakSet = _tagTester('WeakSet'); │ │ │ │ │ +// External wrapper for our callback generator. Users may customize │ │ │ │ │ +// `_.iteratee` if they want additional predicate/iteratee shorthand styles. │ │ │ │ │ +// This abstraction hides the internal-only `argCount` argument. │ │ │ │ │ +function iteratee(value, context) { │ │ │ │ │ + return _baseIteratee(value, context, Infinity); │ │ │ │ │ +} │ │ │ │ │ +underscore.iteratee = iteratee; │ │ │ │ │ │ │ │ │ │ -module.exports = isWeakSet; │ │ │ │ │ +module.exports = iteratee; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index102.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,21 +1,19 @@ │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var contains = require('./index42.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ +var _collectNonEnumProps = require('./index3.js'); │ │ │ │ │ │ │ │ │ │ -// Produce an array that contains every item shared between all the │ │ │ │ │ -// passed-in arrays. │ │ │ │ │ -function intersection(array) { │ │ │ │ │ - var result = []; │ │ │ │ │ - var argsLength = arguments.length; │ │ │ │ │ - for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ - var item = array[i]; │ │ │ │ │ - if (contains(result, item)) continue; │ │ │ │ │ - var j; │ │ │ │ │ - for (j = 1; j < argsLength; j++) { │ │ │ │ │ - if (!contains(arguments[j], item)) break; │ │ │ │ │ - } │ │ │ │ │ - if (j === argsLength) result.push(item); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ +// Retrieve the names of an object's own properties. │ │ │ │ │ +// Delegates to **ECMAScript 5**'s native `Object.keys`. │ │ │ │ │ +function keys(obj) { │ │ │ │ │ + if (!isObject(obj)) return []; │ │ │ │ │ + if (_setup.nativeKeys) return _setup.nativeKeys(obj); │ │ │ │ │ + var keys = []; │ │ │ │ │ + for (var key in obj) │ │ │ │ │ + if (_has(obj, key)) keys.push(key); │ │ │ │ │ + // Ahem, IE < 9. │ │ │ │ │ + if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); │ │ │ │ │ + return keys; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = intersection; │ │ │ │ │ +module.exports = keys; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index103.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,11 @@ │ │ │ │ │ -var _flatten = require('./index14.js'); │ │ │ │ │ +var rest = require('./index130.js'); │ │ │ │ │ │ │ │ │ │ -// Flatten out an array, either recursively (by default), or up to `depth`. │ │ │ │ │ -// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. │ │ │ │ │ -function flatten(array, depth) { │ │ │ │ │ - return _flatten(array, depth, false); │ │ │ │ │ +// Get the last element of an array. Passing **n** will return the last N │ │ │ │ │ +// values in the array. │ │ │ │ │ +function last(array, n, guard) { │ │ │ │ │ + if (array == null || array.length < 1) return n == null || guard ? void 0 : []; │ │ │ │ │ + if (n == null || guard) return array[array.length - 1]; │ │ │ │ │ + return rest(array, Math.max(0, array.length - n)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = flatten; │ │ │ │ │ +module.exports = last; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index104.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var findLastIndex = require('./index60.js'); │ │ │ │ │ -var _createIndexFinder = require('./index7.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var _tagTester = require('./index28.js'); │ │ │ │ │ │ │ │ │ │ -// Return the position of the last occurrence of an item in an array, │ │ │ │ │ -// or -1 if the item is not included in the array. │ │ │ │ │ -var lastIndexOf = _createIndexFinder(-1, findLastIndex); │ │ │ │ │ +// Is a given value an array? │ │ │ │ │ +// Delegates to ECMA5's native `Array.isArray`. │ │ │ │ │ +var isArray = _setup.nativeIsArray || _tagTester('Array'); │ │ │ │ │ │ │ │ │ │ -module.exports = lastIndexOf; │ │ │ │ │ +module.exports = isArray; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index105.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,18 @@ │ │ │ │ │ -var rest = require('./index131.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Get the last element of an array. Passing **n** will return the last N │ │ │ │ │ -// values in the array. │ │ │ │ │ -function last(array, n, guard) { │ │ │ │ │ - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; │ │ │ │ │ - if (n == null || guard) return array[array.length - 1]; │ │ │ │ │ - return rest(array, Math.max(0, array.length - n)); │ │ │ │ │ +// Return the results of applying the iteratee to each element. │ │ │ │ │ +function map(obj, iteratee, context) { │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ + length = (_keys || obj).length, │ │ │ │ │ + results = Array(length); │ │ │ │ │ + for (var index = 0; index < length; index++) { │ │ │ │ │ + var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ + results[index] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ + } │ │ │ │ │ + return results; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = last; │ │ │ │ │ +module.exports = map; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index106.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,18 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Return the results of applying the iteratee to each element. │ │ │ │ │ -function map(obj, iteratee, context) { │ │ │ │ │ +// Returns the results of applying the `iteratee` to each element of `obj`. │ │ │ │ │ +// In contrast to `_.map` it returns an object. │ │ │ │ │ +function mapObject(obj, iteratee, context) { │ │ │ │ │ iteratee = _cb(iteratee, context); │ │ │ │ │ - var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ - length = (_keys || obj).length, │ │ │ │ │ - results = Array(length); │ │ │ │ │ + var _keys = keys(obj), │ │ │ │ │ + length = _keys.length, │ │ │ │ │ + results = {}; │ │ │ │ │ for (var index = 0; index < length; index++) { │ │ │ │ │ - var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ - results[index] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ + var currentKey = _keys[index]; │ │ │ │ │ + results[currentKey] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ } │ │ │ │ │ return results; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = map; │ │ │ │ │ +module.exports = mapObject; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index107.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,13 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var extendOwn = require('./index55.js'); │ │ │ │ │ +var isMatch = require('./index90.js'); │ │ │ │ │ │ │ │ │ │ -// Returns the results of applying the `iteratee` to each element of `obj`. │ │ │ │ │ -// In contrast to `_.map` it returns an object. │ │ │ │ │ -function mapObject(obj, iteratee, context) { │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - var _keys = keys(obj), │ │ │ │ │ - length = _keys.length, │ │ │ │ │ - results = {}; │ │ │ │ │ - for (var index = 0; index < length; index++) { │ │ │ │ │ - var currentKey = _keys[index]; │ │ │ │ │ - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); │ │ │ │ │ - } │ │ │ │ │ - return results; │ │ │ │ │ +// Returns a predicate for checking whether an object has a given set of │ │ │ │ │ +// `key:value` pairs. │ │ │ │ │ +function matcher(attrs) { │ │ │ │ │ + attrs = extendOwn({}, attrs); │ │ │ │ │ + return function(obj) { │ │ │ │ │ + return isMatch(obj, attrs); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = mapObject; │ │ │ │ │ +module.exports = matcher; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index108.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,32 @@ │ │ │ │ │ -var extendOwn = require('./index54.js'); │ │ │ │ │ -var isMatch = require('./index89.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var values = require('./index152.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ │ │ │ │ │ -// Returns a predicate for checking whether an object has a given set of │ │ │ │ │ -// `key:value` pairs. │ │ │ │ │ -function matcher(attrs) { │ │ │ │ │ - attrs = extendOwn({}, attrs); │ │ │ │ │ - return function(obj) { │ │ │ │ │ - return isMatch(obj, attrs); │ │ │ │ │ - }; │ │ │ │ │ +// Return the maximum element (or element-based computation). │ │ │ │ │ +function max(obj, iteratee, context) { │ │ │ │ │ + var result = -Infinity, │ │ │ │ │ + lastComputed = -Infinity, │ │ │ │ │ + value, computed; │ │ │ │ │ + if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ + obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ + for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ + value = obj[i]; │ │ │ │ │ + if (value != null && value > result) { │ │ │ │ │ + result = value; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + each(obj, function(v, index, list) { │ │ │ │ │ + computed = iteratee(v, index, list); │ │ │ │ │ + if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) { │ │ │ │ │ + result = v; │ │ │ │ │ + lastComputed = computed; │ │ │ │ │ + } │ │ │ │ │ + }); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = matcher; │ │ │ │ │ +module.exports = max; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index109.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,32 +1,15 @@ │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var values = require('./index154.js'); │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ │ │ │ │ │ -// Return the maximum element (or element-based computation). │ │ │ │ │ -function max(obj, iteratee, context) { │ │ │ │ │ - var result = -Infinity, │ │ │ │ │ - lastComputed = -Infinity, │ │ │ │ │ - value, computed; │ │ │ │ │ - if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ - obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ - for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ - value = obj[i]; │ │ │ │ │ - if (value != null && value > result) { │ │ │ │ │ - result = value; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - each(obj, function(v, index, list) { │ │ │ │ │ - computed = iteratee(v, index, list); │ │ │ │ │ - if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) { │ │ │ │ │ - result = v; │ │ │ │ │ - lastComputed = computed; │ │ │ │ │ - } │ │ │ │ │ - }); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ +// Memoize an expensive function by storing its results. │ │ │ │ │ +function memoize(func, hasher) { │ │ │ │ │ + var memoize = function(key) { │ │ │ │ │ + var cache = memoize.cache; │ │ │ │ │ + var address = '' + (hasher ? hasher.apply(this, arguments) : key); │ │ │ │ │ + if (!_has(cache, address)) cache[address] = func.apply(this, arguments); │ │ │ │ │ + return cache[address]; │ │ │ │ │ + }; │ │ │ │ │ + memoize.cache = {}; │ │ │ │ │ + return memoize; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = max; │ │ │ │ │ +module.exports = memoize; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index11.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,11 @@ │ │ │ │ │ -// Internal function to obtain a nested property in `obj` along `path`. │ │ │ │ │ -function deepGet(obj, path) { │ │ │ │ │ - var length = path.length; │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - if (obj == null) return void 0; │ │ │ │ │ - obj = obj[path[i]]; │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ + │ │ │ │ │ +// Common internal logic for `isArrayLike` and `isBufferLike`. │ │ │ │ │ +function createSizePropertyCheck(getSizeProperty) { │ │ │ │ │ + return function(collection) { │ │ │ │ │ + var sizeProperty = getSizeProperty(collection); │ │ │ │ │ + return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; │ │ │ │ │ } │ │ │ │ │ - return length ? obj : void 0; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = deepGet; │ │ │ │ │ +module.exports = createSizePropertyCheck; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index110.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,32 @@ │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var values = require('./index152.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ │ │ │ │ │ -// Memoize an expensive function by storing its results. │ │ │ │ │ -function memoize(func, hasher) { │ │ │ │ │ - var memoize = function(key) { │ │ │ │ │ - var cache = memoize.cache; │ │ │ │ │ - var address = '' + (hasher ? hasher.apply(this, arguments) : key); │ │ │ │ │ - if (!_has(cache, address)) cache[address] = func.apply(this, arguments); │ │ │ │ │ - return cache[address]; │ │ │ │ │ - }; │ │ │ │ │ - memoize.cache = {}; │ │ │ │ │ - return memoize; │ │ │ │ │ +// Return the minimum element (or element-based computation). │ │ │ │ │ +function min(obj, iteratee, context) { │ │ │ │ │ + var result = Infinity, │ │ │ │ │ + lastComputed = Infinity, │ │ │ │ │ + value, computed; │ │ │ │ │ + if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ + obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ + for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ + value = obj[i]; │ │ │ │ │ + if (value != null && value < result) { │ │ │ │ │ + result = value; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + each(obj, function(v, index, list) { │ │ │ │ │ + computed = iteratee(v, index, list); │ │ │ │ │ + if (computed < lastComputed || (computed === Infinity && result === Infinity)) { │ │ │ │ │ + result = v; │ │ │ │ │ + lastComputed = computed; │ │ │ │ │ + } │ │ │ │ │ + }); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = memoize; │ │ │ │ │ +module.exports = min; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index111.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,32 +1,20 @@ │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var values = require('./index154.js'); │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ +var functions = require('./index64.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var _chainResult = require('./index2.js'); │ │ │ │ │ │ │ │ │ │ -// Return the minimum element (or element-based computation). │ │ │ │ │ -function min(obj, iteratee, context) { │ │ │ │ │ - var result = Infinity, │ │ │ │ │ - lastComputed = Infinity, │ │ │ │ │ - value, computed; │ │ │ │ │ - if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { │ │ │ │ │ - obj = _isArrayLike(obj) ? obj : values(obj); │ │ │ │ │ - for (var i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ - value = obj[i]; │ │ │ │ │ - if (value != null && value < result) { │ │ │ │ │ - result = value; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - each(obj, function(v, index, list) { │ │ │ │ │ - computed = iteratee(v, index, list); │ │ │ │ │ - if (computed < lastComputed || (computed === Infinity && result === Infinity)) { │ │ │ │ │ - result = v; │ │ │ │ │ - lastComputed = computed; │ │ │ │ │ - } │ │ │ │ │ - }); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ +// Add your own custom functions to the Underscore object. │ │ │ │ │ +function mixin(obj) { │ │ │ │ │ + each(functions(obj), function(name) { │ │ │ │ │ + var func = underscore[name] = obj[name]; │ │ │ │ │ + underscore.prototype[name] = function() { │ │ │ │ │ + var args = [this._wrapped]; │ │ │ │ │ + _setup.push.apply(args, arguments); │ │ │ │ │ + return _chainResult(this, func.apply(underscore, args)); │ │ │ │ │ + }; │ │ │ │ │ + }); │ │ │ │ │ + return underscore; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = min; │ │ │ │ │ +module.exports = mixin; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index112.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,20 +1,8 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ -var functions = require('./index63.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var _chainResult = require('./index4.js'); │ │ │ │ │ - │ │ │ │ │ -// Add your own custom functions to the Underscore object. │ │ │ │ │ -function mixin(obj) { │ │ │ │ │ - each(functions(obj), function(name) { │ │ │ │ │ - var func = underscore[name] = obj[name]; │ │ │ │ │ - underscore.prototype[name] = function() { │ │ │ │ │ - var args = [this._wrapped]; │ │ │ │ │ - _setup.push.apply(args, arguments); │ │ │ │ │ - return _chainResult(this, func.apply(underscore, args)); │ │ │ │ │ - }; │ │ │ │ │ - }); │ │ │ │ │ - return underscore; │ │ │ │ │ +// Returns a negated version of the passed-in predicate. │ │ │ │ │ +function negate(predicate) { │ │ │ │ │ + return function() { │ │ │ │ │ + return !predicate.apply(this, arguments); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = mixin; │ │ │ │ │ +module.exports = negate; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index113.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,4 @@ │ │ │ │ │ -// Returns a negated version of the passed-in predicate. │ │ │ │ │ -function negate(predicate) { │ │ │ │ │ - return function() { │ │ │ │ │ - return !predicate.apply(this, arguments); │ │ │ │ │ - }; │ │ │ │ │ -} │ │ │ │ │ +// Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ +function noop() {} │ │ │ │ │ │ │ │ │ │ -module.exports = negate; │ │ │ │ │ +module.exports = noop; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index114.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,4 +1,6 @@ │ │ │ │ │ -// Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ -function noop() {} │ │ │ │ │ +// A (possibly faster) way to get the current timestamp as an integer. │ │ │ │ │ +var now = Date.now || function() { │ │ │ │ │ + return new Date().getTime(); │ │ │ │ │ +}; │ │ │ │ │ │ │ │ │ │ -module.exports = noop; │ │ │ │ │ +module.exports = now; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index115.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,18 @@ │ │ │ │ │ -// A (possibly faster) way to get the current timestamp as an integer. │ │ │ │ │ -var now = Date.now || function() { │ │ │ │ │ - return new Date().getTime(); │ │ │ │ │ -}; │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = now; │ │ │ │ │ +// Converts lists into objects. Pass either a single array of `[key, value]` │ │ │ │ │ +// pairs, or two parallel arrays of the same length -- one of keys, and one of │ │ │ │ │ +// the corresponding values. Passing by pairs is the reverse of `_.pairs`. │ │ │ │ │ +function object(list, values) { │ │ │ │ │ + var result = {}; │ │ │ │ │ + for (var i = 0, length = _getLength(list); i < length; i++) { │ │ │ │ │ + if (values) { │ │ │ │ │ + result[list[i]] = values[i]; │ │ │ │ │ + } else { │ │ │ │ │ + result[list[i][0]] = list[i][1]; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +module.exports = object; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index116.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,6 @@ │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ - │ │ │ │ │ -// Converts lists into objects. Pass either a single array of `[key, value]` │ │ │ │ │ -// pairs, or two parallel arrays of the same length -- one of keys, and one of │ │ │ │ │ -// the corresponding values. Passing by pairs is the reverse of `_.pairs`. │ │ │ │ │ -function object(list, values) { │ │ │ │ │ - var result = {}; │ │ │ │ │ - for (var i = 0, length = _getLength(list); i < length; i++) { │ │ │ │ │ - if (values) { │ │ │ │ │ - result[list[i]] = values[i]; │ │ │ │ │ - } else { │ │ │ │ │ - result[list[i][0]] = list[i][1]; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ +// Is a given value equal to null? │ │ │ │ │ +function isNull(obj) { │ │ │ │ │ + return obj === null; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = object; │ │ │ │ │ +module.exports = isNull; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index117.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,14 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ var isFunction = require('./index87.js'); │ │ │ │ │ -var negate = require('./index113.js'); │ │ │ │ │ -var map = require('./index106.js'); │ │ │ │ │ -var _flatten = require('./index14.js'); │ │ │ │ │ -var contains = require('./index42.js'); │ │ │ │ │ -var pick = require('./index122.js'); │ │ │ │ │ +var negate = require('./index112.js'); │ │ │ │ │ +var map = require('./index105.js'); │ │ │ │ │ +var _flatten = require('./index18.js'); │ │ │ │ │ +var contains = require('./index43.js'); │ │ │ │ │ +var pick = require('./index157.js'); │ │ │ │ │ │ │ │ │ │ // Return a copy of the object without the disallowed properties. │ │ │ │ │ var omit = restArguments(function(obj, keys) { │ │ │ │ │ var iteratee = keys[0], │ │ │ │ │ context; │ │ │ │ │ if (isFunction(iteratee)) { │ │ │ │ │ iteratee = negate(iteratee); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index119.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ // Convert an object into a list of `[key, value]` pairs. │ │ │ │ │ // The opposite of `_.object` with one argument. │ │ │ │ │ function pairs(obj) { │ │ │ │ │ var _keys = keys(obj); │ │ │ │ │ var length = _keys.length; │ │ │ │ │ var pairs = Array(length); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index12.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,15 @@ │ │ │ │ │ -// Internal list of HTML entities for escaping. │ │ │ │ │ -var escapeMap = { │ │ │ │ │ - '&': '&', │ │ │ │ │ - '<': '<', │ │ │ │ │ - '>': '>', │ │ │ │ │ - '"': '"', │ │ │ │ │ - "'": ''', │ │ │ │ │ - '`': '`' │ │ │ │ │ -}; │ │ │ │ │ +var _baseCreate = require('./index.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = escapeMap; │ │ │ │ │ +// Internal function to execute `sourceFunc` bound to `context` with optional │ │ │ │ │ +// `args`. Determines whether to execute a function as a constructor or as a │ │ │ │ │ +// normal function. │ │ │ │ │ +function executeBound(sourceFunc, boundFunc, context, callingContext, args) { │ │ │ │ │ + if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); │ │ │ │ │ + var self = _baseCreate(sourceFunc.prototype); │ │ │ │ │ + var result = sourceFunc.apply(self, args); │ │ │ │ │ + if (isObject(result)) return result; │ │ │ │ │ + return self; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +module.exports = executeBound; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index120.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var _executeBound = require('./index13.js'); │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var _executeBound = require('./index12.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ │ │ │ │ │ // Partially apply a function by creating a version that has had some of its │ │ │ │ │ // arguments pre-filled, without changing its dynamic `this` context. `_` acts │ │ │ │ │ // as a placeholder by default, allowing any combination of arguments to be │ │ │ │ │ // pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. │ │ │ │ │ var partial = restArguments(function(func, boundArgs) { │ │ │ │ │ var placeholder = partial.placeholder; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index121.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _group = require('./index17.js'); │ │ │ │ │ +var _group = require('./index16.js'); │ │ │ │ │ │ │ │ │ │ // Split a collection into two arrays: one whose elements all pass the given │ │ │ │ │ // truth test, and one whose elements all do not pass the truth test. │ │ │ │ │ var partition = _group(function(result, value, pass) { │ │ │ │ │ result[pass ? 0 : 1].push(value); │ │ │ │ │ }, true); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index122.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,29 +1,9 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var _optimizeCb = require('./index24.js'); │ │ │ │ │ -var allKeys = require('./index33.js'); │ │ │ │ │ -var _keyInObj = require('./index22.js'); │ │ │ │ │ -var _flatten = require('./index14.js'); │ │ │ │ │ +var map = require('./index105.js'); │ │ │ │ │ +var property = require('./index124.js'); │ │ │ │ │ │ │ │ │ │ -// Return a copy of the object only containing the allowed properties. │ │ │ │ │ -var pick = restArguments(function(obj, keys) { │ │ │ │ │ - var result = {}, │ │ │ │ │ - iteratee = keys[0]; │ │ │ │ │ - if (obj == null) return result; │ │ │ │ │ - if (isFunction(iteratee)) { │ │ │ │ │ - if (keys.length > 1) iteratee = _optimizeCb(iteratee, keys[1]); │ │ │ │ │ - keys = allKeys(obj); │ │ │ │ │ - } else { │ │ │ │ │ - iteratee = _keyInObj; │ │ │ │ │ - keys = _flatten(keys, false, false); │ │ │ │ │ - obj = Object(obj); │ │ │ │ │ - } │ │ │ │ │ - for (var i = 0, length = keys.length; i < length; i++) { │ │ │ │ │ - var key = keys[i]; │ │ │ │ │ - var value = obj[key]; │ │ │ │ │ - if (iteratee(value, key, obj)) result[key] = value; │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ -}); │ │ │ │ │ +// Convenience version of a common use case of `_.map`: fetching a property. │ │ │ │ │ +function pluck(obj, key) { │ │ │ │ │ + return map(obj, property(key)); │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = pick; │ │ │ │ │ +module.exports = pluck; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index123.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,12 @@ │ │ │ │ │ -var map = require('./index106.js'); │ │ │ │ │ -var property = require('./index124.js'); │ │ │ │ │ +var noop = require('./index113.js'); │ │ │ │ │ +var get = require('./index65.js'); │ │ │ │ │ │ │ │ │ │ -// Convenience version of a common use case of `_.map`: fetching a property. │ │ │ │ │ -function pluck(obj, key) { │ │ │ │ │ - return map(obj, property(key)); │ │ │ │ │ +// Generates a function for a given object that returns a given property. │ │ │ │ │ +function propertyOf(obj) { │ │ │ │ │ + if (obj == null) return noop; │ │ │ │ │ + return function(path) { │ │ │ │ │ + return get(obj, path); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = pluck; │ │ │ │ │ +module.exports = propertyOf; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index124.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _deepGet = require('./index11.js'); │ │ │ │ │ +var _deepGet = require('./index14.js'); │ │ │ │ │ var _toPath = require('./index30.js'); │ │ │ │ │ │ │ │ │ │ // Creates a function that, when passed an object, will traverse that object’s │ │ │ │ │ // properties down the given `path`, specified as an array of keys or indices. │ │ │ │ │ function property(path) { │ │ │ │ │ path = _toPath(path); │ │ │ │ │ return function(obj) { │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index125.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,23 @@ │ │ │ │ │ -var noop = require('./index114.js'); │ │ │ │ │ -var get = require('./index64.js'); │ │ │ │ │ +// Generate an integer Array containing an arithmetic progression. A port of │ │ │ │ │ +// the native Python `range()` function. See │ │ │ │ │ +// [the Python documentation](https://docs.python.org/library/functions.html#range). │ │ │ │ │ +function range(start, stop, step) { │ │ │ │ │ + if (stop == null) { │ │ │ │ │ + stop = start || 0; │ │ │ │ │ + start = 0; │ │ │ │ │ + } │ │ │ │ │ + if (!step) { │ │ │ │ │ + step = stop < start ? -1 : 1; │ │ │ │ │ + } │ │ │ │ │ │ │ │ │ │ -// Generates a function for a given object that returns a given property. │ │ │ │ │ -function propertyOf(obj) { │ │ │ │ │ - if (obj == null) return noop; │ │ │ │ │ - return function(path) { │ │ │ │ │ - return get(obj, path); │ │ │ │ │ - }; │ │ │ │ │ + var length = Math.max(Math.ceil((stop - start) / step), 0); │ │ │ │ │ + var range = Array(length); │ │ │ │ │ + │ │ │ │ │ + for (var idx = 0; idx < length; idx++, start += step) { │ │ │ │ │ + range[idx] = start; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + return range; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = propertyOf; │ │ │ │ │ +module.exports = range; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index126.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,7 @@ │ │ │ │ │ -// Return a random integer between `min` and `max` (inclusive). │ │ │ │ │ -function random(min, max) { │ │ │ │ │ - if (max == null) { │ │ │ │ │ - max = min; │ │ │ │ │ - min = 0; │ │ │ │ │ - } │ │ │ │ │ - return min + Math.floor(Math.random() * (max - min + 1)); │ │ │ │ │ -} │ │ │ │ │ +var _createReduce = require('./index10.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = random; │ │ │ │ │ +// **Reduce** builds up a single result from a list of values, aka `inject`, │ │ │ │ │ +// or `foldl`. │ │ │ │ │ +var reduce = _createReduce(1); │ │ │ │ │ + │ │ │ │ │ +module.exports = reduce; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index127.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,23 +1,10 @@ │ │ │ │ │ -// Generate an integer Array containing an arithmetic progression. A port of │ │ │ │ │ -// the native Python `range()` function. See │ │ │ │ │ -// [the Python documentation](https://docs.python.org/library/functions.html#range). │ │ │ │ │ -function range(start, stop, step) { │ │ │ │ │ - if (stop == null) { │ │ │ │ │ - stop = start || 0; │ │ │ │ │ - start = 0; │ │ │ │ │ +// Return a random integer between `min` and `max` (inclusive). │ │ │ │ │ +function random(min, max) { │ │ │ │ │ + if (max == null) { │ │ │ │ │ + max = min; │ │ │ │ │ + min = 0; │ │ │ │ │ } │ │ │ │ │ - if (!step) { │ │ │ │ │ - step = stop < start ? -1 : 1; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - var length = Math.max(Math.ceil((stop - start) / step), 0); │ │ │ │ │ - var range = Array(length); │ │ │ │ │ - │ │ │ │ │ - for (var idx = 0; idx < length; idx++, start += step) { │ │ │ │ │ - range[idx] = start; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - return range; │ │ │ │ │ + return min + Math.floor(Math.random() * (max - min + 1)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = range; │ │ │ │ │ +module.exports = random; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index128.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,6 @@ │ │ │ │ │ -var _createReduce = require('./index9.js'); │ │ │ │ │ +var _createReduce = require('./index10.js'); │ │ │ │ │ │ │ │ │ │ -// **Reduce** builds up a single result from a list of values, aka `inject`, │ │ │ │ │ -// or `foldl`. │ │ │ │ │ -var reduce = _createReduce(1); │ │ │ │ │ +// The right-associative version of reduce, also known as `foldr`. │ │ │ │ │ +var reduceRight = _createReduce(-1); │ │ │ │ │ │ │ │ │ │ -module.exports = reduce; │ │ │ │ │ +module.exports = reduceRight; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index129.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,10 @@ │ │ │ │ │ -var _createReduce = require('./index9.js'); │ │ │ │ │ +var filter = require('./index56.js'); │ │ │ │ │ +var negate = require('./index112.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ │ │ │ │ │ -// The right-associative version of reduce, also known as `foldr`. │ │ │ │ │ -var reduceRight = _createReduce(-1); │ │ │ │ │ +// Return all the elements for which a truth test fails. │ │ │ │ │ +function reject(obj, predicate, context) { │ │ │ │ │ + return filter(obj, negate(_cb(predicate)), context); │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = reduceRight; │ │ │ │ │ +module.exports = reject; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index13.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,6 @@ │ │ │ │ │ -var _baseCreate = require('./index3.js'); │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ +var _shallowProperty = require('./index39.js'); │ │ │ │ │ │ │ │ │ │ -// Internal function to execute `sourceFunc` bound to `context` with optional │ │ │ │ │ -// `args`. Determines whether to execute a function as a constructor or as a │ │ │ │ │ -// normal function. │ │ │ │ │ -function executeBound(sourceFunc, boundFunc, context, callingContext, args) { │ │ │ │ │ - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); │ │ │ │ │ - var self = _baseCreate(sourceFunc.prototype); │ │ │ │ │ - var result = sourceFunc.apply(self, args); │ │ │ │ │ - if (isObject(result)) return result; │ │ │ │ │ - return self; │ │ │ │ │ -} │ │ │ │ │ +// Internal helper to obtain the `byteLength` property of an object. │ │ │ │ │ +var getByteLength = _shallowProperty('byteLength'); │ │ │ │ │ │ │ │ │ │ -module.exports = executeBound; │ │ │ │ │ +module.exports = getByteLength; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index130.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var filter = require('./index55.js'); │ │ │ │ │ -var negate = require('./index113.js'); │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ -// Return all the elements for which a truth test fails. │ │ │ │ │ -function reject(obj, predicate, context) { │ │ │ │ │ - return filter(obj, negate(_cb(predicate)), context); │ │ │ │ │ +// Returns everything but the first entry of the `array`. Especially useful on │ │ │ │ │ +// the `arguments` object. Passing an **n** will return the rest N values in the │ │ │ │ │ +// `array`. │ │ │ │ │ +function rest(array, n, guard) { │ │ │ │ │ + return _setup.slice.call(array, n == null || guard ? 1 : n); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = reject; │ │ │ │ │ +module.exports = rest; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index131.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,32 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ - │ │ │ │ │ -// Returns everything but the first entry of the `array`. Especially useful on │ │ │ │ │ -// the `arguments` object. Passing an **n** will return the rest N values in the │ │ │ │ │ -// `array`. │ │ │ │ │ -function rest(array, n, guard) { │ │ │ │ │ - return _setup.slice.call(array, n == null || guard ? 1 : n); │ │ │ │ │ +// Some functions take a variable number of arguments, or a few expected │ │ │ │ │ +// arguments at the beginning and then a variable number of values to operate │ │ │ │ │ +// on. This helper accumulates all remaining arguments past the function’s │ │ │ │ │ +// argument length (or an explicit `startIndex`), into an array that becomes │ │ │ │ │ +// the last argument. Similar to ES6’s "rest parameter". │ │ │ │ │ +function restArguments(func, startIndex) { │ │ │ │ │ + startIndex = startIndex == null ? func.length - 1 : +startIndex; │ │ │ │ │ + return function() { │ │ │ │ │ + var length = Math.max(arguments.length - startIndex, 0), │ │ │ │ │ + rest = Array(length), │ │ │ │ │ + index = 0; │ │ │ │ │ + for (; index < length; index++) { │ │ │ │ │ + rest[index] = arguments[index + startIndex]; │ │ │ │ │ + } │ │ │ │ │ + switch (startIndex) { │ │ │ │ │ + case 0: │ │ │ │ │ + return func.call(this, rest); │ │ │ │ │ + case 1: │ │ │ │ │ + return func.call(this, arguments[0], rest); │ │ │ │ │ + case 2: │ │ │ │ │ + return func.call(this, arguments[0], arguments[1], rest); │ │ │ │ │ + } │ │ │ │ │ + var args = Array(startIndex + 1); │ │ │ │ │ + for (index = 0; index < startIndex; index++) { │ │ │ │ │ + args[index] = arguments[index]; │ │ │ │ │ + } │ │ │ │ │ + args[startIndex] = rest; │ │ │ │ │ + return func.apply(this, args); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = rest; │ │ │ │ │ +module.exports = restArguments; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index132.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,32 +1,24 @@ │ │ │ │ │ -// Some functions take a variable number of arguments, or a few expected │ │ │ │ │ -// arguments at the beginning and then a variable number of values to operate │ │ │ │ │ -// on. This helper accumulates all remaining arguments past the function’s │ │ │ │ │ -// argument length (or an explicit `startIndex`), into an array that becomes │ │ │ │ │ -// the last argument. Similar to ES6’s "rest parameter". │ │ │ │ │ -function restArguments(func, startIndex) { │ │ │ │ │ - startIndex = startIndex == null ? func.length - 1 : +startIndex; │ │ │ │ │ - return function() { │ │ │ │ │ - var length = Math.max(arguments.length - startIndex, 0), │ │ │ │ │ - rest = Array(length), │ │ │ │ │ - index = 0; │ │ │ │ │ - for (; index < length; index++) { │ │ │ │ │ - rest[index] = arguments[index + startIndex]; │ │ │ │ │ - } │ │ │ │ │ - switch (startIndex) { │ │ │ │ │ - case 0: │ │ │ │ │ - return func.call(this, rest); │ │ │ │ │ - case 1: │ │ │ │ │ - return func.call(this, arguments[0], rest); │ │ │ │ │ - case 2: │ │ │ │ │ - return func.call(this, arguments[0], arguments[1], rest); │ │ │ │ │ - } │ │ │ │ │ - var args = Array(startIndex + 1); │ │ │ │ │ - for (index = 0; index < startIndex; index++) { │ │ │ │ │ - args[index] = arguments[index]; │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var _toPath = require('./index30.js'); │ │ │ │ │ + │ │ │ │ │ +// Traverses the children of `obj` along `path`. If a child is a function, it │ │ │ │ │ +// is invoked with its parent as context. Returns the value of the final │ │ │ │ │ +// child, or `fallback` if any child is undefined. │ │ │ │ │ +function result(obj, path, fallback) { │ │ │ │ │ + path = _toPath(path); │ │ │ │ │ + var length = path.length; │ │ │ │ │ + if (!length) { │ │ │ │ │ + return isFunction(fallback) ? fallback.call(obj) : fallback; │ │ │ │ │ + } │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + var prop = obj == null ? void 0 : obj[path[i]]; │ │ │ │ │ + if (prop === void 0) { │ │ │ │ │ + prop = fallback; │ │ │ │ │ + i = length; // Ensure we don't continue iterating. │ │ │ │ │ } │ │ │ │ │ - args[startIndex] = rest; │ │ │ │ │ - return func.apply(this, args); │ │ │ │ │ - }; │ │ │ │ │ + obj = isFunction(prop) ? prop.call(obj) : prop; │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = restArguments; │ │ │ │ │ +module.exports = result; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index133.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,24 +1,29 @@ │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var _toPath = require('./index30.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var values = require('./index152.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var random = require('./index127.js'); │ │ │ │ │ +var toArray = require('./index146.js'); │ │ │ │ │ │ │ │ │ │ -// Traverses the children of `obj` along `path`. If a child is a function, it │ │ │ │ │ -// is invoked with its parent as context. Returns the value of the final │ │ │ │ │ -// child, or `fallback` if any child is undefined. │ │ │ │ │ -function result(obj, path, fallback) { │ │ │ │ │ - path = _toPath(path); │ │ │ │ │ - var length = path.length; │ │ │ │ │ - if (!length) { │ │ │ │ │ - return isFunction(fallback) ? fallback.call(obj) : fallback; │ │ │ │ │ +// Sample **n** random values from a collection using the modern version of the │ │ │ │ │ +// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). │ │ │ │ │ +// If **n** is not specified, returns a single random element. │ │ │ │ │ +// The internal `guard` argument allows it to work with `_.map`. │ │ │ │ │ +function sample(obj, n, guard) { │ │ │ │ │ + if (n == null || guard) { │ │ │ │ │ + if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ + return obj[random(obj.length - 1)]; │ │ │ │ │ } │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - var prop = obj == null ? void 0 : obj[path[i]]; │ │ │ │ │ - if (prop === void 0) { │ │ │ │ │ - prop = fallback; │ │ │ │ │ - i = length; // Ensure we don't continue iterating. │ │ │ │ │ - } │ │ │ │ │ - obj = isFunction(prop) ? prop.call(obj) : prop; │ │ │ │ │ + var sample = toArray(obj); │ │ │ │ │ + var length = _getLength(sample); │ │ │ │ │ + n = Math.max(Math.min(n, length), 0); │ │ │ │ │ + var last = length - 1; │ │ │ │ │ + for (var index = 0; index < n; index++) { │ │ │ │ │ + var rand = random(index, last); │ │ │ │ │ + var temp = sample[index]; │ │ │ │ │ + sample[index] = sample[rand]; │ │ │ │ │ + sample[rand] = temp; │ │ │ │ │ } │ │ │ │ │ - return obj; │ │ │ │ │ + return sample.slice(0, n); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = result; │ │ │ │ │ +module.exports = sample; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index134.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,8 @@ │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ -var _collectNonEnumProps = require('./index5.js'); │ │ │ │ │ +var sample = require('./index133.js'); │ │ │ │ │ │ │ │ │ │ -// Retrieve the names of an object's own properties. │ │ │ │ │ -// Delegates to **ECMAScript 5**'s native `Object.keys`. │ │ │ │ │ -function keys(obj) { │ │ │ │ │ - if (!isObject(obj)) return []; │ │ │ │ │ - if (_setup.nativeKeys) return _setup.nativeKeys(obj); │ │ │ │ │ - var keys = []; │ │ │ │ │ - for (var key in obj) │ │ │ │ │ - if (_has(obj, key)) keys.push(key); │ │ │ │ │ - // Ahem, IE < 9. │ │ │ │ │ - if (_setup.hasEnumBug) _collectNonEnumProps(obj, keys); │ │ │ │ │ - return keys; │ │ │ │ │ +// Shuffle a collection. │ │ │ │ │ +function shuffle(obj) { │ │ │ │ │ + return sample(obj, Infinity); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = keys; │ │ │ │ │ +module.exports = shuffle; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index135.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,8 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -var _baseIteratee = require('./index.js'); │ │ │ │ │ +var findLastIndex = require('./index61.js'); │ │ │ │ │ +var _createIndexFinder = require('./index8.js'); │ │ │ │ │ │ │ │ │ │ -// External wrapper for our callback generator. Users may customize │ │ │ │ │ -// `_.iteratee` if they want additional predicate/iteratee shorthand styles. │ │ │ │ │ -// This abstraction hides the internal-only `argCount` argument. │ │ │ │ │ -function iteratee(value, context) { │ │ │ │ │ - return _baseIteratee(value, context, Infinity); │ │ │ │ │ -} │ │ │ │ │ -underscore.iteratee = iteratee; │ │ │ │ │ +// Return the position of the last occurrence of an item in an array, │ │ │ │ │ +// or -1 if the item is not included in the array. │ │ │ │ │ +var lastIndexOf = _createIndexFinder(-1, findLastIndex); │ │ │ │ │ │ │ │ │ │ -module.exports = iteratee; │ │ │ │ │ +module.exports = lastIndexOf; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index136.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ // Return the number of elements in a collection. │ │ │ │ │ function size(obj) { │ │ │ │ │ if (obj == null) return 0; │ │ │ │ │ return _isArrayLike(obj) ? obj.length : keys(obj).length; │ │ │ │ │ } │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index137.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ // Determine if at least one element in the object passes a truth test. │ │ │ │ │ function some(obj, predicate, context) { │ │ │ │ │ predicate = _cb(predicate, context); │ │ │ │ │ var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ length = (_keys || obj).length; │ │ │ │ │ for (var index = 0; index < length; index++) { │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index138.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var pluck = require('./index123.js'); │ │ │ │ │ -var map = require('./index106.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var pluck = require('./index122.js'); │ │ │ │ │ +var map = require('./index105.js'); │ │ │ │ │ │ │ │ │ │ // Sort the object's values by a criterion produced by an iteratee. │ │ │ │ │ function sortBy(obj, iteratee, context) { │ │ │ │ │ var index = 0; │ │ │ │ │ iteratee = _cb(iteratee, context); │ │ │ │ │ return pluck(map(obj, function(value, key, list) { │ │ │ │ │ return { │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index139.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ │ │ │ │ │ // Use a comparator function to figure out the smallest index at which │ │ │ │ │ // an object should be inserted so as to maintain order. Uses binary search. │ │ │ │ │ function sortedIndex(array, obj, iteratee, context) { │ │ │ │ │ iteratee = _cb(iteratee, context, 1); │ │ │ │ │ var value = iteratee(obj); │ │ │ │ │ var low = 0, │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index14.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,34 +1,11 @@ │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ -var isArguments = require('./index76.js'); │ │ │ │ │ - │ │ │ │ │ -// Internal implementation of a recursive `flatten` function. │ │ │ │ │ -function flatten(input, depth, strict, output) { │ │ │ │ │ - output = output || []; │ │ │ │ │ - if (!depth && depth !== 0) { │ │ │ │ │ - depth = Infinity; │ │ │ │ │ - } else if (depth <= 0) { │ │ │ │ │ - return output.concat(input); │ │ │ │ │ - } │ │ │ │ │ - var idx = output.length; │ │ │ │ │ - for (var i = 0, length = _getLength(input); i < length; i++) { │ │ │ │ │ - var value = input[i]; │ │ │ │ │ - if (_isArrayLike(value) && (isArray(value) || isArguments(value))) { │ │ │ │ │ - // Flatten current level of array or arguments object. │ │ │ │ │ - if (depth > 1) { │ │ │ │ │ - flatten(value, depth - 1, strict, output); │ │ │ │ │ - idx = output.length; │ │ │ │ │ - } else { │ │ │ │ │ - var j = 0, │ │ │ │ │ - len = value.length; │ │ │ │ │ - while (j < len) output[idx++] = value[j++]; │ │ │ │ │ - } │ │ │ │ │ - } else if (!strict) { │ │ │ │ │ - output[idx++] = value; │ │ │ │ │ - } │ │ │ │ │ +// Internal function to obtain a nested property in `obj` along `path`. │ │ │ │ │ +function deepGet(obj, path) { │ │ │ │ │ + var length = path.length; │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + if (obj == null) return void 0; │ │ │ │ │ + obj = obj[path[i]]; │ │ │ │ │ } │ │ │ │ │ - return output; │ │ │ │ │ + return length ? obj : void 0; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = flatten; │ │ │ │ │ +module.exports = deepGet; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index140.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,18 @@ │ │ │ │ │ -// Invokes `interceptor` with the `obj` and then returns `obj`. │ │ │ │ │ -// The primary purpose of this method is to "tap into" a method chain, in │ │ │ │ │ -// order to perform operations on intermediate results within the chain. │ │ │ │ │ -function tap(obj, interceptor) { │ │ │ │ │ - interceptor(obj); │ │ │ │ │ - return obj; │ │ │ │ │ -} │ │ │ │ │ +var _tagTester = require('./index28.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = tap; │ │ │ │ │ +var isArguments = _tagTester('Arguments'); │ │ │ │ │ + │ │ │ │ │ +// Define a fallback version of the method in browsers (ahem, IE < 9), where │ │ │ │ │ +// there isn't any inspectable "Arguments" type. │ │ │ │ │ +(function() { │ │ │ │ │ + if (!isArguments(arguments)) { │ │ │ │ │ + isArguments = function(obj) { │ │ │ │ │ + return _has(obj, 'callee'); │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ +}()); │ │ │ │ │ + │ │ │ │ │ +var isArguments$1 = isArguments; │ │ │ │ │ + │ │ │ │ │ +module.exports = isArguments$1; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index141.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,103 +1,9 @@ │ │ │ │ │ -var defaults = require('./index46.js'); │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -require('./index142.js'); │ │ │ │ │ - │ │ │ │ │ -// When customizing `_.templateSettings`, if you don't want to define an │ │ │ │ │ -// interpolation, evaluation or escaping regex, we need one that is │ │ │ │ │ -// guaranteed not to match. │ │ │ │ │ -var noMatch = /(.)^/; │ │ │ │ │ - │ │ │ │ │ -// Certain characters need to be escaped so that they can be put into a │ │ │ │ │ -// string literal. │ │ │ │ │ -var escapes = { │ │ │ │ │ - "'": "'", │ │ │ │ │ - '\\': '\\', │ │ │ │ │ - '\r': 'r', │ │ │ │ │ - '\n': 'n', │ │ │ │ │ - '\u2028': 'u2028', │ │ │ │ │ - '\u2029': 'u2029' │ │ │ │ │ -}; │ │ │ │ │ - │ │ │ │ │ -var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; │ │ │ │ │ - │ │ │ │ │ -function escapeChar(match) { │ │ │ │ │ - return '\\' + escapes[match]; │ │ │ │ │ -} │ │ │ │ │ - │ │ │ │ │ -// In order to prevent third-party code injection through │ │ │ │ │ -// `_.templateSettings.variable`, we test it against the following regular │ │ │ │ │ -// expression. It is intentionally a bit more liberal than just matching valid │ │ │ │ │ -// identifiers, but still prevents possible loopholes through defaults or │ │ │ │ │ -// destructuring assignment. │ │ │ │ │ -var bareIdentifier = /^\s*(\w|\$)+\s*$/; │ │ │ │ │ - │ │ │ │ │ -// JavaScript micro-templating, similar to John Resig's implementation. │ │ │ │ │ -// Underscore templating handles arbitrary delimiters, preserves whitespace, │ │ │ │ │ -// and correctly escapes quotes within interpolated code. │ │ │ │ │ -// NB: `oldSettings` only exists for backwards compatibility. │ │ │ │ │ -function template(text, settings, oldSettings) { │ │ │ │ │ - if (!settings && oldSettings) settings = oldSettings; │ │ │ │ │ - settings = defaults({}, settings, underscore.templateSettings); │ │ │ │ │ - │ │ │ │ │ - // Combine delimiters into one regular expression via alternation. │ │ │ │ │ - var matcher = RegExp([ │ │ │ │ │ - (settings.escape || noMatch).source, │ │ │ │ │ - (settings.interpolate || noMatch).source, │ │ │ │ │ - (settings.evaluate || noMatch).source │ │ │ │ │ - ].join('|') + '|$', 'g'); │ │ │ │ │ - │ │ │ │ │ - // Compile the template source, escaping string literals appropriately. │ │ │ │ │ - var index = 0; │ │ │ │ │ - var source = "__p+='"; │ │ │ │ │ - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { │ │ │ │ │ - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); │ │ │ │ │ - index = offset + match.length; │ │ │ │ │ - │ │ │ │ │ - if (escape) { │ │ │ │ │ - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; │ │ │ │ │ - } else if (interpolate) { │ │ │ │ │ - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; │ │ │ │ │ - } else if (evaluate) { │ │ │ │ │ - source += "';\n" + evaluate + "\n__p+='"; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // Adobe VMs need the match returned to produce the correct offset. │ │ │ │ │ - return match; │ │ │ │ │ - }); │ │ │ │ │ - source += "';\n"; │ │ │ │ │ - │ │ │ │ │ - var argument = settings.variable; │ │ │ │ │ - if (argument) { │ │ │ │ │ - // Insure against third-party code injection. (CVE-2021-23358) │ │ │ │ │ - if (!bareIdentifier.test(argument)) throw new Error( │ │ │ │ │ - 'variable is not a bare identifier: ' + argument │ │ │ │ │ - ); │ │ │ │ │ - } else { │ │ │ │ │ - // If a variable is not specified, place data values in local scope. │ │ │ │ │ - source = 'with(obj||{}){\n' + source + '}\n'; │ │ │ │ │ - argument = 'obj'; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - source = "var __t,__p='',__j=Array.prototype.join," + │ │ │ │ │ - "print=function(){__p+=__j.call(arguments,'');};\n" + │ │ │ │ │ - source + 'return __p;\n'; │ │ │ │ │ - │ │ │ │ │ - var render; │ │ │ │ │ - try { │ │ │ │ │ - render = new Function(argument, '_', source); │ │ │ │ │ - } catch (e) { │ │ │ │ │ - e.source = source; │ │ │ │ │ - throw e; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - var template = function(data) { │ │ │ │ │ - return render.call(this, data, underscore); │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - // Provide the compiled source as a convenience for precompilation. │ │ │ │ │ - template.source = 'function(' + argument + '){\n' + source + '}'; │ │ │ │ │ - │ │ │ │ │ - return template; │ │ │ │ │ +// Invokes `interceptor` with the `obj` and then returns `obj`. │ │ │ │ │ +// The primary purpose of this method is to "tap into" a method chain, in │ │ │ │ │ +// order to perform operations on intermediate results within the chain. │ │ │ │ │ +function tap(obj, interceptor) { │ │ │ │ │ + interceptor(obj); │ │ │ │ │ + return obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = template; │ │ │ │ │ +module.exports = tap; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index142.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,103 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ +var defaults = require('./index47.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +require('./index144.js'); │ │ │ │ │ │ │ │ │ │ -// By default, Underscore uses ERB-style template delimiters. Change the │ │ │ │ │ -// following template settings to use alternative delimiters. │ │ │ │ │ -var templateSettings = underscore.templateSettings = { │ │ │ │ │ - evaluate: /<%([\s\S]+?)%>/g, │ │ │ │ │ - interpolate: /<%=([\s\S]+?)%>/g, │ │ │ │ │ - escape: /<%-([\s\S]+?)%>/g │ │ │ │ │ +// When customizing `_.templateSettings`, if you don't want to define an │ │ │ │ │ +// interpolation, evaluation or escaping regex, we need one that is │ │ │ │ │ +// guaranteed not to match. │ │ │ │ │ +var noMatch = /(.)^/; │ │ │ │ │ + │ │ │ │ │ +// Certain characters need to be escaped so that they can be put into a │ │ │ │ │ +// string literal. │ │ │ │ │ +var escapes = { │ │ │ │ │ + "'": "'", │ │ │ │ │ + '\\': '\\', │ │ │ │ │ + '\r': 'r', │ │ │ │ │ + '\n': 'n', │ │ │ │ │ + '\u2028': 'u2028', │ │ │ │ │ + '\u2029': 'u2029' │ │ │ │ │ }; │ │ │ │ │ │ │ │ │ │ -module.exports = templateSettings; │ │ │ │ │ +var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; │ │ │ │ │ + │ │ │ │ │ +function escapeChar(match) { │ │ │ │ │ + return '\\' + escapes[match]; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +// In order to prevent third-party code injection through │ │ │ │ │ +// `_.templateSettings.variable`, we test it against the following regular │ │ │ │ │ +// expression. It is intentionally a bit more liberal than just matching valid │ │ │ │ │ +// identifiers, but still prevents possible loopholes through defaults or │ │ │ │ │ +// destructuring assignment. │ │ │ │ │ +var bareIdentifier = /^\s*(\w|\$)+\s*$/; │ │ │ │ │ + │ │ │ │ │ +// JavaScript micro-templating, similar to John Resig's implementation. │ │ │ │ │ +// Underscore templating handles arbitrary delimiters, preserves whitespace, │ │ │ │ │ +// and correctly escapes quotes within interpolated code. │ │ │ │ │ +// NB: `oldSettings` only exists for backwards compatibility. │ │ │ │ │ +function template(text, settings, oldSettings) { │ │ │ │ │ + if (!settings && oldSettings) settings = oldSettings; │ │ │ │ │ + settings = defaults({}, settings, underscore.templateSettings); │ │ │ │ │ + │ │ │ │ │ + // Combine delimiters into one regular expression via alternation. │ │ │ │ │ + var matcher = RegExp([ │ │ │ │ │ + (settings.escape || noMatch).source, │ │ │ │ │ + (settings.interpolate || noMatch).source, │ │ │ │ │ + (settings.evaluate || noMatch).source │ │ │ │ │ + ].join('|') + '|$', 'g'); │ │ │ │ │ + │ │ │ │ │ + // Compile the template source, escaping string literals appropriately. │ │ │ │ │ + var index = 0; │ │ │ │ │ + var source = "__p+='"; │ │ │ │ │ + text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { │ │ │ │ │ + source += text.slice(index, offset).replace(escapeRegExp, escapeChar); │ │ │ │ │ + index = offset + match.length; │ │ │ │ │ + │ │ │ │ │ + if (escape) { │ │ │ │ │ + source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; │ │ │ │ │ + } else if (interpolate) { │ │ │ │ │ + source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; │ │ │ │ │ + } else if (evaluate) { │ │ │ │ │ + source += "';\n" + evaluate + "\n__p+='"; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // Adobe VMs need the match returned to produce the correct offset. │ │ │ │ │ + return match; │ │ │ │ │ + }); │ │ │ │ │ + source += "';\n"; │ │ │ │ │ + │ │ │ │ │ + var argument = settings.variable; │ │ │ │ │ + if (argument) { │ │ │ │ │ + // Insure against third-party code injection. (CVE-2021-23358) │ │ │ │ │ + if (!bareIdentifier.test(argument)) throw new Error( │ │ │ │ │ + 'variable is not a bare identifier: ' + argument │ │ │ │ │ + ); │ │ │ │ │ + } else { │ │ │ │ │ + // If a variable is not specified, place data values in local scope. │ │ │ │ │ + source = 'with(obj||{}){\n' + source + '}\n'; │ │ │ │ │ + argument = 'obj'; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + source = "var __t,__p='',__j=Array.prototype.join," + │ │ │ │ │ + "print=function(){__p+=__j.call(arguments,'');};\n" + │ │ │ │ │ + source + 'return __p;\n'; │ │ │ │ │ + │ │ │ │ │ + var render; │ │ │ │ │ + try { │ │ │ │ │ + render = new Function(argument, '_', source); │ │ │ │ │ + } catch (e) { │ │ │ │ │ + e.source = source; │ │ │ │ │ + throw e; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + var template = function(data) { │ │ │ │ │ + return render.call(this, data, underscore); │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + // Provide the compiled source as a convenience for precompilation. │ │ │ │ │ + template.source = 'function(' + argument + '){\n' + source + '}'; │ │ │ │ │ + │ │ │ │ │ + return template; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +module.exports = template; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index143.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,49 +1,11 @@ │ │ │ │ │ -var now = require('./index115.js'); │ │ │ │ │ +var _optimizeCb = require('./index23.js'); │ │ │ │ │ │ │ │ │ │ -// Returns a function, that, when invoked, will only be triggered at most once │ │ │ │ │ -// during a given window of time. Normally, the throttled function will run │ │ │ │ │ -// as much as it can, without ever going more than once per `wait` duration; │ │ │ │ │ -// but if you'd like to disable the execution on the leading edge, pass │ │ │ │ │ -// `{leading: false}`. To disable execution on the trailing edge, ditto. │ │ │ │ │ -function throttle(func, wait, options) { │ │ │ │ │ - var timeout, context, args, result; │ │ │ │ │ - var previous = 0; │ │ │ │ │ - if (!options) options = {}; │ │ │ │ │ - │ │ │ │ │ - var later = function() { │ │ │ │ │ - previous = options.leading === false ? 0 : now(); │ │ │ │ │ - timeout = null; │ │ │ │ │ - result = func.apply(context, args); │ │ │ │ │ - if (!timeout) context = args = null; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - var throttled = function() { │ │ │ │ │ - var _now = now(); │ │ │ │ │ - if (!previous && options.leading === false) previous = _now; │ │ │ │ │ - var remaining = wait - (_now - previous); │ │ │ │ │ - context = this; │ │ │ │ │ - args = arguments; │ │ │ │ │ - if (remaining <= 0 || remaining > wait) { │ │ │ │ │ - if (timeout) { │ │ │ │ │ - clearTimeout(timeout); │ │ │ │ │ - timeout = null; │ │ │ │ │ - } │ │ │ │ │ - previous = _now; │ │ │ │ │ - result = func.apply(context, args); │ │ │ │ │ - if (!timeout) context = args = null; │ │ │ │ │ - } else if (!timeout && options.trailing !== false) { │ │ │ │ │ - timeout = setTimeout(later, remaining); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - throttled.cancel = function() { │ │ │ │ │ - clearTimeout(timeout); │ │ │ │ │ - previous = 0; │ │ │ │ │ - timeout = context = args = null; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return throttled; │ │ │ │ │ +// Run a function **n** times. │ │ │ │ │ +function times(n, iteratee, context) { │ │ │ │ │ + var accum = Array(Math.max(0, n)); │ │ │ │ │ + iteratee = _optimizeCb(iteratee, context, 1); │ │ │ │ │ + for (var i = 0; i < n; i++) accum[i] = iteratee(i); │ │ │ │ │ + return accum; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = throttle; │ │ │ │ │ +module.exports = times; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index144.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,11 @@ │ │ │ │ │ -var _optimizeCb = require('./index24.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ │ │ │ │ │ -// Run a function **n** times. │ │ │ │ │ -function times(n, iteratee, context) { │ │ │ │ │ - var accum = Array(Math.max(0, n)); │ │ │ │ │ - iteratee = _optimizeCb(iteratee, context, 1); │ │ │ │ │ - for (var i = 0; i < n; i++) accum[i] = iteratee(i); │ │ │ │ │ - return accum; │ │ │ │ │ -} │ │ │ │ │ +// By default, Underscore uses ERB-style template delimiters. Change the │ │ │ │ │ +// following template settings to use alternative delimiters. │ │ │ │ │ +var templateSettings = underscore.templateSettings = { │ │ │ │ │ + evaluate: /<%([\s\S]+?)%>/g, │ │ │ │ │ + interpolate: /<%=([\s\S]+?)%>/g, │ │ │ │ │ + escape: /<%-([\s\S]+?)%>/g │ │ │ │ │ +}; │ │ │ │ │ │ │ │ │ │ -module.exports = times; │ │ │ │ │ +module.exports = templateSettings; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index145.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,23 +1,49 @@ │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var isString = require('./index96.js'); │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var map = require('./index106.js'); │ │ │ │ │ -var identity = require('./index67.js'); │ │ │ │ │ -var values = require('./index154.js'); │ │ │ │ │ - │ │ │ │ │ -// Safely create a real, live array from anything iterable. │ │ │ │ │ -var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; │ │ │ │ │ - │ │ │ │ │ -function toArray(obj) { │ │ │ │ │ - if (!obj) return []; │ │ │ │ │ - if (isArray(obj)) return _setup.slice.call(obj); │ │ │ │ │ - if (isString(obj)) { │ │ │ │ │ - // Keep surrogate pair characters together. │ │ │ │ │ - return obj.match(reStrSymbol); │ │ │ │ │ - } │ │ │ │ │ - if (_isArrayLike(obj)) return map(obj, identity); │ │ │ │ │ - return values(obj); │ │ │ │ │ +var now = require('./index114.js'); │ │ │ │ │ + │ │ │ │ │ +// Returns a function, that, when invoked, will only be triggered at most once │ │ │ │ │ +// during a given window of time. Normally, the throttled function will run │ │ │ │ │ +// as much as it can, without ever going more than once per `wait` duration; │ │ │ │ │ +// but if you'd like to disable the execution on the leading edge, pass │ │ │ │ │ +// `{leading: false}`. To disable execution on the trailing edge, ditto. │ │ │ │ │ +function throttle(func, wait, options) { │ │ │ │ │ + var timeout, context, args, result; │ │ │ │ │ + var previous = 0; │ │ │ │ │ + if (!options) options = {}; │ │ │ │ │ + │ │ │ │ │ + var later = function() { │ │ │ │ │ + previous = options.leading === false ? 0 : now(); │ │ │ │ │ + timeout = null; │ │ │ │ │ + result = func.apply(context, args); │ │ │ │ │ + if (!timeout) context = args = null; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + var throttled = function() { │ │ │ │ │ + var _now = now(); │ │ │ │ │ + if (!previous && options.leading === false) previous = _now; │ │ │ │ │ + var remaining = wait - (_now - previous); │ │ │ │ │ + context = this; │ │ │ │ │ + args = arguments; │ │ │ │ │ + if (remaining <= 0 || remaining > wait) { │ │ │ │ │ + if (timeout) { │ │ │ │ │ + clearTimeout(timeout); │ │ │ │ │ + timeout = null; │ │ │ │ │ + } │ │ │ │ │ + previous = _now; │ │ │ │ │ + result = func.apply(context, args); │ │ │ │ │ + if (!timeout) context = args = null; │ │ │ │ │ + } else if (!timeout && options.trailing !== false) { │ │ │ │ │ + timeout = setTimeout(later, remaining); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + throttled.cancel = function() { │ │ │ │ │ + clearTimeout(timeout); │ │ │ │ │ + previous = 0; │ │ │ │ │ + timeout = context = args = null; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return throttled; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = toArray; │ │ │ │ │ +module.exports = throttle; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index146.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,23 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var isString = require('./index95.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var map = require('./index105.js'); │ │ │ │ │ +var identity = require('./index68.js'); │ │ │ │ │ +var values = require('./index152.js'); │ │ │ │ │ │ │ │ │ │ -// Normalize a (deep) property `path` to array. │ │ │ │ │ -// Like `_.iteratee`, this function can be customized. │ │ │ │ │ -function toPath(path) { │ │ │ │ │ - return isArray(path) ? path : [path]; │ │ │ │ │ +// Safely create a real, live array from anything iterable. │ │ │ │ │ +var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; │ │ │ │ │ + │ │ │ │ │ +function toArray(obj) { │ │ │ │ │ + if (!obj) return []; │ │ │ │ │ + if (isArray(obj)) return _setup.slice.call(obj); │ │ │ │ │ + if (isString(obj)) { │ │ │ │ │ + // Keep surrogate pair characters together. │ │ │ │ │ + return obj.match(reStrSymbol); │ │ │ │ │ + } │ │ │ │ │ + if (_isArrayLike(obj)) return map(obj, identity); │ │ │ │ │ + return values(obj); │ │ │ │ │ } │ │ │ │ │ -underscore.toPath = toPath; │ │ │ │ │ │ │ │ │ │ -module.exports = toPath; │ │ │ │ │ +module.exports = toArray; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index147.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,31 +1,27 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var _chainResult = require('./index4.js'); │ │ │ │ │ - │ │ │ │ │ -// Add all mutator `Array` functions to the wrapper. │ │ │ │ │ -each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { │ │ │ │ │ - var method = _setup.ArrayProto[name]; │ │ │ │ │ - underscore.prototype[name] = function() { │ │ │ │ │ - var obj = this._wrapped; │ │ │ │ │ - if (obj != null) { │ │ │ │ │ - method.apply(obj, arguments); │ │ │ │ │ - if ((name === 'shift' || name === 'splice') && obj.length === 0) { │ │ │ │ │ - delete obj[0]; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return _chainResult(this, obj); │ │ │ │ │ - }; │ │ │ │ │ -}); │ │ │ │ │ - │ │ │ │ │ -// Add all accessor `Array` functions to the wrapper. │ │ │ │ │ -each(['concat', 'join', 'slice'], function(name) { │ │ │ │ │ - var method = _setup.ArrayProto[name]; │ │ │ │ │ - underscore.prototype[name] = function() { │ │ │ │ │ - var obj = this._wrapped; │ │ │ │ │ - if (obj != null) obj = method.apply(obj, arguments); │ │ │ │ │ - return _chainResult(this, obj); │ │ │ │ │ - }; │ │ │ │ │ -}); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = underscore; │ │ │ │ │ +// If Underscore is called as a function, it returns a wrapped object that can │ │ │ │ │ +// be used OO-style. This wrapper holds altered versions of all functions added │ │ │ │ │ +// through `_.mixin`. Wrapped objects may be chained. │ │ │ │ │ +function _(obj) { │ │ │ │ │ + if (obj instanceof _) return obj; │ │ │ │ │ + if (!(this instanceof _)) return new _(obj); │ │ │ │ │ + this._wrapped = obj; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +_.VERSION = _setup.VERSION; │ │ │ │ │ + │ │ │ │ │ +// Extracts the result from a wrapped and chained object. │ │ │ │ │ +_.prototype.value = function() { │ │ │ │ │ + return this._wrapped; │ │ │ │ │ +}; │ │ │ │ │ + │ │ │ │ │ +// Provide unwrapping proxies for some methods used in engine operations │ │ │ │ │ +// such as arithmetic and JSON stringification. │ │ │ │ │ +_.prototype.valueOf = _.prototype.toJSON = _.prototype.value; │ │ │ │ │ + │ │ │ │ │ +_.prototype.toString = function() { │ │ │ │ │ + return String(this._wrapped); │ │ │ │ │ +}; │ │ │ │ │ + │ │ │ │ │ +module.exports = _; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index148.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,27 +1,7 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _createEscaper = require('./index7.js'); │ │ │ │ │ +var _unescapeMap = require('./index31.js'); │ │ │ │ │ │ │ │ │ │ -// If Underscore is called as a function, it returns a wrapped object that can │ │ │ │ │ -// be used OO-style. This wrapper holds altered versions of all functions added │ │ │ │ │ -// through `_.mixin`. Wrapped objects may be chained. │ │ │ │ │ -function _(obj) { │ │ │ │ │ - if (obj instanceof _) return obj; │ │ │ │ │ - if (!(this instanceof _)) return new _(obj); │ │ │ │ │ - this._wrapped = obj; │ │ │ │ │ -} │ │ │ │ │ +// Function for unescaping strings from HTML interpolation. │ │ │ │ │ +var unescape = _createEscaper(_unescapeMap); │ │ │ │ │ │ │ │ │ │ -_.VERSION = _setup.VERSION; │ │ │ │ │ - │ │ │ │ │ -// Extracts the result from a wrapped and chained object. │ │ │ │ │ -_.prototype.value = function() { │ │ │ │ │ - return this._wrapped; │ │ │ │ │ -}; │ │ │ │ │ - │ │ │ │ │ -// Provide unwrapping proxies for some methods used in engine operations │ │ │ │ │ -// such as arithmetic and JSON stringification. │ │ │ │ │ -_.prototype.valueOf = _.prototype.toJSON = _.prototype.value; │ │ │ │ │ - │ │ │ │ │ -_.prototype.toString = function() { │ │ │ │ │ - return String(this._wrapped); │ │ │ │ │ -}; │ │ │ │ │ - │ │ │ │ │ -module.exports = _; │ │ │ │ │ +module.exports = unescape; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index149.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,11 @@ │ │ │ │ │ -var _createEscaper = require('./index6.js'); │ │ │ │ │ -var _unescapeMap = require('./index31.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var uniq = require('./index158.js'); │ │ │ │ │ +var _flatten = require('./index18.js'); │ │ │ │ │ │ │ │ │ │ -// Function for unescaping strings from HTML interpolation. │ │ │ │ │ -var unescape = _createEscaper(_unescapeMap); │ │ │ │ │ +// Produce an array that contains the union: each distinct element from all of │ │ │ │ │ +// the passed-in arrays. │ │ │ │ │ +var union = restArguments(function(arrays) { │ │ │ │ │ + return uniq(_flatten(arrays, true, true)); │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = unescape; │ │ │ │ │ +module.exports = union; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index15.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,6 @@ │ │ │ │ │ -var _shallowProperty = require('./index26.js'); │ │ │ │ │ +var _shallowProperty = require('./index39.js'); │ │ │ │ │ │ │ │ │ │ -// Internal helper to obtain the `byteLength` property of an object. │ │ │ │ │ -var getByteLength = _shallowProperty('byteLength'); │ │ │ │ │ +// Internal helper to obtain the `length` property of an object. │ │ │ │ │ +var getLength = _shallowProperty('length'); │ │ │ │ │ │ │ │ │ │ -module.exports = getByteLength; │ │ │ │ │ +module.exports = getLength; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index150.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,10 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var uniq = require('./index151.js'); │ │ │ │ │ -var _flatten = require('./index14.js'); │ │ │ │ │ +// Generate a unique integer id (unique within the entire client session). │ │ │ │ │ +// Useful for temporary DOM ids. │ │ │ │ │ +var idCounter = 0; │ │ │ │ │ │ │ │ │ │ -// Produce an array that contains the union: each distinct element from all of │ │ │ │ │ -// the passed-in arrays. │ │ │ │ │ -var union = restArguments(function(arrays) { │ │ │ │ │ - return uniq(_flatten(arrays, true, true)); │ │ │ │ │ -}); │ │ │ │ │ +function uniqueId(prefix) { │ │ │ │ │ + var id = ++idCounter + ''; │ │ │ │ │ + return prefix ? prefix + id : id; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = union; │ │ │ │ │ +module.exports = uniqueId; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index151.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,38 +1,17 @@ │ │ │ │ │ -var isBoolean = require('./index79.js'); │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var contains = require('./index42.js'); │ │ │ │ │ +var max = require('./index108.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var pluck = require('./index122.js'); │ │ │ │ │ │ │ │ │ │ -// Produce a duplicate-free version of the array. If the array has already │ │ │ │ │ -// been sorted, you have the option of using a faster algorithm. │ │ │ │ │ -// The faster algorithm will not work with an iteratee if the iteratee │ │ │ │ │ -// is not a one-to-one function, so providing an iteratee will disable │ │ │ │ │ -// the faster algorithm. │ │ │ │ │ -function uniq(array, isSorted, iteratee, context) { │ │ │ │ │ - if (!isBoolean(isSorted)) { │ │ │ │ │ - context = iteratee; │ │ │ │ │ - iteratee = isSorted; │ │ │ │ │ - isSorted = false; │ │ │ │ │ - } │ │ │ │ │ - if (iteratee != null) iteratee = _cb(iteratee, context); │ │ │ │ │ - var result = []; │ │ │ │ │ - var seen = []; │ │ │ │ │ - for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ - var value = array[i], │ │ │ │ │ - computed = iteratee ? iteratee(value, i, array) : value; │ │ │ │ │ - if (isSorted && !iteratee) { │ │ │ │ │ - if (!i || seen !== computed) result.push(value); │ │ │ │ │ - seen = computed; │ │ │ │ │ - } else if (iteratee) { │ │ │ │ │ - if (!contains(seen, computed)) { │ │ │ │ │ - seen.push(computed); │ │ │ │ │ - result.push(value); │ │ │ │ │ - } │ │ │ │ │ - } else if (!contains(result, value)) { │ │ │ │ │ - result.push(value); │ │ │ │ │ - } │ │ │ │ │ +// Complement of zip. Unzip accepts an array of arrays and groups │ │ │ │ │ +// each array's elements on shared indices. │ │ │ │ │ +function unzip(array) { │ │ │ │ │ + var length = (array && max(array, _getLength).length) || 0; │ │ │ │ │ + var result = Array(length); │ │ │ │ │ + │ │ │ │ │ + for (var index = 0; index < length; index++) { │ │ │ │ │ + result[index] = pluck(array, index); │ │ │ │ │ } │ │ │ │ │ return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = uniq; │ │ │ │ │ +module.exports = unzip; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index152.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,14 @@ │ │ │ │ │ -// Generate a unique integer id (unique within the entire client session). │ │ │ │ │ -// Useful for temporary DOM ids. │ │ │ │ │ -var idCounter = 0; │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -function uniqueId(prefix) { │ │ │ │ │ - var id = ++idCounter + ''; │ │ │ │ │ - return prefix ? prefix + id : id; │ │ │ │ │ +// Retrieve the values of an object's properties. │ │ │ │ │ +function values(obj) { │ │ │ │ │ + var _keys = keys(obj); │ │ │ │ │ + var length = _keys.length; │ │ │ │ │ + var values = Array(length); │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + values[i] = obj[_keys[i]]; │ │ │ │ │ + } │ │ │ │ │ + return values; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = uniqueId; │ │ │ │ │ +module.exports = values; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index153.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,10 @@ │ │ │ │ │ -var max = require('./index109.js'); │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var pluck = require('./index123.js'); │ │ │ │ │ +var filter = require('./index56.js'); │ │ │ │ │ +var matcher = require('./index107.js'); │ │ │ │ │ │ │ │ │ │ -// Complement of zip. Unzip accepts an array of arrays and groups │ │ │ │ │ -// each array's elements on shared indices. │ │ │ │ │ -function unzip(array) { │ │ │ │ │ - var length = (array && max(array, _getLength).length) || 0; │ │ │ │ │ - var result = Array(length); │ │ │ │ │ - │ │ │ │ │ - for (var index = 0; index < length; index++) { │ │ │ │ │ - result[index] = pluck(array, index); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ +// Convenience version of a common use case of `_.filter`: selecting only │ │ │ │ │ +// objects containing specific `key:value` pairs. │ │ │ │ │ +function where(obj, attrs) { │ │ │ │ │ + return filter(obj, matcher(attrs)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = unzip; │ │ │ │ │ +module.exports = where; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index154.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,9 @@ │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var difference = require('./index50.js'); │ │ │ │ │ │ │ │ │ │ -// Retrieve the values of an object's properties. │ │ │ │ │ -function values(obj) { │ │ │ │ │ - var _keys = keys(obj); │ │ │ │ │ - var length = _keys.length; │ │ │ │ │ - var values = Array(length); │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - values[i] = obj[_keys[i]]; │ │ │ │ │ - } │ │ │ │ │ - return values; │ │ │ │ │ -} │ │ │ │ │ +// Return a version of the array that does not contain the specified value(s). │ │ │ │ │ +var without = restArguments(function(array, otherArrays) { │ │ │ │ │ + return difference(array, otherArrays); │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = values; │ │ │ │ │ +module.exports = without; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index155.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var filter = require('./index55.js'); │ │ │ │ │ -var matcher = require('./index108.js'); │ │ │ │ │ +var partial = require('./index120.js'); │ │ │ │ │ │ │ │ │ │ -// Convenience version of a common use case of `_.filter`: selecting only │ │ │ │ │ -// objects containing specific `key:value` pairs. │ │ │ │ │ -function where(obj, attrs) { │ │ │ │ │ - return filter(obj, matcher(attrs)); │ │ │ │ │ +// Returns the first function passed as an argument to the second, │ │ │ │ │ +// allowing you to adjust arguments, run code before and after, and │ │ │ │ │ +// conditionally execute the original function. │ │ │ │ │ +function wrap(func, wrapper) { │ │ │ │ │ + return partial(wrapper, func); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = where; │ │ │ │ │ +module.exports = wrap; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index156.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,8 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var difference = require('./index49.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var unzip = require('./index151.js'); │ │ │ │ │ │ │ │ │ │ -// Return a version of the array that does not contain the specified value(s). │ │ │ │ │ -var without = restArguments(function(array, otherArrays) { │ │ │ │ │ - return difference(array, otherArrays); │ │ │ │ │ -}); │ │ │ │ │ +// Zip together multiple lists into a single array -- elements that share │ │ │ │ │ +// an index go together. │ │ │ │ │ +var zip = restArguments(unzip); │ │ │ │ │ │ │ │ │ │ -module.exports = without; │ │ │ │ │ +module.exports = zip; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index157.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,29 @@ │ │ │ │ │ -var partial = require('./index120.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var _optimizeCb = require('./index23.js'); │ │ │ │ │ +var allKeys = require('./index33.js'); │ │ │ │ │ +var _keyInObj = require('./index24.js'); │ │ │ │ │ +var _flatten = require('./index18.js'); │ │ │ │ │ │ │ │ │ │ -// Returns the first function passed as an argument to the second, │ │ │ │ │ -// allowing you to adjust arguments, run code before and after, and │ │ │ │ │ -// conditionally execute the original function. │ │ │ │ │ -function wrap(func, wrapper) { │ │ │ │ │ - return partial(wrapper, func); │ │ │ │ │ -} │ │ │ │ │ +// Return a copy of the object only containing the allowed properties. │ │ │ │ │ +var pick = restArguments(function(obj, keys) { │ │ │ │ │ + var result = {}, │ │ │ │ │ + iteratee = keys[0]; │ │ │ │ │ + if (obj == null) return result; │ │ │ │ │ + if (isFunction(iteratee)) { │ │ │ │ │ + if (keys.length > 1) iteratee = _optimizeCb(iteratee, keys[1]); │ │ │ │ │ + keys = allKeys(obj); │ │ │ │ │ + } else { │ │ │ │ │ + iteratee = _keyInObj; │ │ │ │ │ + keys = _flatten(keys, false, false); │ │ │ │ │ + obj = Object(obj); │ │ │ │ │ + } │ │ │ │ │ + for (var i = 0, length = keys.length; i < length; i++) { │ │ │ │ │ + var key = keys[i]; │ │ │ │ │ + var value = obj[key]; │ │ │ │ │ + if (iteratee(value, key, obj)) result[key] = value; │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = wrap; │ │ │ │ │ +module.exports = pick; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index158.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,38 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var unzip = require('./index153.js'); │ │ │ │ │ +var isBoolean = require('./index79.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var contains = require('./index43.js'); │ │ │ │ │ │ │ │ │ │ -// Zip together multiple lists into a single array -- elements that share │ │ │ │ │ -// an index go together. │ │ │ │ │ -var zip = restArguments(unzip); │ │ │ │ │ +// Produce a duplicate-free version of the array. If the array has already │ │ │ │ │ +// been sorted, you have the option of using a faster algorithm. │ │ │ │ │ +// The faster algorithm will not work with an iteratee if the iteratee │ │ │ │ │ +// is not a one-to-one function, so providing an iteratee will disable │ │ │ │ │ +// the faster algorithm. │ │ │ │ │ +function uniq(array, isSorted, iteratee, context) { │ │ │ │ │ + if (!isBoolean(isSorted)) { │ │ │ │ │ + context = iteratee; │ │ │ │ │ + iteratee = isSorted; │ │ │ │ │ + isSorted = false; │ │ │ │ │ + } │ │ │ │ │ + if (iteratee != null) iteratee = _cb(iteratee, context); │ │ │ │ │ + var result = []; │ │ │ │ │ + var seen = []; │ │ │ │ │ + for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ + var value = array[i], │ │ │ │ │ + computed = iteratee ? iteratee(value, i, array) : value; │ │ │ │ │ + if (isSorted && !iteratee) { │ │ │ │ │ + if (!i || seen !== computed) result.push(value); │ │ │ │ │ + seen = computed; │ │ │ │ │ + } else if (iteratee) { │ │ │ │ │ + if (!contains(seen, computed)) { │ │ │ │ │ + seen.push(computed); │ │ │ │ │ + result.push(value); │ │ │ │ │ + } │ │ │ │ │ + } else if (!contains(result, value)) { │ │ │ │ │ + result.push(value); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = zip; │ │ │ │ │ +module.exports = uniq; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index159.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,29 +1,11 @@ │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var values = require('./index154.js'); │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var random = require('./index126.js'); │ │ │ │ │ -var toArray = require('./index145.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ │ │ │ │ │ -// Sample **n** random values from a collection using the modern version of the │ │ │ │ │ -// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle). │ │ │ │ │ -// If **n** is not specified, returns a single random element. │ │ │ │ │ -// The internal `guard` argument allows it to work with `_.map`. │ │ │ │ │ -function sample(obj, n, guard) { │ │ │ │ │ - if (n == null || guard) { │ │ │ │ │ - if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ - return obj[random(obj.length - 1)]; │ │ │ │ │ - } │ │ │ │ │ - var sample = toArray(obj); │ │ │ │ │ - var length = _getLength(sample); │ │ │ │ │ - n = Math.max(Math.min(n, length), 0); │ │ │ │ │ - var last = length - 1; │ │ │ │ │ - for (var index = 0; index < n; index++) { │ │ │ │ │ - var rand = random(index, last); │ │ │ │ │ - var temp = sample[index]; │ │ │ │ │ - sample[index] = sample[rand]; │ │ │ │ │ - sample[rand] = temp; │ │ │ │ │ - } │ │ │ │ │ - return sample.slice(0, n); │ │ │ │ │ +// Normalize a (deep) property `path` to array. │ │ │ │ │ +// Like `_.iteratee`, this function can be customized. │ │ │ │ │ +function toPath(path) { │ │ │ │ │ + return isArray(path) ? path : [path]; │ │ │ │ │ } │ │ │ │ │ +underscore.toPath = toPath; │ │ │ │ │ │ │ │ │ │ -module.exports = sample; │ │ │ │ │ +module.exports = toPath; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index16.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,20 @@ │ │ │ │ │ -var _shallowProperty = require('./index26.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ │ │ │ │ │ -// Internal helper to obtain the `length` property of an object. │ │ │ │ │ -var getLength = _shallowProperty('length'); │ │ │ │ │ +// An internal function used for aggregate "group by" operations. │ │ │ │ │ +function group(behavior, partition) { │ │ │ │ │ + return function(obj, iteratee, context) { │ │ │ │ │ + var result = partition ? [ │ │ │ │ │ + [], │ │ │ │ │ + [] │ │ │ │ │ + ] : {}; │ │ │ │ │ + iteratee = _cb(iteratee, context); │ │ │ │ │ + each(obj, function(value, index) { │ │ │ │ │ + var key = iteratee(value, index, obj); │ │ │ │ │ + behavior(result, value, key); │ │ │ │ │ + }); │ │ │ │ │ + return result; │ │ │ │ │ + }; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = getLength; │ │ │ │ │ +module.exports = group; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index160.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,31 @@ │ │ │ │ │ -var sample = require('./index159.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var _chainResult = require('./index2.js'); │ │ │ │ │ │ │ │ │ │ -// Shuffle a collection. │ │ │ │ │ -function shuffle(obj) { │ │ │ │ │ - return sample(obj, Infinity); │ │ │ │ │ -} │ │ │ │ │ +// Add all mutator `Array` functions to the wrapper. │ │ │ │ │ +each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { │ │ │ │ │ + var method = _setup.ArrayProto[name]; │ │ │ │ │ + underscore.prototype[name] = function() { │ │ │ │ │ + var obj = this._wrapped; │ │ │ │ │ + if (obj != null) { │ │ │ │ │ + method.apply(obj, arguments); │ │ │ │ │ + if ((name === 'shift' || name === 'splice') && obj.length === 0) { │ │ │ │ │ + delete obj[0]; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return _chainResult(this, obj); │ │ │ │ │ + }; │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = shuffle; │ │ │ │ │ +// Add all accessor `Array` functions to the wrapper. │ │ │ │ │ +each(['concat', 'join', 'slice'], function(name) { │ │ │ │ │ + var method = _setup.ArrayProto[name]; │ │ │ │ │ + underscore.prototype[name] = function() { │ │ │ │ │ + var obj = this._wrapped; │ │ │ │ │ + if (obj != null) obj = method.apply(obj, arguments); │ │ │ │ │ + return _chainResult(this, obj); │ │ │ │ │ + }; │ │ │ │ │ +}); │ │ │ │ │ + │ │ │ │ │ +module.exports = underscore; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index17.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,20 +1,8 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ -// An internal function used for aggregate "group by" operations. │ │ │ │ │ -function group(behavior, partition) { │ │ │ │ │ - return function(obj, iteratee, context) { │ │ │ │ │ - var result = partition ? [ │ │ │ │ │ - [], │ │ │ │ │ - [] │ │ │ │ │ - ] : {}; │ │ │ │ │ - iteratee = _cb(iteratee, context); │ │ │ │ │ - each(obj, function(value, index) { │ │ │ │ │ - var key = iteratee(value, index, obj); │ │ │ │ │ - behavior(result, value, key); │ │ │ │ │ - }); │ │ │ │ │ - return result; │ │ │ │ │ - }; │ │ │ │ │ +// Internal function to check whether `key` is an own property name of `obj`. │ │ │ │ │ +function has(obj, key) { │ │ │ │ │ + return obj != null && _setup.hasOwnProperty.call(obj, key); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = group; │ │ │ │ │ +module.exports = has; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index18.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,34 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ +var isArguments = require('./index140.js'); │ │ │ │ │ │ │ │ │ │ -// Internal function to check whether `key` is an own property name of `obj`. │ │ │ │ │ -function has(obj, key) { │ │ │ │ │ - return obj != null && _setup.hasOwnProperty.call(obj, key); │ │ │ │ │ +// Internal implementation of a recursive `flatten` function. │ │ │ │ │ +function flatten(input, depth, strict, output) { │ │ │ │ │ + output = output || []; │ │ │ │ │ + if (!depth && depth !== 0) { │ │ │ │ │ + depth = Infinity; │ │ │ │ │ + } else if (depth <= 0) { │ │ │ │ │ + return output.concat(input); │ │ │ │ │ + } │ │ │ │ │ + var idx = output.length; │ │ │ │ │ + for (var i = 0, length = _getLength(input); i < length; i++) { │ │ │ │ │ + var value = input[i]; │ │ │ │ │ + if (_isArrayLike(value) && (isArray(value) || isArguments(value))) { │ │ │ │ │ + // Flatten current level of array or arguments object. │ │ │ │ │ + if (depth > 1) { │ │ │ │ │ + flatten(value, depth - 1, strict, output); │ │ │ │ │ + idx = output.length; │ │ │ │ │ + } else { │ │ │ │ │ + var j = 0, │ │ │ │ │ + len = value.length; │ │ │ │ │ + while (j < len) output[idx++] = value[j++]; │ │ │ │ │ + } │ │ │ │ │ + } else if (!strict) { │ │ │ │ │ + output[idx++] = value; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return output; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = has; │ │ │ │ │ +module.exports = flatten; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index2.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,8 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -var _baseIteratee = require('./index.js'); │ │ │ │ │ -var iteratee = require('./index135.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ │ │ │ │ │ -// The function we call internally to generate a callback. It invokes │ │ │ │ │ -// `_.iteratee` if overridden, otherwise `baseIteratee`. │ │ │ │ │ -function cb(value, context, argCount) { │ │ │ │ │ - if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context); │ │ │ │ │ - return _baseIteratee(value, context, argCount); │ │ │ │ │ +// Helper function to continue chaining intermediate results. │ │ │ │ │ +function chainResult(instance, obj) { │ │ │ │ │ + return instance._chain ? underscore(obj).chain() : obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = cb; │ │ │ │ │ +module.exports = chainResult; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index20.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ -var _createSizePropertyCheck = require('./index10.js'); │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ +var _createSizePropertyCheck = require('./index11.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ │ │ │ │ │ // Internal helper for collection methods to determine whether a collection │ │ │ │ │ // should be iterated as an array or as an object. │ │ │ │ │ // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength │ │ │ │ │ // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 │ │ │ │ │ var isArrayLike = _createSizePropertyCheck(_getLength); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index21.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _createSizePropertyCheck = require('./index10.js'); │ │ │ │ │ -var _getByteLength = require('./index15.js'); │ │ │ │ │ +var _createSizePropertyCheck = require('./index11.js'); │ │ │ │ │ +var _getByteLength = require('./index13.js'); │ │ │ │ │ │ │ │ │ │ // Internal helper to determine whether we should spend extensive checks against │ │ │ │ │ // `ArrayBuffer` et al. │ │ │ │ │ var isBufferLike = _createSizePropertyCheck(_getByteLength); │ │ │ │ │ │ │ │ │ │ module.exports = isBufferLike; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index22.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,42 @@ │ │ │ │ │ -// Internal `_.pick` helper function to determine whether `key` is an enumerable │ │ │ │ │ -// property name of `obj`. │ │ │ │ │ -function keyInObj(value, key, obj) { │ │ │ │ │ - return key in obj; │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var allKeys = require('./index33.js'); │ │ │ │ │ + │ │ │ │ │ +// Since the regular `Object.prototype.toString` type tests don't work for │ │ │ │ │ +// some types in IE 11, we use a fingerprinting heuristic instead, based │ │ │ │ │ +// on the methods. It's not great, but it's the best we got. │ │ │ │ │ +// The fingerprint method lists are defined below. │ │ │ │ │ +function ie11fingerprint(methods) { │ │ │ │ │ + var length = _getLength(methods); │ │ │ │ │ + return function(obj) { │ │ │ │ │ + if (obj == null) return false; │ │ │ │ │ + // `Map`, `WeakMap` and `Set` have no enumerable keys. │ │ │ │ │ + var keys = allKeys(obj); │ │ │ │ │ + if (_getLength(keys)) return false; │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + if (!isFunction(obj[methods[i]])) return false; │ │ │ │ │ + } │ │ │ │ │ + // If we are testing against `WeakMap`, we need to ensure that │ │ │ │ │ + // `obj` doesn't have a `forEach` method in order to distinguish │ │ │ │ │ + // it from a regular `Map`. │ │ │ │ │ + return methods !== weakMapMethods || !isFunction(obj[forEachName]); │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = keyInObj; │ │ │ │ │ +// In the interest of compact minification, we write │ │ │ │ │ +// each string in the fingerprints only once. │ │ │ │ │ +var forEachName = 'forEach', │ │ │ │ │ + hasName = 'has', │ │ │ │ │ + commonInit = ['clear', 'delete'], │ │ │ │ │ + mapTail = ['get', hasName, 'set']; │ │ │ │ │ + │ │ │ │ │ +// `Map`, `WeakMap` and `Set` each have slightly different │ │ │ │ │ +// combinations of the above sublists. │ │ │ │ │ +var mapMethods = commonInit.concat(forEachName, mapTail), │ │ │ │ │ + weakMapMethods = commonInit.concat(mapTail), │ │ │ │ │ + setMethods = ['add'].concat(commonInit, forEachName, hasName); │ │ │ │ │ + │ │ │ │ │ +exports.ie11fingerprint = ie11fingerprint; │ │ │ │ │ +exports.mapMethods = mapMethods; │ │ │ │ │ +exports.setMethods = setMethods; │ │ │ │ │ +exports.weakMapMethods = weakMapMethods; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index23.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,42 +1,26 @@ │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var allKeys = require('./index33.js'); │ │ │ │ │ - │ │ │ │ │ -// Since the regular `Object.prototype.toString` type tests don't work for │ │ │ │ │ -// some types in IE 11, we use a fingerprinting heuristic instead, based │ │ │ │ │ -// on the methods. It's not great, but it's the best we got. │ │ │ │ │ -// The fingerprint method lists are defined below. │ │ │ │ │ -function ie11fingerprint(methods) { │ │ │ │ │ - var length = _getLength(methods); │ │ │ │ │ - return function(obj) { │ │ │ │ │ - if (obj == null) return false; │ │ │ │ │ - // `Map`, `WeakMap` and `Set` have no enumerable keys. │ │ │ │ │ - var keys = allKeys(obj); │ │ │ │ │ - if (_getLength(keys)) return false; │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - if (!isFunction(obj[methods[i]])) return false; │ │ │ │ │ - } │ │ │ │ │ - // If we are testing against `WeakMap`, we need to ensure that │ │ │ │ │ - // `obj` doesn't have a `forEach` method in order to distinguish │ │ │ │ │ - // it from a regular `Map`. │ │ │ │ │ - return methods !== weakMapMethods || !isFunction(obj[forEachName]); │ │ │ │ │ +// Internal function that returns an efficient (for current engines) version │ │ │ │ │ +// of the passed-in callback, to be repeatedly applied in other Underscore │ │ │ │ │ +// functions. │ │ │ │ │ +function optimizeCb(func, context, argCount) { │ │ │ │ │ + if (context === void 0) return func; │ │ │ │ │ + switch (argCount == null ? 3 : argCount) { │ │ │ │ │ + case 1: │ │ │ │ │ + return function(value) { │ │ │ │ │ + return func.call(context, value); │ │ │ │ │ + }; │ │ │ │ │ + // The 2-argument case is omitted because we’re not using it. │ │ │ │ │ + case 3: │ │ │ │ │ + return function(value, index, collection) { │ │ │ │ │ + return func.call(context, value, index, collection); │ │ │ │ │ + }; │ │ │ │ │ + case 4: │ │ │ │ │ + return function(accumulator, value, index, collection) { │ │ │ │ │ + return func.call(context, accumulator, value, index, collection); │ │ │ │ │ + }; │ │ │ │ │ + } │ │ │ │ │ + return function() { │ │ │ │ │ + return func.apply(context, arguments); │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -// In the interest of compact minification, we write │ │ │ │ │ -// each string in the fingerprints only once. │ │ │ │ │ -var forEachName = 'forEach', │ │ │ │ │ - hasName = 'has', │ │ │ │ │ - commonInit = ['clear', 'delete'], │ │ │ │ │ - mapTail = ['get', hasName, 'set']; │ │ │ │ │ - │ │ │ │ │ -// `Map`, `WeakMap` and `Set` each have slightly different │ │ │ │ │ -// combinations of the above sublists. │ │ │ │ │ -var mapMethods = commonInit.concat(forEachName, mapTail), │ │ │ │ │ - weakMapMethods = commonInit.concat(mapTail), │ │ │ │ │ - setMethods = ['add'].concat(commonInit, forEachName, hasName); │ │ │ │ │ - │ │ │ │ │ -exports.ie11fingerprint = ie11fingerprint; │ │ │ │ │ -exports.mapMethods = mapMethods; │ │ │ │ │ -exports.setMethods = setMethods; │ │ │ │ │ -exports.weakMapMethods = weakMapMethods; │ │ │ │ │ +module.exports = optimizeCb; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index24.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,26 +1,7 @@ │ │ │ │ │ -// Internal function that returns an efficient (for current engines) version │ │ │ │ │ -// of the passed-in callback, to be repeatedly applied in other Underscore │ │ │ │ │ -// functions. │ │ │ │ │ -function optimizeCb(func, context, argCount) { │ │ │ │ │ - if (context === void 0) return func; │ │ │ │ │ - switch (argCount == null ? 3 : argCount) { │ │ │ │ │ - case 1: │ │ │ │ │ - return function(value) { │ │ │ │ │ - return func.call(context, value); │ │ │ │ │ - }; │ │ │ │ │ - // The 2-argument case is omitted because we’re not using it. │ │ │ │ │ - case 3: │ │ │ │ │ - return function(value, index, collection) { │ │ │ │ │ - return func.call(context, value, index, collection); │ │ │ │ │ - }; │ │ │ │ │ - case 4: │ │ │ │ │ - return function(accumulator, value, index, collection) { │ │ │ │ │ - return func.call(context, accumulator, value, index, collection); │ │ │ │ │ - }; │ │ │ │ │ - } │ │ │ │ │ - return function() { │ │ │ │ │ - return func.apply(context, arguments); │ │ │ │ │ - }; │ │ │ │ │ +// Internal `_.pick` helper function to determine whether `key` is an enumerable │ │ │ │ │ +// property name of `obj`. │ │ │ │ │ +function keyInObj(value, key, obj) { │ │ │ │ │ + return key in obj; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = optimizeCb; │ │ │ │ │ +module.exports = keyInObj; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index25.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,67 +1,11 @@ │ │ │ │ │ -// Current version. │ │ │ │ │ -var VERSION = '1.13.4'; │ │ │ │ │ +// Internal list of HTML entities for escaping. │ │ │ │ │ +var escapeMap = { │ │ │ │ │ + '&': '&', │ │ │ │ │ + '<': '<', │ │ │ │ │ + '>': '>', │ │ │ │ │ + '"': '"', │ │ │ │ │ + "'": ''', │ │ │ │ │ + '`': '`' │ │ │ │ │ +}; │ │ │ │ │ │ │ │ │ │ -// Establish the root object, `window` (`self`) in the browser, `global` │ │ │ │ │ -// on the server, or `this` in some virtual machines. We use `self` │ │ │ │ │ -// instead of `window` for `WebWorker` support. │ │ │ │ │ -var root = (typeof self == 'object' && self.self === self && self) || │ │ │ │ │ - (typeof global == 'object' && global.global === global && global) || │ │ │ │ │ - Function('return this')() || {}; │ │ │ │ │ - │ │ │ │ │ -// Save bytes in the minified (but not gzipped) version: │ │ │ │ │ -var ArrayProto = Array.prototype, │ │ │ │ │ - ObjProto = Object.prototype; │ │ │ │ │ -var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; │ │ │ │ │ - │ │ │ │ │ -// Create quick reference variables for speed access to core prototypes. │ │ │ │ │ -var push = ArrayProto.push, │ │ │ │ │ - slice = ArrayProto.slice, │ │ │ │ │ - toString = ObjProto.toString, │ │ │ │ │ - hasOwnProperty = ObjProto.hasOwnProperty; │ │ │ │ │ - │ │ │ │ │ -// Modern feature detection. │ │ │ │ │ -var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', │ │ │ │ │ - supportsDataView = typeof DataView !== 'undefined'; │ │ │ │ │ - │ │ │ │ │ -// All **ECMAScript 5+** native function implementations that we hope to use │ │ │ │ │ -// are declared here. │ │ │ │ │ -var nativeIsArray = Array.isArray, │ │ │ │ │ - nativeKeys = Object.keys, │ │ │ │ │ - nativeCreate = Object.create, │ │ │ │ │ - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; │ │ │ │ │ - │ │ │ │ │ -// Create references to these builtin functions because we override them. │ │ │ │ │ -var _isNaN = isNaN, │ │ │ │ │ - _isFinite = isFinite; │ │ │ │ │ - │ │ │ │ │ -// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. │ │ │ │ │ -var hasEnumBug = !{ │ │ │ │ │ - toString: null │ │ │ │ │ -}.propertyIsEnumerable('toString'); │ │ │ │ │ -var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', │ │ │ │ │ - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString' │ │ │ │ │ -]; │ │ │ │ │ - │ │ │ │ │ -// The largest integer that can be represented exactly. │ │ │ │ │ -var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; │ │ │ │ │ - │ │ │ │ │ -exports.ArrayProto = ArrayProto; │ │ │ │ │ -exports.MAX_ARRAY_INDEX = MAX_ARRAY_INDEX; │ │ │ │ │ -exports.ObjProto = ObjProto; │ │ │ │ │ -exports.SymbolProto = SymbolProto; │ │ │ │ │ -exports.VERSION = VERSION; │ │ │ │ │ -exports._isFinite = _isFinite; │ │ │ │ │ -exports._isNaN = _isNaN; │ │ │ │ │ -exports.hasEnumBug = hasEnumBug; │ │ │ │ │ -exports.hasOwnProperty = hasOwnProperty; │ │ │ │ │ -exports.nativeCreate = nativeCreate; │ │ │ │ │ -exports.nativeIsArray = nativeIsArray; │ │ │ │ │ -exports.nativeIsView = nativeIsView; │ │ │ │ │ -exports.nativeKeys = nativeKeys; │ │ │ │ │ -exports.nonEnumerableProps = nonEnumerableProps; │ │ │ │ │ -exports.push = push; │ │ │ │ │ -exports.root = root; │ │ │ │ │ -exports.slice = slice; │ │ │ │ │ -exports.supportsArrayBuffer = supportsArrayBuffer; │ │ │ │ │ -exports.supportsDataView = supportsDataView; │ │ │ │ │ -exports.toString = toString; │ │ │ │ │ +module.exports = escapeMap; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index26.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,67 @@ │ │ │ │ │ -// Internal helper to generate a function to obtain property `key` from `obj`. │ │ │ │ │ -function shallowProperty(key) { │ │ │ │ │ - return function(obj) { │ │ │ │ │ - return obj == null ? void 0 : obj[key]; │ │ │ │ │ - }; │ │ │ │ │ -} │ │ │ │ │ +// Current version. │ │ │ │ │ +var VERSION = '1.13.4'; │ │ │ │ │ │ │ │ │ │ -module.exports = shallowProperty; │ │ │ │ │ +// Establish the root object, `window` (`self`) in the browser, `global` │ │ │ │ │ +// on the server, or `this` in some virtual machines. We use `self` │ │ │ │ │ +// instead of `window` for `WebWorker` support. │ │ │ │ │ +var root = (typeof self == 'object' && self.self === self && self) || │ │ │ │ │ + (typeof global == 'object' && global.global === global && global) || │ │ │ │ │ + Function('return this')() || {}; │ │ │ │ │ + │ │ │ │ │ +// Save bytes in the minified (but not gzipped) version: │ │ │ │ │ +var ArrayProto = Array.prototype, │ │ │ │ │ + ObjProto = Object.prototype; │ │ │ │ │ +var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; │ │ │ │ │ + │ │ │ │ │ +// Create quick reference variables for speed access to core prototypes. │ │ │ │ │ +var push = ArrayProto.push, │ │ │ │ │ + slice = ArrayProto.slice, │ │ │ │ │ + toString = ObjProto.toString, │ │ │ │ │ + hasOwnProperty = ObjProto.hasOwnProperty; │ │ │ │ │ + │ │ │ │ │ +// Modern feature detection. │ │ │ │ │ +var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', │ │ │ │ │ + supportsDataView = typeof DataView !== 'undefined'; │ │ │ │ │ + │ │ │ │ │ +// All **ECMAScript 5+** native function implementations that we hope to use │ │ │ │ │ +// are declared here. │ │ │ │ │ +var nativeIsArray = Array.isArray, │ │ │ │ │ + nativeKeys = Object.keys, │ │ │ │ │ + nativeCreate = Object.create, │ │ │ │ │ + nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; │ │ │ │ │ + │ │ │ │ │ +// Create references to these builtin functions because we override them. │ │ │ │ │ +var _isNaN = isNaN, │ │ │ │ │ + _isFinite = isFinite; │ │ │ │ │ + │ │ │ │ │ +// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. │ │ │ │ │ +var hasEnumBug = !{ │ │ │ │ │ + toString: null │ │ │ │ │ +}.propertyIsEnumerable('toString'); │ │ │ │ │ +var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', │ │ │ │ │ + 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString' │ │ │ │ │ +]; │ │ │ │ │ + │ │ │ │ │ +// The largest integer that can be represented exactly. │ │ │ │ │ +var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; │ │ │ │ │ + │ │ │ │ │ +exports.ArrayProto = ArrayProto; │ │ │ │ │ +exports.MAX_ARRAY_INDEX = MAX_ARRAY_INDEX; │ │ │ │ │ +exports.ObjProto = ObjProto; │ │ │ │ │ +exports.SymbolProto = SymbolProto; │ │ │ │ │ +exports.VERSION = VERSION; │ │ │ │ │ +exports._isFinite = _isFinite; │ │ │ │ │ +exports._isNaN = _isNaN; │ │ │ │ │ +exports.hasEnumBug = hasEnumBug; │ │ │ │ │ +exports.hasOwnProperty = hasOwnProperty; │ │ │ │ │ +exports.nativeCreate = nativeCreate; │ │ │ │ │ +exports.nativeIsArray = nativeIsArray; │ │ │ │ │ +exports.nativeIsView = nativeIsView; │ │ │ │ │ +exports.nativeKeys = nativeKeys; │ │ │ │ │ +exports.nonEnumerableProps = nonEnumerableProps; │ │ │ │ │ +exports.push = push; │ │ │ │ │ +exports.root = root; │ │ │ │ │ +exports.slice = slice; │ │ │ │ │ +exports.supportsArrayBuffer = supportsArrayBuffer; │ │ │ │ │ +exports.supportsDataView = supportsDataView; │ │ │ │ │ +exports.toString = toString; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index27.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ var _hasObjectTag = require('./index19.js'); │ │ │ │ │ │ │ │ │ │ // In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`. │ │ │ │ │ // In IE 11, the most common among them, this problem also applies to │ │ │ │ │ // `Map`, `WeakMap` and `Set`. │ │ │ │ │ var hasStringTagBug = ( │ │ │ │ │ _setup.supportsDataView && _hasObjectTag(new DataView(new ArrayBuffer(8))) │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index28.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ // Internal function for creating a `toString`-based type tester. │ │ │ │ │ function tagTester(name) { │ │ │ │ │ var tag = '[object ' + name + ']'; │ │ │ │ │ return function(obj) { │ │ │ │ │ return _setup.toString.call(obj) === tag; │ │ │ │ │ }; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index29.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _getByteLength = require('./index15.js'); │ │ │ │ │ +var _getByteLength = require('./index13.js'); │ │ │ │ │ │ │ │ │ │ // Internal function to wrap or shallow-copy an ArrayBuffer, │ │ │ │ │ // typed array or DataView to a new view, reusing the buffer. │ │ │ │ │ function toBufferView(bufferSource) { │ │ │ │ │ return new Uint8Array( │ │ │ │ │ bufferSource.buffer || bufferSource, │ │ │ │ │ bufferSource.byteOffset || 0, │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index3.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,20 +1,44 @@ │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ │ │ │ │ │ -// Create a naked function reference for surrogate-prototype-swapping. │ │ │ │ │ -function ctor() { │ │ │ │ │ - return function() {}; │ │ │ │ │ +// Internal helper to create a simple lookup structure. │ │ │ │ │ +// `collectNonEnumProps` used to depend on `_.contains`, but this led to │ │ │ │ │ +// circular imports. `emulatedSet` is a one-off solution that only works for │ │ │ │ │ +// arrays of strings. │ │ │ │ │ +function emulatedSet(keys) { │ │ │ │ │ + var hash = {}; │ │ │ │ │ + for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; │ │ │ │ │ + return { │ │ │ │ │ + contains: function(key) { │ │ │ │ │ + return hash[key] === true; │ │ │ │ │ + }, │ │ │ │ │ + push: function(key) { │ │ │ │ │ + hash[key] = true; │ │ │ │ │ + return keys.push(key); │ │ │ │ │ + } │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -// An internal function for creating a new object that inherits from another. │ │ │ │ │ -function baseCreate(prototype) { │ │ │ │ │ - if (!isObject(prototype)) return {}; │ │ │ │ │ - if (_setup.nativeCreate) return _setup.nativeCreate(prototype); │ │ │ │ │ - var Ctor = ctor(); │ │ │ │ │ - Ctor.prototype = prototype; │ │ │ │ │ - var result = new Ctor; │ │ │ │ │ - Ctor.prototype = null; │ │ │ │ │ - return result; │ │ │ │ │ +// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't │ │ │ │ │ +// be iterated by `for key in ...` and thus missed. Extends `keys` in place if │ │ │ │ │ +// needed. │ │ │ │ │ +function collectNonEnumProps(obj, keys) { │ │ │ │ │ + keys = emulatedSet(keys); │ │ │ │ │ + var nonEnumIdx = _setup.nonEnumerableProps.length; │ │ │ │ │ + var constructor = obj.constructor; │ │ │ │ │ + var proto = (isFunction(constructor) && constructor.prototype) || _setup.ObjProto; │ │ │ │ │ + │ │ │ │ │ + // Constructor is a special case. │ │ │ │ │ + var prop = 'constructor'; │ │ │ │ │ + if (_has(obj, prop) && !keys.contains(prop)) keys.push(prop); │ │ │ │ │ + │ │ │ │ │ + while (nonEnumIdx--) { │ │ │ │ │ + prop = _setup.nonEnumerableProps[nonEnumIdx]; │ │ │ │ │ + if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { │ │ │ │ │ + keys.push(prop); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = baseCreate; │ │ │ │ │ +module.exports = collectNonEnumProps; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index30.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -require('./index146.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +require('./index159.js'); │ │ │ │ │ │ │ │ │ │ // Internal wrapper for `_.toPath` to enable minification. │ │ │ │ │ // Similar to `cb` for `_.iteratee`. │ │ │ │ │ function toPath(path) { │ │ │ │ │ return underscore.toPath(path); │ │ │ │ │ } │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index31.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ -var invert = require('./index73.js'); │ │ │ │ │ -var _escapeMap = require('./index12.js'); │ │ │ │ │ +var invert = require('./index75.js'); │ │ │ │ │ +var _escapeMap = require('./index25.js'); │ │ │ │ │ │ │ │ │ │ // Internal list of HTML entities for unescaping. │ │ │ │ │ var unescapeMap = invert(_escapeMap); │ │ │ │ │ │ │ │ │ │ module.exports = unescapeMap; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index33.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var _collectNonEnumProps = require('./index5.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var _collectNonEnumProps = require('./index3.js'); │ │ │ │ │ │ │ │ │ │ // Retrieve all the enumerable property names of an object. │ │ │ │ │ function allKeys(obj) { │ │ │ │ │ if (!isObject(obj)) return []; │ │ │ │ │ var keys = []; │ │ │ │ │ for (var key in obj) keys.push(key); │ │ │ │ │ // Ahem, IE < 9. │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index35.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,10 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ var isFunction = require('./index87.js'); │ │ │ │ │ -var _executeBound = require('./index13.js'); │ │ │ │ │ +var _executeBound = require('./index12.js'); │ │ │ │ │ │ │ │ │ │ // Create a function bound to a given object (assigning `this`, and arguments, │ │ │ │ │ // optionally). │ │ │ │ │ var bind = restArguments(function(func, context, args) { │ │ │ │ │ if (!isFunction(func)) throw new TypeError('Bind must be called on a function'); │ │ │ │ │ var bound = restArguments(function(callArgs) { │ │ │ │ │ return _executeBound(func, bound, context, this, args.concat(callArgs)); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index36.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,20 +1,19 @@ │ │ │ │ │ -// An internal function for creating assigner functions. │ │ │ │ │ -function createAssigner(keysFunc, defaults) { │ │ │ │ │ - return function(obj) { │ │ │ │ │ - var length = arguments.length; │ │ │ │ │ - if (defaults) obj = Object(obj); │ │ │ │ │ - if (length < 2 || obj == null) return obj; │ │ │ │ │ - for (var index = 1; index < length; index++) { │ │ │ │ │ - var source = arguments[index], │ │ │ │ │ - keys = keysFunc(source), │ │ │ │ │ - l = keys.length; │ │ │ │ │ - for (var i = 0; i < l; i++) { │ │ │ │ │ - var key = keys[i]; │ │ │ │ │ - if (!defaults || obj[key] === void 0) obj[key] = source[key]; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return obj; │ │ │ │ │ - }; │ │ │ │ │ -} │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var _flatten = require('./index18.js'); │ │ │ │ │ +var bind = require('./index35.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = createAssigner; │ │ │ │ │ +// Bind a number of an object's methods to that object. Remaining arguments │ │ │ │ │ +// are the method names to be bound. Useful for ensuring that all callbacks │ │ │ │ │ +// defined on an object belong to it. │ │ │ │ │ +var bindAll = restArguments(function(obj, keys) { │ │ │ │ │ + keys = _flatten(keys, false, false); │ │ │ │ │ + var index = keys.length; │ │ │ │ │ + if (index < 1) throw new Error('bindAll must be passed function names'); │ │ │ │ │ + while (index--) { │ │ │ │ │ + var key = keys[index]; │ │ │ │ │ + obj[key] = bind(obj[key], obj); │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ +}); │ │ │ │ │ + │ │ │ │ │ +module.exports = bindAll; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index37.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,16 +1,10 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ │ │ │ │ │ -// Chunk a single array into multiple arrays, each containing `count` or fewer │ │ │ │ │ -// items. │ │ │ │ │ -function chunk(array, count) { │ │ │ │ │ - if (count == null || count < 1) return []; │ │ │ │ │ - var result = []; │ │ │ │ │ - var i = 0, │ │ │ │ │ - length = array.length; │ │ │ │ │ - while (i < length) { │ │ │ │ │ - result.push(_setup.slice.call(array, i, i += count)); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ +// Start chaining a wrapped Underscore object. │ │ │ │ │ +function chain(obj) { │ │ │ │ │ + var instance = underscore(obj); │ │ │ │ │ + instance._chain = true; │ │ │ │ │ + return instance; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = chunk; │ │ │ │ │ +module.exports = chain; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index38.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,16 @@ │ │ │ │ │ -var filter = require('./index55.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ -// Trim out all falsy values from an array. │ │ │ │ │ -function compact(array) { │ │ │ │ │ - return filter(array, Boolean); │ │ │ │ │ +// Chunk a single array into multiple arrays, each containing `count` or fewer │ │ │ │ │ +// items. │ │ │ │ │ +function chunk(array, count) { │ │ │ │ │ + if (count == null || count < 1) return []; │ │ │ │ │ + var result = []; │ │ │ │ │ + var i = 0, │ │ │ │ │ + length = array.length; │ │ │ │ │ + while (i < length) { │ │ │ │ │ + result.push(_setup.slice.call(array, i, i += count)); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = compact; │ │ │ │ │ +module.exports = chunk; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index39.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,8 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ - │ │ │ │ │ -// Start chaining a wrapped Underscore object. │ │ │ │ │ -function chain(obj) { │ │ │ │ │ - var instance = underscore(obj); │ │ │ │ │ - instance._chain = true; │ │ │ │ │ - return instance; │ │ │ │ │ +// Internal helper to generate a function to obtain property `key` from `obj`. │ │ │ │ │ +function shallowProperty(key) { │ │ │ │ │ + return function(obj) { │ │ │ │ │ + return obj == null ? void 0 : obj[key]; │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = chain; │ │ │ │ │ +module.exports = shallowProperty; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index4.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,20 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ - │ │ │ │ │ -// Helper function to continue chaining intermediate results. │ │ │ │ │ -function chainResult(instance, obj) { │ │ │ │ │ - return instance._chain ? underscore(obj).chain() : obj; │ │ │ │ │ +// An internal function for creating assigner functions. │ │ │ │ │ +function createAssigner(keysFunc, defaults) { │ │ │ │ │ + return function(obj) { │ │ │ │ │ + var length = arguments.length; │ │ │ │ │ + if (defaults) obj = Object(obj); │ │ │ │ │ + if (length < 2 || obj == null) return obj; │ │ │ │ │ + for (var index = 1; index < length; index++) { │ │ │ │ │ + var source = arguments[index], │ │ │ │ │ + keys = keysFunc(source), │ │ │ │ │ + l = keys.length; │ │ │ │ │ + for (var i = 0; i < l; i++) { │ │ │ │ │ + var key = keys[i]; │ │ │ │ │ + if (!defaults || obj[key] === void 0) obj[key] = source[key]; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = chainResult; │ │ │ │ │ +module.exports = createAssigner; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index40.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -// Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ -function constant(value) { │ │ │ │ │ - return function() { │ │ │ │ │ - return value; │ │ │ │ │ - }; │ │ │ │ │ +var filter = require('./index56.js'); │ │ │ │ │ + │ │ │ │ │ +// Trim out all falsy values from an array. │ │ │ │ │ +function compact(array) { │ │ │ │ │ + return filter(array, Boolean); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = constant; │ │ │ │ │ +module.exports = compact; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index42.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,8 @@ │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var values = require('./index154.js'); │ │ │ │ │ -var indexOf = require('./index74.js'); │ │ │ │ │ - │ │ │ │ │ -// Determine if the array or object contains a given item (using `===`). │ │ │ │ │ -function contains(obj, item, fromIndex, guard) { │ │ │ │ │ - if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ - if (typeof fromIndex != 'number' || guard) fromIndex = 0; │ │ │ │ │ - return indexOf(obj, item, fromIndex) >= 0; │ │ │ │ │ +// Predicate-generating function. Often useful outside of Underscore. │ │ │ │ │ +function constant(value) { │ │ │ │ │ + return function() { │ │ │ │ │ + return value; │ │ │ │ │ + }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = contains; │ │ │ │ │ +module.exports = constant; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index43.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ │ -var _group = require('./index17.js'); │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var values = require('./index152.js'); │ │ │ │ │ +var indexOf = require('./index72.js'); │ │ │ │ │ │ │ │ │ │ -// Counts instances of an object that group by a certain criterion. Pass │ │ │ │ │ -// either a string attribute to count by, or a function that returns the │ │ │ │ │ -// criterion. │ │ │ │ │ -var countBy = _group(function(result, value, key) { │ │ │ │ │ - if (_has(result, key)) result[key]++; │ │ │ │ │ - else result[key] = 1; │ │ │ │ │ -}); │ │ │ │ │ +// Determine if the array or object contains a given item (using `===`). │ │ │ │ │ +function contains(obj, item, fromIndex, guard) { │ │ │ │ │ + if (!_isArrayLike(obj)) obj = values(obj); │ │ │ │ │ + if (typeof fromIndex != 'number' || guard) fromIndex = 0; │ │ │ │ │ + return indexOf(obj, item, fromIndex) >= 0; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = countBy; │ │ │ │ │ +module.exports = contains; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index44.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,42 +1,12 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var now = require('./index115.js'); │ │ │ │ │ +var _group = require('./index16.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ │ │ │ │ │ -// When a sequence of calls of the returned function ends, the argument │ │ │ │ │ -// function is triggered. The end of a sequence is defined by the `wait` │ │ │ │ │ -// parameter. If `immediate` is passed, the argument function will be │ │ │ │ │ -// triggered at the beginning of the sequence instead of at the end. │ │ │ │ │ -function debounce(func, wait, immediate) { │ │ │ │ │ - var timeout, previous, args, result, context; │ │ │ │ │ +// Counts instances of an object that group by a certain criterion. Pass │ │ │ │ │ +// either a string attribute to count by, or a function that returns the │ │ │ │ │ +// criterion. │ │ │ │ │ +var countBy = _group(function(result, value, key) { │ │ │ │ │ + if (_has(result, key)) result[key]++; │ │ │ │ │ + else result[key] = 1; │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ - var later = function() { │ │ │ │ │ - var passed = now() - previous; │ │ │ │ │ - if (wait > passed) { │ │ │ │ │ - timeout = setTimeout(later, wait - passed); │ │ │ │ │ - } else { │ │ │ │ │ - timeout = null; │ │ │ │ │ - if (!immediate) result = func.apply(context, args); │ │ │ │ │ - // This check is needed because `func` can recursively invoke `debounced`. │ │ │ │ │ - if (!timeout) args = context = null; │ │ │ │ │ - } │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - var debounced = restArguments(function(_args) { │ │ │ │ │ - context = this; │ │ │ │ │ - args = _args; │ │ │ │ │ - previous = now(); │ │ │ │ │ - if (!timeout) { │ │ │ │ │ - timeout = setTimeout(later, wait); │ │ │ │ │ - if (immediate) result = func.apply(context, args); │ │ │ │ │ - } │ │ │ │ │ - return result; │ │ │ │ │ - }); │ │ │ │ │ - │ │ │ │ │ - debounced.cancel = function() { │ │ │ │ │ - clearTimeout(timeout); │ │ │ │ │ - timeout = args = context = null; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return debounced; │ │ │ │ │ -} │ │ │ │ │ - │ │ │ │ │ -module.exports = debounce; │ │ │ │ │ +module.exports = countBy; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index45.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,42 @@ │ │ │ │ │ -var _baseCreate = require('./index3.js'); │ │ │ │ │ -var extendOwn = require('./index54.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var now = require('./index114.js'); │ │ │ │ │ │ │ │ │ │ -// Creates an object that inherits from the given prototype object. │ │ │ │ │ -// If additional properties are provided then they will be added to the │ │ │ │ │ -// created object. │ │ │ │ │ -function create(prototype, props) { │ │ │ │ │ - var result = _baseCreate(prototype); │ │ │ │ │ - if (props) extendOwn(result, props); │ │ │ │ │ - return result; │ │ │ │ │ +// When a sequence of calls of the returned function ends, the argument │ │ │ │ │ +// function is triggered. The end of a sequence is defined by the `wait` │ │ │ │ │ +// parameter. If `immediate` is passed, the argument function will be │ │ │ │ │ +// triggered at the beginning of the sequence instead of at the end. │ │ │ │ │ +function debounce(func, wait, immediate) { │ │ │ │ │ + var timeout, previous, args, result, context; │ │ │ │ │ + │ │ │ │ │ + var later = function() { │ │ │ │ │ + var passed = now() - previous; │ │ │ │ │ + if (wait > passed) { │ │ │ │ │ + timeout = setTimeout(later, wait - passed); │ │ │ │ │ + } else { │ │ │ │ │ + timeout = null; │ │ │ │ │ + if (!immediate) result = func.apply(context, args); │ │ │ │ │ + // This check is needed because `func` can recursively invoke `debounced`. │ │ │ │ │ + if (!timeout) args = context = null; │ │ │ │ │ + } │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + var debounced = restArguments(function(_args) { │ │ │ │ │ + context = this; │ │ │ │ │ + args = _args; │ │ │ │ │ + previous = now(); │ │ │ │ │ + if (!timeout) { │ │ │ │ │ + timeout = setTimeout(later, wait); │ │ │ │ │ + if (immediate) result = func.apply(context, args); │ │ │ │ │ + } │ │ │ │ │ + return result; │ │ │ │ │ + }); │ │ │ │ │ + │ │ │ │ │ + debounced.cancel = function() { │ │ │ │ │ + clearTimeout(timeout); │ │ │ │ │ + timeout = args = context = null; │ │ │ │ │ + }; │ │ │ │ │ + │ │ │ │ │ + return debounced; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = create; │ │ │ │ │ +module.exports = debounce; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index46.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,13 @@ │ │ │ │ │ -var _createAssigner = require('./index36.js'); │ │ │ │ │ -var allKeys = require('./index33.js'); │ │ │ │ │ +var _baseCreate = require('./index.js'); │ │ │ │ │ +var extendOwn = require('./index55.js'); │ │ │ │ │ │ │ │ │ │ -// Fill in a given object with default properties. │ │ │ │ │ -var defaults = _createAssigner(allKeys, true); │ │ │ │ │ +// Creates an object that inherits from the given prototype object. │ │ │ │ │ +// If additional properties are provided then they will be added to the │ │ │ │ │ +// created object. │ │ │ │ │ +function create(prototype, props) { │ │ │ │ │ + var result = _baseCreate(prototype); │ │ │ │ │ + if (props) extendOwn(result, props); │ │ │ │ │ + return result; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = defaults; │ │ │ │ │ +module.exports = create; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index47.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,7 @@ │ │ │ │ │ -var partial = require('./index120.js'); │ │ │ │ │ -var delay = require('./index48.js'); │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ +var _createAssigner = require('./index4.js'); │ │ │ │ │ +var allKeys = require('./index33.js'); │ │ │ │ │ │ │ │ │ │ -// Defers a function, scheduling it to run after the current call stack has │ │ │ │ │ -// cleared. │ │ │ │ │ -var defer = partial(delay, underscore, 1); │ │ │ │ │ +// Fill in a given object with default properties. │ │ │ │ │ +var defaults = _createAssigner(allKeys, true); │ │ │ │ │ │ │ │ │ │ -module.exports = defer; │ │ │ │ │ +module.exports = defaults; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index48.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,9 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ +var partial = require('./index120.js'); │ │ │ │ │ +var delay = require('./index49.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ │ │ │ │ │ -// Delays a function for the given number of milliseconds, and then calls │ │ │ │ │ -// it with the arguments supplied. │ │ │ │ │ -var delay = restArguments(function(func, wait, args) { │ │ │ │ │ - return setTimeout(function() { │ │ │ │ │ - return func.apply(null, args); │ │ │ │ │ - }, wait); │ │ │ │ │ -}); │ │ │ │ │ +// Defers a function, scheduling it to run after the current call stack has │ │ │ │ │ +// cleared. │ │ │ │ │ +var defer = partial(delay, underscore, 1); │ │ │ │ │ │ │ │ │ │ -module.exports = delay; │ │ │ │ │ +module.exports = defer; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index49.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,15 +1,11 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var _flatten = require('./index14.js'); │ │ │ │ │ -var filter = require('./index55.js'); │ │ │ │ │ -var contains = require('./index42.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ │ │ │ │ │ -// Take the difference between one array and a number of other arrays. │ │ │ │ │ -// Only the elements present in just the first array will remain. │ │ │ │ │ -var difference = restArguments(function(array, rest) { │ │ │ │ │ - rest = _flatten(rest, true, true); │ │ │ │ │ - return filter(array, function(value) { │ │ │ │ │ - return !contains(rest, value); │ │ │ │ │ - }); │ │ │ │ │ +// Delays a function for the given number of milliseconds, and then calls │ │ │ │ │ +// it with the arguments supplied. │ │ │ │ │ +var delay = restArguments(function(func, wait, args) { │ │ │ │ │ + return setTimeout(function() { │ │ │ │ │ + return func.apply(null, args); │ │ │ │ │ + }, wait); │ │ │ │ │ }); │ │ │ │ │ │ │ │ │ │ -module.exports = difference; │ │ │ │ │ +module.exports = delay; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index5.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,44 +1,19 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var identity = require('./index68.js'); │ │ │ │ │ var isFunction = require('./index87.js'); │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ +var matcher = require('./index107.js'); │ │ │ │ │ +var property = require('./index124.js'); │ │ │ │ │ +var _optimizeCb = require('./index23.js'); │ │ │ │ │ │ │ │ │ │ -// Internal helper to create a simple lookup structure. │ │ │ │ │ -// `collectNonEnumProps` used to depend on `_.contains`, but this led to │ │ │ │ │ -// circular imports. `emulatedSet` is a one-off solution that only works for │ │ │ │ │ -// arrays of strings. │ │ │ │ │ -function emulatedSet(keys) { │ │ │ │ │ - var hash = {}; │ │ │ │ │ - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; │ │ │ │ │ - return { │ │ │ │ │ - contains: function(key) { │ │ │ │ │ - return hash[key] === true; │ │ │ │ │ - }, │ │ │ │ │ - push: function(key) { │ │ │ │ │ - hash[key] = true; │ │ │ │ │ - return keys.push(key); │ │ │ │ │ - } │ │ │ │ │ - }; │ │ │ │ │ +// An internal function to generate callbacks that can be applied to each │ │ │ │ │ +// element in a collection, returning the desired result — either `_.identity`, │ │ │ │ │ +// an arbitrary callback, a property matcher, or a property accessor. │ │ │ │ │ +function baseIteratee(value, context, argCount) { │ │ │ │ │ + if (value == null) return identity; │ │ │ │ │ + if (isFunction(value)) return _optimizeCb(value, context, argCount); │ │ │ │ │ + if (isObject(value) && !isArray(value)) return matcher(value); │ │ │ │ │ + return property(value); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't │ │ │ │ │ -// be iterated by `for key in ...` and thus missed. Extends `keys` in place if │ │ │ │ │ -// needed. │ │ │ │ │ -function collectNonEnumProps(obj, keys) { │ │ │ │ │ - keys = emulatedSet(keys); │ │ │ │ │ - var nonEnumIdx = _setup.nonEnumerableProps.length; │ │ │ │ │ - var constructor = obj.constructor; │ │ │ │ │ - var proto = (isFunction(constructor) && constructor.prototype) || _setup.ObjProto; │ │ │ │ │ - │ │ │ │ │ - // Constructor is a special case. │ │ │ │ │ - var prop = 'constructor'; │ │ │ │ │ - if (_has(obj, prop) && !keys.contains(prop)) keys.push(prop); │ │ │ │ │ - │ │ │ │ │ - while (nonEnumIdx--) { │ │ │ │ │ - prop = _setup.nonEnumerableProps[nonEnumIdx]; │ │ │ │ │ - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { │ │ │ │ │ - keys.push(prop); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ -} │ │ │ │ │ - │ │ │ │ │ -module.exports = collectNonEnumProps; │ │ │ │ │ +module.exports = baseIteratee; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index50.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,25 +1,15 @@ │ │ │ │ │ -var _optimizeCb = require('./index24.js'); │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var _flatten = require('./index18.js'); │ │ │ │ │ +var filter = require('./index56.js'); │ │ │ │ │ +var contains = require('./index43.js'); │ │ │ │ │ │ │ │ │ │ -// The cornerstone for collection functions, an `each` │ │ │ │ │ -// implementation, aka `forEach`. │ │ │ │ │ -// Handles raw objects in addition to array-likes. Treats all │ │ │ │ │ -// sparse array-likes as if they were dense. │ │ │ │ │ -function each(obj, iteratee, context) { │ │ │ │ │ - iteratee = _optimizeCb(iteratee, context); │ │ │ │ │ - var i, length; │ │ │ │ │ - if (_isArrayLike(obj)) { │ │ │ │ │ - for (i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ - iteratee(obj[i], i, obj); │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - var _keys = keys(obj); │ │ │ │ │ - for (i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ - iteratee(obj[_keys[i]], _keys[i], obj); │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - return obj; │ │ │ │ │ -} │ │ │ │ │ +// Take the difference between one array and a number of other arrays. │ │ │ │ │ +// Only the elements present in just the first array will remain. │ │ │ │ │ +var difference = restArguments(function(array, rest) { │ │ │ │ │ + rest = _flatten(rest, true, true); │ │ │ │ │ + return filter(array, function(value) { │ │ │ │ │ + return !contains(rest, value); │ │ │ │ │ + }); │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = each; │ │ │ │ │ +module.exports = difference; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index51.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,25 @@ │ │ │ │ │ -var _createEscaper = require('./index6.js'); │ │ │ │ │ -var _escapeMap = require('./index12.js'); │ │ │ │ │ +var _optimizeCb = require('./index23.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Function for escaping strings to HTML interpolation. │ │ │ │ │ -var escape = _createEscaper(_escapeMap); │ │ │ │ │ +// The cornerstone for collection functions, an `each` │ │ │ │ │ +// implementation, aka `forEach`. │ │ │ │ │ +// Handles raw objects in addition to array-likes. Treats all │ │ │ │ │ +// sparse array-likes as if they were dense. │ │ │ │ │ +function each(obj, iteratee, context) { │ │ │ │ │ + iteratee = _optimizeCb(iteratee, context); │ │ │ │ │ + var i, length; │ │ │ │ │ + if (_isArrayLike(obj)) { │ │ │ │ │ + for (i = 0, length = obj.length; i < length; i++) { │ │ │ │ │ + iteratee(obj[i], i, obj); │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + var _keys = keys(obj); │ │ │ │ │ + for (i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ + iteratee(obj[_keys[i]], _keys[i], obj); │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + return obj; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = escape; │ │ │ │ │ +module.exports = each; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index52.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,11 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ +var extend = require('./index54.js'); │ │ │ │ │ │ │ │ │ │ -// Determine whether all of the elements pass a truth test. │ │ │ │ │ -function every(obj, predicate, context) { │ │ │ │ │ - predicate = _cb(predicate, context); │ │ │ │ │ - var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ - length = (_keys || obj).length; │ │ │ │ │ - for (var index = 0; index < length; index++) { │ │ │ │ │ - var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ - if (!predicate(obj[currentKey], currentKey, obj)) return false; │ │ │ │ │ - } │ │ │ │ │ - return true; │ │ │ │ │ +// Create a (shallow-cloned) duplicate of an object. │ │ │ │ │ +function clone(obj) { │ │ │ │ │ + if (!isObject(obj)) return obj; │ │ │ │ │ + return isArray(obj) ? obj.slice() : extend({}, obj); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = every; │ │ │ │ │ +module.exports = clone; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index53.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,17 @@ │ │ │ │ │ -var _createAssigner = require('./index36.js'); │ │ │ │ │ -var allKeys = require('./index33.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var _isArrayLike = require('./index20.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Extend a given object with all the properties in passed-in object(s). │ │ │ │ │ -var extend = _createAssigner(allKeys); │ │ │ │ │ +// Determine whether all of the elements pass a truth test. │ │ │ │ │ +function every(obj, predicate, context) { │ │ │ │ │ + predicate = _cb(predicate, context); │ │ │ │ │ + var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ + length = (_keys || obj).length; │ │ │ │ │ + for (var index = 0; index < length; index++) { │ │ │ │ │ + var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ + if (!predicate(obj[currentKey], currentKey, obj)) return false; │ │ │ │ │ + } │ │ │ │ │ + return true; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = extend; │ │ │ │ │ +module.exports = every; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index54.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,7 @@ │ │ │ │ │ -var _createAssigner = require('./index36.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var _createAssigner = require('./index4.js'); │ │ │ │ │ +var allKeys = require('./index33.js'); │ │ │ │ │ │ │ │ │ │ -// Assigns a given object with all the own properties in the passed-in │ │ │ │ │ -// object(s). │ │ │ │ │ -// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) │ │ │ │ │ -var extendOwn = _createAssigner(keys); │ │ │ │ │ +// Extend a given object with all the properties in passed-in object(s). │ │ │ │ │ +var extend = _createAssigner(allKeys); │ │ │ │ │ │ │ │ │ │ -module.exports = extendOwn; │ │ │ │ │ +module.exports = extend; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index55.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,9 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ +var _createAssigner = require('./index4.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Return all the elements that pass a truth test. │ │ │ │ │ -function filter(obj, predicate, context) { │ │ │ │ │ - var results = []; │ │ │ │ │ - predicate = _cb(predicate, context); │ │ │ │ │ - each(obj, function(value, index, list) { │ │ │ │ │ - if (predicate(value, index, list)) results.push(value); │ │ │ │ │ - }); │ │ │ │ │ - return results; │ │ │ │ │ -} │ │ │ │ │ +// Assigns a given object with all the own properties in the passed-in │ │ │ │ │ +// object(s). │ │ │ │ │ +// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) │ │ │ │ │ +var extendOwn = _createAssigner(keys); │ │ │ │ │ │ │ │ │ │ -module.exports = filter; │ │ │ │ │ +module.exports = extendOwn; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index56.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,14 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var _flatten = require('./index14.js'); │ │ │ │ │ -var bind = require('./index35.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ │ │ │ │ │ -// Bind a number of an object's methods to that object. Remaining arguments │ │ │ │ │ -// are the method names to be bound. Useful for ensuring that all callbacks │ │ │ │ │ -// defined on an object belong to it. │ │ │ │ │ -var bindAll = restArguments(function(obj, keys) { │ │ │ │ │ - keys = _flatten(keys, false, false); │ │ │ │ │ - var index = keys.length; │ │ │ │ │ - if (index < 1) throw new Error('bindAll must be passed function names'); │ │ │ │ │ - while (index--) { │ │ │ │ │ - var key = keys[index]; │ │ │ │ │ - obj[key] = bind(obj[key], obj); │ │ │ │ │ - } │ │ │ │ │ - return obj; │ │ │ │ │ -}); │ │ │ │ │ +// Return all the elements that pass a truth test. │ │ │ │ │ +function filter(obj, predicate, context) { │ │ │ │ │ + var results = []; │ │ │ │ │ + predicate = _cb(predicate, context); │ │ │ │ │ + each(obj, function(value, index, list) { │ │ │ │ │ + if (predicate(value, index, list)) results.push(value); │ │ │ │ │ + }); │ │ │ │ │ + return results; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = bindAll; │ │ │ │ │ +module.exports = filter; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index58.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,6 @@ │ │ │ │ │ -var _createPredicateIndexFinder = require('./index8.js'); │ │ │ │ │ +var _createPredicateIndexFinder = require('./index9.js'); │ │ │ │ │ │ │ │ │ │ // Returns the first index on an array-like that passes a truth test. │ │ │ │ │ var findIndex = _createPredicateIndexFinder(1); │ │ │ │ │ │ │ │ │ │ module.exports = findIndex; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index59.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ // Returns the first key on an object that passes a truth test. │ │ │ │ │ function findKey(obj, predicate, context) { │ │ │ │ │ predicate = _cb(predicate, context); │ │ │ │ │ var _keys = keys(obj), │ │ │ │ │ key; │ │ │ │ │ for (var i = 0, length = _keys.length; i < length; i++) { │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index6.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,19 +1,12 @@ │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +var _baseIteratee = require('./index5.js'); │ │ │ │ │ +var iteratee = require('./index101.js'); │ │ │ │ │ │ │ │ │ │ -// Internal helper to generate functions for escaping and unescaping strings │ │ │ │ │ -// to/from HTML interpolation. │ │ │ │ │ -function createEscaper(map) { │ │ │ │ │ - var escaper = function(match) { │ │ │ │ │ - return map[match]; │ │ │ │ │ - }; │ │ │ │ │ - // Regexes for identifying a key that needs to be escaped. │ │ │ │ │ - var source = '(?:' + keys(map).join('|') + ')'; │ │ │ │ │ - var testRegexp = RegExp(source); │ │ │ │ │ - var replaceRegexp = RegExp(source, 'g'); │ │ │ │ │ - return function(string) { │ │ │ │ │ - string = string == null ? '' : '' + string; │ │ │ │ │ - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; │ │ │ │ │ - }; │ │ │ │ │ +// The function we call internally to generate a callback. It invokes │ │ │ │ │ +// `_.iteratee` if overridden, otherwise `baseIteratee`. │ │ │ │ │ +function cb(value, context, argCount) { │ │ │ │ │ + if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context); │ │ │ │ │ + return _baseIteratee(value, context, argCount); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = createEscaper; │ │ │ │ │ +module.exports = cb; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index60.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,10 @@ │ │ │ │ │ -var _createPredicateIndexFinder = require('./index8.js'); │ │ │ │ │ +var find = require('./index57.js'); │ │ │ │ │ +var matcher = require('./index107.js'); │ │ │ │ │ │ │ │ │ │ -// Returns the last index on an array-like that passes a truth test. │ │ │ │ │ -var findLastIndex = _createPredicateIndexFinder(-1); │ │ │ │ │ +// Convenience version of a common use case of `_.find`: getting the first │ │ │ │ │ +// object containing specific `key:value` pairs. │ │ │ │ │ +function findWhere(obj, attrs) { │ │ │ │ │ + return find(obj, matcher(attrs)); │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = findLastIndex; │ │ │ │ │ +module.exports = findWhere; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index61.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,6 @@ │ │ │ │ │ -var find = require('./index57.js'); │ │ │ │ │ -var matcher = require('./index108.js'); │ │ │ │ │ +var _createPredicateIndexFinder = require('./index9.js'); │ │ │ │ │ │ │ │ │ │ -// Convenience version of a common use case of `_.find`: getting the first │ │ │ │ │ -// object containing specific `key:value` pairs. │ │ │ │ │ -function findWhere(obj, attrs) { │ │ │ │ │ - return find(obj, matcher(attrs)); │ │ │ │ │ -} │ │ │ │ │ +// Returns the last index on an array-like that passes a truth test. │ │ │ │ │ +var findLastIndex = _createPredicateIndexFinder(-1); │ │ │ │ │ │ │ │ │ │ -module.exports = findWhere; │ │ │ │ │ +module.exports = findLastIndex; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index62.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var initial = require('./index72.js'); │ │ │ │ │ +var initial = require('./index74.js'); │ │ │ │ │ │ │ │ │ │ // Get the first element of an array. Passing **n** will return the first N │ │ │ │ │ // values in the array. The **guard** check allows it to work with `_.map`. │ │ │ │ │ function first(array, n, guard) { │ │ │ │ │ if (array == null || array.length < 1) return n == null || guard ? void 0 : []; │ │ │ │ │ if (n == null || guard) return array[0]; │ │ │ │ │ return initial(array, array.length - n); │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index63.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,9 @@ │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ +var _flatten = require('./index18.js'); │ │ │ │ │ │ │ │ │ │ -// Return a sorted list of the function names available on the object. │ │ │ │ │ -function functions(obj) { │ │ │ │ │ - var names = []; │ │ │ │ │ - for (var key in obj) { │ │ │ │ │ - if (isFunction(obj[key])) names.push(key); │ │ │ │ │ - } │ │ │ │ │ - return names.sort(); │ │ │ │ │ +// Flatten out an array, either recursively (by default), or up to `depth`. │ │ │ │ │ +// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. │ │ │ │ │ +function flatten(array, depth) { │ │ │ │ │ + return _flatten(array, depth, false); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = functions; │ │ │ │ │ +module.exports = flatten; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index64.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,14 +1,12 @@ │ │ │ │ │ -var _toPath = require('./index30.js'); │ │ │ │ │ -var _deepGet = require('./index11.js'); │ │ │ │ │ -var isUndefined = require('./index99.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ │ │ │ │ │ -// Get the value of the (deep) property on `path` from `object`. │ │ │ │ │ -// If any property in `path` does not exist or if the value is │ │ │ │ │ -// `undefined`, return `defaultValue` instead. │ │ │ │ │ -// The `path` is normalized through `_.toPath`. │ │ │ │ │ -function get(object, path, defaultValue) { │ │ │ │ │ - var value = _deepGet(object, _toPath(path)); │ │ │ │ │ - return isUndefined(value) ? defaultValue : value; │ │ │ │ │ +// Return a sorted list of the function names available on the object. │ │ │ │ │ +function functions(obj) { │ │ │ │ │ + var names = []; │ │ │ │ │ + for (var key in obj) { │ │ │ │ │ + if (isFunction(obj[key])) names.push(key); │ │ │ │ │ + } │ │ │ │ │ + return names.sort(); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = get; │ │ │ │ │ +module.exports = functions; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index65.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,14 @@ │ │ │ │ │ -var _group = require('./index17.js'); │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ +var _toPath = require('./index30.js'); │ │ │ │ │ +var _deepGet = require('./index14.js'); │ │ │ │ │ +var isUndefined = require('./index98.js'); │ │ │ │ │ │ │ │ │ │ -// Groups the object's values by a criterion. Pass either a string attribute │ │ │ │ │ -// to group by, or a function that returns the criterion. │ │ │ │ │ -var groupBy = _group(function(result, value, key) { │ │ │ │ │ - if (_has(result, key)) result[key].push(value); │ │ │ │ │ - else result[key] = [value]; │ │ │ │ │ -}); │ │ │ │ │ +// Get the value of the (deep) property on `path` from `object`. │ │ │ │ │ +// If any property in `path` does not exist or if the value is │ │ │ │ │ +// `undefined`, return `defaultValue` instead. │ │ │ │ │ +// The `path` is normalized through `_.toPath`. │ │ │ │ │ +function get(object, path, defaultValue) { │ │ │ │ │ + var value = _deepGet(object, _toPath(path)); │ │ │ │ │ + return isUndefined(value) ? defaultValue : value; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = groupBy; │ │ │ │ │ +module.exports = get; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index66.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,11 @@ │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ -var _toPath = require('./index30.js'); │ │ │ │ │ +var _group = require('./index16.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ │ │ │ │ │ -// Shortcut function for checking if an object has a given property directly on │ │ │ │ │ -// itself (in other words, not on a prototype). Unlike the internal `has` │ │ │ │ │ -// function, this public version can also traverse nested properties. │ │ │ │ │ -function has(obj, path) { │ │ │ │ │ - path = _toPath(path); │ │ │ │ │ - var length = path.length; │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - var key = path[i]; │ │ │ │ │ - if (!_has(obj, key)) return false; │ │ │ │ │ - obj = obj[key]; │ │ │ │ │ - } │ │ │ │ │ - return !!length; │ │ │ │ │ -} │ │ │ │ │ +// Groups the object's values by a criterion. Pass either a string attribute │ │ │ │ │ +// to group by, or a function that returns the criterion. │ │ │ │ │ +var groupBy = _group(function(result, value, key) { │ │ │ │ │ + if (_has(result, key)) result[key].push(value); │ │ │ │ │ + else result[key] = [value]; │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = has; │ │ │ │ │ +module.exports = groupBy; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index67.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,18 @@ │ │ │ │ │ -// Keep the identity function around for default iteratees. │ │ │ │ │ -function identity(value) { │ │ │ │ │ - return value; │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ +var _toPath = require('./index30.js'); │ │ │ │ │ + │ │ │ │ │ +// Shortcut function for checking if an object has a given property directly on │ │ │ │ │ +// itself (in other words, not on a prototype). Unlike the internal `has` │ │ │ │ │ +// function, this public version can also traverse nested properties. │ │ │ │ │ +function has(obj, path) { │ │ │ │ │ + path = _toPath(path); │ │ │ │ │ + var length = path.length; │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + var key = path[i]; │ │ │ │ │ + if (!_has(obj, key)) return false; │ │ │ │ │ + obj = obj[key]; │ │ │ │ │ + } │ │ │ │ │ + return !!length; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = identity; │ │ │ │ │ +module.exports = has; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index68.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,28 +1,6 @@ │ │ │ │ │ -var index = require('./index69.js'); │ │ │ │ │ -var mixin = require('./index112.js'); │ │ │ │ │ +// Keep the identity function around for default iteratees. │ │ │ │ │ +function identity(value) { │ │ │ │ │ + return value; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -// Default Export │ │ │ │ │ -// ============== │ │ │ │ │ -// In this module, we mix our bundled exports into the `_` object and export │ │ │ │ │ -// the result. This is analogous to setting `module.exports = _` in CommonJS. │ │ │ │ │ -// Hence, this module is also the entry point of our UMD bundle and the package │ │ │ │ │ -// entry point for CommonJS and AMD users. In other words, this is (the source │ │ │ │ │ -// of) the module you are interfacing with when you do any of the following: │ │ │ │ │ -// │ │ │ │ │ -// ```js │ │ │ │ │ -// // CommonJS │ │ │ │ │ -// var _ = require('underscore'); │ │ │ │ │ -// │ │ │ │ │ -// // AMD │ │ │ │ │ -// define(['underscore'], function(_) {...}); │ │ │ │ │ -// │ │ │ │ │ -// // UMD in the browser │ │ │ │ │ -// // _ is available as a global variable │ │ │ │ │ -// ``` │ │ │ │ │ - │ │ │ │ │ -// Add all of the Underscore functions to the wrapper object. │ │ │ │ │ -var _ = mixin(index); │ │ │ │ │ -// Legacy Node.js API. │ │ │ │ │ -_._ = _; │ │ │ │ │ - │ │ │ │ │ -module.exports = _; │ │ │ │ │ +module.exports = identity; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index69.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,281 +1,28 @@ │ │ │ │ │ -Object.defineProperty(exports, '__esModule', { │ │ │ │ │ - value: true │ │ │ │ │ -}); │ │ │ │ │ +var index = require('./index70.js'); │ │ │ │ │ +var mixin = require('./index111.js'); │ │ │ │ │ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ -var isNull = require('./index91.js'); │ │ │ │ │ -var isUndefined = require('./index99.js'); │ │ │ │ │ -var isBoolean = require('./index79.js'); │ │ │ │ │ -var isElement = require('./index82.js'); │ │ │ │ │ -var isString = require('./index96.js'); │ │ │ │ │ -var isNumber = require('./index92.js'); │ │ │ │ │ -var isDate = require('./index81.js'); │ │ │ │ │ -var isRegExp = require('./index93.js'); │ │ │ │ │ -var isError = require('./index84.js'); │ │ │ │ │ -var isSymbol = require('./index97.js'); │ │ │ │ │ -var isArrayBuffer = require('./index78.js'); │ │ │ │ │ -var isDataView = require('./index80.js'); │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var isArguments = require('./index76.js'); │ │ │ │ │ -var isFinite = require('./index86.js'); │ │ │ │ │ -var isNaN = require('./index90.js'); │ │ │ │ │ -var isTypedArray = require('./index98.js'); │ │ │ │ │ -var isEmpty = require('./index83.js'); │ │ │ │ │ -var isMatch = require('./index89.js'); │ │ │ │ │ -var isEqual = require('./index85.js'); │ │ │ │ │ -var isMap = require('./index88.js'); │ │ │ │ │ -var isWeakMap = require('./index100.js'); │ │ │ │ │ -var isSet = require('./index95.js'); │ │ │ │ │ -var isWeakSet = require('./index101.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ -var allKeys = require('./index33.js'); │ │ │ │ │ -var values = require('./index154.js'); │ │ │ │ │ -var pairs = require('./index119.js'); │ │ │ │ │ -var invert = require('./index73.js'); │ │ │ │ │ -var functions = require('./index63.js'); │ │ │ │ │ -var extend = require('./index53.js'); │ │ │ │ │ -var extendOwn = require('./index54.js'); │ │ │ │ │ -var defaults = require('./index46.js'); │ │ │ │ │ -var create = require('./index45.js'); │ │ │ │ │ -var clone = require('./index71.js'); │ │ │ │ │ -var tap = require('./index140.js'); │ │ │ │ │ -var get = require('./index64.js'); │ │ │ │ │ -var has = require('./index66.js'); │ │ │ │ │ -var mapObject = require('./index107.js'); │ │ │ │ │ -var identity = require('./index67.js'); │ │ │ │ │ -var constant = require('./index40.js'); │ │ │ │ │ -var noop = require('./index114.js'); │ │ │ │ │ -var toPath = require('./index146.js'); │ │ │ │ │ -var property = require('./index124.js'); │ │ │ │ │ -var propertyOf = require('./index125.js'); │ │ │ │ │ -var matcher = require('./index108.js'); │ │ │ │ │ -var times = require('./index144.js'); │ │ │ │ │ -var random = require('./index126.js'); │ │ │ │ │ -var now = require('./index115.js'); │ │ │ │ │ -var escape = require('./index51.js'); │ │ │ │ │ -var unescape = require('./index149.js'); │ │ │ │ │ -var templateSettings = require('./index142.js'); │ │ │ │ │ -var template = require('./index141.js'); │ │ │ │ │ -var result = require('./index133.js'); │ │ │ │ │ -var uniqueId = require('./index152.js'); │ │ │ │ │ -var chain = require('./index39.js'); │ │ │ │ │ -var iteratee = require('./index135.js'); │ │ │ │ │ -var partial = require('./index120.js'); │ │ │ │ │ -var bind = require('./index35.js'); │ │ │ │ │ -var bindAll = require('./index56.js'); │ │ │ │ │ -var memoize = require('./index110.js'); │ │ │ │ │ -var delay = require('./index48.js'); │ │ │ │ │ -var defer = require('./index47.js'); │ │ │ │ │ -var throttle = require('./index143.js'); │ │ │ │ │ -var debounce = require('./index44.js'); │ │ │ │ │ -var wrap = require('./index157.js'); │ │ │ │ │ -var negate = require('./index113.js'); │ │ │ │ │ -var compose = require('./index41.js'); │ │ │ │ │ -var after = require('./index32.js'); │ │ │ │ │ -var before = require('./index34.js'); │ │ │ │ │ -var once = require('./index118.js'); │ │ │ │ │ -var findKey = require('./index59.js'); │ │ │ │ │ -var findIndex = require('./index58.js'); │ │ │ │ │ -var findLastIndex = require('./index60.js'); │ │ │ │ │ -var sortedIndex = require('./index139.js'); │ │ │ │ │ -var indexOf = require('./index74.js'); │ │ │ │ │ -var lastIndexOf = require('./index104.js'); │ │ │ │ │ -var find = require('./index57.js'); │ │ │ │ │ -var findWhere = require('./index61.js'); │ │ │ │ │ -var each = require('./index50.js'); │ │ │ │ │ -var map = require('./index106.js'); │ │ │ │ │ -var reduce = require('./index128.js'); │ │ │ │ │ -var reduceRight = require('./index129.js'); │ │ │ │ │ -var filter = require('./index55.js'); │ │ │ │ │ -var reject = require('./index130.js'); │ │ │ │ │ -var every = require('./index52.js'); │ │ │ │ │ -var some = require('./index137.js'); │ │ │ │ │ -var contains = require('./index42.js'); │ │ │ │ │ -var invoke = require('./index75.js'); │ │ │ │ │ -var pluck = require('./index123.js'); │ │ │ │ │ -var where = require('./index155.js'); │ │ │ │ │ -var max = require('./index109.js'); │ │ │ │ │ -var min = require('./index111.js'); │ │ │ │ │ -var shuffle = require('./index160.js'); │ │ │ │ │ -var sample = require('./index159.js'); │ │ │ │ │ -var sortBy = require('./index138.js'); │ │ │ │ │ -var groupBy = require('./index65.js'); │ │ │ │ │ -var indexBy = require('./index70.js'); │ │ │ │ │ -var countBy = require('./index43.js'); │ │ │ │ │ -var partition = require('./index121.js'); │ │ │ │ │ -var toArray = require('./index145.js'); │ │ │ │ │ -var size = require('./index136.js'); │ │ │ │ │ -var pick = require('./index122.js'); │ │ │ │ │ -var omit = require('./index117.js'); │ │ │ │ │ -var first = require('./index62.js'); │ │ │ │ │ -var initial = require('./index72.js'); │ │ │ │ │ -var last = require('./index105.js'); │ │ │ │ │ -var rest = require('./index131.js'); │ │ │ │ │ -var compact = require('./index38.js'); │ │ │ │ │ -var flatten = require('./index103.js'); │ │ │ │ │ -var without = require('./index156.js'); │ │ │ │ │ -var uniq = require('./index151.js'); │ │ │ │ │ -var union = require('./index150.js'); │ │ │ │ │ -var intersection = require('./index102.js'); │ │ │ │ │ -var difference = require('./index49.js'); │ │ │ │ │ -var unzip = require('./index153.js'); │ │ │ │ │ -var zip = require('./index158.js'); │ │ │ │ │ -var object = require('./index116.js'); │ │ │ │ │ -var range = require('./index127.js'); │ │ │ │ │ -var chunk = require('./index37.js'); │ │ │ │ │ -var mixin = require('./index112.js'); │ │ │ │ │ -require('./index147.js'); │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ +// Default Export │ │ │ │ │ +// ============== │ │ │ │ │ +// In this module, we mix our bundled exports into the `_` object and export │ │ │ │ │ +// the result. This is analogous to setting `module.exports = _` in CommonJS. │ │ │ │ │ +// Hence, this module is also the entry point of our UMD bundle and the package │ │ │ │ │ +// entry point for CommonJS and AMD users. In other words, this is (the source │ │ │ │ │ +// of) the module you are interfacing with when you do any of the following: │ │ │ │ │ +// │ │ │ │ │ +// ```js │ │ │ │ │ +// // CommonJS │ │ │ │ │ +// var _ = require('underscore'); │ │ │ │ │ +// │ │ │ │ │ +// // AMD │ │ │ │ │ +// define(['underscore'], function(_) {...}); │ │ │ │ │ +// │ │ │ │ │ +// // UMD in the browser │ │ │ │ │ +// // _ is available as a global variable │ │ │ │ │ +// ``` │ │ │ │ │ │ │ │ │ │ -// Named Exports │ │ │ │ │ -// ============= │ │ │ │ │ +// Add all of the Underscore functions to the wrapper object. │ │ │ │ │ +var _ = mixin(index); │ │ │ │ │ +// Legacy Node.js API. │ │ │ │ │ +_._ = _; │ │ │ │ │ │ │ │ │ │ -exports.VERSION = _setup.VERSION; │ │ │ │ │ -exports.restArguments = restArguments; │ │ │ │ │ -exports.isObject = isObject; │ │ │ │ │ -exports.isNull = isNull; │ │ │ │ │ -exports.isUndefined = isUndefined; │ │ │ │ │ -exports.isBoolean = isBoolean; │ │ │ │ │ -exports.isElement = isElement; │ │ │ │ │ -exports.isString = isString; │ │ │ │ │ -exports.isNumber = isNumber; │ │ │ │ │ -exports.isDate = isDate; │ │ │ │ │ -exports.isRegExp = isRegExp; │ │ │ │ │ -exports.isError = isError; │ │ │ │ │ -exports.isSymbol = isSymbol; │ │ │ │ │ -exports.isArrayBuffer = isArrayBuffer; │ │ │ │ │ -exports.isDataView = isDataView; │ │ │ │ │ -exports.isArray = isArray; │ │ │ │ │ -exports.isFunction = isFunction; │ │ │ │ │ -exports.isArguments = isArguments; │ │ │ │ │ -exports.isFinite = isFinite; │ │ │ │ │ -exports.isNaN = isNaN; │ │ │ │ │ -exports.isTypedArray = isTypedArray; │ │ │ │ │ -exports.isEmpty = isEmpty; │ │ │ │ │ -exports.isMatch = isMatch; │ │ │ │ │ -exports.isEqual = isEqual; │ │ │ │ │ -exports.isMap = isMap; │ │ │ │ │ -exports.isWeakMap = isWeakMap; │ │ │ │ │ -exports.isSet = isSet; │ │ │ │ │ -exports.isWeakSet = isWeakSet; │ │ │ │ │ -exports.keys = keys; │ │ │ │ │ -exports.allKeys = allKeys; │ │ │ │ │ -exports.values = values; │ │ │ │ │ -exports.pairs = pairs; │ │ │ │ │ -exports.invert = invert; │ │ │ │ │ -exports.functions = functions; │ │ │ │ │ -exports.methods = functions; │ │ │ │ │ -exports.extend = extend; │ │ │ │ │ -exports.assign = extendOwn; │ │ │ │ │ -exports.extendOwn = extendOwn; │ │ │ │ │ -exports.defaults = defaults; │ │ │ │ │ -exports.create = create; │ │ │ │ │ -exports.clone = clone; │ │ │ │ │ -exports.tap = tap; │ │ │ │ │ -exports.get = get; │ │ │ │ │ -exports.has = has; │ │ │ │ │ -exports.mapObject = mapObject; │ │ │ │ │ -exports.identity = identity; │ │ │ │ │ -exports.constant = constant; │ │ │ │ │ -exports.noop = noop; │ │ │ │ │ -exports.toPath = toPath; │ │ │ │ │ -exports.property = property; │ │ │ │ │ -exports.propertyOf = propertyOf; │ │ │ │ │ -exports.matcher = matcher; │ │ │ │ │ -exports.matches = matcher; │ │ │ │ │ -exports.times = times; │ │ │ │ │ -exports.random = random; │ │ │ │ │ -exports.now = now; │ │ │ │ │ -exports.escape = escape; │ │ │ │ │ -exports.unescape = unescape; │ │ │ │ │ -exports.templateSettings = templateSettings; │ │ │ │ │ -exports.template = template; │ │ │ │ │ -exports.result = result; │ │ │ │ │ -exports.uniqueId = uniqueId; │ │ │ │ │ -exports.chain = chain; │ │ │ │ │ -exports.iteratee = iteratee; │ │ │ │ │ -exports.partial = partial; │ │ │ │ │ -exports.bind = bind; │ │ │ │ │ -exports.bindAll = bindAll; │ │ │ │ │ -exports.memoize = memoize; │ │ │ │ │ -exports.delay = delay; │ │ │ │ │ -exports.defer = defer; │ │ │ │ │ -exports.throttle = throttle; │ │ │ │ │ -exports.debounce = debounce; │ │ │ │ │ -exports.wrap = wrap; │ │ │ │ │ -exports.negate = negate; │ │ │ │ │ -exports.compose = compose; │ │ │ │ │ -exports.after = after; │ │ │ │ │ -exports.before = before; │ │ │ │ │ -exports.once = once; │ │ │ │ │ -exports.findKey = findKey; │ │ │ │ │ -exports.findIndex = findIndex; │ │ │ │ │ -exports.findLastIndex = findLastIndex; │ │ │ │ │ -exports.sortedIndex = sortedIndex; │ │ │ │ │ -exports.indexOf = indexOf; │ │ │ │ │ -exports.lastIndexOf = lastIndexOf; │ │ │ │ │ -exports.detect = find; │ │ │ │ │ -exports.find = find; │ │ │ │ │ -exports.findWhere = findWhere; │ │ │ │ │ -exports.each = each; │ │ │ │ │ -exports.forEach = each; │ │ │ │ │ -exports.collect = map; │ │ │ │ │ -exports.map = map; │ │ │ │ │ -exports.foldl = reduce; │ │ │ │ │ -exports.inject = reduce; │ │ │ │ │ -exports.reduce = reduce; │ │ │ │ │ -exports.foldr = reduceRight; │ │ │ │ │ -exports.reduceRight = reduceRight; │ │ │ │ │ -exports.filter = filter; │ │ │ │ │ -exports.select = filter; │ │ │ │ │ -exports.reject = reject; │ │ │ │ │ -exports.all = every; │ │ │ │ │ -exports.every = every; │ │ │ │ │ -exports.any = some; │ │ │ │ │ -exports.some = some; │ │ │ │ │ -exports.contains = contains; │ │ │ │ │ -exports.include = contains; │ │ │ │ │ -exports.includes = contains; │ │ │ │ │ -exports.invoke = invoke; │ │ │ │ │ -exports.pluck = pluck; │ │ │ │ │ -exports.where = where; │ │ │ │ │ -exports.max = max; │ │ │ │ │ -exports.min = min; │ │ │ │ │ -exports.shuffle = shuffle; │ │ │ │ │ -exports.sample = sample; │ │ │ │ │ -exports.sortBy = sortBy; │ │ │ │ │ -exports.groupBy = groupBy; │ │ │ │ │ -exports.indexBy = indexBy; │ │ │ │ │ -exports.countBy = countBy; │ │ │ │ │ -exports.partition = partition; │ │ │ │ │ -exports.toArray = toArray; │ │ │ │ │ -exports.size = size; │ │ │ │ │ -exports.pick = pick; │ │ │ │ │ -exports.omit = omit; │ │ │ │ │ -exports.first = first; │ │ │ │ │ -exports.head = first; │ │ │ │ │ -exports.take = first; │ │ │ │ │ -exports.initial = initial; │ │ │ │ │ -exports.last = last; │ │ │ │ │ -exports.drop = rest; │ │ │ │ │ -exports.rest = rest; │ │ │ │ │ -exports.tail = rest; │ │ │ │ │ -exports.compact = compact; │ │ │ │ │ -exports.flatten = flatten; │ │ │ │ │ -exports.without = without; │ │ │ │ │ -exports.uniq = uniq; │ │ │ │ │ -exports.unique = uniq; │ │ │ │ │ -exports.union = union; │ │ │ │ │ -exports.intersection = intersection; │ │ │ │ │ -exports.difference = difference; │ │ │ │ │ -exports.transpose = unzip; │ │ │ │ │ -exports.unzip = unzip; │ │ │ │ │ -exports.zip = zip; │ │ │ │ │ -exports.object = object; │ │ │ │ │ -exports.range = range; │ │ │ │ │ -exports.chunk = chunk; │ │ │ │ │ -exports.mixin = mixin; │ │ │ │ │ -exports.default = underscore; │ │ │ │ │ +module.exports = _; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index7.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,31 +1,19 @@ │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var isNaN = require('./index90.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. │ │ │ │ │ -function createIndexFinder(dir, predicateFind, sortedIndex) { │ │ │ │ │ - return function(array, item, idx) { │ │ │ │ │ - var i = 0, │ │ │ │ │ - length = _getLength(array); │ │ │ │ │ - if (typeof idx == 'number') { │ │ │ │ │ - if (dir > 0) { │ │ │ │ │ - i = idx >= 0 ? idx : Math.max(idx + length, i); │ │ │ │ │ - } else { │ │ │ │ │ - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; │ │ │ │ │ - } │ │ │ │ │ - } else if (sortedIndex && idx && length) { │ │ │ │ │ - idx = sortedIndex(array, item); │ │ │ │ │ - return array[idx] === item ? idx : -1; │ │ │ │ │ - } │ │ │ │ │ - if (item !== item) { │ │ │ │ │ - idx = predicateFind(_setup.slice.call(array, i, length), isNaN); │ │ │ │ │ - return idx >= 0 ? idx + i : -1; │ │ │ │ │ - } │ │ │ │ │ - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { │ │ │ │ │ - if (array[idx] === item) return idx; │ │ │ │ │ - } │ │ │ │ │ - return -1; │ │ │ │ │ +// Internal helper to generate functions for escaping and unescaping strings │ │ │ │ │ +// to/from HTML interpolation. │ │ │ │ │ +function createEscaper(map) { │ │ │ │ │ + var escaper = function(match) { │ │ │ │ │ + return map[match]; │ │ │ │ │ + }; │ │ │ │ │ + // Regexes for identifying a key that needs to be escaped. │ │ │ │ │ + var source = '(?:' + keys(map).join('|') + ')'; │ │ │ │ │ + var testRegexp = RegExp(source); │ │ │ │ │ + var replaceRegexp = RegExp(source, 'g'); │ │ │ │ │ + return function(string) { │ │ │ │ │ + string = string == null ? '' : '' + string; │ │ │ │ │ + return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = createIndexFinder; │ │ │ │ │ +module.exports = createEscaper; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index70.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,281 @@ │ │ │ │ │ -var _group = require('./index17.js'); │ │ │ │ │ - │ │ │ │ │ -// Indexes the object's values by a criterion, similar to `_.groupBy`, but for │ │ │ │ │ -// when you know that your index values will be unique. │ │ │ │ │ -var indexBy = _group(function(result, value, key) { │ │ │ │ │ - result[key] = value; │ │ │ │ │ +Object.defineProperty(exports, '__esModule', { │ │ │ │ │ + value: true │ │ │ │ │ }); │ │ │ │ │ │ │ │ │ │ -module.exports = indexBy; │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var isObject = require('./index92.js'); │ │ │ │ │ +var isNull = require('./index116.js'); │ │ │ │ │ +var isUndefined = require('./index98.js'); │ │ │ │ │ +var isBoolean = require('./index79.js'); │ │ │ │ │ +var isElement = require('./index82.js'); │ │ │ │ │ +var isString = require('./index95.js'); │ │ │ │ │ +var isNumber = require('./index91.js'); │ │ │ │ │ +var isDate = require('./index81.js'); │ │ │ │ │ +var isRegExp = require('./index93.js'); │ │ │ │ │ +var isError = require('./index85.js'); │ │ │ │ │ +var isSymbol = require('./index96.js'); │ │ │ │ │ +var isArrayBuffer = require('./index78.js'); │ │ │ │ │ +var isDataView = require('./index80.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var isArguments = require('./index140.js'); │ │ │ │ │ +var isFinite = require('./index86.js'); │ │ │ │ │ +var isNaN = require('./index89.js'); │ │ │ │ │ +var isTypedArray = require('./index97.js'); │ │ │ │ │ +var isEmpty = require('./index83.js'); │ │ │ │ │ +var isMatch = require('./index90.js'); │ │ │ │ │ +var isEqual = require('./index84.js'); │ │ │ │ │ +var isMap = require('./index88.js'); │ │ │ │ │ +var isWeakMap = require('./index99.js'); │ │ │ │ │ +var isSet = require('./index94.js'); │ │ │ │ │ +var isWeakSet = require('./index100.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ +var allKeys = require('./index33.js'); │ │ │ │ │ +var values = require('./index152.js'); │ │ │ │ │ +var pairs = require('./index119.js'); │ │ │ │ │ +var invert = require('./index75.js'); │ │ │ │ │ +var functions = require('./index64.js'); │ │ │ │ │ +var extend = require('./index54.js'); │ │ │ │ │ +var extendOwn = require('./index55.js'); │ │ │ │ │ +var defaults = require('./index47.js'); │ │ │ │ │ +var create = require('./index46.js'); │ │ │ │ │ +var clone = require('./index52.js'); │ │ │ │ │ +var tap = require('./index141.js'); │ │ │ │ │ +var get = require('./index65.js'); │ │ │ │ │ +var has = require('./index67.js'); │ │ │ │ │ +var mapObject = require('./index106.js'); │ │ │ │ │ +var identity = require('./index68.js'); │ │ │ │ │ +var constant = require('./index42.js'); │ │ │ │ │ +var noop = require('./index113.js'); │ │ │ │ │ +var toPath = require('./index159.js'); │ │ │ │ │ +var property = require('./index124.js'); │ │ │ │ │ +var propertyOf = require('./index123.js'); │ │ │ │ │ +var matcher = require('./index107.js'); │ │ │ │ │ +var times = require('./index143.js'); │ │ │ │ │ +var random = require('./index127.js'); │ │ │ │ │ +var now = require('./index114.js'); │ │ │ │ │ +var escape = require('./index77.js'); │ │ │ │ │ +var unescape = require('./index148.js'); │ │ │ │ │ +var templateSettings = require('./index144.js'); │ │ │ │ │ +var template = require('./index142.js'); │ │ │ │ │ +var result = require('./index132.js'); │ │ │ │ │ +var uniqueId = require('./index150.js'); │ │ │ │ │ +var chain = require('./index37.js'); │ │ │ │ │ +var iteratee = require('./index101.js'); │ │ │ │ │ +var partial = require('./index120.js'); │ │ │ │ │ +var bind = require('./index35.js'); │ │ │ │ │ +var bindAll = require('./index36.js'); │ │ │ │ │ +var memoize = require('./index109.js'); │ │ │ │ │ +var delay = require('./index49.js'); │ │ │ │ │ +var defer = require('./index48.js'); │ │ │ │ │ +var throttle = require('./index145.js'); │ │ │ │ │ +var debounce = require('./index45.js'); │ │ │ │ │ +var wrap = require('./index155.js'); │ │ │ │ │ +var negate = require('./index112.js'); │ │ │ │ │ +var compose = require('./index41.js'); │ │ │ │ │ +var after = require('./index32.js'); │ │ │ │ │ +var before = require('./index34.js'); │ │ │ │ │ +var once = require('./index118.js'); │ │ │ │ │ +var findKey = require('./index59.js'); │ │ │ │ │ +var findIndex = require('./index58.js'); │ │ │ │ │ +var findLastIndex = require('./index61.js'); │ │ │ │ │ +var sortedIndex = require('./index139.js'); │ │ │ │ │ +var indexOf = require('./index72.js'); │ │ │ │ │ +var lastIndexOf = require('./index135.js'); │ │ │ │ │ +var find = require('./index57.js'); │ │ │ │ │ +var findWhere = require('./index60.js'); │ │ │ │ │ +var each = require('./index51.js'); │ │ │ │ │ +var map = require('./index105.js'); │ │ │ │ │ +var reduce = require('./index126.js'); │ │ │ │ │ +var reduceRight = require('./index128.js'); │ │ │ │ │ +var filter = require('./index56.js'); │ │ │ │ │ +var reject = require('./index129.js'); │ │ │ │ │ +var every = require('./index53.js'); │ │ │ │ │ +var some = require('./index137.js'); │ │ │ │ │ +var contains = require('./index43.js'); │ │ │ │ │ +var invoke = require('./index76.js'); │ │ │ │ │ +var pluck = require('./index122.js'); │ │ │ │ │ +var where = require('./index153.js'); │ │ │ │ │ +var max = require('./index108.js'); │ │ │ │ │ +var min = require('./index110.js'); │ │ │ │ │ +var shuffle = require('./index134.js'); │ │ │ │ │ +var sample = require('./index133.js'); │ │ │ │ │ +var sortBy = require('./index138.js'); │ │ │ │ │ +var groupBy = require('./index66.js'); │ │ │ │ │ +var indexBy = require('./index71.js'); │ │ │ │ │ +var countBy = require('./index44.js'); │ │ │ │ │ +var partition = require('./index121.js'); │ │ │ │ │ +var toArray = require('./index146.js'); │ │ │ │ │ +var size = require('./index136.js'); │ │ │ │ │ +var pick = require('./index157.js'); │ │ │ │ │ +var omit = require('./index117.js'); │ │ │ │ │ +var first = require('./index62.js'); │ │ │ │ │ +var initial = require('./index74.js'); │ │ │ │ │ +var last = require('./index103.js'); │ │ │ │ │ +var rest = require('./index130.js'); │ │ │ │ │ +var compact = require('./index40.js'); │ │ │ │ │ +var flatten = require('./index63.js'); │ │ │ │ │ +var without = require('./index154.js'); │ │ │ │ │ +var uniq = require('./index158.js'); │ │ │ │ │ +var union = require('./index149.js'); │ │ │ │ │ +var intersection = require('./index73.js'); │ │ │ │ │ +var difference = require('./index50.js'); │ │ │ │ │ +var unzip = require('./index151.js'); │ │ │ │ │ +var zip = require('./index156.js'); │ │ │ │ │ +var object = require('./index115.js'); │ │ │ │ │ +var range = require('./index125.js'); │ │ │ │ │ +var chunk = require('./index38.js'); │ │ │ │ │ +var mixin = require('./index111.js'); │ │ │ │ │ +require('./index160.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ + │ │ │ │ │ +// Named Exports │ │ │ │ │ +// ============= │ │ │ │ │ + │ │ │ │ │ +exports.VERSION = _setup.VERSION; │ │ │ │ │ +exports.restArguments = restArguments; │ │ │ │ │ +exports.isObject = isObject; │ │ │ │ │ +exports.isNull = isNull; │ │ │ │ │ +exports.isUndefined = isUndefined; │ │ │ │ │ +exports.isBoolean = isBoolean; │ │ │ │ │ +exports.isElement = isElement; │ │ │ │ │ +exports.isString = isString; │ │ │ │ │ +exports.isNumber = isNumber; │ │ │ │ │ +exports.isDate = isDate; │ │ │ │ │ +exports.isRegExp = isRegExp; │ │ │ │ │ +exports.isError = isError; │ │ │ │ │ +exports.isSymbol = isSymbol; │ │ │ │ │ +exports.isArrayBuffer = isArrayBuffer; │ │ │ │ │ +exports.isDataView = isDataView; │ │ │ │ │ +exports.isArray = isArray; │ │ │ │ │ +exports.isFunction = isFunction; │ │ │ │ │ +exports.isArguments = isArguments; │ │ │ │ │ +exports.isFinite = isFinite; │ │ │ │ │ +exports.isNaN = isNaN; │ │ │ │ │ +exports.isTypedArray = isTypedArray; │ │ │ │ │ +exports.isEmpty = isEmpty; │ │ │ │ │ +exports.isMatch = isMatch; │ │ │ │ │ +exports.isEqual = isEqual; │ │ │ │ │ +exports.isMap = isMap; │ │ │ │ │ +exports.isWeakMap = isWeakMap; │ │ │ │ │ +exports.isSet = isSet; │ │ │ │ │ +exports.isWeakSet = isWeakSet; │ │ │ │ │ +exports.keys = keys; │ │ │ │ │ +exports.allKeys = allKeys; │ │ │ │ │ +exports.values = values; │ │ │ │ │ +exports.pairs = pairs; │ │ │ │ │ +exports.invert = invert; │ │ │ │ │ +exports.functions = functions; │ │ │ │ │ +exports.methods = functions; │ │ │ │ │ +exports.extend = extend; │ │ │ │ │ +exports.assign = extendOwn; │ │ │ │ │ +exports.extendOwn = extendOwn; │ │ │ │ │ +exports.defaults = defaults; │ │ │ │ │ +exports.create = create; │ │ │ │ │ +exports.clone = clone; │ │ │ │ │ +exports.tap = tap; │ │ │ │ │ +exports.get = get; │ │ │ │ │ +exports.has = has; │ │ │ │ │ +exports.mapObject = mapObject; │ │ │ │ │ +exports.identity = identity; │ │ │ │ │ +exports.constant = constant; │ │ │ │ │ +exports.noop = noop; │ │ │ │ │ +exports.toPath = toPath; │ │ │ │ │ +exports.property = property; │ │ │ │ │ +exports.propertyOf = propertyOf; │ │ │ │ │ +exports.matcher = matcher; │ │ │ │ │ +exports.matches = matcher; │ │ │ │ │ +exports.times = times; │ │ │ │ │ +exports.random = random; │ │ │ │ │ +exports.now = now; │ │ │ │ │ +exports.escape = escape; │ │ │ │ │ +exports.unescape = unescape; │ │ │ │ │ +exports.templateSettings = templateSettings; │ │ │ │ │ +exports.template = template; │ │ │ │ │ +exports.result = result; │ │ │ │ │ +exports.uniqueId = uniqueId; │ │ │ │ │ +exports.chain = chain; │ │ │ │ │ +exports.iteratee = iteratee; │ │ │ │ │ +exports.partial = partial; │ │ │ │ │ +exports.bind = bind; │ │ │ │ │ +exports.bindAll = bindAll; │ │ │ │ │ +exports.memoize = memoize; │ │ │ │ │ +exports.delay = delay; │ │ │ │ │ +exports.defer = defer; │ │ │ │ │ +exports.throttle = throttle; │ │ │ │ │ +exports.debounce = debounce; │ │ │ │ │ +exports.wrap = wrap; │ │ │ │ │ +exports.negate = negate; │ │ │ │ │ +exports.compose = compose; │ │ │ │ │ +exports.after = after; │ │ │ │ │ +exports.before = before; │ │ │ │ │ +exports.once = once; │ │ │ │ │ +exports.findKey = findKey; │ │ │ │ │ +exports.findIndex = findIndex; │ │ │ │ │ +exports.findLastIndex = findLastIndex; │ │ │ │ │ +exports.sortedIndex = sortedIndex; │ │ │ │ │ +exports.indexOf = indexOf; │ │ │ │ │ +exports.lastIndexOf = lastIndexOf; │ │ │ │ │ +exports.detect = find; │ │ │ │ │ +exports.find = find; │ │ │ │ │ +exports.findWhere = findWhere; │ │ │ │ │ +exports.each = each; │ │ │ │ │ +exports.forEach = each; │ │ │ │ │ +exports.collect = map; │ │ │ │ │ +exports.map = map; │ │ │ │ │ +exports.foldl = reduce; │ │ │ │ │ +exports.inject = reduce; │ │ │ │ │ +exports.reduce = reduce; │ │ │ │ │ +exports.foldr = reduceRight; │ │ │ │ │ +exports.reduceRight = reduceRight; │ │ │ │ │ +exports.filter = filter; │ │ │ │ │ +exports.select = filter; │ │ │ │ │ +exports.reject = reject; │ │ │ │ │ +exports.all = every; │ │ │ │ │ +exports.every = every; │ │ │ │ │ +exports.any = some; │ │ │ │ │ +exports.some = some; │ │ │ │ │ +exports.contains = contains; │ │ │ │ │ +exports.include = contains; │ │ │ │ │ +exports.includes = contains; │ │ │ │ │ +exports.invoke = invoke; │ │ │ │ │ +exports.pluck = pluck; │ │ │ │ │ +exports.where = where; │ │ │ │ │ +exports.max = max; │ │ │ │ │ +exports.min = min; │ │ │ │ │ +exports.shuffle = shuffle; │ │ │ │ │ +exports.sample = sample; │ │ │ │ │ +exports.sortBy = sortBy; │ │ │ │ │ +exports.groupBy = groupBy; │ │ │ │ │ +exports.indexBy = indexBy; │ │ │ │ │ +exports.countBy = countBy; │ │ │ │ │ +exports.partition = partition; │ │ │ │ │ +exports.toArray = toArray; │ │ │ │ │ +exports.size = size; │ │ │ │ │ +exports.pick = pick; │ │ │ │ │ +exports.omit = omit; │ │ │ │ │ +exports.first = first; │ │ │ │ │ +exports.head = first; │ │ │ │ │ +exports.take = first; │ │ │ │ │ +exports.initial = initial; │ │ │ │ │ +exports.last = last; │ │ │ │ │ +exports.drop = rest; │ │ │ │ │ +exports.rest = rest; │ │ │ │ │ +exports.tail = rest; │ │ │ │ │ +exports.compact = compact; │ │ │ │ │ +exports.flatten = flatten; │ │ │ │ │ +exports.without = without; │ │ │ │ │ +exports.uniq = uniq; │ │ │ │ │ +exports.unique = uniq; │ │ │ │ │ +exports.union = union; │ │ │ │ │ +exports.intersection = intersection; │ │ │ │ │ +exports.difference = difference; │ │ │ │ │ +exports.transpose = unzip; │ │ │ │ │ +exports.unzip = unzip; │ │ │ │ │ +exports.zip = zip; │ │ │ │ │ +exports.object = object; │ │ │ │ │ +exports.range = range; │ │ │ │ │ +exports.chunk = chunk; │ │ │ │ │ +exports.mixin = mixin; │ │ │ │ │ +exports.default = underscore; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index71.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,9 @@ │ │ │ │ │ -var isObject = require('./index94.js'); │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ -var extend = require('./index53.js'); │ │ │ │ │ +var _group = require('./index16.js'); │ │ │ │ │ │ │ │ │ │ -// Create a (shallow-cloned) duplicate of an object. │ │ │ │ │ -function clone(obj) { │ │ │ │ │ - if (!isObject(obj)) return obj; │ │ │ │ │ - return isArray(obj) ? obj.slice() : extend({}, obj); │ │ │ │ │ -} │ │ │ │ │ +// Indexes the object's values by a criterion, similar to `_.groupBy`, but for │ │ │ │ │ +// when you know that your index values will be unique. │ │ │ │ │ +var indexBy = _group(function(result, value, key) { │ │ │ │ │ + result[key] = value; │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = clone; │ │ │ │ │ +module.exports = indexBy; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index72.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,10 +1,11 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var sortedIndex = require('./index139.js'); │ │ │ │ │ +var findIndex = require('./index58.js'); │ │ │ │ │ +var _createIndexFinder = require('./index8.js'); │ │ │ │ │ │ │ │ │ │ -// Returns everything but the last entry of the array. Especially useful on │ │ │ │ │ -// the arguments object. Passing **n** will return all the values in │ │ │ │ │ -// the array, excluding the last N. │ │ │ │ │ -function initial(array, n, guard) { │ │ │ │ │ - return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); │ │ │ │ │ -} │ │ │ │ │ +// Return the position of the first occurrence of an item in an array, │ │ │ │ │ +// or -1 if the item is not included in the array. │ │ │ │ │ +// If the array is large and already in sort order, pass `true` │ │ │ │ │ +// for **isSorted** to use binary search. │ │ │ │ │ +var indexOf = _createIndexFinder(1, findIndex, sortedIndex); │ │ │ │ │ │ │ │ │ │ -module.exports = initial; │ │ │ │ │ +module.exports = indexOf; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index73.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,13 +1,21 @@ │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var contains = require('./index43.js'); │ │ │ │ │ │ │ │ │ │ -// Invert the keys and values of an object. The values must be serializable. │ │ │ │ │ -function invert(obj) { │ │ │ │ │ - var result = {}; │ │ │ │ │ - var _keys = keys(obj); │ │ │ │ │ - for (var i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ - result[obj[_keys[i]]] = _keys[i]; │ │ │ │ │ +// Produce an array that contains every item shared between all the │ │ │ │ │ +// passed-in arrays. │ │ │ │ │ +function intersection(array) { │ │ │ │ │ + var result = []; │ │ │ │ │ + var argsLength = arguments.length; │ │ │ │ │ + for (var i = 0, length = _getLength(array); i < length; i++) { │ │ │ │ │ + var item = array[i]; │ │ │ │ │ + if (contains(result, item)) continue; │ │ │ │ │ + var j; │ │ │ │ │ + for (j = 1; j < argsLength; j++) { │ │ │ │ │ + if (!contains(arguments[j], item)) break; │ │ │ │ │ + } │ │ │ │ │ + if (j === argsLength) result.push(item); │ │ │ │ │ } │ │ │ │ │ return result; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = invert; │ │ │ │ │ +module.exports = intersection; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index74.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,11 +1,10 @@ │ │ │ │ │ -var sortedIndex = require('./index139.js'); │ │ │ │ │ -var findIndex = require('./index58.js'); │ │ │ │ │ -var _createIndexFinder = require('./index7.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ -// Return the position of the first occurrence of an item in an array, │ │ │ │ │ -// or -1 if the item is not included in the array. │ │ │ │ │ -// If the array is large and already in sort order, pass `true` │ │ │ │ │ -// for **isSorted** to use binary search. │ │ │ │ │ -var indexOf = _createIndexFinder(1, findIndex, sortedIndex); │ │ │ │ │ +// Returns everything but the last entry of the array. Especially useful on │ │ │ │ │ +// the arguments object. Passing **n** will return all the values in │ │ │ │ │ +// the array, excluding the last N. │ │ │ │ │ +function initial(array, n, guard) { │ │ │ │ │ + return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = indexOf; │ │ │ │ │ +module.exports = initial; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index75.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,30 +1,13 @@ │ │ │ │ │ -var restArguments = require('./index132.js'); │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var map = require('./index106.js'); │ │ │ │ │ -var _deepGet = require('./index11.js'); │ │ │ │ │ -var _toPath = require('./index30.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Invoke a method (with arguments) on every item in a collection. │ │ │ │ │ -var invoke = restArguments(function(obj, path, args) { │ │ │ │ │ - var contextPath, func; │ │ │ │ │ - if (isFunction(path)) { │ │ │ │ │ - func = path; │ │ │ │ │ - } else { │ │ │ │ │ - path = _toPath(path); │ │ │ │ │ - contextPath = path.slice(0, -1); │ │ │ │ │ - path = path[path.length - 1]; │ │ │ │ │ +// Invert the keys and values of an object. The values must be serializable. │ │ │ │ │ +function invert(obj) { │ │ │ │ │ + var result = {}; │ │ │ │ │ + var _keys = keys(obj); │ │ │ │ │ + for (var i = 0, length = _keys.length; i < length; i++) { │ │ │ │ │ + result[obj[_keys[i]]] = _keys[i]; │ │ │ │ │ } │ │ │ │ │ - return map(obj, function(context) { │ │ │ │ │ - var method = func; │ │ │ │ │ - if (!method) { │ │ │ │ │ - if (contextPath && contextPath.length) { │ │ │ │ │ - context = _deepGet(context, contextPath); │ │ │ │ │ - } │ │ │ │ │ - if (context == null) return void 0; │ │ │ │ │ - method = context[path]; │ │ │ │ │ - } │ │ │ │ │ - return method == null ? method : method.apply(context, args); │ │ │ │ │ - }); │ │ │ │ │ -}); │ │ │ │ │ + return result; │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -module.exports = invoke; │ │ │ │ │ +module.exports = invert; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index76.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,30 @@ │ │ │ │ │ -var _tagTester = require('./index28.js'); │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ +var restArguments = require('./index131.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var map = require('./index105.js'); │ │ │ │ │ +var _deepGet = require('./index14.js'); │ │ │ │ │ +var _toPath = require('./index30.js'); │ │ │ │ │ │ │ │ │ │ -var isArguments = _tagTester('Arguments'); │ │ │ │ │ - │ │ │ │ │ -// Define a fallback version of the method in browsers (ahem, IE < 9), where │ │ │ │ │ -// there isn't any inspectable "Arguments" type. │ │ │ │ │ -(function() { │ │ │ │ │ - if (!isArguments(arguments)) { │ │ │ │ │ - isArguments = function(obj) { │ │ │ │ │ - return _has(obj, 'callee'); │ │ │ │ │ - }; │ │ │ │ │ +// Invoke a method (with arguments) on every item in a collection. │ │ │ │ │ +var invoke = restArguments(function(obj, path, args) { │ │ │ │ │ + var contextPath, func; │ │ │ │ │ + if (isFunction(path)) { │ │ │ │ │ + func = path; │ │ │ │ │ + } else { │ │ │ │ │ + path = _toPath(path); │ │ │ │ │ + contextPath = path.slice(0, -1); │ │ │ │ │ + path = path[path.length - 1]; │ │ │ │ │ } │ │ │ │ │ -}()); │ │ │ │ │ - │ │ │ │ │ -var isArguments$1 = isArguments; │ │ │ │ │ + return map(obj, function(context) { │ │ │ │ │ + var method = func; │ │ │ │ │ + if (!method) { │ │ │ │ │ + if (contextPath && contextPath.length) { │ │ │ │ │ + context = _deepGet(context, contextPath); │ │ │ │ │ + } │ │ │ │ │ + if (context == null) return void 0; │ │ │ │ │ + method = context[path]; │ │ │ │ │ + } │ │ │ │ │ + return method == null ? method : method.apply(context, args); │ │ │ │ │ + }); │ │ │ │ │ +}); │ │ │ │ │ │ │ │ │ │ -module.exports = isArguments$1; │ │ │ │ │ +module.exports = invoke; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index77.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,7 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var _tagTester = require('./index28.js'); │ │ │ │ │ +var _createEscaper = require('./index7.js'); │ │ │ │ │ +var _escapeMap = require('./index25.js'); │ │ │ │ │ │ │ │ │ │ -// Is a given value an array? │ │ │ │ │ -// Delegates to ECMA5's native `Array.isArray`. │ │ │ │ │ -var isArray = _setup.nativeIsArray || _tagTester('Array'); │ │ │ │ │ +// Function for escaping strings to HTML interpolation. │ │ │ │ │ +var escape = _createEscaper(_escapeMap); │ │ │ │ │ │ │ │ │ │ -module.exports = isArray; │ │ │ │ │ +module.exports = escape; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index79.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ // Is a given value a boolean? │ │ │ │ │ function isBoolean(obj) { │ │ │ │ │ return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]'; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ module.exports = isBoolean; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index8.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,17 +1,31 @@ │ │ │ │ │ -var _cb = require('./index2.js'); │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var isNaN = require('./index89.js'); │ │ │ │ │ │ │ │ │ │ -// Internal function to generate `_.findIndex` and `_.findLastIndex`. │ │ │ │ │ -function createPredicateIndexFinder(dir) { │ │ │ │ │ - return function(array, predicate, context) { │ │ │ │ │ - predicate = _cb(predicate, context); │ │ │ │ │ - var length = _getLength(array); │ │ │ │ │ - var index = dir > 0 ? 0 : length - 1; │ │ │ │ │ - for (; index >= 0 && index < length; index += dir) { │ │ │ │ │ - if (predicate(array[index], index, array)) return index; │ │ │ │ │ +// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions. │ │ │ │ │ +function createIndexFinder(dir, predicateFind, sortedIndex) { │ │ │ │ │ + return function(array, item, idx) { │ │ │ │ │ + var i = 0, │ │ │ │ │ + length = _getLength(array); │ │ │ │ │ + if (typeof idx == 'number') { │ │ │ │ │ + if (dir > 0) { │ │ │ │ │ + i = idx >= 0 ? idx : Math.max(idx + length, i); │ │ │ │ │ + } else { │ │ │ │ │ + length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; │ │ │ │ │ + } │ │ │ │ │ + } else if (sortedIndex && idx && length) { │ │ │ │ │ + idx = sortedIndex(array, item); │ │ │ │ │ + return array[idx] === item ? idx : -1; │ │ │ │ │ + } │ │ │ │ │ + if (item !== item) { │ │ │ │ │ + idx = predicateFind(_setup.slice.call(array, i, length), isNaN); │ │ │ │ │ + return idx >= 0 ? idx + i : -1; │ │ │ │ │ + } │ │ │ │ │ + for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { │ │ │ │ │ + if (array[idx] === item) return idx; │ │ │ │ │ } │ │ │ │ │ return -1; │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = createPredicateIndexFinder; │ │ │ │ │ +module.exports = createIndexFinder; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index83.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ │ -var _getLength = require('./index16.js'); │ │ │ │ │ -var isArray = require('./index77.js'); │ │ │ │ │ -var isString = require('./index96.js'); │ │ │ │ │ -var isArguments = require('./index76.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ +var isArray = require('./index104.js'); │ │ │ │ │ +var isString = require('./index95.js'); │ │ │ │ │ +var isArguments = require('./index140.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ // Is a given array, string, or object empty? │ │ │ │ │ // An "empty" object has no enumerable own-properties. │ │ │ │ │ function isEmpty(obj) { │ │ │ │ │ if (obj == null) return true; │ │ │ │ │ // Skip the more expensive `toString`-based type checks if `obj` has no │ │ │ │ │ // `.length`. │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index84.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,5 +1,142 @@ │ │ │ │ │ -var _tagTester = require('./index28.js'); │ │ │ │ │ +var underscore = require('./index147.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var _getByteLength = require('./index13.js'); │ │ │ │ │ +var isTypedArray = require('./index97.js'); │ │ │ │ │ +var isFunction = require('./index87.js'); │ │ │ │ │ +var _stringTagBug = require('./index27.js'); │ │ │ │ │ +var isDataView = require('./index80.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ +var _has = require('./index17.js'); │ │ │ │ │ +var _toBufferView = require('./index29.js'); │ │ │ │ │ │ │ │ │ │ -var isError = _tagTester('Error'); │ │ │ │ │ +// We use this string twice, so give it a name for minification. │ │ │ │ │ +var tagDataView = '[object DataView]'; │ │ │ │ │ │ │ │ │ │ -module.exports = isError; │ │ │ │ │ +// Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ +function eq(a, b, aStack, bStack) { │ │ │ │ │ + // Identical objects are equal. `0 === -0`, but they aren't identical. │ │ │ │ │ + // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). │ │ │ │ │ + if (a === b) return a !== 0 || 1 / a === 1 / b; │ │ │ │ │ + // `null` or `undefined` only equal to itself (strict comparison). │ │ │ │ │ + if (a == null || b == null) return false; │ │ │ │ │ + // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ + if (a !== a) return b !== b; │ │ │ │ │ + // Exhaust primitive checks │ │ │ │ │ + var type = typeof a; │ │ │ │ │ + if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; │ │ │ │ │ + return deepEq(a, b, aStack, bStack); │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +// Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ +function deepEq(a, b, aStack, bStack) { │ │ │ │ │ + // Unwrap any wrapped objects. │ │ │ │ │ + if (a instanceof underscore) a = a._wrapped; │ │ │ │ │ + if (b instanceof underscore) b = b._wrapped; │ │ │ │ │ + // Compare `[[Class]]` names. │ │ │ │ │ + var className = _setup.toString.call(a); │ │ │ │ │ + if (className !== _setup.toString.call(b)) return false; │ │ │ │ │ + // Work around a bug in IE 10 - Edge 13. │ │ │ │ │ + if (_stringTagBug.hasStringTagBug && className == '[object Object]' && isDataView(a)) { │ │ │ │ │ + if (!isDataView(b)) return false; │ │ │ │ │ + className = tagDataView; │ │ │ │ │ + } │ │ │ │ │ + switch (className) { │ │ │ │ │ + // These types are compared by value. │ │ │ │ │ + case '[object RegExp]': │ │ │ │ │ + // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') │ │ │ │ │ + case '[object String]': │ │ │ │ │ + // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is │ │ │ │ │ + // equivalent to `new String("5")`. │ │ │ │ │ + return '' + a === '' + b; │ │ │ │ │ + case '[object Number]': │ │ │ │ │ + // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ + // Object(NaN) is equivalent to NaN. │ │ │ │ │ + if (+a !== +a) return +b !== +b; │ │ │ │ │ + // An `egal` comparison is performed for other numeric values. │ │ │ │ │ + return +a === 0 ? 1 / +a === 1 / b : +a === +b; │ │ │ │ │ + case '[object Date]': │ │ │ │ │ + case '[object Boolean]': │ │ │ │ │ + // Coerce dates and booleans to numeric primitive values. Dates are compared by their │ │ │ │ │ + // millisecond representations. Note that invalid dates with millisecond representations │ │ │ │ │ + // of `NaN` are not equivalent. │ │ │ │ │ + return +a === +b; │ │ │ │ │ + case '[object Symbol]': │ │ │ │ │ + return _setup.SymbolProto.valueOf.call(a) === _setup.SymbolProto.valueOf.call(b); │ │ │ │ │ + case '[object ArrayBuffer]': │ │ │ │ │ + case tagDataView: │ │ │ │ │ + // Coerce to typed array so we can fall through. │ │ │ │ │ + return deepEq(_toBufferView(a), _toBufferView(b), aStack, bStack); │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + var areArrays = className === '[object Array]'; │ │ │ │ │ + if (!areArrays && isTypedArray(a)) { │ │ │ │ │ + var byteLength = _getByteLength(a); │ │ │ │ │ + if (byteLength !== _getByteLength(b)) return false; │ │ │ │ │ + if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; │ │ │ │ │ + areArrays = true; │ │ │ │ │ + } │ │ │ │ │ + if (!areArrays) { │ │ │ │ │ + if (typeof a != 'object' || typeof b != 'object') return false; │ │ │ │ │ + │ │ │ │ │ + // Objects with different constructors are not equivalent, but `Object`s or `Array`s │ │ │ │ │ + // from different frames are. │ │ │ │ │ + var aCtor = a.constructor, │ │ │ │ │ + bCtor = b.constructor; │ │ │ │ │ + if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && │ │ │ │ │ + isFunction(bCtor) && bCtor instanceof bCtor) && │ │ │ │ │ + ('constructor' in a && 'constructor' in b)) { │ │ │ │ │ + return false; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + // Assume equality for cyclic structures. The algorithm for detecting cyclic │ │ │ │ │ + // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. │ │ │ │ │ + │ │ │ │ │ + // Initializing stack of traversed objects. │ │ │ │ │ + // It's done here since we only need them for objects and arrays comparison. │ │ │ │ │ + aStack = aStack || []; │ │ │ │ │ + bStack = bStack || []; │ │ │ │ │ + var length = aStack.length; │ │ │ │ │ + while (length--) { │ │ │ │ │ + // Linear search. Performance is inversely proportional to the number of │ │ │ │ │ + // unique nested structures. │ │ │ │ │ + if (aStack[length] === a) return bStack[length] === b; │ │ │ │ │ + } │ │ │ │ │ + │ │ │ │ │ + // Add the first object to the stack of traversed objects. │ │ │ │ │ + aStack.push(a); │ │ │ │ │ + bStack.push(b); │ │ │ │ │ + │ │ │ │ │ + // Recursively compare objects and arrays. │ │ │ │ │ + if (areArrays) { │ │ │ │ │ + // Compare array lengths to determine if a deep comparison is necessary. │ │ │ │ │ + length = a.length; │ │ │ │ │ + if (length !== b.length) return false; │ │ │ │ │ + // Deep compare the contents, ignoring non-numeric properties. │ │ │ │ │ + while (length--) { │ │ │ │ │ + if (!eq(a[length], b[length], aStack, bStack)) return false; │ │ │ │ │ + } │ │ │ │ │ + } else { │ │ │ │ │ + // Deep compare objects. │ │ │ │ │ + var _keys = keys(a), │ │ │ │ │ + key; │ │ │ │ │ + length = _keys.length; │ │ │ │ │ + // Ensure that both objects contain the same number of properties before comparing deep equality. │ │ │ │ │ + if (keys(b).length !== length) return false; │ │ │ │ │ + while (length--) { │ │ │ │ │ + // Deep compare each member │ │ │ │ │ + key = _keys[length]; │ │ │ │ │ + if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; │ │ │ │ │ + } │ │ │ │ │ + } │ │ │ │ │ + // Remove the first object from the stack of traversed objects. │ │ │ │ │ + aStack.pop(); │ │ │ │ │ + bStack.pop(); │ │ │ │ │ + return true; │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +// Perform a deep comparison to check if two objects are equal. │ │ │ │ │ +function isEqual(a, b) { │ │ │ │ │ + return eq(a, b); │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +module.exports = isEqual; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index85.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,142 +1,5 @@ │ │ │ │ │ -var underscore = require('./index148.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var _getByteLength = require('./index15.js'); │ │ │ │ │ -var isTypedArray = require('./index98.js'); │ │ │ │ │ -var isFunction = require('./index87.js'); │ │ │ │ │ -var _stringTagBug = require('./index27.js'); │ │ │ │ │ -var isDataView = require('./index80.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ -var _has = require('./index18.js'); │ │ │ │ │ -var _toBufferView = require('./index29.js'); │ │ │ │ │ +var _tagTester = require('./index28.js'); │ │ │ │ │ │ │ │ │ │ -// We use this string twice, so give it a name for minification. │ │ │ │ │ -var tagDataView = '[object DataView]'; │ │ │ │ │ +var isError = _tagTester('Error'); │ │ │ │ │ │ │ │ │ │ -// Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ -function eq(a, b, aStack, bStack) { │ │ │ │ │ - // Identical objects are equal. `0 === -0`, but they aren't identical. │ │ │ │ │ - // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal). │ │ │ │ │ - if (a === b) return a !== 0 || 1 / a === 1 / b; │ │ │ │ │ - // `null` or `undefined` only equal to itself (strict comparison). │ │ │ │ │ - if (a == null || b == null) return false; │ │ │ │ │ - // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ - if (a !== a) return b !== b; │ │ │ │ │ - // Exhaust primitive checks │ │ │ │ │ - var type = typeof a; │ │ │ │ │ - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; │ │ │ │ │ - return deepEq(a, b, aStack, bStack); │ │ │ │ │ -} │ │ │ │ │ - │ │ │ │ │ -// Internal recursive comparison function for `_.isEqual`. │ │ │ │ │ -function deepEq(a, b, aStack, bStack) { │ │ │ │ │ - // Unwrap any wrapped objects. │ │ │ │ │ - if (a instanceof underscore) a = a._wrapped; │ │ │ │ │ - if (b instanceof underscore) b = b._wrapped; │ │ │ │ │ - // Compare `[[Class]]` names. │ │ │ │ │ - var className = _setup.toString.call(a); │ │ │ │ │ - if (className !== _setup.toString.call(b)) return false; │ │ │ │ │ - // Work around a bug in IE 10 - Edge 13. │ │ │ │ │ - if (_stringTagBug.hasStringTagBug && className == '[object Object]' && isDataView(a)) { │ │ │ │ │ - if (!isDataView(b)) return false; │ │ │ │ │ - className = tagDataView; │ │ │ │ │ - } │ │ │ │ │ - switch (className) { │ │ │ │ │ - // These types are compared by value. │ │ │ │ │ - case '[object RegExp]': │ │ │ │ │ - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') │ │ │ │ │ - case '[object String]': │ │ │ │ │ - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is │ │ │ │ │ - // equivalent to `new String("5")`. │ │ │ │ │ - return '' + a === '' + b; │ │ │ │ │ - case '[object Number]': │ │ │ │ │ - // `NaN`s are equivalent, but non-reflexive. │ │ │ │ │ - // Object(NaN) is equivalent to NaN. │ │ │ │ │ - if (+a !== +a) return +b !== +b; │ │ │ │ │ - // An `egal` comparison is performed for other numeric values. │ │ │ │ │ - return +a === 0 ? 1 / +a === 1 / b : +a === +b; │ │ │ │ │ - case '[object Date]': │ │ │ │ │ - case '[object Boolean]': │ │ │ │ │ - // Coerce dates and booleans to numeric primitive values. Dates are compared by their │ │ │ │ │ - // millisecond representations. Note that invalid dates with millisecond representations │ │ │ │ │ - // of `NaN` are not equivalent. │ │ │ │ │ - return +a === +b; │ │ │ │ │ - case '[object Symbol]': │ │ │ │ │ - return _setup.SymbolProto.valueOf.call(a) === _setup.SymbolProto.valueOf.call(b); │ │ │ │ │ - case '[object ArrayBuffer]': │ │ │ │ │ - case tagDataView: │ │ │ │ │ - // Coerce to typed array so we can fall through. │ │ │ │ │ - return deepEq(_toBufferView(a), _toBufferView(b), aStack, bStack); │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - var areArrays = className === '[object Array]'; │ │ │ │ │ - if (!areArrays && isTypedArray(a)) { │ │ │ │ │ - var byteLength = _getByteLength(a); │ │ │ │ │ - if (byteLength !== _getByteLength(b)) return false; │ │ │ │ │ - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; │ │ │ │ │ - areArrays = true; │ │ │ │ │ - } │ │ │ │ │ - if (!areArrays) { │ │ │ │ │ - if (typeof a != 'object' || typeof b != 'object') return false; │ │ │ │ │ - │ │ │ │ │ - // Objects with different constructors are not equivalent, but `Object`s or `Array`s │ │ │ │ │ - // from different frames are. │ │ │ │ │ - var aCtor = a.constructor, │ │ │ │ │ - bCtor = b.constructor; │ │ │ │ │ - if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor && │ │ │ │ │ - isFunction(bCtor) && bCtor instanceof bCtor) && │ │ │ │ │ - ('constructor' in a && 'constructor' in b)) { │ │ │ │ │ - return false; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - // Assume equality for cyclic structures. The algorithm for detecting cyclic │ │ │ │ │ - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. │ │ │ │ │ - │ │ │ │ │ - // Initializing stack of traversed objects. │ │ │ │ │ - // It's done here since we only need them for objects and arrays comparison. │ │ │ │ │ - aStack = aStack || []; │ │ │ │ │ - bStack = bStack || []; │ │ │ │ │ - var length = aStack.length; │ │ │ │ │ - while (length--) { │ │ │ │ │ - // Linear search. Performance is inversely proportional to the number of │ │ │ │ │ - // unique nested structures. │ │ │ │ │ - if (aStack[length] === a) return bStack[length] === b; │ │ │ │ │ - } │ │ │ │ │ - │ │ │ │ │ - // Add the first object to the stack of traversed objects. │ │ │ │ │ - aStack.push(a); │ │ │ │ │ - bStack.push(b); │ │ │ │ │ - │ │ │ │ │ - // Recursively compare objects and arrays. │ │ │ │ │ - if (areArrays) { │ │ │ │ │ - // Compare array lengths to determine if a deep comparison is necessary. │ │ │ │ │ - length = a.length; │ │ │ │ │ - if (length !== b.length) return false; │ │ │ │ │ - // Deep compare the contents, ignoring non-numeric properties. │ │ │ │ │ - while (length--) { │ │ │ │ │ - if (!eq(a[length], b[length], aStack, bStack)) return false; │ │ │ │ │ - } │ │ │ │ │ - } else { │ │ │ │ │ - // Deep compare objects. │ │ │ │ │ - var _keys = keys(a), │ │ │ │ │ - key; │ │ │ │ │ - length = _keys.length; │ │ │ │ │ - // Ensure that both objects contain the same number of properties before comparing deep equality. │ │ │ │ │ - if (keys(b).length !== length) return false; │ │ │ │ │ - while (length--) { │ │ │ │ │ - // Deep compare each member │ │ │ │ │ - key = _keys[length]; │ │ │ │ │ - if (!(_has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; │ │ │ │ │ - } │ │ │ │ │ - } │ │ │ │ │ - // Remove the first object from the stack of traversed objects. │ │ │ │ │ - aStack.pop(); │ │ │ │ │ - bStack.pop(); │ │ │ │ │ - return true; │ │ │ │ │ -} │ │ │ │ │ - │ │ │ │ │ -// Perform a deep comparison to check if two objects are equal. │ │ │ │ │ -function isEqual(a, b) { │ │ │ │ │ - return eq(a, b); │ │ │ │ │ -} │ │ │ │ │ - │ │ │ │ │ -module.exports = isEqual; │ │ │ │ │ +module.exports = isError; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index86.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var isSymbol = require('./index97.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var isSymbol = require('./index96.js'); │ │ │ │ │ │ │ │ │ │ // Is a given object a finite number? │ │ │ │ │ function isFinite(obj) { │ │ │ │ │ return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ module.exports = isFinite; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index87.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,9 @@ │ │ │ │ │ var _tagTester = require('./index28.js'); │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ │ │ │ │ │ var isFunction = _tagTester('Function'); │ │ │ │ │ │ │ │ │ │ // Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old │ │ │ │ │ // v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). │ │ │ │ │ var nodelist = _setup.root.document && _setup.root.document.childNodes; │ │ │ │ │ if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index88.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ var _tagTester = require('./index28.js'); │ │ │ │ │ var _stringTagBug = require('./index27.js'); │ │ │ │ │ -var _methodFingerprint = require('./index23.js'); │ │ │ │ │ +var _methodFingerprint = require('./index22.js'); │ │ │ │ │ │ │ │ │ │ var isMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.mapMethods) : _tagTester('Map'); │ │ │ │ │ │ │ │ │ │ module.exports = isMap; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index89.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,16 +1,9 @@ │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var isNumber = require('./index91.js'); │ │ │ │ │ │ │ │ │ │ -// Returns whether an object has a given set of `key:value` pairs. │ │ │ │ │ -function isMatch(object, attrs) { │ │ │ │ │ - var _keys = keys(attrs), │ │ │ │ │ - length = _keys.length; │ │ │ │ │ - if (object == null) return !length; │ │ │ │ │ - var obj = Object(object); │ │ │ │ │ - for (var i = 0; i < length; i++) { │ │ │ │ │ - var key = _keys[i]; │ │ │ │ │ - if (attrs[key] !== obj[key] || !(key in obj)) return false; │ │ │ │ │ - } │ │ │ │ │ - return true; │ │ │ │ │ +// Is the given value `NaN`? │ │ │ │ │ +function isNaN(obj) { │ │ │ │ │ + return isNumber(obj) && _setup._isNaN(obj); │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = isMatch; │ │ │ │ │ +module.exports = isNaN; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index9.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,30 +1,17 @@ │ │ │ │ │ -var _isArrayLike = require('./index20.js'); │ │ │ │ │ -var keys = require('./index134.js'); │ │ │ │ │ -var _optimizeCb = require('./index24.js'); │ │ │ │ │ +var _cb = require('./index6.js'); │ │ │ │ │ +var _getLength = require('./index15.js'); │ │ │ │ │ │ │ │ │ │ -// Internal helper to create a reducing function, iterating left or right. │ │ │ │ │ -function createReduce(dir) { │ │ │ │ │ - // Wrap code that reassigns argument variables in a separate function than │ │ │ │ │ - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) │ │ │ │ │ - var reducer = function(obj, iteratee, memo, initial) { │ │ │ │ │ - var _keys = !_isArrayLike(obj) && keys(obj), │ │ │ │ │ - length = (_keys || obj).length, │ │ │ │ │ - index = dir > 0 ? 0 : length - 1; │ │ │ │ │ - if (!initial) { │ │ │ │ │ - memo = obj[_keys ? _keys[index] : index]; │ │ │ │ │ - index += dir; │ │ │ │ │ - } │ │ │ │ │ +// Internal function to generate `_.findIndex` and `_.findLastIndex`. │ │ │ │ │ +function createPredicateIndexFinder(dir) { │ │ │ │ │ + return function(array, predicate, context) { │ │ │ │ │ + predicate = _cb(predicate, context); │ │ │ │ │ + var length = _getLength(array); │ │ │ │ │ + var index = dir > 0 ? 0 : length - 1; │ │ │ │ │ for (; index >= 0 && index < length; index += dir) { │ │ │ │ │ - var currentKey = _keys ? _keys[index] : index; │ │ │ │ │ - memo = iteratee(memo, obj[currentKey], currentKey, obj); │ │ │ │ │ + if (predicate(array[index], index, array)) return index; │ │ │ │ │ } │ │ │ │ │ - return memo; │ │ │ │ │ - }; │ │ │ │ │ - │ │ │ │ │ - return function(obj, iteratee, memo, context) { │ │ │ │ │ - var initial = arguments.length >= 3; │ │ │ │ │ - return reducer(obj, _optimizeCb(iteratee, context, 4), memo, initial); │ │ │ │ │ + return -1; │ │ │ │ │ }; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = createReduce; │ │ │ │ │ +module.exports = createPredicateIndexFinder; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index90.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,9 +1,16 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var isNumber = require('./index92.js'); │ │ │ │ │ +var keys = require('./index102.js'); │ │ │ │ │ │ │ │ │ │ -// Is the given value `NaN`? │ │ │ │ │ -function isNaN(obj) { │ │ │ │ │ - return isNumber(obj) && _setup._isNaN(obj); │ │ │ │ │ +// Returns whether an object has a given set of `key:value` pairs. │ │ │ │ │ +function isMatch(object, attrs) { │ │ │ │ │ + var _keys = keys(attrs), │ │ │ │ │ + length = _keys.length; │ │ │ │ │ + if (object == null) return !length; │ │ │ │ │ + var obj = Object(object); │ │ │ │ │ + for (var i = 0; i < length; i++) { │ │ │ │ │ + var key = _keys[i]; │ │ │ │ │ + if (attrs[key] !== obj[key] || !(key in obj)) return false; │ │ │ │ │ + } │ │ │ │ │ + return true; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -module.exports = isNaN; │ │ │ │ │ +module.exports = isMatch; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index91.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,5 @@ │ │ │ │ │ -// Is a given value equal to null? │ │ │ │ │ -function isNull(obj) { │ │ │ │ │ - return obj === null; │ │ │ │ │ -} │ │ │ │ │ +var _tagTester = require('./index28.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = isNull; │ │ │ │ │ +var isNumber = _tagTester('Number'); │ │ │ │ │ + │ │ │ │ │ +module.exports = isNumber; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index92.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,5 +1,7 @@ │ │ │ │ │ -var _tagTester = require('./index28.js'); │ │ │ │ │ +// Is a given variable an object? │ │ │ │ │ +function isObject(obj) { │ │ │ │ │ + var type = typeof obj; │ │ │ │ │ + return type === 'function' || (type === 'object' && !!obj); │ │ │ │ │ +} │ │ │ │ │ │ │ │ │ │ -var isNumber = _tagTester('Number'); │ │ │ │ │ - │ │ │ │ │ -module.exports = isNumber; │ │ │ │ │ +module.exports = isObject; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index94.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,7 @@ │ │ │ │ │ -// Is a given variable an object? │ │ │ │ │ -function isObject(obj) { │ │ │ │ │ - var type = typeof obj; │ │ │ │ │ - return type === 'function' || (type === 'object' && !!obj); │ │ │ │ │ -} │ │ │ │ │ +var _tagTester = require('./index28.js'); │ │ │ │ │ +var _stringTagBug = require('./index27.js'); │ │ │ │ │ +var _methodFingerprint = require('./index22.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = isObject; │ │ │ │ │ +var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); │ │ │ │ │ + │ │ │ │ │ +module.exports = isSet; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index95.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,7 +1,5 @@ │ │ │ │ │ var _tagTester = require('./index28.js'); │ │ │ │ │ -var _stringTagBug = require('./index27.js'); │ │ │ │ │ -var _methodFingerprint = require('./index23.js'); │ │ │ │ │ │ │ │ │ │ -var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); │ │ │ │ │ +var isString = _tagTester('String'); │ │ │ │ │ │ │ │ │ │ -module.exports = isSet; │ │ │ │ │ +module.exports = isString; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index96.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,5 +1,5 @@ │ │ │ │ │ var _tagTester = require('./index28.js'); │ │ │ │ │ │ │ │ │ │ -var isString = _tagTester('String'); │ │ │ │ │ +var isSymbol = _tagTester('Symbol'); │ │ │ │ │ │ │ │ │ │ -module.exports = isString; │ │ │ │ │ +module.exports = isSymbol; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index97.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,5 +1,18 @@ │ │ │ │ │ -var _tagTester = require('./index28.js'); │ │ │ │ │ +var _setup = require('./index26.js'); │ │ │ │ │ +var isDataView = require('./index80.js'); │ │ │ │ │ +var constant = require('./index42.js'); │ │ │ │ │ +var _isBufferLike = require('./index21.js'); │ │ │ │ │ │ │ │ │ │ -var isSymbol = _tagTester('Symbol'); │ │ │ │ │ +// Is a given value a typed array? │ │ │ │ │ +var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; │ │ │ │ │ │ │ │ │ │ -module.exports = isSymbol; │ │ │ │ │ +function isTypedArray(obj) { │ │ │ │ │ + // `ArrayBuffer.isView` is the most future-proof, so use it when available. │ │ │ │ │ + // Otherwise, fall back on the above regular expression. │ │ │ │ │ + return _setup.nativeIsView ? (_setup.nativeIsView(obj) && !isDataView(obj)) : │ │ │ │ │ + _isBufferLike(obj) && typedArrayPattern.test(_setup.toString.call(obj)); │ │ │ │ │ +} │ │ │ │ │ + │ │ │ │ │ +var isTypedArray$1 = _setup.supportsArrayBuffer ? isTypedArray : constant(false); │ │ │ │ │ + │ │ │ │ │ +module.exports = isTypedArray$1; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index98.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,18 +1,6 @@ │ │ │ │ │ -var _setup = require('./index25.js'); │ │ │ │ │ -var isDataView = require('./index80.js'); │ │ │ │ │ -var constant = require('./index40.js'); │ │ │ │ │ -var _isBufferLike = require('./index21.js'); │ │ │ │ │ - │ │ │ │ │ -// Is a given value a typed array? │ │ │ │ │ -var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; │ │ │ │ │ - │ │ │ │ │ -function isTypedArray(obj) { │ │ │ │ │ - // `ArrayBuffer.isView` is the most future-proof, so use it when available. │ │ │ │ │ - // Otherwise, fall back on the above regular expression. │ │ │ │ │ - return _setup.nativeIsView ? (_setup.nativeIsView(obj) && !isDataView(obj)) : │ │ │ │ │ - _isBufferLike(obj) && typedArrayPattern.test(_setup.toString.call(obj)); │ │ │ │ │ +// Is a given variable undefined? │ │ │ │ │ +function isUndefined(obj) { │ │ │ │ │ + return obj === void 0; │ │ │ │ │ } │ │ │ │ │ │ │ │ │ │ -var isTypedArray$1 = _setup.supportsArrayBuffer ? isTypedArray : constant(false); │ │ │ │ │ - │ │ │ │ │ -module.exports = isTypedArray$1; │ │ │ │ │ +module.exports = isUndefined; │ │ │ ├── ./usr/share/nodejs/underscore/cjs/index99.js │ │ │ │ ├── js-beautify {} │ │ │ │ │ @@ -1,6 +1,7 @@ │ │ │ │ │ -// Is a given variable undefined? │ │ │ │ │ -function isUndefined(obj) { │ │ │ │ │ - return obj === void 0; │ │ │ │ │ -} │ │ │ │ │ +var _tagTester = require('./index28.js'); │ │ │ │ │ +var _stringTagBug = require('./index27.js'); │ │ │ │ │ +var _methodFingerprint = require('./index22.js'); │ │ │ │ │ │ │ │ │ │ -module.exports = isUndefined; │ │ │ │ │ +var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); │ │ │ │ │ + │ │ │ │ │ +module.exports = isWeakMap;