Skip to content

Commit

Permalink
Update autogenerated files for 1.13.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed Jul 24, 2024
1 parent b1d4f23 commit d2e7e61
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 37 deletions.
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> <span class="hljs-variable constant_">VERSION</span> = <span class="hljs-string">&#x27;1.13.6&#x27;</span>;</pre></div></div>
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">export</span> <span class="hljs-keyword">var</span> <span class="hljs-variable constant_">VERSION</span> = <span class="hljs-string">&#x27;1.13.7&#x27;</span>;</pre></div></div>

</li>

Expand Down
9 changes: 6 additions & 3 deletions docs/modules/_stringTagBug.html
Original file line number Diff line number Diff line change
Expand Up @@ -863,12 +863,15 @@ <h1>_stringTagBug.js</h1>
</div>
<p>In IE 10 - Edge 13, <code>DataView</code> has string tag <code>&#39;[object Object]&#39;</code>.
In IE 11, the most common among them, this problem also applies to
<code>Map</code>, <code>WeakMap</code> and <code>Set</code>.</p>
<code>Map</code>, <code>WeakMap</code> and <code>Set</code>.
Also, there are cases where an application can override the native
<code>DataView</code> object, in cases like that we can’t use the constructor
safely and should just rely on alternate <code>DataView</code> checks</p>

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-keyword">export</span> <span class="hljs-keyword">var</span> hasStringTagBug = (
supportsDataView &amp;&amp; <span class="hljs-title function_">hasObjectTag</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">DataView</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">ArrayBuffer</span>(<span class="hljs-number">8</span>)))
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">export</span> <span class="hljs-keyword">var</span> hasDataViewBug = (
supportsDataView &amp;&amp; (!<span class="hljs-regexp">/\[native code\]/</span>.<span class="hljs-title function_">test</span>(<span class="hljs-title class_">String</span>(<span class="hljs-title class_">DataView</span>)) || <span class="hljs-title function_">hasObjectTag</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">DataView</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">ArrayBuffer</span>(<span class="hljs-number">8</span>))))
),
isIE11 = (<span class="hljs-keyword">typeof</span> <span class="hljs-title class_">Map</span> !== <span class="hljs-string">&#x27;undefined&#x27;</span> &amp;&amp; <span class="hljs-title function_">hasObjectTag</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">Map</span>));</pre></div></div>

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,9 @@ <h1 id="named-exports">Named Exports</h1>
<div class="pilwrap ">
<a class="pilcrow" href="#section-3">&#182;</a>
</div>
<pre><code><span class="hljs-title class_">Underscore</span>.<span class="hljs-property">js</span> <span class="hljs-number">1.13</span><span class="hljs-number">.6</span>
<pre><code><span class="hljs-title class_">Underscore</span>.<span class="hljs-property">js</span> <span class="hljs-number">1.13</span><span class="hljs-number">.7</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">2022</span> <span class="hljs-title class_">Jeremy</span> <span class="hljs-title class_">Ashkenas</span>, <span class="hljs-title class_">Julian</span> <span class="hljs-title class_">Gonggrijp</span>, and <span class="hljs-title class_">DocumentCloud</span> and <span class="hljs-title class_">Investigative</span> <span class="hljs-title class_">Reporters</span> &amp; <span class="hljs-title class_">Editors</span>
(c) <span class="hljs-number">2009</span>-<span class="hljs-number">2024</span> <span class="hljs-title class_">Jeremy</span> <span class="hljs-title class_">Ashkenas</span>, <span class="hljs-title class_">Julian</span> <span class="hljs-title class_">Gonggrijp</span>, and <span class="hljs-title class_">DocumentCloud</span> and <span class="hljs-title class_">Investigative</span> <span class="hljs-title class_">Reporters</span> &amp; <span class="hljs-title class_">Editors</span>
<span class="hljs-title class_">Underscore</span> may be freely distributed under the <span class="hljs-variable constant_">MIT</span> license.
</code></pre>

Expand Down
10 changes: 6 additions & 4 deletions docs/modules/isDataView.html
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ <h1>isDataView.js</h1>
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">import</span> tagTester <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_tagTester.js&#x27;</span>;
<span class="hljs-keyword">import</span> isFunction <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./isFunction.js&#x27;</span>;
<span class="hljs-keyword">import</span> isArrayBuffer <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./isArrayBuffer.js&#x27;</span>;
<span class="hljs-keyword">import</span> { hasStringTagBug } <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_stringTagBug.js&#x27;</span>;
<span class="hljs-keyword">import</span> { hasDataViewBug } <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_stringTagBug.js&#x27;</span>;

<span class="hljs-keyword">var</span> isDataView = <span class="hljs-title function_">tagTester</span>(<span class="hljs-string">&#x27;DataView&#x27;</span>);</pre></div></div>

Expand All @@ -866,15 +866,17 @@ <h1>isDataView.js</h1>
<a class="pilcrow" href="#section-2">&#182;</a>
</div>
<p>In IE 10 - Edge 13, we need a different heuristic
to determine whether an object is a <code>DataView</code>.</p>
to determine whether an object is a <code>DataView</code>.
Also, in cases where the native <code>DataView</code> is
overridden we can’t rely on the tag itself.</p>

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-keyword">function</span> <span class="hljs-title function_">ie10IsDataView</span>(<span class="hljs-params">obj</span>) {
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">function</span> <span class="hljs-title function_">alternateIsDataView</span>(<span class="hljs-params">obj</span>) {
<span class="hljs-keyword">return</span> obj != <span class="hljs-literal">null</span> &amp;&amp; <span class="hljs-title function_">isFunction</span>(obj.<span class="hljs-property">getInt8</span>) &amp;&amp; <span class="hljs-title function_">isArrayBuffer</span>(obj.<span class="hljs-property">buffer</span>);
}

<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> (hasStringTagBug ? ie10IsDataView : isDataView);</pre></div></div>
<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> (hasDataViewBug ? alternateIsDataView : isDataView);</pre></div></div>

</li>

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/isEqual.html
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ <h1>isEqual.js</h1>
<span class="hljs-keyword">import</span> getByteLength <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_getByteLength.js&#x27;</span>;
<span class="hljs-keyword">import</span> isTypedArray <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./isTypedArray.js&#x27;</span>;
<span class="hljs-keyword">import</span> isFunction <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./isFunction.js&#x27;</span>;
<span class="hljs-keyword">import</span> { hasStringTagBug } <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_stringTagBug.js&#x27;</span>;
<span class="hljs-keyword">import</span> { hasDataViewBug } <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_stringTagBug.js&#x27;</span>;
<span class="hljs-keyword">import</span> isDataView <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./isDataView.js&#x27;</span>;
<span class="hljs-keyword">import</span> keys <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./keys.js&#x27;</span>;
<span class="hljs-keyword">import</span> has <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;./_has.js&#x27;</span>;
Expand Down Expand Up @@ -1014,7 +1014,7 @@ <h1>isEqual.js</h1>

</div>

<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">if</span> (hasStringTagBug &amp;&amp; className == <span class="hljs-string">&#x27;[object Object]&#x27;</span> &amp;&amp; <span class="hljs-title function_">isDataView</span>(a)) {
<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">if</span> (hasDataViewBug &amp;&amp; className == <span class="hljs-string">&#x27;[object Object]&#x27;</span> &amp;&amp; <span class="hljs-title function_">isDataView</span>(a)) {
<span class="hljs-keyword">if</span> (!<span class="hljs-title function_">isDataView</span>(b)) <span class="hljs-keyword">return</span> <span class="hljs-literal">false</span>;
className = tagDataView;
}
Expand Down
25 changes: 15 additions & 10 deletions docs/underscore-esm.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ <h1>underscore-esm.js</h1>
<div class="pilwrap ">
<a class="pilcrow" href="#section-1">&#182;</a>
</div>
<pre><code><span class="hljs-title class_">Underscore</span>.<span class="hljs-property">js</span> <span class="hljs-number">1.13</span><span class="hljs-number">.6</span>
<pre><code><span class="hljs-title class_">Underscore</span>.<span class="hljs-property">js</span> <span class="hljs-number">1.13</span><span class="hljs-number">.7</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">2022</span> <span class="hljs-title class_">Jeremy</span> <span class="hljs-title class_">Ashkenas</span>, <span class="hljs-title class_">Julian</span> <span class="hljs-title class_">Gonggrijp</span>, and <span class="hljs-title class_">DocumentCloud</span> and <span class="hljs-title class_">Investigative</span> <span class="hljs-title class_">Reporters</span> &amp; <span class="hljs-title class_">Editors</span>
(c) <span class="hljs-number">2009</span>-<span class="hljs-number">2024</span> <span class="hljs-title class_">Jeremy</span> <span class="hljs-title class_">Ashkenas</span>, <span class="hljs-title class_">Julian</span> <span class="hljs-title class_">Gonggrijp</span>, and <span class="hljs-title class_">DocumentCloud</span> and <span class="hljs-title class_">Investigative</span> <span class="hljs-title class_">Reporters</span> &amp; <span class="hljs-title class_">Editors</span>
<span class="hljs-title class_">Underscore</span> may be freely distributed under the <span class="hljs-variable constant_">MIT</span> license.
</code></pre>

