@speclynx/apidom-parser-adapter-json 2.10.0 → 2.10.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.10.1](https://github.com/speclynx/apidom/compare/v2.10.0...v2.10.1) (2026-02-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **adapter-json:** supress loading wasm file ([#80](https://github.com/speclynx/apidom/issues/80)) ([2a5aa92](https://github.com/speclynx/apidom/commit/2a5aa927346ea4359fc7f3f395aaf20332c21756))
11
+
6
12
  # [2.10.0](https://github.com/speclynx/apidom/compare/v2.9.0...v2.10.0) (2026-02-08)
7
13
 
8
14
  **Note:** Version bump only for package @speclynx/apidom-parser-adapter-json
@@ -179,7 +179,8 @@ const analyze = async source => {
179
179
  if (parser === null && parserInitLock === null) {
180
180
  // acquire lock
181
181
  parserInitLock = web_tree_sitter__WEBPACK_IMPORTED_MODULE_0__.Parser.init({
182
- wasmBinary: treeSitter
182
+ wasmBinary: treeSitter,
183
+ locateFile: scriptName => scriptName
183
184
  }).then(() => web_tree_sitter__WEBPACK_IMPORTED_MODULE_0__.Language.load(treeSitterJson)).then(jsonLanguage => {
184
185
  const parserInstance = new web_tree_sitter__WEBPACK_IMPORTED_MODULE_0__.Parser();
185
186
  parserInstance.setLanguage(jsonLanguage);