@nxtedition/deepstream.io-client-js 25.0.2 → 25.0.4

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/.husky/pre-commit CHANGED
@@ -1,3 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
- yarn lint-staged
1
+ npx lint-staged
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/deepstream.io-client-js",
3
- "version": "25.0.2",
3
+ "version": "25.0.4",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "type": "module",
@@ -18,9 +18,9 @@
18
18
  "ws": false
19
19
  },
20
20
  "scripts": {
21
- "_postinstall": "husky install",
22
21
  "prepublishOnly": "pinst --disable",
23
- "postpublish": "pinst --enable"
22
+ "postpublish": "pinst --enable",
23
+ "prepare": "husky"
24
24
  },
25
25
  "lint-staged": {
26
26
  "*.{js,jsx,md,ts}": [
@@ -59,30 +59,30 @@
59
59
  "/__tests__"
60
60
  ],
61
61
  "dependencies": {
62
- "@nxtedition/json-path": "^1.0.3",
63
- "bufferutil": "^4.0.7",
62
+ "@nxtedition/json-path": "^1.0.8",
63
+ "bufferutil": "^4.0.8",
64
64
  "component-emitter2": "^1.3.5",
65
65
  "invariant": "^2.2.4",
66
66
  "lodash.clonedeep": "^4.5.0",
67
- "utf-8-validate": "^6.0.3",
67
+ "utf-8-validate": "^6.0.4",
68
68
  "varint": "^6.0.0",
69
- "ws": "^8.13.0",
70
- "xuid": "^4.1.2",
69
+ "ws": "^8.18.0",
70
+ "xuid": "^4.1.3",
71
71
  "xxhash-wasm": "^1.0.2"
72
72
  },
73
73
  "devDependencies": {
74
- "eslint": "^8.42.0",
75
- "eslint-config-prettier": "^8.8.0",
74
+ "eslint": "^9.7.0",
75
+ "eslint-config-prettier": "^9.1.0",
76
76
  "eslint-config-standard": "^17.1.0",
77
- "eslint-plugin-import": "^2.27.5",
78
- "eslint-plugin-n": "^16.0.0",
77
+ "eslint-plugin-import": "^2.29.1",
78
+ "eslint-plugin-n": "^17.9.0",
79
79
  "eslint-plugin-node": "^11.1.0",
80
- "eslint-plugin-promise": "^6.1.1",
81
- "husky": "^8.0.3",
82
- "lint-staged": "^13.2.2",
80
+ "eslint-plugin-promise": "^7.0.0",
81
+ "husky": "^9.1.1",
82
+ "lint-staged": "^15.2.7",
83
83
  "mitata": "^0.1.11",
84
84
  "pinst": "^3.0.0",
85
- "prettier": "^2.8.8"
85
+ "prettier": "^3.3.3"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "rxjs": ">=6.x"
@@ -28,9 +28,9 @@ function alignPool() {
28
28
 
29
29
  function writeString(dst, str, offset) {
30
30
  if (utils.isNode) {
31
- return poolBuffer.write(str, poolOffset)
31
+ return dst.write(str, offset)
32
32
  } else {
33
- const res = poolEncoder.encodeInto(str, new Uint8Array(poolBuffer.buffer, poolOffset))
33
+ const res = poolEncoder.encodeInto(str, new Uint8Array(dst.buffer, offset))
34
34
  return res.written
35
35
  }
36
36
  }