From 73739d7e6680f716d39e36534913062db946dfde Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Sat, 24 Oct 2026 00:18:34 -0400 Subject: [PATCH] Pin data-explorer-core at 70bf55d, which shows MAT-file and dictionary objects alike Core's main between releases, pinned by commit (the user tags the release that carries it). What it brings over 6e9745c (mathworks/data-explorer-core#179): - An object's property rows spell Inf, -Inf and NaN as MATLAB does, in MAT-files and dictionaries alike. - A string typed into a Parameter's Value stays a string in MAT-files and in binary dictionary streams. - A NumericType's Signedness, FractionLength and Slope, and CoderInfo's Identifier, are derived the same way for a MAT-file's rows and a dictionary's; in a dictionary they are display-only, with the reason an edit of them is refused. - A CoderInfo written before R2025a is copied whole. No test of this extension changed outcome against it: the unit suite and the integration suite pass as they are. Installed by commit, so the lockfile resolves it to that commit as well as moving the root spec; only the core entries change, and every resolution still points at the public registry. --- package-lock.json | 6 +++--- package.json | 2 +- test/corePin.test.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 163004e..edd7db5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "BSD-3-Clause", "dependencies": { "@lit/context": "^1.1.6", - "data-explorer-core": "github:mathworks/data-explorer-core#6e9745cd962af4b411bb90a1797f25da666fd9a3", + "data-explorer-core": "github:mathworks/data-explorer-core#70bf55de095fcca862e66e0dfbc9cc3ae8950c3d", "fast-xml-parser": "^5.8.0", "fflate": "^0.8.3", "highlight.js": "^11.11.1", @@ -2913,8 +2913,8 @@ }, "node_modules/data-explorer-core": { "version": "1.45.4", - "resolved": "git+ssh://git@github.com/mathworks/data-explorer-core.git#6e9745cd962af4b411bb90a1797f25da666fd9a3", - "integrity": "sha512-kfFOr6DM6lrLb90WRveOUUwjGL+22RSX23fPIeK9l4hNHC/eqKjdEqodqWJ3/2wKh111dnuEzpgasoQCAg1qzQ==", + "resolved": "git+ssh://git@github.com/mathworks/data-explorer-core.git#70bf55de095fcca862e66e0dfbc9cc3ae8950c3d", + "integrity": "sha512-rZGmADMM9vLaTTpM7RPwueEt4CEVkxiMtMurefYtj17tGHRUpfsG+PmVb3DeL1K2hEOpm2ZcNt29TKf/tqW/zw==", "license": "BSD-3-Clause", "dependencies": { "fast-xml-parser": "^5.8.0", diff --git a/package.json b/package.json index ce5f970..e4f56fc 100644 --- a/package.json +++ b/package.json @@ -243,7 +243,7 @@ }, "dependencies": { "@lit/context": "^1.1.6", - "data-explorer-core": "github:mathworks/data-explorer-core#6e9745cd962af4b411bb90a1797f25da666fd9a3", + "data-explorer-core": "github:mathworks/data-explorer-core#70bf55de095fcca862e66e0dfbc9cc3ae8950c3d", "fast-xml-parser": "^5.8.0", "fflate": "^0.8.3", "highlight.js": "^11.11.1", diff --git a/test/corePin.test.ts b/test/corePin.test.ts index c941366..f32f7e8 100644 --- a/test/corePin.test.ts +++ b/test/corePin.test.ts @@ -20,8 +20,8 @@ import { readFileSync } from 'node:fs'; import { fileURLToPath } from 'node:url'; // A commit of core's main, between releases: the release that carries it is tagged later. -const REF = '6e9745cd962af4b411bb90a1797f25da666fd9a3'; -const COMMIT = '6e9745cd962af4b411bb90a1797f25da666fd9a3'; +const REF = '70bf55de095fcca862e66e0dfbc9cc3ae8950c3d'; +const COMMIT = '70bf55de095fcca862e66e0dfbc9cc3ae8950c3d'; const VERSION = '1.45.4'; const SPEC = `github:mathworks/data-explorer-core#${REF}`;