Skip to content

Commit 943977e

Browse files
committed
Merge branch 'umd-alias', tag 1.13.1 release
2 parents 7054a54 + 5630f88 commit 943977e

19 files changed

+2115
-38
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ coverage
88
test-treeshake/*-umd.js
99
amd
1010
cjs
11-
/underscore.js
12-
/underscore-min.js
13-
/underscore-min.js.map
1411
/underscore-node-*-pre*

docs/modules/_setup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ <h1>_setup.js</h1>
850850

851851
</div>
852852

853-
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">export</span> <span class="hljs-keyword">var</span> VERSION = <span class="hljs-string">'1.13.0'</span>;</pre></div></div>
853+
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">export</span> <span class="hljs-keyword">var</span> VERSION = <span class="hljs-string">'1.13.1'</span>;</pre></div></div>
854854

855855
</li>
856856

docs/modules/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ <h1 id="named-exports">Named Exports</h1>
865865
<div class="pilwrap ">
866866
<a class="pilcrow" href="#section-3">&#182;</a>
867867
</div>
868-
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.0</span>
868+
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.1</span>
869869
<span class="hljs-attr">https</span>:<span class="hljs-comment">//underscorejs.org</span>
870870
(c) <span class="hljs-number">2009</span><span class="hljs-number">-2021</span> Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters &amp; Editors
871871
Underscore may be freely distributed under the MIT license.</code></pre>

docs/underscore-esm.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1>underscore-esm.js</h1>
2727
<div class="pilwrap ">
2828
<a class="pilcrow" href="#section-1">&#182;</a>
2929
</div>
30-
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.0</span>
30+
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.1</span>
3131
<span class="hljs-attr">https</span>:<span class="hljs-comment">//underscorejs.org</span>
3232
(c) <span class="hljs-number">2009</span><span class="hljs-number">-2021</span> Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters &amp; Editors
3333
Underscore may be freely distributed under the MIT license.</code></pre>
@@ -46,7 +46,7 @@ <h1>underscore-esm.js</h1>
4646

4747
</div>
4848

49-
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">var</span> VERSION = <span class="hljs-string">'1.13.0'</span>;</pre></div></div>
49+
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">var</span> VERSION = <span class="hljs-string">'1.13.1'</span>;</pre></div></div>
5050

5151
</li>
5252

index.html

+46-15
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
<div id="sidebar" class="interface">
187187

188188
<a class="toc_title" href="#">
189-
Underscore.js <span class="version">(1.13.0)</span>
189+
Underscore.js <span class="version">(1.13.1)</span>
190190
</a>
191191
<ul class="toc_section">
192192
<li>&raquo; <a href="https://github.com/jashkenas/underscore">GitHub Repository</a></li>
@@ -474,34 +474,34 @@
474474
<i>Underscore is an open-source component of <a href="https://documentcloud.org/">DocumentCloud</a>.</i>
475475
</p>
476476

477-
<h2>v1.13.0 Downloads <i style="padding-left: 12px; font-size:12px;">(Right-click, and use "Save As")</i></h2>
477+
<h2>v1.13.1 Downloads <i style="padding-left: 12px; font-size:12px;">(Right-click, and use "Save As")</i></h2>
478478

479479
<table>
480480
<tr>
481481
<td class="dl-link"><a href="underscore-esm.js">ESM (Development)</a></td>
482482
<td>
483-
<i>65.08kb, Uncompressed with Plentiful Comments</i>
483+
<i>65.9 KB, Uncompressed with Plentiful Comments</i>
484484
&nbsp;<small>(<a href="underscore-esm.js.map">Source Map</a>)</small>
485485
</td>
486486
</tr>
487487
<tr>
488488
<td class="dl-link"><a href="underscore-esm-min.js">ESM (Production)</a></td>
489489
<td>
490-
<i>8.5kb, Minified and Gzipped</i>
490+
<i>8.59 KB, Minified and Gzipped</i>
491491
&nbsp;<small>(<a href="underscore-esm-min.js.map">Source Map</a>)</small>
492492
</td>
493493
</tr>
494494
<tr>
495495
<td class="dl-link"><a href="underscore-umd.js">UMD (Development)</a></td>
496496
<td>
497-
<i>67.45kb, Uncompressed with Bountiful Comments</i>
497+
<i>68.4 KB, Uncompressed with Bountiful Comments</i>
498498
&nbsp;<small>(<a href="underscore-umd.js.map">Source Map</a>)</small>
499499
</td>
500500
</tr>
501501
<tr>
502502
<td class="dl-link"><a href="underscore-umd-min.js">UMD (Production)</a></td>
503503
<td>
504-
<i>7.39kb, Minified and Gzipped</i>
504+
<i>7.48 KB, Minified and Gzipped</i>
505505
&nbsp;<small>(<a href="underscore-umd-min.js.map">Source Map</a>)</small>
506506
</td>
507507
</tr>
@@ -518,35 +518,43 @@ <h2>v1.13.0 Downloads <i style="padding-left: 12px; font-size:12px;">(Right-clic
518518
</tr>
519519
</table>
520520

521-
<h2>v1.13.0 CDN URLs <i style="padding-left: 12px; font-size:12px;">(Use with <tt>&lt;script src="..."&gt;&lt;/script&gt;</tt>)</i></h2>
521+
<h2>v1.13.1 CDN URLs <i style="padding-left: 12px; font-size:12px;">(Use with <tt>&lt;script src="..."&gt;&lt;/script&gt;</tt>)</i></h2>
522522

523523
<ul>
524524
<li>
525-
<tt>https://cdn.jsdelivr.net/npm/[email protected].0/underscore-umd-min.js</tt>
525+
<tt>https://cdn.jsdelivr.net/npm/[email protected].1/underscore-umd-min.js</tt>
526526
</li>
527527
<li>
528-
<tt>https://cdn.jsdelivr.net/npm/[email protected].0/underscore-esm-min.js</tt>
528+
<tt>https://cdn.jsdelivr.net/npm/[email protected].1/underscore-esm-min.js</tt>
529529
</li>
530530
<li>
531-
<tt>https://unpkg.com/[email protected].0/underscore-umd-min.js</tt>
531+
<tt>https://unpkg.com/[email protected].1/underscore-umd-min.js</tt>
532532
</li>
533533
<li>
534-
<tt>https://unpkg.com/[email protected].0/underscore-esm-min.js</tt>
534+
<tt>https://unpkg.com/[email protected].1/underscore-esm-min.js</tt>
535535
</li>
536536
<li>
537-
<tt>https://pagecdn.io/lib/underscore/1.13.0/underscore-umd-min.js</tt>
537+
<tt>https://pagecdn.io/lib/underscore/1.13.1/underscore-umd-min.js</tt>
538538
</li>
539539
<li>
540-
<tt>https://pagecdn.io/lib/underscore/1.13.0/underscore-esm-min.js</tt>
540+
<tt>https://pagecdn.io/lib/underscore/1.13.1/underscore-esm-min.js</tt>
541541
</li>
542542
<li>
543-
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.0/underscore-umd-min.js</tt>
543+
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-umd-min.js</tt>
544544
</li>
545545
<li>
546-
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.0/underscore-esm-min.js</tt>
546+
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-esm-min.js</tt>
547547
</li>
548548
</ul>
549549

550+
<p>
551+
<i>In most cases, you can replace the version number above by
552+
<tt>latest</tt> so that your embed will automatically use the latest
553+
version, or <tt>stable</tt> if you want to delay updating until an update
554+
has proven to be free of accidental breaking changes. Example:</i><br>
555+
<tt>https://cdn.jsdelivr.net/npm/underscore@latest/underscore-umd-min.js</tt>
556+
</p>
557+
550558
<h2>Package Installation</h2>
551559

552560
<ul>
@@ -561,6 +569,13 @@ <h2>Package Installation</h2>
561569
</li>
562570
</ul>
563571

572+
<p>
573+
<i>If you are hardcoding the path to the file within the package and you
574+
are unsure which build to use, it is very likely that you need
575+
<tt>underscore-umd.js</tt> or the minified variant
576+
<tt>underscore-umd-min.js</tt>.</i>
577+
</p>
578+
564579
<h2>Monolithic Import (recommended)</h2>
565580

566581
<ul>
@@ -2703,6 +2718,22 @@ <h2 id="notes">Notes</h2>
27032718

27042719
<h2 id="changelog">Change Log</h2>
27052720

2721+
<p id="1.13.1">
2722+
<b class="header">1.13.1</b> &mdash; <small><i>April 15, 2021</i></small> &mdash; <a href="https://github.com/jashkenas/underscore/compare/1.13.0...1.13.1">Diff</a> &mdash; <a href="https://cdn.rawgit.com/jashkenas/underscore/1.13.1/index.html">Docs</a><br />
2723+
<ul>
2724+
<li>
2725+
Restores the <tt>underscore.js</tt> alias committed to the GitHub
2726+
repository.
2727+
</li>
2728+
<li>
2729+
Adds some build clarifications to the documentation.
2730+
</li>
2731+
<li>
2732+
No code changes.
2733+
</li>
2734+
</ul>
2735+
</p>
2736+
27062737
<p id="1.13.0">
27072738
<b class="header">1.13.0</b> &mdash; <small><i>April 9, 2021</i></small> &mdash; <a href="https://github.com/jashkenas/underscore/compare/1.13.0-3...1.13.0">Diff</a> &mdash; <a href="https://cdn.rawgit.com/jashkenas/underscore/1.13.0/index.html">Docs</a><br />
27082739
<ul>

modules/_setup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Current version.
2-
export var VERSION = '1.13.0';
2+
export var VERSION = '1.13.1';
33

44
// Establish the root object, `window` (`self`) in the browser, `global`
55
// on the server, or `this` in some virtual machines. We use `self`

modules/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Named Exports
22
// =============
33

4-
// Underscore.js 1.13.0
4+
// Underscore.js 1.13.1
55
// https://underscorejs.org
66
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
77
// Underscore may be freely distributed under the MIT license.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "underscore",
33
"description": "JavaScript's functional programming helper library.",
4-
"version": "1.13.0",
4+
"version": "1.13.1",
55
"author": "Jeremy Ashkenas <[email protected]>",
66
"license": "MIT",
77
"homepage": "https://underscorejs.org",

underscore-esm-min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

underscore-esm.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

underscore-min.js

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

underscore-min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

underscore-node-f.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Underscore.js 1.13.0
1+
// Underscore.js 1.13.1
22
// https://underscorejs.org
33
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
44
// Underscore may be freely distributed under the MIT license.
55

66
Object.defineProperty(exports, '__esModule', { value: true });
77

88
// Current version.
9-
var VERSION = '1.13.0';
9+
var VERSION = '1.13.1';
1010

1111
// Establish the root object, `window` (`self`) in the browser, `global`
1212
// on the server, or `this` in some virtual machines. We use `self`

underscore-node.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Underscore.js 1.13.0
1+
// Underscore.js 1.13.1
22
// https://underscorejs.org
33
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
44
// Underscore may be freely distributed under the MIT license.

underscore-node.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Underscore.js 1.13.0
1+
// Underscore.js 1.13.1
22
// https://underscorejs.org
33
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
44
// Underscore may be freely distributed under the MIT license.

underscore-umd-min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

underscore-umd.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)