Skip to content

Commit

Permalink
Merge branch 'umd-alias', tag 1.13.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed Apr 15, 2021
2 parents 7054a54 + 5630f88 commit 943977e
Show file tree
Hide file tree
Showing 19 changed files with 2,115 additions and 38 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ coverage
test-treeshake/*-umd.js
amd
cjs
/underscore.js
/underscore-min.js
/underscore-min.js.map
/underscore-node-*-pre*
2 changes: 1 addition & 1 deletion docs/modules/_setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ <h1>_setup.js</h1>

</div>

<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>
<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>

</li>

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ <h1 id="named-exports">Named Exports</h1>
<div class="pilwrap ">
<a class="pilcrow" href="#section-3">&#182;</a>
</div>
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.0</span>
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.1</span>
<span class="hljs-attr">https</span>:<span class="hljs-comment">//underscorejs.org</span>
(c) <span class="hljs-number">2009</span><span class="hljs-number">-2021</span> Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters &amp; Editors
Underscore may be freely distributed under the MIT license.</code></pre>
Expand Down
4 changes: 2 additions & 2 deletions docs/underscore-esm.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>underscore-esm.js</h1>
<div class="pilwrap ">
<a class="pilcrow" href="#section-1">&#182;</a>
</div>
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.0</span>
<pre><code>Underscore.js <span class="hljs-number">1.13</span><span class="hljs-number">.1</span>
<span class="hljs-attr">https</span>:<span class="hljs-comment">//underscorejs.org</span>
(c) <span class="hljs-number">2009</span><span class="hljs-number">-2021</span> Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters &amp; Editors
Underscore may be freely distributed under the MIT license.</code></pre>
Expand All @@ -46,7 +46,7 @@ <h1>underscore-esm.js</h1>

</div>

<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>
<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>

</li>

Expand Down
61 changes: 46 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<div id="sidebar" class="interface">

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

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

<table>
<tr>
<td class="dl-link"><a href="underscore-esm.js">ESM (Development)</a></td>
<td>
<i>65.08kb, Uncompressed with Plentiful Comments</i>
<i>65.9 KB, Uncompressed with Plentiful Comments</i>
&nbsp;<small>(<a href="underscore-esm.js.map">Source Map</a>)</small>
</td>
</tr>
<tr>
<td class="dl-link"><a href="underscore-esm-min.js">ESM (Production)</a></td>
<td>
<i>8.5kb, Minified and Gzipped</i>
<i>8.59 KB, Minified and Gzipped</i>
&nbsp;<small>(<a href="underscore-esm-min.js.map">Source Map</a>)</small>
</td>
</tr>
<tr>
<td class="dl-link"><a href="underscore-umd.js">UMD (Development)</a></td>
<td>
<i>67.45kb, Uncompressed with Bountiful Comments</i>
<i>68.4 KB, Uncompressed with Bountiful Comments</i>
&nbsp;<small>(<a href="underscore-umd.js.map">Source Map</a>)</small>
</td>
</tr>
<tr>
<td class="dl-link"><a href="underscore-umd-min.js">UMD (Production)</a></td>
<td>
<i>7.39kb, Minified and Gzipped</i>
<i>7.48 KB, Minified and Gzipped</i>
&nbsp;<small>(<a href="underscore-umd-min.js.map">Source Map</a>)</small>
</td>
</tr>
Expand All @@ -518,35 +518,43 @@ <h2>v1.13.0 Downloads <i style="padding-left: 12px; font-size:12px;">(Right-clic
</tr>
</table>

<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>
<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>

<ul>
<li>
<tt>https://cdn.jsdelivr.net/npm/underscore@1.13.0/underscore-umd-min.js</tt>
<tt>https://cdn.jsdelivr.net/npm/underscore@1.13.1/underscore-umd-min.js</tt>
</li>
<li>
<tt>https://cdn.jsdelivr.net/npm/underscore@1.13.0/underscore-esm-min.js</tt>
<tt>https://cdn.jsdelivr.net/npm/underscore@1.13.1/underscore-esm-min.js</tt>
</li>
<li>
<tt>https://unpkg.com/underscore@1.13.0/underscore-umd-min.js</tt>
<tt>https://unpkg.com/underscore@1.13.1/underscore-umd-min.js</tt>
</li>
<li>
<tt>https://unpkg.com/underscore@1.13.0/underscore-esm-min.js</tt>
<tt>https://unpkg.com/underscore@1.13.1/underscore-esm-min.js</tt>
</li>
<li>
<tt>https://pagecdn.io/lib/underscore/1.13.0/underscore-umd-min.js</tt>
<tt>https://pagecdn.io/lib/underscore/1.13.1/underscore-umd-min.js</tt>
</li>
<li>
<tt>https://pagecdn.io/lib/underscore/1.13.0/underscore-esm-min.js</tt>
<tt>https://pagecdn.io/lib/underscore/1.13.1/underscore-esm-min.js</tt>
</li>
<li>
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.0/underscore-umd-min.js</tt>
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-umd-min.js</tt>
</li>
<li>
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.0/underscore-esm-min.js</tt>
<tt>https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-esm-min.js</tt>
</li>
</ul>

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

<h2>Package Installation</h2>

<ul>
Expand All @@ -561,6 +569,13 @@ <h2>Package Installation</h2>
</li>
</ul>

<p>
<i>If you are hardcoding the path to the file within the package and you
are unsure which build to use, it is very likely that you need
<tt>underscore-umd.js</tt> or the minified variant
<tt>underscore-umd-min.js</tt>.</i>
</p>

<h2>Monolithic Import (recommended)</h2>

<ul>
Expand Down Expand Up @@ -2703,6 +2718,22 @@ <h2 id="notes">Notes</h2>

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

<p id="1.13.1">
<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 />
<ul>
<li>
Restores the <tt>underscore.js</tt> alias committed to the GitHub
repository.
</li>
<li>
Adds some build clarifications to the documentation.
</li>
<li>
No code changes.
</li>
</ul>
</p>

<p id="1.13.0">
<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 />
<ul>
Expand Down
2 changes: 1 addition & 1 deletion modules/_setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Current version.
export var VERSION = '1.13.0';
export var VERSION = '1.13.1';

// Establish the root object, `window` (`self`) in the browser, `global`
// on the server, or `this` in some virtual machines. We use `self`
Expand Down
2 changes: 1 addition & 1 deletion modules/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Named Exports
// =============

// Underscore.js 1.13.0
// Underscore.js 1.13.1
// https://underscorejs.org
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "underscore",
"description": "JavaScript's functional programming helper library.",
"version": "1.13.0",
"version": "1.13.1",
"author": "Jeremy Ashkenas <jeremy@documentcloud.org>",
"license": "MIT",
"homepage": "https://underscorejs.org",
Expand Down
4 changes: 2 additions & 2 deletions underscore-esm-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions underscore-esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions underscore-min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions underscore-min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions underscore-node-f.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Underscore.js 1.13.0
// Underscore.js 1.13.1
// https://underscorejs.org
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.

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

// Current version.
var VERSION = '1.13.0';
var VERSION = '1.13.1';

// Establish the root object, `window` (`self`) in the browser, `global`
// on the server, or `this` in some virtual machines. We use `self`
Expand Down
2 changes: 1 addition & 1 deletion underscore-node.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Underscore.js 1.13.0
// Underscore.js 1.13.1
// https://underscorejs.org
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion underscore-node.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Underscore.js 1.13.0
// Underscore.js 1.13.1
// https://underscorejs.org
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
Expand Down
4 changes: 2 additions & 2 deletions underscore-umd-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions underscore-umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 943977e

Please sign in to comment.