Expand All @@ -48,7 +48,7 @@ <h1>underscore-esm.js</h1>

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-keyword">var</span> <span class="hljs-variable constant_">VERSION</span> = <span class="hljs-string">&#x27;1.13.6&#x27;</span>;</pre></div></div>
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">var</span> <span class="hljs-variable constant_">VERSION</span> = <span class="hljs-string">&#x27;1.13.7&#x27;</span>;</pre></div></div>

</li>

Expand Down Expand Up @@ -385,12 +385,15 @@ <h1>underscore-esm.js</h1>
</div>
<p>In IE 10 - Edge 13, <code>DataView</code> has string tag <code>&#39;[object Object]&#39;</code>.
In IE 11, the most common among them, this problem also applies to
<code>Map</code>, <code>WeakMap</code> and <code>Set</code>.</p>
<code>Map</code>, <code>WeakMap</code> and <code>Set</code>.
Also, there are cases where an application can override the native
<code>DataView</code> object, in cases like that we can’t use the constructor
safely and should just rely on alternate <code>DataView</code> checks</p>

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-keyword">var</span> hasStringTagBug = (
supportsDataView &amp;&amp; <span class="hljs-title function_">hasObjectTag</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">DataView</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">ArrayBuffer</span>(<span class="hljs-number">8</span>)))
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">var</span> hasDataViewBug = (
supportsDataView &amp;&amp; (!<span class="hljs-regexp">/\[native code\]/</span>.<span class="hljs-title function_">test</span>(<span class="hljs-title class_">String</span>(<span class="hljs-title class_">DataView</span>)) || <span class="hljs-title function_">hasObjectTag</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">DataView</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">ArrayBuffer</span>(<span class="hljs-number">8</span>))))
),
isIE11 = (<span class="hljs-keyword">typeof</span> <span class="hljs-title class_">Map</span> !== <span class="hljs-string">&#x27;undefined&#x27;</span> &amp;&amp; <span class="hljs-title function_">hasObjectTag</span>(<span class="hljs-keyword">new</span> <span class="hljs-title class_">Map</span>));

Expand All @@ -406,15 +409,17 @@ <h1>underscore-esm.js</h1>
<a class="pilcrow" href="#section-20">&#182;</a>
</div>
<p>In IE 10 - Edge 13, we need a different heuristic
to determine whether an object is a <code>DataView</code>.</p>
to determine whether an object is a <code>DataView</code>.
Also, in cases where the native <code>DataView</code> is
overridden we can’t rely on the tag itself.</p>

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-keyword">function</span> <span class="hljs-title function_">ie10IsDataView</span>(<span class="hljs-params">obj</span>) {
<div class="content"><div class='highlight'><pre><span class="hljs-keyword">function</span> <span class="hljs-title function_">alternateIsDataView</span>(<span class="hljs-params">obj</span>) {
<span class="hljs-keyword">return</span> obj != <span class="hljs-literal">null</span> &amp;&amp; <span class="hljs-title function_">isFunction$1</span>(obj.<span class="hljs-property">getInt8</span>) &amp;&amp; <span class="hljs-title function_">isArrayBuffer</span>(obj.<span class="hljs-property">buffer</span>);
}

<span class="hljs-keyword">var</span> isDataView$<span class="hljs-number">1</span> = (hasStringTagBug ? ie10IsDataView : isDataView);</pre></div></div>
<span class="hljs-keyword">var</span> isDataView$<span class="hljs-number">1</span> = (hasDataViewBug ? alternateIsDataView : isDataView);</pre></div></div>

</li>

Expand Down Expand Up @@ -1057,7 +1062,7 @@ <h1>underscore-esm.js</h1>

</div>

<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">if</span> (hasStringTagBug &amp;&amp; className == <span class="hljs-string">&#x27;[object Object]&#x27;</span> &amp;&amp; <span class="hljs-title function_">isDataView$1</span>(a)) {
<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">if</span> (hasDataViewBug &amp;&amp; className == <span class="hljs-string">&#x27;[object Object]&#x27;</span> &amp;&amp; <span class="hljs-title function_">isDataView$1</span>(a)) {
<span class="hljs-keyword">if</span> (!<span class="hljs-title function_">isDataView$1</span>(b)) <span class="hljs-keyword">return</span> <span class="hljs-literal">false</span>;
className = tagDataView;
}
Expand Down
6 changes: 3 additions & 3 deletions underscore-esm-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion underscore-esm-min.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion underscore-min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions underscore-umd-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion underscore-umd-min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions underscore.js

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

0 comments on commit d2e7e61

Please sign in to comment.