Skip to content

Commit

Permalink
chore: downgrade jest & pino to support node-12.x (#5)
Browse files Browse the repository at this point in the history
* chore: downgrade jest & pino to support node-12.x

* add docs
  • Loading branch information
hezean authored Nov 7, 2022
1 parent 9046e16 commit a1d7154
Show file tree
Hide file tree
Showing 15 changed files with 6,233 additions and 4,002 deletions.
2 changes: 2 additions & 0 deletions .github/licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ header:

paths-ignore:
- '**/*.md'
- 'docs'
- 'dist'

comment: on-failure
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [12.x, 14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# FeatureProbe Server Side SDK for Node.js

[![Top Language](https://img.shields.io/github/languages/top/FeatureProbe/server-sdk-node)](https://github.com/FeatureProbe/server-sdk-node/search?l=rust)
[![Coverage Status](https://coveralls.io/repos/github/FeatureProbe/server-sdk-node/badge.svg?branch=demo)](https://coveralls.io/github/FeatureProbe/server-sdk-node?branch=demo)
[![Top Language](https://img.shields.io/github/languages/top/FeatureProbe/server-sdk-node)](https://github.com/FeatureProbe/server-sdk-node)
[![Coverage Status](https://coveralls.io/repos/github/FeatureProbe/server-sdk-node/badge.svg?branch=main)](https://coveralls.io/github/FeatureProbe/server-sdk-node?branch=main)
[![Github Star](https://img.shields.io/github/stars/FeatureProbe/server-sdk-node)](https://github.com/FeatureProbe/server-sdk-node/stargazers)
[![Apache-2.0 license](https://img.shields.io/github/license/FeatureProbe/FeatureProbe)](https://github.com/FeatureProbe/FeatureProbe/blob/demo/LICENSE)
[![Apache-2.0 license](https://img.shields.io/github/license/FeatureProbe/FeatureProbe)](https://github.com/FeatureProbe/FeatureProbe/blob/main/LICENSE)

FeatureProbe is an open source feature management service. This SDK is used to control features in Node.js programs. This
SDK is designed primarily for use in multi-user systems such as web servers and applications.
Expand Down
16 changes: 0 additions & 16 deletions docs/assets/main.js

Large diffs are not rendered by default.

18 changes: 1 addition & 17 deletions docs/assets/search.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/classes/FPUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">FPUser</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L7">FPUser.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L23">FPUser.ts:23</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -69,7 +69,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> stableRollout: <span c
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="FPUser.html" class="tsd-signature-type" data-tsd-kind="Class">FPUser</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L17">FPUser.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L33">FPUser.ts:33</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_attrs" class="tsd-anchor"></a>
Expand All @@ -81,12 +81,12 @@ <h4>Type declaration</h4>
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L10">FPUser.ts:10</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L26">FPUser.ts:26</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_key" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_key</span><a href="#_key" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">_key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L9">FPUser.ts:9</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L25">FPUser.ts:25</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="attrs" class="tsd-anchor"></a>
Expand All @@ -101,7 +101,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </spa
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L34">FPUser.ts:34</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L50">FPUser.ts:50</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="key" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>key</span><a href="#key" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
Expand All @@ -112,7 +112,7 @@ <h3 class="tsd-anchor-link"><span>key</span><a href="#key" aria-label="Permalink
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L27">FPUser.ts:27</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L43">FPUser.ts:43</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="extendAttrs" class="tsd-anchor"></a>
Expand All @@ -136,7 +136,7 @@ <h5>attrs: <span class="tsd-signature-symbol">{ </span><br/><span>    </span
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="FPUser.html" class="tsd-signature-type" data-tsd-kind="Class">FPUser</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L63">FPUser.ts:63</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L79">FPUser.ts:79</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAttr" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Attr</span><a href="#getAttr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -149,7 +149,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>attrName: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L70">FPUser.ts:70</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L86">FPUser.ts:86</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stableRollout" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>stable<wbr/>Rollout</span><a href="#stableRollout" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -166,7 +166,7 @@ <h5>key: <span class="tsd-signature-type">string</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="FPUser.html" class="tsd-signature-type" data-tsd-kind="Class">FPUser</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L42">FPUser.ts:42</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L58">FPUser.ts:58</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="with" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>with</span><a href="#with" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -189,7 +189,7 @@ <h5>attrValue: <span class="tsd-signature-type">string</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="FPUser.html" class="tsd-signature-type" data-tsd-kind="Class">FPUser</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/f3aa30c/src/FPUser.ts#L53">FPUser.ts:53</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/HeZean/server-sdk-node/blob/6842f44/src/FPUser.ts#L69">FPUser.ts:69</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
Loading

0 comments on commit a1d7154

Please # to comment.