Skip to content

Commit 5f702f3

Browse files
authored
fix: conn mgr access to moving averages record object (#897)
* fix: conn mgr access to moving averages record object * chore: remove node 12 * chore: add parcel workaround
1 parent 03b34ca commit 5f702f3

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.aegir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const after = async () => {
4848
}
4949

5050
module.exports = {
51-
bundlesize: { maxSize: '220kB' },
51+
bundlesize: { maxSize: '222kB' },
5252
hooks: {
5353
pre: before,
5454
post: after

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
matrix:
2929
os: [windows-latest, ubuntu-latest, macos-latest]
30-
node: [12, 14]
30+
node: [14]
3131
fail-fast: true
3232
steps:
3333
- uses: actions/checkout@v2

examples/libp2p-in-the-browser/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"author": "",
1616
"license": "ISC",
1717
"dependencies": {
18-
"@babel/preset-env": "^7.8.3",
18+
"@babel/preset-env": "^7.13.0",
1919
"libp2p": "../../",
2020
"libp2p-bootstrap": "^0.12.1",
2121
"libp2p-mplex": "^0.10.0",
@@ -24,11 +24,11 @@
2424
"libp2p-websockets": "^0.14.0"
2525
},
2626
"devDependencies": {
27-
"@babel/cli": "^7.8.3",
28-
"@babel/core": "^7.8.3",
27+
"@babel/cli": "^7.13.10",
28+
"@babel/core": "^7.13.0",
2929
"babel-plugin-syntax-async-functions": "^6.13.0",
3030
"babel-plugin-transform-regenerator": "^6.26.0",
3131
"babel-polyfill": "^6.26.0",
32-
"parcel-bundler": "^1.12.4"
32+
"parcel-bundler": "1.12.3"
3333
}
3434
}

examples/webrtc-direct/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
},
1111
"license": "ISC",
1212
"devDependencies": {
13-
"@babel/cli": "^7.8.3",
14-
"@babel/core": "^7.8.3",
13+
"@babel/cli": "^7.13.10",
14+
"@babel/core": "^7.13.10",
1515
"babel-plugin-syntax-async-functions": "^6.13.0",
1616
"babel-plugin-transform-regenerator": "^6.26.0",
1717
"babel-polyfill": "^6.26.0",
18-
"parcel-bundler": "^1.12.4"
18+
"parcel-bundler": "1.12.3"
1919
},
2020
"dependencies": {
2121
"libp2p": "../../",

src/metrics/stats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Stats extends EventEmitter {
8282
/**
8383
* Returns a clone of the internal movingAverages
8484
*
85-
* @returns {MovingAverage}
85+
* @returns {Object}
8686
*/
8787
get movingAverages () {
8888
return Object.assign({}, this._movingAverages)

0 commit comments

Comments
 (0)