hypercore 10.26.2 → 10.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/core.js +1 -1
  2. package/package.json +1 -1
package/lib/core.js CHANGED
@@ -283,7 +283,7 @@ module.exports = class Core {
283
283
  this.header.tree.signature = this.tree.signature
284
284
  }
285
285
 
286
- this.header.userData = src.header.userData // should copy?
286
+ this.header.userData = src.header.userData.slice(0)
287
287
 
288
288
  await this._flushOplog()
289
289
  } finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "10.26.2",
3
+ "version": "10.26.3",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {