Skip to content

Commit 2a9f8ff

Browse files
committed
v133
1 parent 4491dd1 commit 2a9f8ff

File tree

14 files changed

+209
-191
lines changed

14 files changed

+209
-191
lines changed

.github/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#######################################
66
FROM golang:1.20-alpine AS build-stage
77

8-
ENV ESM_SH_VERSION v132
8+
ENV ESM_SH_VERSION v133
99
ENV ESM_SH_GIT_URL https://github.com/esm-dev/esm.sh
1010

1111
RUN apk update && apk add --no-cache git

.github/workflows/docker-push-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
context: ./.github/docker
3838
platforms: linux/amd64,linux/arm64
3939
push: true
40-
tags: ghcr.io/esm-dev/esm.sh:latest,ghcr.io/esm-dev/esm.sh:v132
40+
tags: ghcr.io/esm-dev/esm.sh:latest,ghcr.io/esm-dev/esm.sh:v133

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v133
4+
5+
- Add `?raw` to support requests for raw package source files (#731 by @johnyanarella)
6+
- Add global `setMaxListeners` to `node:events` polyfill (#719)
7+
- cjs-lexer: resolving error now doesn't break build (close #738)
8+
- Fix `cwd` method of `node:process` polyfill (close #718)
9+
- Fix `applyConditions` function use `node` condition for browser (close #732)
10+
- Fix `*.css.js` path (close #728)
11+
- Fix some invalid _require_ imports (close #724)
12+
- Fix relative path resolving of `browser` in package.json
13+
- Upgrade esbuild to **0.19.4**
14+
315
## v132
416

517
- Resolve node internal modules when `?external=*` set (close #714)

HOSTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ esm.sh provides an official docker image for deployment. You can pull the contai
6767

6868
```bash
6969
docker pull ghcr.io/esm-dev/esm.sh # latest version
70-
docker pull ghcr.io/esm-dev/esm.sh:v132 # specific version
70+
docker pull ghcr.io/esm-dev/esm.sh:v133 # specific version
7171
docker pull ghcr.io/esm-dev/esm.sh:dev # latest development version
7272
```
7373

@@ -112,5 +112,5 @@ More details check [esm-worker](./packages/esm-worker/README.md).
112112
We also provide a server for [Deno](https://deno.land) which is powered by the [esm-worker](./packages/esm-worker/README.md).
113113

114114
```bash
115-
deno run -A https://esm.sh/v132/server --port=8080
115+
deno run -A https://esm.sh/v133/server --port=8080
116116
```

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ package version.
273273
```json
274274
{
275275
"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/"
278278
}
279279
}
280280
```
@@ -289,15 +289,15 @@ without transformation into ES modules. To do so, you need to add a `?raw`
289289
query to the request URL.
290290

291291
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)
293293
the `type: "module"` option:
294294

295295
```js
296296
await navigator.serviceWorker.register(
297297
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",
299299
import.meta.url.href
300-
),
300+
),
301301
{ scope: '/' }
302302
);
303303
```
@@ -468,9 +468,9 @@ The `?pin` query allows you to specify a specific build version of a module,
468468
which is an **immutable** cached version stored on the esm.sh CDN.
469469

470470
```js
471-
import React from "https://esm.sh/react-dom?pin=v132";
471+
import React from "https://esm.sh/react-dom?pin=v133";
472472
// or use version prefix
473-
import React from "https://esm.sh/v132/react-dom";
473+
import React from "https://esm.sh/v133/react-dom";
474474
```
475475

476476
By using the `?pin` query in the import statement, you can rest assured that the

packages/esm-worker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ all requests of esm.sh at the edge(earth).
1313
## Installation
1414

1515
```bash
16-
npm install esm-worker@^0.132.0
16+
npm install esm-worker@^0.133.0
1717
```
1818

1919
## Configuration

packages/esm-worker/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "esm-worker",
33
"description": "A Cloudflare worker handles all requests of esm.sh at the edge(earth).",
4-
"version": "0.132.1",
4+
"version": "0.133.0",
55
"type": "module",
66
"module": "dist/index.js",
77
"types": "types/index.d.ts",
@@ -13,11 +13,11 @@
1313
"types/index.d.ts"
1414
],
1515
"devDependencies": {
16-
"@cloudflare/workers-types": "4.20230814.0",
17-
"@types/ua-parser-js": "0.7.36",
16+
"@cloudflare/workers-types": "4.20231002.0",
17+
"@types/ua-parser-js": "0.7.37",
1818
"compare-versions": "6.1.0",
19-
"esbuild": "0.19.2",
20-
"ua-parser-js": "1.0.35"
19+
"esbuild": "0.19.4",
20+
"ua-parser-js": "1.0.36"
2121
},
2222
"repository": "https://github.com/esm-dev/esm.sh",
2323
"license": "MIT"

0 commit comments

Comments
 (0)