Skip to content

Commit 278c6ed

Browse files
committed
Merge branch 'main' of github.com:graphql/graphiql into recent-missing-coverage
2 parents 25bd204 + 29e99a8 commit 278c6ed

File tree

19 files changed

+592
-255
lines changed

19 files changed

+592
-255
lines changed

examples/graphiql-webpack/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"start": "NODE_ENV=development webpack-cli serve"
1010
},
1111
"dependencies": {
12-
"@graphiql/plugin-code-exporter": "^1.0.4",
13-
"@graphiql/plugin-explorer": "^1.0.3",
12+
"@graphiql/plugin-code-exporter": "^2.0.0",
13+
"@graphiql/plugin-explorer": "^2.0.0",
1414
"@graphiql/toolkit": "^0.9.1",
15-
"@graphiql/react": "^0.20.3",
16-
"graphiql": "^3.1.1",
15+
"@graphiql/react": "^0.21.0",
16+
"graphiql": "^3.2.0",
1717
"graphql": "^16.8.1",
1818
"graphql-ws": "^5.5.5",
1919
"react": "^18.2.0",

packages/codemirror-graphql/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 2.0.11
4+
5+
### Patch Changes
6+
7+
- [#3567](https://github.com/graphql/graphiql/pull/3567) [`fc7de5a7`](https://github.com/graphql/graphiql/commit/fc7de5a75f4b23dd62dd630b705895b5fa5d0a03) Thanks [@retrodaredevil](https://github.com/retrodaredevil)! - tooltip a tag's click listener calls event.preventDefault() to stop navigating away from page
8+
39
## 2.0.10
410

511
### Patch Changes

packages/codemirror-graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codemirror-graphql",
3-
"version": "2.0.10",
3+
"version": "2.0.11",
44
"description": "GraphQL mode and helpers for CodeMirror.",
55
"contributors": [
66
"Hyohyeon Jeong <[email protected]>",

packages/codemirror-graphql/src/info.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ function text(
299299
// want clicking the node to navigate anywhere.
300300
node.href = 'javascript:void 0'; // eslint-disable-line no-script-url
301301
node.addEventListener('click', (e: MouseEvent) => {
302+
// Although an href of 'javascript:void 0' should never navigate away from the page,
303+
// that is not always the case: https://github.com/graphql/graphiql/issues/3565
304+
e.preventDefault();
302305
onClick(ref, e);
303306
});
304307
} else {

packages/graphiql-plugin-code-exporter/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @graphiql/plugin-code-exporter
22

3+
## 2.0.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`5d051054`](https://github.com/graphql/graphiql/commit/5d05105469c3f0cbeb5e294da1cf6ff2355e4eb5)]:
8+
- @graphiql/react@0.21.0
9+
10+
## 1.0.5
11+
12+
### Patch Changes
13+
14+
- Updated dependencies []:
15+
- @graphiql/react@0.20.4
16+
317
## 1.0.4
418

519
### Patch Changes

packages/graphiql-plugin-code-exporter/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/plugin-code-exporter",
3-
"version": "1.0.4",
3+
"version": "2.0.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/graphql/graphiql",
@@ -33,13 +33,13 @@
3333
"graphiql-code-exporter": "^3.0.3"
3434
},
3535
"peerDependencies": {
36-
"@graphiql/react": "^0.20.3",
36+
"@graphiql/react": "^0.21.0",
3737
"graphql": "^15.5.0 || ^16.0.0",
3838
"react": "^16.8.0 || ^17 || ^18",
3939
"react-dom": "^16.8.0 || ^17 || ^18"
4040
},
4141
"devDependencies": {
42-
"@graphiql/react": "^0.20.3",
42+
"@graphiql/react": "^0.21.0",
4343
"@vitejs/plugin-react": "^4.0.1",
4444
"graphql": "^16.8.1",
4545
"postcss-nesting": "^10.1.7",

packages/graphiql-plugin-explorer/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @graphiql/plugin-explorer
22

3+
## 2.0.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`5d051054`](https://github.com/graphql/graphiql/commit/5d05105469c3f0cbeb5e294da1cf6ff2355e4eb5)]:
8+
- @graphiql/react@0.21.0
9+
10+
## 1.0.4
11+
12+
### Patch Changes
13+
14+
- Updated dependencies []:
15+
- @graphiql/react@0.20.4
16+
317
## 1.0.3
418

519
### Patch Changes

packages/graphiql-plugin-explorer/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/plugin-explorer",
3-
"version": "1.0.3",
3+
"version": "2.0.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/graphql/graphiql",
@@ -32,13 +32,13 @@
3232
"graphiql-explorer": "^0.9.0"
3333
},
3434
"peerDependencies": {
35-
"@graphiql/react": "^0.20.3",
35+
"@graphiql/react": "^0.21.0",
3636
"graphql": "^15.5.0 || ^16.0.0",
3737
"react": "^16.8.0 || ^17 || ^18",
3838
"react-dom": "^16.8.0 || ^17 || ^18"
3939
},
4040
"devDependencies": {
41-
"@graphiql/react": "^0.20.3",
41+
"@graphiql/react": "^0.21.0",
4242
"@vitejs/plugin-react": "^4.0.1",
4343
"graphql": "^16.8.1",
4444
"react": "^18.2.0",

packages/graphiql-react/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @graphiql/react
22

3+
## 0.21.0
4+
5+
### Minor Changes
6+
7+
- [#3569](https://github.com/graphql/graphiql/pull/3569) [`5d051054`](https://github.com/graphql/graphiql/commit/5d05105469c3f0cbeb5e294da1cf6ff2355e4eb5) Thanks [@AaronMoat](https://github.com/AaronMoat)! - Update to markdown-it 14.x
8+
9+
## 0.20.4
10+
11+
### Patch Changes
12+
13+
- Updated dependencies [[`fc7de5a7`](https://github.com/graphql/graphiql/commit/fc7de5a75f4b23dd62dd630b705895b5fa5d0a03)]:
14+
15+
316
## 0.20.3
417

518
### Patch Changes

packages/graphiql-react/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/react",
3-
"version": "0.20.3",
3+
"version": "0.21.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/graphql/graphiql",
@@ -57,11 +57,11 @@
5757
"@types/codemirror": "^5.60.8",
5858
"clsx": "^1.2.1",
5959
"codemirror": "^5.65.3",
60-
"codemirror-graphql": "^2.0.10",
60+
"codemirror-graphql": "^2.0.11",
6161
"copy-to-clipboard": "^3.2.0",
6262
"framer-motion": "^6.5.1",
6363
"graphql-language-service": "^5.2.0",
64-
"markdown-it": "^12.2.0",
64+
"markdown-it": "^14.1.0",
6565
"set-value": "^4.1.0"
6666
},
6767
"devDependencies": {

0 commit comments

Comments
 (0)