browser-runtime-solid 0.0.3 → 0.0.5
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/README.md +1 -1
- package/package.json +2 -2
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ One standalone HTML page can import just the generic engine and aggregator using
|
|
|
29
29
|
data-map="browser-module-runtime@0.0.3; browser-module-frameworks@0.0.2"></script>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
The rest is controlled per runtime by `solid({version,...})`. See `examples/
|
|
32
|
+
The rest is controlled per runtime by `solid({version,...})`. See `examples/02-solid.html` in the workspace; before npm publication of this release candidate open `/examples/06-solid-versioning.html?local=1` through `bun run dev`.
|
|
33
33
|
|
|
34
34
|
## Host-managed imports (backward-compatible)
|
|
35
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browser-runtime-solid",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"browser-module-runtime": "0.0.
|
|
28
|
+
"browser-module-runtime": "0.0.5",
|
|
29
29
|
"solid-tag": "0.0.3",
|
|
30
30
|
"@solidjs/web": "*"
|
|
31
31
|
},
|
package/src/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export function solid({compiler,render,web,modules={},version,source='auto',prov
|
|
|
17
17
|
let webNamespace=web;
|
|
18
18
|
let ownerRuntime;
|
|
19
19
|
return {
|
|
20
|
-
name:'solid',version:'0.0.
|
|
20
|
+
name:'solid',version:'0.0.5',frameworkVersion:selection.version,source:selection.mode,
|
|
21
21
|
cacheKey:JSON.stringify({solidMode:selection.mode,solidVersion:selection.version??null,tagVersion:selection.tagVersion??null,transformOptions}),
|
|
22
22
|
...(selection.mode==='pinned'?{
|
|
23
23
|
packageFamilyRules:createSolidFamilyRules(selection.version),
|