-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
30 additions
and
22 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 |
---|---|---|
|
@@ -258,8 +258,8 @@ package version. | |
```json | ||
{ | ||
"imports": { | ||
"react-dom": "https://esm.sh/[email protected]?pin=v131&dev", | ||
"react-dom/": "https://esm.sh/[email protected]&pin=v131&dev/" | ||
"react-dom": "https://esm.sh/[email protected]?pin=v132&dev", | ||
"react-dom/": "https://esm.sh/[email protected]&pin=v132&dev/" | ||
} | ||
} | ||
``` | ||
|
@@ -424,9 +424,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. | ||
|
||
```js | ||
import React from "https://esm.sh/react-dom?pin=v131"; | ||
import React from "https://esm.sh/react-dom?pin=v132"; | ||
// or use version prefix | ||
import React from "https://esm.sh/v131/react-dom"; | ||
import React from "https://esm.sh/v132/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 = 131; | ||
export const VERSION = 132; | ||
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.64","@types/react@18":"18.2.20","isomorphic-ws@4":"5.0.0","[email protected]":"1.22.2"}; | ||
export const fixedPkgVersions = {"@types/react@17":"17.0.65","@types/react@18":"18.2.21","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,7 +2,7 @@ package server | |
|
||
const ( | ||
// esm.sh build version | ||
VERSION = 131 | ||
VERSION = 132 | ||
// esm.sh stable build version, used for UI libraries like react, to make sure the runtime is single copy | ||
// change this carefully! | ||
STABLE_VERSION = 128 | ||
|
@@ -17,8 +17,8 @@ const ( | |
|
||
// fix some npm package versions | ||
var fixedPkgVersions = map[string]string{ | ||
"@types/react@17": "17.0.64", | ||
"@types/react@18": "18.2.20", | ||
"@types/react@17": "17.0.65", | ||
"@types/react@18": "18.2.21", | ||
"isomorphic-ws@4": "5.0.0", | ||
"[email protected]": "1.22.2", // 1.22.3+ will read package.json from disk | ||
} | ||
|