Skip to content

Commit dacff72

Browse files
renovate[bot]renovate-botLekoArts
authored
fix(deps): update minor and patch dependencies for gatsby (#32594)
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Lennart <[email protected]>
1 parent 7102eaa commit dacff72

File tree

5 files changed

+295
-288
lines changed

5 files changed

+295
-288
lines changed

packages/gatsby/package.json

+44-44
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@
2020
"@babel/types": "^7.15.4",
2121
"@gatsbyjs/reach-router": "^1.3.6",
2222
"@gatsbyjs/webpack-hot-middleware": "^2.25.2",
23-
"@nodelib/fs.walk": "^1.2.4",
23+
"@nodelib/fs.walk": "^1.2.8",
2424
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
25-
"@types/http-proxy": "^1.17.4",
25+
"@types/http-proxy": "^1.17.7",
2626
"@typescript-eslint/eslint-plugin": "^4.33.0",
2727
"@typescript-eslint/parser": "^4.33.0",
28-
"@vercel/webpack-asset-relocator-loader": "^1.6.0",
28+
"@vercel/webpack-asset-relocator-loader": "^1.7.0",
2929
"address": "1.1.2",
30-
"anser": "^2.0.1",
31-
"autoprefixer": "^10.2.4",
30+
"anser": "^2.0.2",
31+
"autoprefixer": "^10.3.7",
3232
"axios": "^0.21.1",
3333
"babel-loader": "^8.2.2",
3434
"babel-plugin-add-module-exports": "^1.0.4",
3535
"babel-plugin-dynamic-import-node": "^2.3.3",
3636
"babel-plugin-lodash": "^3.3.4",
3737
"babel-plugin-remove-graphql-queries": "^4.0.0-zz-next.3",
3838
"babel-preset-gatsby": "^2.0.0-zz-next.3",
39-
"better-opn": "^2.0.0",
39+
"better-opn": "^2.1.1",
4040
"bluebird": "^3.7.2",
4141
"body-parser": "^1.19.0",
42-
"browserslist": "^4.12.2",
42+
"browserslist": "^4.17.3",
4343
"cache-manager": "^2.11.1",
4444
"chalk": "^4.1.2",
4545
"chokidar": "^3.5.2",
@@ -48,16 +48,16 @@
4848
"cookie": "^0.4.1",
4949
"core-js": "^3.17.2",
5050
"cors": "^2.8.5",
51-
"css-loader": "^5.0.1",
51+
"css-loader": "^5.2.7",
5252
"css-minimizer-webpack-plugin": "^2.0.0",
5353
"css.escape": "^1.5.1",
54-
"date-fns": "^2.14.0",
54+
"date-fns": "^2.25.0",
5555
"debug": "^3.2.7",
5656
"deepmerge": "^4.2.2",
5757
"del": "^5.1.0",
5858
"detect-port": "^1.3.0",
59-
"devcert": "^1.1.3",
60-
"dotenv": "^8.2.0",
59+
"devcert": "^1.2.0",
60+
"dotenv": "^8.6.0",
6161
"eslint": "^7.32.0",
6262
"eslint-config-react-app": "^6.0.0",
6363
"eslint-plugin-flowtype": "^5.9.2",
@@ -67,14 +67,14 @@
6767
"eslint-plugin-react": "^7.26.1",
6868
"eslint-plugin-react-hooks": "^4.2.0",
6969
"eslint-webpack-plugin": "^2.5.4",
70-
"event-source-polyfill": "^1.0.15",
70+
"event-source-polyfill": "^1.0.25",
7171
"execa": "^5.1.1",
7272
"express": "^4.17.1",
7373
"express-graphql": "^0.12.0",
7474
"fastest-levenshtein": "^1.0.12",
75-
"fastq": "^1.10.0",
75+
"fastq": "^1.13.0",
7676
"file-loader": "^6.2.0",
77-
"find-cache-dir": "^3.3.1",
77+
"find-cache-dir": "^3.3.2",
7878
"fs-exists-cached": "1.0.0",
7979
"fs-extra": "^10.0.0",
8080
"gatsby-cli": "^4.0.0-zz-next.5",
@@ -88,76 +88,76 @@
8888
"gatsby-react-router-scroll": "^5.0.0-zz-next.3",
8989
"gatsby-telemetry": "^3.0.0-zz-next.3",
9090
"gatsby-worker": "^1.0.0-zz-next.3",
91-
"glob": "^7.1.6",
91+
"glob": "^7.2.0",
9292
"got": "^11.8.2",
93-
"graphql": "^15.4.0",
94-
"graphql-compose": "~7.25.0",
95-
"graphql-playground-middleware-express": "^1.7.18",
96-
"hasha": "^5.2.0",
93+
"graphql": "^15.6.1",
94+
"graphql-compose": "~7.25.1",
95+
"graphql-playground-middleware-express": "^1.7.22",
96+
"hasha": "^5.2.2",
9797
"http-proxy": "^1.18.1",
9898
"invariant": "^2.2.4",
9999
"is-relative": "^1.0.0",
100100
"is-relative-url": "^3.0.0",
101-
"joi": "^17.2.1",
101+
"joi": "^17.4.2",
102102
"json-loader": "^0.5.7",
103103
"latest-version": "5.1.0",
104104
"lmdb-store": "^1.6.8",
105105
"lodash": "^4.17.21",
106106
"md5-file": "^5.0.0",
107-
"meant": "^1.0.1",
107+
"meant": "^1.0.3",
108108
"memoizee": "^0.4.15",
109-
"micromatch": "^4.0.2",
110-
"mime": "^2.4.6",
109+
"micromatch": "^4.0.4",
110+
"mime": "^2.5.2",
111111
"mini-css-extract-plugin": "1.6.2",
112112
"mitt": "^1.2.0",
113-
"moment": "^2.27.0",
114-
"multer": "^1.4.2",
115-
"node-fetch": "^2.6.2",
113+
"moment": "^2.29.1",
114+
"multer": "^1.4.3",
115+
"node-fetch": "^2.6.5",
116116
"normalize-path": "^3.0.0",
117117
"null-loader": "^4.0.1",
118-
"opentracing": "^0.14.4",
118+
"opentracing": "^0.14.5",
119119
"p-defer": "^3.0.0",
120120
"parseurl": "^1.3.3",
121121
"physical-cpu-count": "^2.0.0",
122122
"platform": "^1.3.6",
123-
"postcss": "^8.3.5",
123+
"postcss": "^8.3.9",
124124
"postcss-flexbugs-fixes": "^5.0.2",
125-
"postcss-loader": "^5.0.0",
126-
"prompts": "^2.3.2",
125+
"postcss-loader": "^5.3.0",
126+
"prompts": "^2.4.2",
127127
"prop-types": "^15.7.2",
128-
"query-string": "^6.13.1",
128+
"query-string": "^6.14.1",
129129
"raw-loader": "^4.0.2",
130-
"react-dev-utils": "^11.0.3",
130+
"react-dev-utils": "^11.0.4",
131131
"react-refresh": "^0.9.0",
132132
"redux": "4.0.5",
133133
"redux-thunk": "^2.3.0",
134134
"resolve-from": "^5.0.0",
135135
"semver": "^7.3.5",
136136
"shallow-compare": "^1.2.2",
137-
"signal-exit": "^3.0.3",
138-
"slugify": "^1.4.4",
139-
"socket.io": "3.1.1",
140-
"socket.io-client": "3.1.1",
137+
"signal-exit": "^3.0.5",
138+
"slugify": "^1.6.1",
139+
"socket.io": "3.1.2",
140+
"socket.io-client": "3.1.3",
141141
"source-map": "^0.7.3",
142-
"source-map-support": "^0.5.19",
142+
"source-map-support": "^0.5.20",
143143
"st": "^2.0.0",
144144
"stack-trace": "^0.0.10",
145145
"string-similarity": "^1.2.2",
146146
"strip-ansi": "^5.2.0",
147147
"style-loader": "^2.0.0",
148-
"terser-webpack-plugin": "^5.1.1",
148+
"terser-webpack-plugin": "^5.2.4",
149149
"tmp": "^0.2.1",
150150
"true-case-path": "^2.2.1",
151151
"type-of": "^2.0.1",
152152
"url-loader": "^4.1.1",
153153
"uuid": "^8.3.2",
154-
"v8-compile-cache": "^2.2.0",
155-
"webpack": "^5.35.0",
156-
"webpack-dev-middleware": "^4.1.0",
157-
"webpack-merge": "^5.7.3",
154+
"v8-compile-cache": "^2.3.0",
155+
"webpack": "^5.58.1",
156+
"webpack-dev-middleware": "^4.3.0",
157+
"webpack-merge": "^5.8.0",
158158
"webpack-stats-plugin": "^1.0.3",
159159
"webpack-virtual-modules": "^0.3.2",
160-
"xstate": "^4.11.0",
160+
"xstate": "^4.25.0",
161161
"yaml-loader": "^0.6.0"
162162
},
163163
"devDependencies": {
@@ -232,7 +232,7 @@
232232
"url": "git+https://github.com/gatsbyjs/gatsby.git"
233233
},
234234
"resolutions": {
235-
"graphql": "^15.5.1",
235+
"graphql": "^15.6.1",
236236
"@mdx-js/mdx": "^2.0.0-next.3",
237237
"@mdx-js/react": "^2.0.0-next.3",
238238
"@mdx-js/runtime": "^2.0.0-next.3",

packages/gatsby/src/state-machines/develop/actions.ts

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const assignServiceResult = assign<IBuildContext, DoneEventObject>(
114114
* This spawns the service that listens to the `emitter` for various mutation events
115115
*/
116116
export const spawnMutationListener = assign<IBuildContext>({
117+
// @ts-ignore - TODO: Fixing this seems more involved: https://xstate.js.org/docs/guides/typescript.html#troubleshooting & https://github.com/statelyai/xstate/issues/2664
117118
mutationListener: () => spawn(listenForMutations, `listen-for-mutations`),
118119
})
119120

@@ -126,6 +127,7 @@ export const assignServers = assign<IBuildContext, AnyEventObject>(
126127
)
127128

128129
export const spawnWebpackListener = assign<IBuildContext, AnyEventObject>({
130+
// @ts-ignore - TODO: Fixing this seems more involved: https://xstate.js.org/docs/guides/typescript.html#troubleshooting & https://github.com/statelyai/xstate/issues/2664
129131
webpackListener: ({ compiler }) => {
130132
if (!compiler) {
131133
return undefined

packages/gatsby/src/utils/state-machine-logging.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function logTransitions<T = DefaultContext>(
3333
// actor. We don't need to worry about detaching the listener
3434
// because xstate handles that for us when the actor is stopped.
3535

36+
// @ts-ignore - TODO: Fix it
3637
if (isInterpreter(child) && !listeners.has(child)) {
3738
let sublast = child.state
3839
child.onTransition(substate => {

packages/gatsby/src/utils/webpack-utils.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Plugin as PostCSSPlugin } from "postcss"
55
import autoprefixer from "autoprefixer"
66
import flexbugs from "postcss-flexbugs-fixes"
77
import TerserPlugin from "terser-webpack-plugin"
8+
import type { MinifyOptions as TerserOptions } from "terser"
89
import MiniCssExtractPlugin from "mini-css-extract-plugin"
910
import CssMinimizerPlugin from "css-minimizer-webpack-plugin"
1011
import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin"
@@ -644,7 +645,7 @@ export const createWebpackUtils = (
644645
terserOptions,
645646
...options
646647
}: {
647-
terserOptions?: TerserPlugin.TerserPluginOptions
648+
terserOptions?: TerserOptions
648649
} = {}): WebpackPluginInstance =>
649650
new TerserPlugin({
650651
exclude: /\.min\.js/,
@@ -654,7 +655,7 @@ export const createWebpackUtils = (
654655
safari10: true,
655656
},
656657
parse: {
657-
ecma: 8,
658+
ecma: 5,
658659
},
659660
compress: {
660661
ecma: 5,

0 commit comments

Comments
 (0)