@webjet/react 4.21.0 → 4.21.2

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.
Files changed (1) hide show
  1. package/package.json +14 -10
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webjet/react",
3
3
  "side-effects": false,
4
- "version": "4.21.0",
4
+ "version": "4.21.2",
5
5
  "description": "Common react components",
6
6
  "main": "components/index.js",
7
7
  "scripts": {
@@ -14,7 +14,8 @@
14
14
  "build:styleguidist": "styleguidist build --config styleguide.config.js",
15
15
  "dev": "webpack server --env app --open",
16
16
  "clean": "rimraf components && rimraf utils",
17
- "pre-commit": "npm run standard-check && npm run test",
17
+ "check:vulnerabilities": "npm audit --audit-level=high --json | node ./internals/check-audit.js",
18
+ "pre-commit": "npm run standard-check && npm run check:vulnerabilities && npm run test",
18
19
  "publish:build": "npm run clean && cross-env NODE_ENV=production webpack --env production",
19
20
  "publish:pack": "npm run publish:build && npm pack",
20
21
  "publish:test": "npm run publish:build && npm publish --dry-run",
@@ -25,6 +26,9 @@
25
26
  },
26
27
  "author": "wh",
27
28
  "license": "ISC",
29
+ "engines": {
30
+ "node": ">=24"
31
+ },
28
32
  "peerDependencies": {
29
33
  "date-fns": "^2.13.0 || ^3.0.0 || ^4.0.0",
30
34
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -34,7 +38,7 @@
34
38
  "@floating-ui/react": "^0.27.17",
35
39
  "@webjet/react-icons": "3.9.1",
36
40
  "classnames": "^2.3.2",
37
- "dompurify": "3.2.5",
41
+ "dompurify": "3.3.3",
38
42
  "marked": "^4.0.12",
39
43
  "ncp": "^2.0.0",
40
44
  "polished": "^4.1.4",
@@ -56,20 +60,19 @@
56
60
  "@babel/plugin-transform-runtime": "^7.21.4",
57
61
  "@babel/preset-env": "^7.21.4",
58
62
  "@babel/preset-react": "^7.18.6",
59
- "@testing-library/jest-dom": "^5.16.5",
63
+ "@testing-library/jest-dom": "^6.6.3",
60
64
  "@testing-library/react": "^16.0.0",
61
65
  "@testing-library/user-event": "^14.5.2",
62
66
  "babel-loader": "^8.2.3",
63
67
  "babel-plugin-styled-components": "^2.0.7",
64
68
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
65
- "copy-webpack-plugin": "^13.0.1",
66
69
  "cross-env": "^7.0.3",
67
70
  "css-loader": "^6.8.1",
68
71
  "date-fns": "^2.13.0",
69
72
  "glob": "13.0.6",
70
73
  "husky": "^8.0.0",
71
- "jest": "^29.7.0",
72
- "jest-environment-jsdom": "^29.7.0",
74
+ "jest": "^30.3.0",
75
+ "jest-environment-jsdom": "^30.3.0",
73
76
  "less-loader": "^11.1.3",
74
77
  "react": "^18.3.1",
75
78
  "react-dom": "^18.3.1",
@@ -77,14 +80,15 @@
77
80
  "rimraf": "^3.0.2",
78
81
  "standard": "^17.1.2",
79
82
  "style-loader": "^3.3.3",
80
- "webpack": "^5.105.2",
83
+ "webpack": "^5.105.4",
81
84
  "webpack-cli": "^5.1.4",
82
- "webpack-dev-server": "^5.2.2",
85
+ "webpack-dev-server": "^5.2.3",
83
86
  "webpack-merge": "^5.8.0",
84
87
  "webpack-node-externals": "^3.0.0"
85
88
  },
86
89
  "overrides": {
87
- "minimatch": "10.2.2"
90
+ "minimatch": "10.2.4",
91
+ "serialize-javascript": "7.0.5"
88
92
  },
89
93
  "keywords": [
90
94
  "react",