Version Packages (alpha) (#1135)

This commit is contained in:
github-actions[bot]
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 617e63c483
commit f0240ff80c
15 changed files with 177 additions and 22 deletions

View File

@@ -0,0 +1,18 @@
# rrdom-nodejs
## 2.0.0-alpha.5
### Major Changes
- [#1127](https://github.com/rrweb-io/rrweb/pull/1127) [`3cc4323`](https://github.com/rrweb-io/rrweb/commit/3cc4323094065a12f8b65afecd45061d604e245f) Thanks [@YunFeng0817](https://github.com/YunFeng0817)! - Refactor: Improve performance by 80% in a super large benchmark case.
1. Refactor: change the data structure of childNodes from array to linked list
2. Improve the performance of the "contains" function. New algorithm will reduce the complexity from O(n) to O(logn)
### Patch Changes
- [#1126](https://github.com/rrweb-io/rrweb/pull/1126) [`227d43a`](https://github.com/rrweb-io/rrweb/commit/227d43abb93d57cadc70c760b28c46911bf7d8ff) Thanks [@YunFeng0817](https://github.com/YunFeng0817)! - Refactor all suffix of bundled scripts with commonjs module from 'js' to cjs [#1087](https://github.com/rrweb-io/rrweb/pull/1087).
- Updated dependencies [[`1385f7a`](https://github.com/rrweb-io/rrweb/commit/1385f7acc0052f83be1458a7b00e18c026ee393f), [`227d43a`](https://github.com/rrweb-io/rrweb/commit/227d43abb93d57cadc70c760b28c46911bf7d8ff), [`227d43a`](https://github.com/rrweb-io/rrweb/commit/227d43abb93d57cadc70c760b28c46911bf7d8ff), [`3cc4323`](https://github.com/rrweb-io/rrweb/commit/3cc4323094065a12f8b65afecd45061d604e245f)]:
- rrweb-snapshot@2.0.0-alpha.5
- rrdom@2.0.0-alpha.5

View File

@@ -1,6 +1,6 @@
{
"name": "rrdom-nodejs",
"version": "0.1.7",
"version": "2.0.0-alpha.5",
"scripts": {
"dev": "rollup -c -w",
"bundle": "rollup --config",
@@ -49,8 +49,8 @@
"cssom": "^0.5.0",
"cssstyle": "^2.3.0",
"nwsapi": "^2.2.0",
"rrdom": "^0.1.7",
"rrweb-snapshot": "^2.0.0-alpha.4"
"rrdom": "^2.0.0-alpha.5",
"rrweb-snapshot": "^2.0.0-alpha.5"
},
"browserslist": [
"supports es6-class"