@cfpb/ccdb5-ui 2.11.4 → 2.12.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfpb/ccdb5-ui",
3
- "version": "2.11.4",
3
+ "version": "2.12.0",
4
4
  "description": "Consumer Complaint Database UI",
5
5
  "homepage": "https://www.consumerfinance.gov/",
6
6
  "repository": {
@@ -30,52 +30,48 @@
30
30
  "start": "NODE_ENV=development craco start",
31
31
  "test": "craco test --coverage --watchAll=false"
32
32
  },
33
- "browserslist": [
34
- ">0.2%",
35
- "not dead",
36
- "not op_mini all",
37
- "not ie > 0"
38
- ],
33
+ "browserslist": "> 0.2% in @cfpb/browserslist-config stats",
39
34
  "devDependencies": {
40
- "@babel/cli": "^7.24.1",
41
- "@babel/core": "^7.24.4",
42
- "@babel/eslint-parser": "^7.24.1",
43
- "@babel/preset-react": "^7.24.1",
44
- "@babel/runtime": "^7.24.4",
45
- "@cfpb/cfpb-atomic-component": "0.43.1",
46
- "@cfpb/cfpb-buttons": "0.43.0",
47
- "@cfpb/cfpb-core": "0.43.0",
48
- "@cfpb/cfpb-design-system": "^0.43.1",
49
- "@cfpb/cfpb-expandables": "^0.43.1",
50
- "@cfpb/cfpb-forms": "0.43.0",
51
- "@cfpb/cfpb-grid": "0.43.0",
52
- "@cfpb/cfpb-icons": "^0.43.0",
53
- "@cfpb/cfpb-layout": "0.43.1",
54
- "@cfpb/cfpb-notifications": "0.43.1",
55
- "@cfpb/cfpb-pagination": "0.43.0",
56
- "@cfpb/cfpb-tables": "0.43.1",
57
- "@cfpb/cfpb-typography": "0.43.0",
35
+ "@babel/cli": "^7.24.7",
36
+ "@babel/core": "^7.24.7",
37
+ "@babel/eslint-parser": "^7.24.7",
38
+ "@babel/preset-react": "^7.24.7",
39
+ "@babel/runtime": "^7.24.7",
40
+ "@cfpb/browserslist-config": "0.0.2",
41
+ "@cfpb/cfpb-atomic-component": "1.2.0",
42
+ "@cfpb/cfpb-buttons": "1.3.0",
43
+ "@cfpb/cfpb-core": "1.2.0",
44
+ "@cfpb/cfpb-design-system": "^1.3.2",
45
+ "@cfpb/cfpb-expandables": "^1.2.0",
46
+ "@cfpb/cfpb-forms": "1.3.0",
47
+ "@cfpb/cfpb-grid": "1.2.0",
48
+ "@cfpb/cfpb-icons": "^1.2.0",
49
+ "@cfpb/cfpb-layout": "1.3.0",
50
+ "@cfpb/cfpb-notifications": "1.3.0",
51
+ "@cfpb/cfpb-pagination": "1.3.0",
52
+ "@cfpb/cfpb-tables": "1.2.0",
53
+ "@cfpb/cfpb-typography": "1.3.2",
58
54
  "@craco/craco": "^7.1.0",
59
- "@reduxjs/toolkit": "^2.1.0",
55
+ "@reduxjs/toolkit": "^2.2.5",
60
56
  "@testing-library/cypress": "^10.0.1",
61
- "@testing-library/jest-dom": "^6.4.2",
62
- "@testing-library/react": "14.2.1",
57
+ "@testing-library/jest-dom": "^6.4.5",
58
+ "@testing-library/react": "15.0.7",
63
59
  "@testing-library/user-event": "^14.5.2",
64
60
  "britecharts": "git+https://github.com/cfpb/britecharts.git#v2.4.2",
65
61
  "coveralls": "^3.0.9",
66
- "craco-esbuild": "^0.5.2",
62
+ "craco-esbuild": "^0.6.1",
67
63
  "craco-less": "^3.0.1",
68
- "cypress": "^13.7.3",
69
- "d3": "^5.12.0",
70
- "d3-selection": "^1.4.0",
64
+ "cypress": "^13.11.0",
65
+ "d3": "^7.9.0",
66
+ "d3-selection": "^3.0.0",
71
67
  "dayjs": "^1.11.10",
72
68
  "enzyme": "^3.11.0",
73
69
  "enzyme-adapter-react-16": "^1.15.7",
74
70
  "eslint": "^8.57.0",
75
71
  "eslint-config-prettier": "^9.1.0",
76
72
  "eslint-config-react-app": "^7.0.1",
77
- "eslint-plugin-cypress": "^2.15.1",
78
- "eslint-plugin-jsdoc": "^48.2.3",
73
+ "eslint-plugin-cypress": "^3.2.0",
74
+ "eslint-plugin-jsdoc": "^48.2.5",
79
75
  "eslint-plugin-react-redux": "^4.1.0",
80
76
  "highcharts": "9.2.2",
81
77
  "history": "^5.3.0",
@@ -83,40 +79,38 @@
83
79
  "identity-obj-proxy": "3.0.0",
84
80
  "intro.js": "^7.2.0",
85
81
  "intro.js-react": "1.0.0",
86
- "jest": "29.7.0",
87
- "jest-environment-jsdom": "29.7.0",
88
82
  "jest-fetch-mock": "^3.0.3",
89
83
  "less": "^4.2.0",
90
84
  "less-loader": "^12.2.0",
91
85
  "less-plugin-clean-css": "^1.5.1",
92
- "lint-staged": "^15.2.2",
86
+ "lint-staged": "^15.2.7",
93
87
  "lodash": "^4.17.21",
94
- "mini-css-extract-plugin": "^2.8.1",
88
+ "mini-css-extract-plugin": "^2.9.0",
95
89
  "mockdate": "^3.0.5",
96
90
  "postcss": "^8.4.38",
97
91
  "postcss-less": "^6.0.0",
98
- "postcss-preset-env": "^9.5.5",
92
+ "postcss-preset-env": "^9.5.13",
99
93
  "postcss-safe-parser": "^7.0.0",
100
- "prettier": "^3.2.4",
94
+ "prettier": "^3.3.1",
101
95
  "prop-types": "^15.5.10",
102
- "query-string": "^5.0.0",
96
+ "query-string": "^9.0.0",
103
97
  "react": "^18.2.0",
104
98
  "react-bootstrap": "^2.6.0",
105
99
  "react-bootstrap-typeahead": "^6.3.2",
106
100
  "react-dom": "^18.2.0",
107
- "react-intl": "^6.6.2",
101
+ "react-intl": "^6.6.6",
108
102
  "react-modal": "^3.16.1",
109
103
  "react-redux": "^7.2.0",
110
- "react-router-dom": "^6.22.0",
104
+ "react-router-dom": "^6.23.1",
111
105
  "react-scripts": "^5.0.1",
112
106
  "react-test-renderer": "^18.2.0",
113
107
  "redux": "^4.0.5",
114
108
  "redux-devtools-extension": "^2.13.2",
115
109
  "redux-mock-store": "^1.5.4",
116
110
  "redux-thunk": "^2.2.0",
117
- "release-it": "^17.2.0",
111
+ "release-it": "^17.3.0",
118
112
  "string-replace-loader": "^3.1.0",
119
- "stylelint": "^16.3.1",
113
+ "stylelint": "^16.5.0",
120
114
  "stylelint-config-standard": "^36.0.0",
121
115
  "stylelint-less": "^3.0.1"
122
116
  },
@@ -131,6 +125,37 @@
131
125
  "eslint --fix"
132
126
  ]
133
127
  },
128
+ "jest": {
129
+ "collectCoverageFrom": [
130
+ "**/*.{js,jsx}",
131
+ "!<rootDir>/node_modules/",
132
+ "!**/constants/**",
133
+ "!**/__fixtures__/**",
134
+ "!**/index.js",
135
+ "**/utils/*.{js,jsx}",
136
+ "!**/serviceWorker.js"
137
+ ],
138
+ "coverageThreshold": {
139
+ "global": {
140
+ "branches": 82,
141
+ "functions": 91,
142
+ "lines": 91,
143
+ "statements": 91
144
+ }
145
+ },
146
+ "coverageReporters": [
147
+ "lcov",
148
+ "text",
149
+ "html",
150
+ "text-summary"
151
+ ],
152
+ "moduleNameMapper": {
153
+ "\\.(css|less)$": "identity-obj-proxy"
154
+ },
155
+ "transformIgnorePatterns": [
156
+ "^.+\\.module\\.(css|less)$"
157
+ ]
158
+ },
134
159
  "publishConfig": {
135
160
  "access": "public",
136
161
  "registry": "https://registry.npmjs.org/"