@@ -273,8 +273,8 @@ package version.
273
273
``` json
274
274
{
275
275
"imports" : {
276
- "react-dom" : " https://esm.sh/react-dom@18.2.0?pin=v132 &dev" ,
277
- "react-dom/" : " https://esm.sh/react-dom@18.2.0&pin=v132 &dev/"
276
+ "react-dom" : " https://esm.sh/react-dom@18.2.0?pin=v133 &dev" ,
277
+ "react-dom/" : " https://esm.sh/react-dom@18.2.0&pin=v133 &dev/"
278
278
}
279
279
}
280
280
```
@@ -289,15 +289,15 @@ without transformation into ES modules. To do so, you need to add a `?raw`
289
289
query to the request URL.
290
290
291
291
For example, you might need to register a package's source script as a service worker
292
- in a browser that [ does not yet support] ( https://caniuse.com/mdn-api_serviceworker_ecmascript_modules )
292
+ in a browser that [ does not yet support] ( https://caniuse.com/mdn-api_serviceworker_ecmascript_modules )
293
293
the ` type: "module" ` option:
294
294
295
295
``` js
296
296
await navigator .serviceWorker .register (
297
297
new URL (
298
- " https://esm.sh/playground-elements@0.18.1/playground-service-worker.js?raw" ,
298
+ " https://esm.sh/playground-elements@0.18.1/playground-service-worker.js?raw" ,
299
299
import .meta.url.href
300
- ),
300
+ ),
301
301
{ scope: ' /' }
302
302
);
303
303
```
@@ -468,9 +468,9 @@ The `?pin` query allows you to specify a specific build version of a module,
468
468
which is an ** immutable** cached version stored on the esm.sh CDN.
469
469
470
470
``` js
471
- import React from " https://esm.sh/react-dom?pin=v132 " ;
471
+ import React from " https://esm.sh/react-dom?pin=v133 " ;
472
472
// or use version prefix
473
- import React from " https://esm.sh/v132 /react-dom" ;
473
+ import React from " https://esm.sh/v133 /react-dom" ;
474
474
```
475
475
476
476
By using the ` ?pin ` query in the import statement, you can rest assured that the
0 commit comments