Skip to content

Commit

Permalink
deploy: b2c7e9b
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcchen committed Nov 30, 2023
1 parent a079f3f commit 7157def
Show file tree
Hide file tree
Showing 68 changed files with 1,879 additions and 1,855 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@
<div class="headertitle"><div class="title">brace-expansion</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md49"></a> <a href="https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html">Brace expansion</a>, as known from sh/bash, in JavaScript.</p>
<div class="textblock"><p><a class="anchor" id="autotoc_md50"></a> <a href="https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html">Brace expansion</a>, as known from sh/bash, in JavaScript.</p>
<p><a href="http://travis-ci.org/juliangruber/brace-expansion"><img src="https://secure.travis-ci.org/juliangruber/brace-expansion.svg" alt="build status" style="pointer-events: none;" class="inline"/></a> <a href="https://www.npmjs.org/package/brace-expansion"><img src="https://img.shields.io/npm/dm/brace-expansion.svg" alt="downloads" style="pointer-events: none;" class="inline"/></a> <a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/juliangruber/brace-expansion.svg" alt="Greenkeeper badge" style="pointer-events: none;" class="inline"/></a></p>
<p><a href="https://ci.testling.com/juliangruber/brace-expansion"><img src="https://ci.testling.com/juliangruber/brace-expansion.png" alt="testling badge" class="inline"/></a></p>
<h1><a class="anchor" id="autotoc_md50"></a>
<h1><a class="anchor" id="autotoc_md51"></a>
Example</h1>
<div class="fragment"><div class="line">var expand = require(&#39;brace-expansion&#39;);</div>
<div class="line"> </div>
Expand Down Expand Up @@ -133,10 +133,10 @@ <h1><a class="anchor" id="autotoc_md50"></a>
<div class="line"> </div>
<div class="line">expand(&#39;ppp{,config,oe{,conf}}&#39;)</div>
<div class="line">// =&gt; [&#39;ppp&#39;, &#39;pppconfig&#39;, &#39;pppoe&#39;, &#39;pppoeconf&#39;]</div>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md51"></a>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md52"></a>
API</h1>
<div class="fragment"><div class="line">var expand = require(&#39;brace-expansion&#39;);</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md52"></a>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md53"></a>
var expanded = expand(str)</h2>
<p>Return an array of all possible and valid expansions of <code>str</code>. If none are found, <code>[str]</code> is returned.</p>
<p>Valid expansions are:</p>
Expand All @@ -150,21 +150,21 @@ <h1><a class="anchor" id="autotoc_md50"></a>
<div class="line">// {x..y[..incr]}</div>
</div><!-- fragment --><p>An alphabetic sequence from <code>x</code> to <code>y</code> inclusive, with optional increment. <code>x</code> and <code>y</code> must be exactly one character, and if given, <code>incr</code> must be a number.</p>
<p>For compatibility reasons, the string <code>${</code> is not eligible for brace expansion.</p>
<h1><a class="anchor" id="autotoc_md53"></a>
<h1><a class="anchor" id="autotoc_md54"></a>
Installation</h1>
<p>With <a href="https://npmjs.org">npm</a> do:</p>
<div class="fragment"><div class="line">npm install brace-expansion</div>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md54"></a>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md55"></a>
Contributors</h1>
<ul>
<li><a href="https://github.com/juliangruber">Julian Gruber</a></li>
<li><a href="https://github.com/isaacs">Isaac Z. Schlueter</a></li>
</ul>
<h1><a class="anchor" id="autotoc_md55"></a>
<h1><a class="anchor" id="autotoc_md56"></a>
Sponsors</h1>
<p>This module is proudly supported by my <a href="https://github.com/juliangruber/sponsors">Sponsors</a>!</p>
<p>Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my <a href="https://www.patreon.com/juliangruber">Patreon</a>. Not sure how much of my modules you're using? Try <a href="https://github.com/feross/thanks">feross/thanks</a>!</p>
<h1><a class="anchor" id="autotoc_md56"></a>
<h1><a class="anchor" id="autotoc_md57"></a>
License</h1>
<p>(MIT)</p>
<p>Copyright (c) 2013 Julian Gruber &lt;<a href="#" onclick="location.href='mai'+'lto:'+'jul'+'ia'+'n@j'+'ul'+'ian'+'gr'+'ube'+'r.'+'com'; return false;">julia<span class="obfuscator">.nosp@m.</span>n@ju<span class="obfuscator">.nosp@m.</span>liang<span class="obfuscator">.nosp@m.</span>rube<span class="obfuscator">.nosp@m.</span>r.com</a>&gt;</p>
Expand Down
24 changes: 12 additions & 12 deletions d1/d56/md__2github_2workspace_2node__modules_2glob_2changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@
<div class="headertitle"><div class="title">7.0</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md75"></a></p><ul>
<div class="textblock"><p><a class="anchor" id="autotoc_md76"></a></p><ul>
<li>Raise error if <code>options.cwd</code> is specified, and not a directory</li>
</ul>
<h1><a class="anchor" id="autotoc_md76"></a>
<h1><a class="anchor" id="autotoc_md77"></a>
6.0</h1>
<ul>
<li>Remove comment and negation pattern support</li>
<li>Ignore patterns are always in <code>dot:true</code> mode</li>
</ul>
<h1><a class="anchor" id="autotoc_md77"></a>
<h1><a class="anchor" id="autotoc_md78"></a>
5.0</h1>
<ul>
<li>Deprecate comment and negation patterns</li>
Expand All @@ -115,46 +115,46 @@ <h1><a class="anchor" id="autotoc_md77"></a>
<li>Don't emit <code>match</code> events for ignored items</li>
<li>Treat ENOTSUP like ENOTDIR in readdir</li>
</ul>
<h1><a class="anchor" id="autotoc_md78"></a>
<h1><a class="anchor" id="autotoc_md79"></a>
4.5</h1>
<ul>
<li>Add <code>options.follow</code> to always follow directory symlinks in globstar</li>
<li>Add <code>options.realpath</code> to call <code>fs.realpath</code> on all results</li>
<li>Always cache based on absolute path</li>
</ul>
<h1><a class="anchor" id="autotoc_md79"></a>
<h1><a class="anchor" id="autotoc_md80"></a>
4.4</h1>
<ul>
<li>Add <code>options.ignore</code></li>
<li>Fix handling of broken symlinks</li>
</ul>
<h1><a class="anchor" id="autotoc_md80"></a>
<h1><a class="anchor" id="autotoc_md81"></a>
4.3</h1>
<ul>
<li>Bump minimatch to 2.x</li>
<li>Pass all tests on Windows</li>
</ul>
<h1><a class="anchor" id="autotoc_md81"></a>
<h1><a class="anchor" id="autotoc_md82"></a>
4.2</h1>
<ul>
<li>Add <code>glob.hasMagic</code> function</li>
<li>Add <code>options.nodir</code> flag</li>
</ul>
<h1><a class="anchor" id="autotoc_md82"></a>
<h1><a class="anchor" id="autotoc_md83"></a>
4.1</h1>
<ul>
<li>Refactor sync and async implementations for performance</li>
<li>Throw if callback provided to sync glob function</li>
<li>Treat symbolic links in globstar results the same as Bash 4.3</li>
</ul>
<h1><a class="anchor" id="autotoc_md83"></a>
<h1><a class="anchor" id="autotoc_md84"></a>
4.0</h1>
<ul>
<li>Use <code>^</code> for dependency versions (bumped major because this breaks older npm versions)</li>
<li>Ensure callbacks are only ever called once</li>
<li>switch to ISC license</li>
</ul>
<h1><a class="anchor" id="autotoc_md84"></a>
<h1><a class="anchor" id="autotoc_md85"></a>
3.x</h1>
<ul>
<li>Rewrite in JavaScript</li>
Expand All @@ -163,12 +163,12 @@ <h1><a class="anchor" id="autotoc_md84"></a>
<li>Add globstar support</li>
<li>emit match events</li>
</ul>
<h1><a class="anchor" id="autotoc_md85"></a>
<h1><a class="anchor" id="autotoc_md86"></a>
2.x</h1>
<ul>
<li>Use <code>glob.h</code> and <code>fnmatch.h</code> from NetBSD</li>
</ul>
<h1><a class="anchor" id="autotoc_md86"></a>
<h1><a class="anchor" id="autotoc_md87"></a>
1.x</h1>
<ul>
<li><code>glob.h</code> static binding. </li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@
<div class="headertitle"><div class="title">minimatch</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md149"></a> A minimal matching utility.</p>
<div class="textblock"><p><a class="anchor" id="autotoc_md150"></a> A minimal matching utility.</p>
<p><a href="http://travis-ci.org/isaacs/minimatch"><img src="https://secure.travis-ci.org/isaacs/minimatch.svg" alt="Build Status" style="pointer-events: none;" class="inline"/></a></p>
<p>This is the matching library used internally by npm.</p>
<p>It works by converting glob expressions into JavaScript <code>RegExp</code> objects.</p>
<h1><a class="anchor" id="autotoc_md150"></a>
<h1><a class="anchor" id="autotoc_md151"></a>
Usage</h1>
<div class="fragment"><div class="line">var minimatch = require(&quot;minimatch&quot;)</div>
<div class="line"> </div>
<div class="line">minimatch(&quot;bar.foo&quot;, &quot;*.foo&quot;) // true!</div>
<div class="line">minimatch(&quot;bar.foo&quot;, &quot;*.bar&quot;) // false!</div>
<div class="line">minimatch(&quot;bar.foo&quot;, &quot;*.+(bar|foo)&quot;, { debug: true }) // true, and noisy!</div>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md151"></a>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md152"></a>
Features</h1>
<p>Supports these glob features:</p>
<ul>
Expand All @@ -123,12 +123,12 @@ <h1><a class="anchor" id="autotoc_md150"></a>
<li><code>man 3 fnmatch</code></li>
<li><code>man 5 gitignore</code></li>
</ul>
<h1><a class="anchor" id="autotoc_md152"></a>
<h1><a class="anchor" id="autotoc_md153"></a>
Minimatch Class</h1>
<p>Create a minimatch object by instantiating the <code>minimatch.Minimatch</code> class.</p>
<div class="fragment"><div class="line">var Minimatch = require(&quot;minimatch&quot;).Minimatch</div>
<div class="line">var mm = new Minimatch(pattern, options)</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md153"></a>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md154"></a>
Properties</h2>
<ul>
<li><code>pattern</code> The original pattern the minimatch object represents.</li>
Expand All @@ -141,67 +141,67 @@ <h1><a class="anchor" id="autotoc_md152"></a>
<li><code>comment</code> True if the pattern is a comment.</li>
<li><code>empty</code> True if the pattern is <code>""</code>.</li>
</ul>
<h2><a class="anchor" id="autotoc_md154"></a>
<h2><a class="anchor" id="autotoc_md155"></a>
Methods</h2>
<ul>
<li><code>makeRe</code> Generate the <code>regexp</code> member if necessary, and return it. Will return <code>false</code> if the pattern is invalid.</li>
<li><code>match(fname)</code> Return true if the filename matches the pattern, or false otherwise.</li>
<li><code>matchOne(fileArray, patternArray, partial)</code> Take a <code>/</code>-split filename, and match it against a single row in the <code>regExpSet</code>. This method is mainly for internal use, but is exposed so that it can be used by a glob-walker that needs to avoid excessive filesystem calls.</li>
</ul>
<p>All other methods are internal, and will be called as necessary.</p>
<h2><a class="anchor" id="autotoc_md155"></a>
<h2><a class="anchor" id="autotoc_md156"></a>
minimatch(path, pattern, options)</h2>
<p>Main export. Tests a path against the pattern using the options.</p>
<div class="fragment"><div class="line">var isJS = minimatch(file, &quot;*.js&quot;, { matchBase: true })</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md156"></a>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md157"></a>
minimatch.filter(pattern, options)</h2>
<p>Returns a function that tests its supplied argument, suitable for use with <code>Array.filter</code>. Example:</p>
<div class="fragment"><div class="line">var javascripts = fileList.filter(minimatch.filter(&quot;*.js&quot;, {matchBase: true}))</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md157"></a>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md158"></a>
minimatch.match(list, pattern, options)</h2>
<p>Match against the list of files, in the style of fnmatch or glob. If nothing is matched, and options.nonull is set, then return a list containing the pattern itself.</p>
<div class="fragment"><div class="line">var javascripts = minimatch.match(fileList, &quot;*.js&quot;, {matchBase: true}))</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md158"></a>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md159"></a>
minimatch.makeRe(pattern, options)</h2>
<p>Make a regular expression object from the pattern.</p>
<h1><a class="anchor" id="autotoc_md159"></a>
<h1><a class="anchor" id="autotoc_md160"></a>
Options</h1>
<p>All options are <code>false</code> by default.</p>
<h2><a class="anchor" id="autotoc_md160"></a>
<h2><a class="anchor" id="autotoc_md161"></a>
debug</h2>
<p>Dump a ton of stuff to stderr.</p>
<h2><a class="anchor" id="autotoc_md161"></a>
<h2><a class="anchor" id="autotoc_md162"></a>
nobrace</h2>
<p>Do not expand <code>{a,b}</code> and <code>{1..3}</code> brace sets.</p>
<h2><a class="anchor" id="autotoc_md162"></a>
<h2><a class="anchor" id="autotoc_md163"></a>
noglobstar</h2>
<p>Disable <code>**</code> matching against multiple folder names.</p>
<h2><a class="anchor" id="autotoc_md163"></a>
<h2><a class="anchor" id="autotoc_md164"></a>
dot</h2>
<p>Allow patterns to match filenames starting with a period, even if the pattern does not explicitly have a period in that spot.</p>
<p>Note that by default, <code>a/**/b</code> will <b>not</b> match <code>a/.d/b</code>, unless <code>dot</code> is set.</p>
<h2><a class="anchor" id="autotoc_md164"></a>
<h2><a class="anchor" id="autotoc_md165"></a>
noext</h2>
<p>Disable "extglob" style patterns like <code>+(a|b)</code>.</p>
<h2><a class="anchor" id="autotoc_md165"></a>
<h2><a class="anchor" id="autotoc_md166"></a>
nocase</h2>
<p>Perform a case-insensitive match.</p>
<h2><a class="anchor" id="autotoc_md166"></a>
<h2><a class="anchor" id="autotoc_md167"></a>
nonull</h2>
<p>When a match is not found by <code>minimatch.match</code>, return a list containing the pattern itself if this option is set. When not set, an empty list is returned if there are no matches.</p>
<h2><a class="anchor" id="autotoc_md167"></a>
<h2><a class="anchor" id="autotoc_md168"></a>
matchBase</h2>
<p>If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, <code>a?b</code> would match the path <code>/xyz/123/acb</code>, but not <code>/xyz/acb/123</code>.</p>
<h2><a class="anchor" id="autotoc_md168"></a>
<h2><a class="anchor" id="autotoc_md169"></a>
nocomment</h2>
<p>Suppress the behavior of treating <code>#</code> at the start of a pattern as a comment.</p>
<h2><a class="anchor" id="autotoc_md169"></a>
<h2><a class="anchor" id="autotoc_md170"></a>
nonegate</h2>
<p>Suppress the behavior of treating a leading <code>!</code> character as negation.</p>
<h2><a class="anchor" id="autotoc_md170"></a>
<h2><a class="anchor" id="autotoc_md171"></a>
flipNegate</h2>
<p>Returns from negate expressions the same as if they were not negated. (Ie, true on a hit, false on a miss.)</p>
<h1><a class="anchor" id="autotoc_md171"></a>
<h1><a class="anchor" id="autotoc_md172"></a>
Comparisons to other fnmatch/glob implementations</h1>
<p>While strict compliance with the existing standards is a worthwhile goal, some discrepancies exist between minimatch and other implementations, and are intentional.</p>
<p>If the pattern starts with a <code>!</code> character, then it is negated. Set the <code>nonegate</code> flag to suppress this behavior, and treat leading <code>!</code> characters normally. This is perhaps relevant if you wish to start the pattern with a negative extglob pattern like <code>!(a|B)</code>. Multiple <code>!</code> characters at the start of a pattern will negate the pattern multiple times.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<div class="headertitle"><div class="title">GeoBFT Consensus Structure Diagram</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md190"></a></p><div align="center"> <img src="https://github.com/msadoghi/nexres/blob/geobft/ordering/img/GeoBFT_1.png" alt="" class="inline"/> </div> </div></div><!-- contents -->
<div class="textblock"><p><a class="anchor" id="autotoc_md191"></a></p><div align="center"> <img src="https://github.com/msadoghi/nexres/blob/geobft/ordering/img/GeoBFT_1.png" alt="" class="inline"/> </div> </div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<!-- start footer part -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@
<div class="headertitle"><div class="title">once</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p><a class="anchor" id="autotoc_md172"></a> Only call a function once.</p>
<h1><a class="anchor" id="autotoc_md173"></a>
<div class="textblock"><p><a class="anchor" id="autotoc_md173"></a> Only call a function once.</p>
<h1><a class="anchor" id="autotoc_md174"></a>
usage</h1>
<div class="fragment"><div class="line">var once = require(&#39;once&#39;)</div>
<div class="line"> </div>
Expand Down Expand Up @@ -130,7 +130,7 @@ <h1><a class="anchor" id="autotoc_md173"></a>
<div class="line"> if (!cb.called) cb(new Error(&#39;not found&#39;))</div>
<div class="line"> })</div>
<div class="line">}</div>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md174"></a>
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md175"></a>
&lt;tt&gt;once.strict(func)&lt;/tt&gt;</h1>
<p>Throw an error if the function is called twice.</p>
<p>Some functions are expected to be called only once. Using <code>once</code> for them would potentially hide logical errors.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
<p>This package exports standard <code>inherits</code> from node.js <code>util</code> module in node environment, but also provides alternative browser-friendly implementation through <a href="https://gist.github.com/shtylman/4339901">browser field</a>. Alternative implementation is a literal copy of standard one located in standalone module to avoid requiring of <code>util</code>. It also has a shim for old browsers with no <code>Object.create</code> support.</p>
<p>While keeping you sure you are using standard <code>inherits</code> implementation in node.js environment, it allows bundlers such as <a href="https://github.com/substack/node-browserify">browserify</a> to not include full <code>util</code> package to your client code if all you need is just <code>inherits</code> function. It worth, because browser shim for <code>util</code> package is large and <code>inherits</code> is often the single function you need from it.</p>
<p>It's recommended to use this package instead of &lsquo;require('util&rsquo;).inherits` for any code that has chances to be used not only in node.js but in browser too.</p>
<h2><a class="anchor" id="autotoc_md137"></a>
<h2><a class="anchor" id="autotoc_md138"></a>
usage</h2>
<div class="fragment"><div class="line">var inherits = require(&#39;inherits&#39;);</div>
<div class="line">// then use exactly as the standard one</div>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md138"></a>
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md139"></a>
note on version ~1.0</h2>
<p>Version ~1.0 had completely different motivation and is not compatible neither with 2.0 nor with standard node.js <code>inherits</code>.</p>
<p>If you are using version ~1.0 and planning to switch to ~2.0, be careful:</p>
Expand Down
Loading

0 comments on commit 7157def

Please sign in to comment.