Skip to content

Commit

Permalink
release: v1.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Apr 15, 2022
1 parent bf845b1 commit cd5fc6c
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v1.35.0 (15 Apr 2022)

* feat: add isDocker
* feat: add cgroup
* feat: add container
* fix(raf): illegal invocation

## v1.34.0 (13 Jan 2022)

* feat: add hookFn
Expand Down
3 changes: 2 additions & 1 deletion DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -4247,7 +4247,8 @@ Get container stats inside container.
<pre>
<code class="language-typescript">const container: {
cpuNum(): number;
cpuLoad(): number;
cpuUsage(period?: number): number;
cpuLoad(period?: number): number;
};</code>
</pre>
</details>
Expand Down
3 changes: 2 additions & 1 deletion DOC_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4239,7 +4239,8 @@ contain('abc', 'a'); // -> true
<pre>
<code class="language-typescript">const container: {
cpuNum(): number;
cpuLoad(): number;
cpuUsage(period?: number): number;
cpuLoad(period?: number): number;
};</code>
</pre>
</details>
Expand Down
7 changes: 6 additions & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,7 @@
"env": [
"node"
],
"since": "1.35.0",
"test": []
},
"char": {
Expand Down Expand Up @@ -1644,7 +1645,10 @@
"cgroup",
"perfNow",
"sleep",
"memoize"
"memoize",
"each",
"isEmpty",
"sum"
],
"description": "Get container stats inside container.",
"env": [
Expand Down Expand Up @@ -3416,6 +3420,7 @@
"env": [
"node"
],
"since": "1.35.0",
"test": [
"node"
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "licia",
"version": "1.34.0",
"version": "1.35.0",
"description": "Useful utility collection with zero dependencies",
"bin": {
"licia": "./bin/licia.js"
Expand Down
1 change: 1 addition & 0 deletions src/cgroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/* module
* env: node
* test: manual
* since: 1.35.0
*/

/* typescript
Expand Down
1 change: 1 addition & 0 deletions src/isDocker.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/* module
* env: node
* since: 1.35.0
*/

/* typescript
Expand Down

0 comments on commit cd5fc6c

Please sign in to comment.