Skip to content

Commit 93ec5f9

Browse files
authored
chore: bump deps (#848)
1 parent d557ece commit 93ec5f9

File tree

13 files changed

+1865
-1561
lines changed

13 files changed

+1865
-1561
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ version: 2.1
33
anchors:
44
- &node-version-enum
55
- '18.20'
6-
- '20.12'
7-
- '22.0'
6+
- '20.14'
7+
- '22.2'
88
- &webpack-version-enum
99
- '4'
1010
- '5'
1111
- &node-version-param
1212
node-version:
13-
default: '20.12'
13+
default: '20.14'
1414
enum: *node-version-enum
1515
type: enum
1616
- &webpack-version-param

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"__DEBUG__": true,
3434
"WDS_VERSION": true,
3535
"WEBPACK_VERSION": true,
36-
"browser": true
36+
"browser": true,
37+
"window": true
3738
},
3839
"parserOptions": {
3940
"sourceType": "module"

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
globalSetup: '<rootDir>/jest-global-setup.js',
33
globalTeardown: '<rootDir>/jest-global-teardown.js',
4+
prettierPath: null,
45
resolver: '<rootDir>/jest-resolver.js',
56
rootDir: 'test',
67
setupFilesAfterEnv: ['<rootDir>/jest-test-setup.js'],

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@
5656
"prepublishOnly": "yarn generate-types"
5757
},
5858
"dependencies": {
59-
"ansi-html-community": "^0.0.8",
59+
"ansi-html": "^0.0.9",
6060
"core-js-pure": "^3.23.3",
6161
"error-stack-parser": "^2.0.6",
6262
"html-entities": "^2.1.0",
6363
"loader-utils": "^2.0.4",
64-
"schema-utils": "^3.0.0",
64+
"schema-utils": "^4.2.0",
6565
"source-map": "^0.7.3"
6666
},
6767
"devDependencies": {
6868
"@babel/core": "^7.14.2",
6969
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
7070
"@types/cross-spawn": "^6.0.2",
71-
"@types/fs-extra": "^9.0.4",
72-
"@types/jest": "^27.0.1",
71+
"@types/fs-extra": "^11.0.4",
72+
"@types/jest": "^29.5.12",
7373
"@types/json-schema": "^7.0.6",
7474
"@types/module-alias": "^2.0.0",
7575
"@types/node": "^20.5.0",
@@ -78,21 +78,22 @@
7878
"babel-loader": "^8.1.0",
7979
"cross-env": "^7.0.3",
8080
"cross-spawn": "^7.0.3",
81-
"del-cli": "^4.0.1",
81+
"del-cli": "^5.1.0",
8282
"eslint": "^8.6.0",
8383
"eslint-config-prettier": "^9.0.0",
8484
"eslint-plugin-prettier": "^5.0.0",
85-
"fs-extra": "^10.0.0",
85+
"fs-extra": "^11.2.0",
8686
"get-port": "^5.1.1",
87-
"jest": "^27.0.5",
88-
"jest-environment-node": "^27.0.5",
89-
"jest-junit": "^13.0.0",
90-
"memfs": "^3.2.0",
87+
"jest": "^29.7.0",
88+
"jest-environment-jsdom": "^29.7.0",
89+
"jest-environment-node": "^29.7.0",
90+
"jest-junit": "^16.0.0",
91+
"jest-location-mock": "^2.0.0",
9192
"module-alias": "^2.2.2",
9293
"nanoid": "^3.1.31",
9394
"npm-run-all": "^4.1.5",
94-
"prettier": "^3.0.1",
95-
"puppeteer": "^13.4.0",
95+
"prettier": "^3.3.0",
96+
"puppeteer": "^22.10.0",
9697
"react-refresh": "^0.14.0",
9798
"semver": "^7.5.2",
9899
"sourcemap-validator": "^2.1.0",

test/jest-environment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
const NodeEnvironment = require('jest-environment-node');
1+
const { TestEnvironment } = require('jest-environment-node');
22
const puppeteer = require('puppeteer');
33
const semver = require('semver');
44
const yn = require('yn');
55

6-
class SandboxEnvironment extends NodeEnvironment {
6+
class SandboxEnvironment extends TestEnvironment {
77
async setup() {
88
await super.setup();
99

test/jest-test-setup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require('jest-location-mock');
2+
13
/**
24
* Skips a test block conditionally.
35
* @param {boolean} condition The condition to skip the test block.

0 commit comments

Comments
 (0)