Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#cnsqa-1683 dependencies update #592

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: npm

- name: Install dependencies
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry = "https://registry.npmjs.org/"
49,213 changes: 26,754 additions & 22,459 deletions package-lock.json

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"changeset": "changeset add",
"postinstall": "npm run build",
"lint": "eslint --cache --cache-location=node_modules/.cache/ './**/*.{js,jsx,ts,tsx,mjs}'",
"prepare": "husky install",
"prepare": "husky",
"release": "npm run release:prepare && npm run release:push",
"release:prepare": "npm run check:uncommited:changes && changeset version && npm i --package-lock-only --ignore-scripts",
"release:push": "git add .changeset package-lock.json packages/*/CHANGELOG.md packages/*/package.json && git commit -m 'Publish' && changeset tag && git push --follow-tags",
Expand All @@ -54,74 +54,74 @@
"**/*.{css,less}": "stylelint"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.17.12",
"@changesets/cli": "^2.25.2",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.2",
"@size-limit/preset-big-lib": "^8.0.1",
"@swc/jest": "^0.2.23",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@changesets/cli": "^2.27.10",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@size-limit/preset-big-lib": "^11.1.6",
"@swc/jest": "^0.2.37",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.2.2",
"@types/node": "^18.7.13",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"autocannon": "^7.9.0",
"babel-loader": "^9.1.0",
"autocannon": "^8.0.0",
"babel-loader": "^9.2.1",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.24.0",
"chokidar": "^4.0.1",
"copy-webpack-plugin": "^12.0.2",
"core-js": "^3.39.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^5.0.0",
"es-check": "^7.1.0",
"css-minimizer-webpack-plugin": "^7.0.0",
"es-check": "^7.2.1",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.1.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"fs-extra": "^11.1.0",
"husky": "^8.0.2",
"jest": "^29.3.0",
"jest-environment-jsdom": "^29.3.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"fs-extra": "^11.2.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^2.1.1",
"jsdom": "^21.1.0",
"less": "^4.1.2",
"less-loader": "^11.0.0",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.0",
"postcss": "^8.4.12",
"jest-watch-typeahead": "^2.2.2",
"jsdom": "^25.0.1",
"less": "^4.2.0",
"less-loader": "^12.2.0",
"lint-staged": "^15.2.10",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.49",
"postcss-less": "6.0.0",
"postcss-loader": "^7.0.0",
"postcss-preset-env": "^8.0.1",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.1.1",
"prettier": "^2.8.4",
"react": ">=17.0.2",
"react-dom": ">=17.0.2",
"rollup": "^3.2.5",
"size-limit": "^8.0.1",
"rollup": "^4.27.3",
"size-limit": "^11.1.6",
"style-loader": "^3.3.1",
"stylelint": "^15.1.0",
"stylelint-config-css-modules": "^4.1.0",
"stylelint-config-standard": "^32.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.6.0",
"stylelint-order": "^6.0.2",
"stylelint": "^16.10.0",
"stylelint-config-css-modules": "^4.4.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^3.0.0",
"swc_mut_cjs_exports": "^0.99.0",
"swc_mut_cjs_exports": "^0.109.1",
"to-mock": "1.6.2",
"typescript": "^5.0.3",
"verdaccio": "^5.23.2",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.1",
"yargs": "^17.5.0"
"typescript": "^5.6.3",
"verdaccio": "^6.0.2",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"yargs": "^17.7.2"
}
}
2 changes: 1 addition & 1 deletion packages/core/src/router/Request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class Request {
* Returns the remote IP address of the request.
*/
getIP(): string | null {
return this._request ? this._request.ip : null;
return this._request ? this._request.ip || null : null;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/hmr-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ES2018",
"module": "ES2015",
"module": "NodeNext",
"lib": [
"ES2022",
"DOM",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "commonjs",
"moduleResolution": "node16",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"declaration": true,
"allowJs": true,
"esModuleInterop": true,
Expand Down
Loading