Skip to content

Commit 45cac21

Browse files
committed
Merge branch 'main' into reconfigure-typescript
2 parents d7c6923 + 9eb589e commit 45cac21

File tree

8 files changed

+22
-23
lines changed

8 files changed

+22
-23
lines changed

.editorconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
root = true
22

33
[*]
4-
indent_style = space
5-
indent_size = 2
6-
end_of_line = lf
74
charset = utf-8
8-
trim_trailing_whitespace = true
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
98
insert_final_newline = true
9+
trim_trailing_whitespace = true

.github/workflows/bb.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: bb
2-
on:
3-
issues:
4-
types: [opened, reopened, edited, closed, labeled, unlabeled]
5-
pull_request_target:
6-
types: [opened, reopened, edited, closed, labeled, unlabeled]
71
jobs:
82
main:
93
runs-on: ubuntu-latest
104
steps:
115
- uses: unifiedjs/beep-boop-beta@main
126
with:
137
repo-token: ${{secrets.GITHUB_TOKEN}}
8+
name: bb
9+
on:
10+
issues:
11+
types: [closed, edited, labeled, opened, reopened, unlabeled]
12+
pull_request_target:
13+
types: [closed, edited, labeled, opened, reopened, unlabeled]

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ jobs:
33
name: ${{matrix.node}}
44
runs-on: ubuntu-latest
55
steps:
6-
- uses: actions/checkout@v3
7-
- uses: actions/setup-node@v3
6+
- uses: actions/checkout@v4
7+
- uses: actions/setup-node@v4
88
with:
99
node-version: ${{matrix.node}}
1010
- run: npm install
1111
- run: npm test
12-
- uses: codecov/codecov-action@v3
12+
- uses: codecov/codecov-action@v4
1313
strategy:
1414
matrix:
1515
node:
16-
- lts/gallium
16+
- lts/hydrogen
1717
- node
1818
name: main
1919
on:

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ slightly differently.
704704

705705
### Fixes
706706

707-
* (Typings) Add `parserOptions` to type defintions (Ted Piotrowski)
707+
* (Typings) Add `parserOptions` to type definitions (Ted Piotrowski)
708708
* Allow renderer to be any React element type (Nathan Bierema)
709709

710710
## 4.1.0 - 2019-06-24

lib/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,7 @@ export default function Markdown(options) {
219219
Fragment,
220220
components,
221221
ignoreInvalidStyle: true,
222-
// @ts-expect-error: to do: types.
223222
jsx,
224-
// @ts-expect-error: to do: types.
225223
jsxs,
226224
passKeys: true,
227225
passNode: true

license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Espen Hovlandsdal
3+
Copyright (c) Espen Hovlandsdal
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,23 @@
9494
"react": ">=18"
9595
},
9696
"devDependencies": {
97-
"@types/node": "^20.0.0",
97+
"@types/node": "^22.0.0",
9898
"@types/react": "^18.0.0",
9999
"@types/react-dom": "^18.0.0",
100100
"c8": "^10.0.0",
101-
"esbuild": "^0.21.0",
101+
"esbuild": "^0.24.0",
102102
"eslint-plugin-react": "^7.0.0",
103103
"prettier": "^3.0.0",
104104
"react": "^18.0.0",
105105
"react-dom": "^18.0.0",
106106
"rehype-raw": "^7.0.0",
107107
"remark-cli": "^12.0.0",
108+
"remark-gfm": "^4.0.0",
108109
"remark-preset-wooorm": "^10.0.0",
109110
"remark-toc": "^9.0.0",
110111
"type-coverage": "^2.0.0",
111-
"typescript": "^5.5.1-rc",
112-
"xo": "^0.58.0"
112+
"typescript": "^5.0.0",
113+
"xo": "^0.59.0"
113114
},
114115
"scripts": {
115116
"build": "tsc --build --clean && tsc --build && type-coverage",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ const markdown = `
678678
# This is perfect!
679679
`
680680
681-
// Pass the value as an expresion as an only child:
681+
// Pass the value as an expression as an only child:
682682
const result = <Markdown>{markdown}</Markdown>
683683
```
684684

0 commit comments

Comments
 (0)