studio-engine 0.116.0 → 0.116.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/studio/node_tooling/node_test/importmap_hooks.mjs +1 -1
- data/lib/studio/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a2c1402ba7875aa502acdcdf8a273f216495fa2c3a37e00c9000622de11f52a
|
|
4
|
+
data.tar.gz: 49ff67175f004ed66f671245e673a5b50090585a41448b28ce369c0ee148f1da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb499cd28e29a024ac4d7c31eeaee28043a4e1d1ea841e801d11070b81bb518a861f06d7b52fb0f4ecc94c18c46de1529701a711b4d2cdc69e5f79ac06197c8c
|
|
7
|
+
data.tar.gz: 93b0522427c0481f8777dc1612dc4da0ece932d2a51c0dc635c7fadff5c5d92abba37a9b8d2b285fdb2153fae047a81b52d94299df88261d8efe3d7c31d190cd
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ The format is [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). This pro
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.116.1 — 2026-10-28
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **`node --test` importmap hooks map a top-level name with digits.** A bare pin
|
|
12
|
+
such as `base58` with its own file in `topLevelDir` now resolves to that file,
|
|
13
|
+
as prefixed names already did; the name gate admits digits. Paths, scoped names
|
|
14
|
+
and URLs still fall through to Node's resolver. Guarded by
|
|
15
|
+
`test/javascript/node_tooling.test.mjs`.
|
|
16
|
+
|
|
7
17
|
## 0.116.0 — 2026-10-28
|
|
8
18
|
|
|
9
19
|
### Added
|
|
@@ -31,7 +31,7 @@ function mapped(specifier) {
|
|
|
31
31
|
const match = specifier.startsWith(`${prefix}/`) && /^[\w/-]+$/.test(specifier.slice(prefix.length + 1));
|
|
32
32
|
if (match) return new URL(`${specifier.slice(prefix.length + 1)}.js`, dir).href;
|
|
33
33
|
}
|
|
34
|
-
if (topLevel && /^[a-
|
|
34
|
+
if (topLevel && /^[a-z0-9_]+$/.test(specifier)) {
|
|
35
35
|
const file = new URL(`${specifier}.js`, topLevel);
|
|
36
36
|
if (existsSync(file)) return file.href;
|
|
37
37
|
}
|
data/lib/studio/version.rb
CHANGED