@strapi/plugin-graphql 4.21.0 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
10
10
  });
11
11
  };
12
12
  const name$1 = "@strapi/plugin-graphql";
13
- const version = "4.20.5";
13
+ const version = "4.21.1";
14
14
  const description = "Adds GraphQL endpoint with default API methods.";
15
15
  const repository = {
16
16
  type: "git",
@@ -61,9 +61,9 @@ const dependencies = {
61
61
  "@graphql-tools/schema": "8.5.1",
62
62
  "@graphql-tools/utils": "^8.13.1",
63
63
  "@strapi/design-system": "1.16.0",
64
- "@strapi/helper-plugin": "4.20.5",
64
+ "@strapi/helper-plugin": "4.21.1",
65
65
  "@strapi/icons": "1.16.0",
66
- "@strapi/utils": "4.20.5",
66
+ "@strapi/utils": "4.21.1",
67
67
  "apollo-server-core": "3.12.1",
68
68
  "apollo-server-koa": "3.10.0",
69
69
  graphql: "^15.5.1",
@@ -77,18 +77,18 @@ const dependencies = {
77
77
  pluralize: "8.0.0"
78
78
  };
79
79
  const devDependencies = {
80
- "@strapi/strapi": "4.20.5",
81
- "@strapi/types": "4.20.5",
80
+ "@strapi/strapi": "4.21.1",
81
+ "@strapi/types": "4.21.1",
82
82
  "@types/graphql-depth-limit": "1.1.5",
83
83
  "@types/graphql-upload": "8.0.12",
84
84
  "cross-env": "^7.0.3",
85
- "eslint-config-custom": "4.20.5",
85
+ "eslint-config-custom": "4.21.1",
86
86
  koa: "2.13.4",
87
87
  react: "^18.2.0",
88
88
  "react-dom": "^18.2.0",
89
89
  "react-router-dom": "5.3.4",
90
90
  "styled-components": "5.3.3",
91
- tsconfig: "4.20.5",
91
+ tsconfig: "4.21.1",
92
92
  typescript: "5.2.2"
93
93
  };
94
94
  const peerDependencies = {
@@ -9,7 +9,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
9
9
  });
10
10
  };
11
11
  const name$1 = "@strapi/plugin-graphql";
12
- const version = "4.20.5";
12
+ const version = "4.21.1";
13
13
  const description = "Adds GraphQL endpoint with default API methods.";
14
14
  const repository = {
15
15
  type: "git",
@@ -60,9 +60,9 @@ const dependencies = {
60
60
  "@graphql-tools/schema": "8.5.1",
61
61
  "@graphql-tools/utils": "^8.13.1",
62
62
  "@strapi/design-system": "1.16.0",
63
- "@strapi/helper-plugin": "4.20.5",
63
+ "@strapi/helper-plugin": "4.21.1",
64
64
  "@strapi/icons": "1.16.0",
65
- "@strapi/utils": "4.20.5",
65
+ "@strapi/utils": "4.21.1",
66
66
  "apollo-server-core": "3.12.1",
67
67
  "apollo-server-koa": "3.10.0",
68
68
  graphql: "^15.5.1",
@@ -76,18 +76,18 @@ const dependencies = {
76
76
  pluralize: "8.0.0"
77
77
  };
78
78
  const devDependencies = {
79
- "@strapi/strapi": "4.20.5",
80
- "@strapi/types": "4.20.5",
79
+ "@strapi/strapi": "4.21.1",
80
+ "@strapi/types": "4.21.1",
81
81
  "@types/graphql-depth-limit": "1.1.5",
82
82
  "@types/graphql-upload": "8.0.12",
83
83
  "cross-env": "^7.0.3",
84
- "eslint-config-custom": "4.20.5",
84
+ "eslint-config-custom": "4.21.1",
85
85
  koa: "2.13.4",
86
86
  react: "^18.2.0",
87
87
  "react-dom": "^18.2.0",
88
88
  "react-router-dom": "5.3.4",
89
89
  "styled-components": "5.3.3",
90
- tsconfig: "4.20.5",
90
+ tsconfig: "4.21.1",
91
91
  typescript: "5.2.2"
92
92
  };
93
93
  const peerDependencies = {
@@ -133,8 +133,6 @@ async function bootstrap({ strapi: strapi2 }) {
133
133
  type: "content-api"
134
134
  }
135
135
  };
136
- if (ctx.request.method === "GET")
137
- return next();
138
136
  return strapi2.auth.authenticate(ctx, next);
139
137
  },
140
138
  // Apollo Server