Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 286f8d2

Browse files
committed
🔖 Prepare 1.0.0-rc.7
1 parent 28c814f commit 286f8d2

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ immutad●t gives you a short and meaningful syntax to apply operations on immut
2020
[![codecov](https://codecov.io/gh/Zenika/immutadot/branch/master/graph/badge.svg)](https://codecov.io/gh/Zenika/immutadot)
2121
[![Greenkeeper](https://badges.greenkeeper.io/Zenika/immutadot.svg)](https://greenkeeper.io/)
2222

23-
## [1.0 Release Candidate](https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.6) is out 🎉
23+
## [1.0 Release Candidate](https://github.com/Zenika/immutadot/releases) is out 🎉
2424

2525
We are still writing the documentation, you can already find out about the [updated API](https://zenika.github.io/immutadot/immutadot/1.0) and our new package [immutadot-lodash](https://zenika.github.io/immutadot/immutadot-lodash/1.0).
2626

docs/immutadot-lodash/1.0/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2 class="home-link"><a href="index.html">immutad●t</a></h2><h3>Namespaces</h
5656
<p><a href="https://circleci.com/gh/Zenika/immutadot"><img src="https://circleci.com/gh/Zenika/immutadot.svg?style=shield&amp;circle-token=8b309750f5785783ec9fb4531ba097da60563beb" alt="CircleCI"></a>
5757
<a href="https://codecov.io/gh/Zenika/immutadot"><img src="https://codecov.io/gh/Zenika/immutadot/branch/master/graph/badge.svg" alt="codecov"></a>
5858
<a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/Zenika/immutadot.svg" alt="Greenkeeper"></a></p>
59-
<h2><a href="https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.6">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
59+
<h2><a href="https://github.com/Zenika/immutadot/releases">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
6060
<p>If you would like to try out 1.0 before its official release, install it with :</p>
6161
<pre class="prettyprint source lang-shell"><code>yarn add immutadot@next</code></pre><p>or</p>
6262
<pre class="prettyprint source lang-shell"><code>npm install immutadot@next</code></pre><h2>Immutability</h2><p>In the last few years one of our biggest challenge has been to find an efficient way to detect changes in our data to determine when to re-render our interfaces.</p>

docs/immutadot/1.0/flow_flow.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1 class="page-title">flow/flow.js</h1>
3535

3636
<section>
3737
<article>
38-
<pre class="source linenums"><code><ol class="lines"><li id="line1" class="line"><span class="hljs-keyword">import</span> { flatten } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/array'</span></li><li id="line2" class="line"><span class="hljs-keyword">import</span> { isNil } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/lang'</span></li><li id="line3" class="line"></li><li id="line4" class="line"><span class="hljs-comment">/**</span></li><li id="line5" class="line"><span class="hljs-comment"> * A function successively applying a list of functions.</span></li><li id="line6" class="line"><span class="hljs-comment"> * @callback flowFunction</span></li><li id="line7" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line8" class="line"><span class="hljs-comment"> * @param {*} arg The starting value</span></li><li id="line9" class="line"><span class="hljs-comment"> * @returns {*} The resulting value</span></li><li id="line10" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line11" class="line"><span class="hljs-comment"> */</span></li><li id="line12" class="line"></li><li id="line13" class="line"><span class="hljs-comment">/**</span></li><li id="line14" class="line"><span class="hljs-comment"> * Successively calls &lt;code&gt;fns&lt;/code&gt;.&lt;br/&gt;</span></li><li id="line15" class="line"><span class="hljs-comment"> * Each function is called with the result of the previous one.&lt;br/&gt;</span></li><li id="line16" class="line"><span class="hljs-comment"> * Falsey functions (&lt;code&gt;null&lt;/code&gt;, &lt;code&gt;undefined&lt;/code&gt; and &lt;code&gt;false&lt;/code&gt;) are tolerated and will be skipped.</span></li><li id="line17" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line18" class="line"><span class="hljs-comment"> * @param {...(function|Array&lt;function&gt;)} args The functions to apply</span></li><li id="line19" class="line"><span class="hljs-comment"> * @returns {flow.flowFunction} A function successively calling &lt;code&gt;fns&lt;/code&gt;</span></li><li id="line20" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line21" class="line"><span class="hljs-comment"> */</span></li><li id="line22" class="line"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">flow</span>(<span class="hljs-params">...args</span>) </span>{</li><li id="line23" class="line"> <span class="hljs-keyword">const</span> fns = flatten(args).filter(<span class="hljs-function"><span class="hljs-params">fn</span> =&gt;</span> !isNil(fn) &amp;&amp; fn !== <span class="hljs-literal">false</span>)</li><li id="line24" class="line"> <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-params">pObj</span> =&gt;</span> {</li><li id="line25" class="line"> <span class="hljs-keyword">const</span> [result] = fns.reduce(</li><li id="line26" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths], fn</span>) =&gt;</span> [</li><li id="line27" class="line"> fn(obj, appliedPaths),</li><li id="line28" class="line"> [...appliedPaths, fn.path],</li><li id="line29" class="line"> ],</li><li id="line30" class="line"> [pObj, []],</li><li id="line31" class="line"> )</li><li id="line32" class="line"> <span class="hljs-keyword">return</span> result</li><li id="line33" class="line"> }</li><li id="line34" class="line">}</li><li id="line35" class="line"></li><li id="line36" class="line"><span class="hljs-keyword">export</span> { flow }</li><li id="line37" class="line"></li></ol></code></pre>
38+
<pre class="source linenums"><code><ol class="lines"><li id="line1" class="line"><span class="hljs-keyword">import</span> { flatten } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/array'</span></li><li id="line2" class="line"><span class="hljs-keyword">import</span> { isNil } <span class="hljs-keyword">from</span> <span class="hljs-string">'util/lang'</span></li><li id="line3" class="line"></li><li id="line4" class="line"><span class="hljs-comment">/**</span></li><li id="line5" class="line"><span class="hljs-comment"> * A function successively applying a list of functions.</span></li><li id="line6" class="line"><span class="hljs-comment"> * @callback flowFunction</span></li><li id="line7" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line8" class="line"><span class="hljs-comment"> * @param {*} arg The starting value</span></li><li id="line9" class="line"><span class="hljs-comment"> * @returns {*} The resulting value</span></li><li id="line10" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line11" class="line"><span class="hljs-comment"> */</span></li><li id="line12" class="line"></li><li id="line13" class="line"><span class="hljs-comment">/**</span></li><li id="line14" class="line"><span class="hljs-comment"> * Successively calls &lt;code&gt;fns&lt;/code&gt;.&lt;br/&gt;</span></li><li id="line15" class="line"><span class="hljs-comment"> * Each function is called with the result of the previous one.&lt;br/&gt;</span></li><li id="line16" class="line"><span class="hljs-comment"> * Falsey functions (&lt;code&gt;null&lt;/code&gt;, &lt;code&gt;undefined&lt;/code&gt; and &lt;code&gt;false&lt;/code&gt;) are tolerated and will be skipped.</span></li><li id="line17" class="line"><span class="hljs-comment"> * @memberof flow</span></li><li id="line18" class="line"><span class="hljs-comment"> * @param {...(function|Array&lt;function&gt;)} args The functions to apply</span></li><li id="line19" class="line"><span class="hljs-comment"> * @returns {flow.flowFunction} A function successively calling &lt;code&gt;fns&lt;/code&gt;</span></li><li id="line20" class="line"><span class="hljs-comment"> * @since 1.0.0</span></li><li id="line21" class="line"><span class="hljs-comment"> */</span></li><li id="line22" class="line"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">flow</span>(<span class="hljs-params">...args</span>) </span>{</li><li id="line23" class="line"> <span class="hljs-keyword">const</span> fns = flatten(args)</li><li id="line24" class="line"> .filter(<span class="hljs-function"><span class="hljs-params">fn</span> =&gt;</span> !isNil(fn) &amp;&amp; fn !== <span class="hljs-literal">false</span>)</li><li id="line25" class="line"> .map(<span class="hljs-function"><span class="hljs-params">fn</span> =&gt;</span> fn.applier === <span class="hljs-literal">undefined</span> ? (</li><li id="line26" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths]</span>) =&gt;</span> [fn(obj), appliedPaths]</li><li id="line27" class="line"> ) : (</li><li id="line28" class="line"> <span class="hljs-function">(<span class="hljs-params">[obj, appliedPaths]</span>) =&gt;</span> [</li><li id="line29" class="line"> fn.applier(obj, appliedPaths),</li><li id="line30" class="line"> [...appliedPaths, fn.applier.path],</li><li id="line31" class="line"> ]</li><li id="line32" class="line"> ))</li><li id="line33" class="line"> <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-params">obj</span> =&gt;</span> {</li><li id="line34" class="line"> <span class="hljs-keyword">const</span> [result] = fns.reduce(</li><li id="line35" class="line"> <span class="hljs-function">(<span class="hljs-params">acc, fn</span>) =&gt;</span> fn(acc),</li><li id="line36" class="line"> [obj, []],</li><li id="line37" class="line"> )</li><li id="line38" class="line"> <span class="hljs-keyword">return</span> result</li><li id="line39" class="line"> }</li><li id="line40" class="line">}</li><li id="line41" class="line"></li><li id="line42" class="line"><span class="hljs-keyword">export</span> { flow }</li><li id="line43" class="line"></li></ol></code></pre>
3939
</article>
4040
</section>
4141

docs/immutadot/1.0/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2 class="home-link"><a href="index.html">immutad●t</a></h2><h3>Namespaces</h
5656
<p><a href="https://circleci.com/gh/Zenika/immutadot"><img src="https://circleci.com/gh/Zenika/immutadot.svg?style=shield&amp;circle-token=8b309750f5785783ec9fb4531ba097da60563beb" alt="CircleCI"></a>
5757
<a href="https://codecov.io/gh/Zenika/immutadot"><img src="https://codecov.io/gh/Zenika/immutadot/branch/master/graph/badge.svg" alt="codecov"></a>
5858
<a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/Zenika/immutadot.svg" alt="Greenkeeper"></a></p>
59-
<h2><a href="https://github.com/Zenika/immutadot/releases/tag/1.0.0-rc.6">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
59+
<h2><a href="https://github.com/Zenika/immutadot/releases">1.0 Release Candidate</a> is out 🎉</h2><p>We are still writing the documentation, you can already find out about the <a href="https://zenika.github.io/immutadot/immutadot/1.0">updated API</a> and our new package <a href="https://zenika.github.io/immutadot/immutadot-lodash/1.0">immutadot-lodash</a>.</p>
6060
<p>If you would like to try out 1.0 before its official release, install it with :</p>
6161
<pre class="prettyprint source lang-shell"><code>yarn add immutadot@next</code></pre><p>or</p>
6262
<pre class="prettyprint source lang-shell"><code>npm install immutadot@next</code></pre><h2>Immutability</h2><p>In the last few years one of our biggest challenge has been to find an efficient way to detect changes in our data to determine when to re-render our interfaces.</p>

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"packages/*"
66
],
77
"useWorkspaces": true,
8-
"version": "1.0.0-rc.6"
8+
"version": "1.0.0-rc.7"
99
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "immutadot",
3-
"version": "1.0.0-rc.6",
3+
"version": "1.0.0-rc.7",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

packages/immutadot-benchmark/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "immutadot-benchmark",
3-
"version": "1.0.0-rc.6",
3+
"version": "1.0.0-rc.7",
44
"license": "MIT",
55
"devDependencies": {
66
"immer": "~0.2.0",
77
"immutable": "~3.8.2",
8-
"immutadot": "~1.0.0-rc.6",
8+
"immutadot": "~1.0.0-rc.7",
99
"jest": "~21.2.1"
1010
},
1111
"scripts": {

packages/immutadot-lodash/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "immutadot-lodash",
3-
"version": "1.0.0-rc.6",
3+
"version": "1.0.0-rc.7",
44
"main": "index.js",
55
"license": "MIT",
66
"peerDependencies": {
7-
"immutadot": "^1.0.0-rc.6",
7+
"immutadot": "^1.0.0-rc.7",
88
"lodash": "^4.6.0"
99
},
1010
"devDependencies": {

packages/immutadot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "immutadot",
3-
"version": "1.0.0-rc.6",
3+
"version": "1.0.0-rc.7",
44
"description": "immutad●t (pronounced immutadot) is a set of immutable functions using dot notation.",
55
"keywords": [
66
"immutable",

0 commit comments

Comments
 (0)