Skip to content

Commit f715110

Browse files
authored
Merge branch 'master' into fix-pr-builder
2 parents 272a1d5 + 67b3f7a commit f715110

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.husky/pre-commit

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run compile
5-
npm run lint
6-
npm run validate-user-code
4+
# See https://github.com/typicode/husky/issues/1072#issuecomment-1784006332
5+
npm_exec=$([[ $OS == "Windows_NT" ]] && echo "npm.cmd" || echo "npm")
6+
7+
"${npm_exec}" run compile
8+
"${npm_exec}" run lint
9+
"${npm_exec}" run validate-user-code

DOCUMENTATION.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -699,19 +699,19 @@ When Hazelcast Node.js client serializes an object:
699699

700700
4. If the above check fails, then it checks if it is an instance of one of the default types (see above default types).
701701

702-
5. If the above check fails, then it looks for a user-specified [Custom Serialization](#43-custom-serialization).
702+
5. If the above check fails, then it looks for a user-specified [Custom Serialization](#44-custom-serialization).
703703

704-
6. If the above check fails, it will use the registered [Global Serialization](#44-global-serialization) if one exists.
704+
6. If the above check fails, it will use the registered [Global Serialization](#45-global-serialization) if one exists.
705705

706706
7. If the above check fails, then the Node.js client uses `JSON Serialization` by default.
707707

708708
However, `JSON Serialization` may not be the best way of serialization in terms of performance and interoperability between
709709
the clients in different languages. If you want the serialization to work faster or you use the clients in different languages,
710710
Hazelcast offers its own native serialization methods, such as
711-
[`IdentifiedDataSerializable` Serialization](#41-identifieddataserializable-serialization) and
712-
[`Portable` Serialization](#42-portable-serialization).
711+
[`IdentifiedDataSerializable` Serialization](#42-identifieddataserializable-serialization) and
712+
[`Portable` Serialization](#43-portable-serialization).
713713

714-
Or, if you want to use your own serialization method, you can use [Custom Serialization](#43-custom-serialization).
714+
Or, if you want to use your own serialization method, you can use [Custom Serialization](#44-custom-serialization).
715715

716716
> **NOTE: Hazelcast Node.js client is a TypeScript-based project but JavaScript does not have interfaces. Therefore, some
717717
> interfaces are given to the user by using the TypeScript files that have `.ts` extension. In this guide, implementing an
@@ -3567,7 +3567,7 @@ results of your query are ready, they are parsed from JSON strings and returned
35673567

35683568
For the purposes of your application, you may want to get rid of the parsing and just work with the raw JSON strings using
35693569
`HazelcastJsonValue` objects. Then, you can configure your client to do so as described in the
3570-
[JSON Serialization](#45-json-serialization) section.
3570+
[JSON Serialization](#46-json-serialization) section.
35713571

35723572
```javascript
35733573
const client = await Client.newHazelcastClient({

0 commit comments

Comments
 (0)