Skip to content

Commit 038bb68

Browse files
committed
Refactor some version numbers in docs
1 parent 680445d commit 038bb68

File tree

8 files changed

+15
-16
lines changed

8 files changed

+15
-16
lines changed

packages/mdx/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"exports": {
3535
".": "./index.js",
3636
"./internal-create-format-aware-processors": "./lib/util/create-format-aware-processors.js",
37-
"./internal-extnames-to-regex": "./lib/util/extnames-to-regex.js",
38-
"./internal-resolve-evaluate-options": "./lib/util/resolve-evaluate-options.js"
37+
"./internal-extnames-to-regex": "./lib/util/extnames-to-regex.js"
3938
},
4039
"files": [
4140
"lib/",

packages/mdx/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ npm install @mdx-js/mdx
6767
In Deno with [`esm.sh`][esmsh]:
6868

6969
```tsx
70-
import {compile} from 'https://esm.sh/@mdx-js/mdx@2'
70+
import {compile} from 'https://esm.sh/@mdx-js/mdx@3'
7171
```
7272

7373
In browsers with [`esm.sh`][esmsh]:
7474

7575
```html
7676
<script type="module">
77-
import {compile} from 'https://esm.sh/@mdx-js/mdx@2?bundle'
77+
import {compile} from 'https://esm.sh/@mdx-js/mdx@3?bundle'
7878
</script>
7979
```
8080

packages/mdx/test/evaluate.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* @typedef {import('../lib/util/resolve-evaluate-options.js').Fragment} Fragment
3-
* @typedef {import('../lib/util/resolve-evaluate-options.js').Jsx} Jsx
4-
* @typedef {import('../lib/util/resolve-evaluate-options.js').JsxDev} JsxDev
2+
* @typedef {import('@mdx-js/mdx').Fragment} Fragment
3+
* @typedef {import('@mdx-js/mdx').Jsx} Jsx
4+
* @typedef {import('@mdx-js/mdx').JsxDev} JsxDev
55
*/
66

77
import assert from 'node:assert/strict'

packages/preact/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ npm install @mdx-js/preact
5252
In Deno with [`esm.sh`][esmsh]:
5353

5454
```tsx
55-
import {MDXProvider} from 'https://esm.sh/@mdx-js/preact@2'
55+
import {MDXProvider} from 'https://esm.sh/@mdx-js/preact@3'
5656
```
5757

5858
In browsers with [`esm.sh`][esmsh]:
5959

6060
```html
6161
<script type="module">
62-
import {MDXProvider} from 'https://esm.sh/@mdx-js/preact@2?bundle'
62+
import {MDXProvider} from 'https://esm.sh/@mdx-js/preact@3?bundle'
6363
</script>
6464
```
6565

packages/react/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ npm install @mdx-js/react
5656
In Deno with [`esm.sh`][esmsh]:
5757

5858
```tsx
59-
import {MDXProvider} from 'https://esm.sh/@mdx-js/react@2'
59+
import {MDXProvider} from 'https://esm.sh/@mdx-js/react@3'
6060
```
6161

6262
In browsers with [`esm.sh`][esmsh]:
6363

6464
```html
6565
<script type="module">
66-
import {MDXProvider} from 'https://esm.sh/@mdx-js/react@2?bundle'
66+
import {MDXProvider} from 'https://esm.sh/@mdx-js/react@3?bundle'
6767
</script>
6868
```
6969

packages/remark-mdx/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ npm install remark-mdx
7373
In Deno with [`esm.sh`][esmsh]:
7474

7575
```tsx
76-
import remarkMdx from 'https://esm.sh/remark-mdx@2'
76+
import remarkMdx from 'https://esm.sh/remark-mdx@3'
7777
```
7878

7979
In browsers with [`esm.sh`][esmsh]:
8080

8181
```html
8282
<script type="module">
83-
import remarkMdx from 'https://esm.sh/remark-mdx@2?bundle'
83+
import remarkMdx from 'https://esm.sh/remark-mdx@3?bundle'
8484
</script>
8585
```
8686

packages/rollup/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* @typedef {import('@mdx-js/mdx').CompileOptions} CompileOptions
32
* @typedef {import('@mdx-js/mdx/internal-create-format-aware-processors').FormatAwareProcessors} FormatAwareProcessors
3+
* @typedef {import('@mdx-js/mdx').CompileOptions} CompileOptions
44
* @typedef {import('@rollup/pluginutils').FilterPattern} FilterPattern
55
* @typedef {import('rollup').SourceDescription} SourceDescription
66
*/

packages/vue/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ npm install @mdx-js/vue
5151
In Deno with [`esm.sh`][esmsh]:
5252

5353
```tsx
54-
import {MDXProvider} from 'https://esm.sh/@mdx-js/vue@2'
54+
import {MDXProvider} from 'https://esm.sh/@mdx-js/vue@3'
5555
```
5656

5757
In browsers with [`esm.sh`][esmsh]:
5858

5959
```html
6060
<script type="module">
61-
import {MDXProvider} from 'https://esm.sh/@mdx-js/vue@2?bundle'
61+
import {MDXProvider} from 'https://esm.sh/@mdx-js/vue@3?bundle'
6262
</script>
6363
```
6464

0 commit comments

Comments
 (0)