@nxtedition/deepstream.io-client-js 31.2.18 → 32.0.0
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.
- package/package.json +13 -13
- package/src/record/record-handler.js +1 -1
- package/src/record/record.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxtedition/deepstream.io-client-js",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.0",
|
|
4
4
|
"description": "the javascript client for deepstream.io",
|
|
5
5
|
"homepage": "http://deepstream.io",
|
|
6
6
|
"type": "module",
|
|
@@ -36,36 +36,36 @@
|
|
|
36
36
|
"singleQuote": true
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nxtedition/json-path": "^
|
|
40
|
-
"bufferutil": "^4.0
|
|
39
|
+
"@nxtedition/json-path": "^2.0.0",
|
|
40
|
+
"bufferutil": "^4.1.0",
|
|
41
41
|
"component-emitter2": "^1.3.5",
|
|
42
42
|
"invariant": "^2.2.4",
|
|
43
43
|
"lodash.clonedeep": "^4.5.0",
|
|
44
|
-
"utf-8-validate": "^6.0.
|
|
44
|
+
"utf-8-validate": "^6.0.6",
|
|
45
45
|
"varint": "^6.0.0",
|
|
46
|
-
"ws": "^8.
|
|
46
|
+
"ws": "^8.19.0",
|
|
47
47
|
"xuid": "^4.1.3",
|
|
48
48
|
"xxhash-wasm": "^1.0.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@types/node": "^
|
|
52
|
-
"eslint": "^9.
|
|
53
|
-
"eslint-config-prettier": "^
|
|
51
|
+
"@types/node": "^25.0.8",
|
|
52
|
+
"eslint": "^9.39.2",
|
|
53
|
+
"eslint-config-prettier": "^10.1.8",
|
|
54
54
|
"eslint-config-standard": "^17.1.0",
|
|
55
55
|
"eslint-plugin-import": "^2.31.0",
|
|
56
|
-
"eslint-plugin-n": "^17.
|
|
56
|
+
"eslint-plugin-n": "^17.23.2",
|
|
57
57
|
"eslint-plugin-node": "^11.1.0",
|
|
58
58
|
"eslint-plugin-promise": "^7.1.0",
|
|
59
59
|
"husky": "^9.1.6",
|
|
60
|
-
"lint-staged": "^
|
|
60
|
+
"lint-staged": "^16.2.7",
|
|
61
61
|
"mitata": "^1.0.10",
|
|
62
62
|
"pinst": "^3.0.0",
|
|
63
|
-
"prettier": "^3.
|
|
63
|
+
"prettier": "^3.8.0",
|
|
64
64
|
"rxjs": "^7.8.1",
|
|
65
65
|
"tsd": "^0.33.0",
|
|
66
|
-
"type-fest": "^4.
|
|
66
|
+
"type-fest": "^5.4.1",
|
|
67
67
|
"typescript": "^5.6.3",
|
|
68
|
-
"typescript-eslint": "^8.
|
|
68
|
+
"typescript-eslint": "^8.53.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"rxjs": ">=6.x"
|
package/src/record/record.js
CHANGED
|
@@ -16,7 +16,7 @@ class Record {
|
|
|
16
16
|
this._handler = handler
|
|
17
17
|
this._name = name
|
|
18
18
|
this._version = ''
|
|
19
|
-
this._data = jsonPath.
|
|
19
|
+
this._data = jsonPath.EMPTY_OBJ
|
|
20
20
|
this._state = C.RECORD_STATE.VOID
|
|
21
21
|
this._refs = 0
|
|
22
22
|
this._subscriptions = []
|
|
@@ -581,7 +581,7 @@ class Record {
|
|
|
581
581
|
for (let n = 0; n < len; n++) {
|
|
582
582
|
this._emittingIndex = n
|
|
583
583
|
// TODO (fix): What if this throws?
|
|
584
|
-
arr[n].onUpdate(this)
|
|
584
|
+
arr[n].onUpdate(this, arr[n])
|
|
585
585
|
}
|
|
586
586
|
} finally {
|
|
587
587
|
this._emittingArr = null
|