-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -260,8 +260,8 @@ package version. | |
```json | ||
{ | ||
"imports": { | ||
"react-dom": "https://esm.sh/[email protected]?pin=v127&dev", | ||
"react-dom/": "https://esm.sh/[email protected]&pin=v127&dev/" | ||
"react-dom": "https://esm.sh/[email protected]?pin=v128&dev", | ||
"react-dom/": "https://esm.sh/[email protected]&pin=v128&dev/" | ||
} | ||
} | ||
``` | ||
|
@@ -409,9 +409,9 @@ The `?pin` query allows you to specify a specific build version of a module, | |
which is an **immutable** cached version stored on the esm.sh CDN. | ||
|
||
```javascript | ||
import React from "https://esm.sh/react-dom?pin=v127"; | ||
import React from "https://esm.sh/react-dom?pin=v128"; | ||
// or use version prefix | ||
import React from "https://esm.sh/v127/react-dom"; | ||
import React from "https://esm.sh/v128/react-dom"; | ||
``` | ||
|
||
By using the `?pin` query in the import statement, you can rest assured that the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// consts defined in `server/consts.go` generated by `build.mjs` | ||
// do not edit manually. | ||
export const VERSION = 127; | ||
export const STABLE_VERSION = 118; | ||
export const stableBuild = new Set(["preact","react","solid-js","svelte","vue"]); | ||
export const VERSION = 128; | ||
export const STABLE_VERSION = 128; | ||
export const stableBuild = new Set(["preact","react","solid-js","svelte","vue","@vue/reactivity","@vue/runtime-core","@vue/runtime-dom","@vue/shared"]); | ||
export const assetsExts = new Set(["wasm","css","less","sass","scss","stylus","styl","json","jsonc","csv","xml","plist","tmLanguage","tmTheme","yml","yaml","pdf","txt","glsl","frag","vert","md","mdx","markdown","html","htm","vue","svelte","svg","png","jpg","jpeg","webp","gif","ico","eot","ttf","otf","woff","woff2","m4a","mp3","m3a","ogg","oga","wav","weba","mp4","m4v","ogv","webm","zip","gz","tar","tgz"]); | ||
export const cssPackages = {"@unocss/reset":"tailwind.css","inter-ui":"inter.css","normalize.css":"normalize.css","modern-normalize":"modern-normalize.css","reset-css":"reset.css"}; | ||
export const fixedPkgVersions = {"@types/react@17":"17.0.59","@types/react@18":"18.2.6","isomorphic-ws@4":"5.0.0","[email protected]":"1.22.2"}; | ||
export const fixedPkgVersions = {"@types/react@17":"17.0.52","@types/react@18":"18.2.14","isomorphic-ws@4":"5.0.0","[email protected]":"1.22.2"}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ package server | |
|
||
const ( | ||
// esm.sh build version | ||
VERSION = 127 | ||
VERSION = 128 | ||
// esm.sh stable build version, used for UI libraries like react, to make sure the runtime is single copy | ||
// change this carefully! | ||
STABLE_VERSION = 118 | ||
STABLE_VERSION = 128 | ||
) | ||
|
||
const ( | ||
|
@@ -17,7 +17,7 @@ const ( | |
|
||
// fix some npm package versions | ||
var fixedPkgVersions = map[string]string{ | ||
"@types/react@17": "17.0.52", | ||
"@types/react@17": "17.0.62", | ||
"@types/react@18": "18.2.14", | ||
"isomorphic-ws@4": "5.0.0", | ||
"[email protected]": "1.22.2", // 1.22.3+ will read package.json from disk | ||
|