@cfpb/ccdb5-ui 2.14.10 → 2.15.1

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.
@@ -1,9 +1,3 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
1
  /*!
8
2
  Copyright (c) 2018 Jed Watson.
9
3
  Licensed under the MIT License (MIT), see
@@ -29,19 +23,17 @@ object-assign
29
23
  */
30
24
 
31
25
  /*!
32
- * Intro.js v6.0.0
26
+ * Intro.js v7.2.0
33
27
  * https://introjs.com
34
28
  *
35
- * Copyright (C) 2012-2022 Afshin Mehrabani (@afshinmeh).
29
+ * Copyright (C) 2012-2023 Afshin Mehrabani (@afshinmeh).
36
30
  * https://introjs.com
37
31
  *
38
- * Date: Sun, 10 Jul 2022 10:05:59 GMT
32
+ * Date: Mon, 14 Aug 2023 19:47:14 GMT
39
33
  */
40
34
 
41
35
  /*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */
42
36
 
43
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
44
-
45
37
  /**
46
38
  * @license React
47
39
  * react-dom-server-legacy.browser.production.min.js
@@ -103,29 +95,17 @@ object-assign
103
95
  */
104
96
 
105
97
  /**
106
- * @remix-run/router v1.8.0
107
- *
108
- * Copyright (c) Remix Software Inc.
109
- *
110
- * This source code is licensed under the MIT license found in the
111
- * LICENSE.md file in the root directory of this source tree.
112
- *
113
- * @license MIT
114
- */
115
-
116
- /**
117
- * React Router DOM v6.15.0
98
+ * @license React
99
+ * use-sync-external-store-with-selector.production.js
118
100
  *
119
- * Copyright (c) Remix Software Inc.
101
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
120
102
  *
121
103
  * This source code is licensed under the MIT license found in the
122
- * LICENSE.md file in the root directory of this source tree.
123
- *
124
- * @license MIT
104
+ * LICENSE file in the root directory of this source tree.
125
105
  */
126
106
 
127
107
  /**
128
- * React Router v6.15.0
108
+ * react-router v7.8.2
129
109
  *
130
110
  * Copyright (c) Remix Software Inc.
131
111
  *
@@ -133,22 +113,4 @@ object-assign
133
113
  * LICENSE.md file in the root directory of this source tree.
134
114
  *
135
115
  * @license MIT
136
- */
137
-
138
- /** @license React v16.13.1
139
- * react-is.production.min.js
140
- *
141
- * Copyright (c) Facebook, Inc. and its affiliates.
142
- *
143
- * This source code is licensed under the MIT license found in the
144
- * LICENSE file in the root directory of this source tree.
145
- */
146
-
147
- /** @license React v17.0.2
148
- * react-is.production.min.js
149
- *
150
- * Copyright (c) Facebook, Inc. and its affiliates.
151
- *
152
- * This source code is licensed under the MIT license found in the
153
- * LICENSE file in the root directory of this source tree.
154
- */
116
+ */
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <!--[if IE 8]> <html lang="en" class="lt-ie10 lt-ie9"> <![endif]-->
3
+ <!--[if IE 9]> <html lang="en" class="lt-ie10"> <![endif]-->
4
+ <!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <title>Development Harness</title>
9
+ <script defer src="/ccdb5.js"></script><link href="/ccdb5.css" rel="stylesheet"></head>
10
+ <body>
11
+ <div id="ccdb-ui-root"></div>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@cfpb/ccdb5-ui",
3
- "version": "2.14.10",
3
+ "version": "2.15.1",
4
4
  "description": "Consumer Complaint Database UI",
5
5
  "homepage": "https://www.consumerfinance.gov/",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "http://github.com/cfpb/ccdb5-ui.git"
8
+ "url": "https://github.com/cfpb/ccdb5-ui.git"
9
9
  },
10
10
  "license": "CC0-1.0",
11
11
  "engines": {
@@ -16,57 +16,65 @@
16
16
  "email": "tech@cfpb.gov",
17
17
  "url": "https://cfpb.github.io/"
18
18
  },
19
+ "browserslist": [
20
+ "> 0.2% and not dead"
21
+ ],
19
22
  "files": [
20
23
  "dist/*"
21
24
  ],
22
25
  "scripts": {
23
- "analyze": "craco build; source-map-explorer '../static/js/*.js'",
24
- "build": "NODE_ENV=production ./scripts/build.sh",
25
- "eject": "react-scripts eject",
26
26
  "lint": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,json,md}\" --write && yarn eslint ./src --fix && yarn stylelint \"src/**/*.{css,scss}\" --fix && yarn lint:cypress",
27
27
  "lint:cypress": "yarn eslint ./cypress --fix",
28
28
  "prepare": "husky",
29
29
  "release": "yarn run build && release-it --npm.skipChecks",
30
- "start": "NODE_ENV=development craco start",
31
- "test": "TZ=UTC craco test --coverage --watchAll=false"
30
+ "test": "TZ=UTC jest --coverage --watchAll=false",
31
+ "start": "rsbuild dev",
32
+ "build": "./scripts/build.sh",
33
+ "preview": "rsbuild preview"
32
34
  },
33
- "browserslist": "> 0.2% in @cfpb/browserslist-config stats",
34
35
  "devDependencies": {
35
36
  "@babel/cli": "^7.28.0",
36
37
  "@babel/core": "^7.28.0",
37
38
  "@babel/eslint-parser": "^7.28.0",
39
+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",
40
+ "@babel/preset-env": "^7.28.3",
38
41
  "@babel/preset-react": "^7.27.1",
39
42
  "@babel/runtime": "^7.27.6",
40
43
  "@cfpb/browserslist-config": "0.0.4",
41
44
  "@cfpb/cfpb-design-system": "^4.0.1",
42
- "@craco/craco": "^7.1.0",
43
45
  "@csstools/postcss-sass": "^5.1.1",
44
46
  "@csstools/sass-import-resolve": "^1.0.0",
45
47
  "@reduxjs/toolkit": "^2.8.2",
48
+ "@rsbuild/core": "^1.5.3",
49
+ "@rsbuild/plugin-react": "^1.4.0",
50
+ "@rsbuild/plugin-sass": "^1.4.0",
51
+ "@rsbuild/plugin-svgr": "^1.2.2",
46
52
  "@testing-library/cypress": "^10.0.2",
47
53
  "@testing-library/dom": "^10.4.0",
48
- "@testing-library/jest-dom": "^6.4.8",
54
+ "@testing-library/jest-dom": "^6.8.0",
49
55
  "@testing-library/react": "^16.3.0",
50
56
  "@testing-library/react-hooks": "^8.0.0",
51
57
  "@testing-library/user-event": "^14.5.2",
58
+ "babel-jest": "^30.1.2",
59
+ "babel-plugin-module-resolver": "^5.0.2",
52
60
  "britecharts": "git+https://github.com/cfpb/britecharts.git#v2.4.3",
53
- "coveralls": "^3.0.9",
54
- "craco-esbuild": "^0.6.1",
61
+ "coveralls": "^3.1.1",
55
62
  "cypress": "^14.5.1",
56
63
  "d3": "^7.9.0",
57
- "dayjs": "^1.11.10",
58
- "eslint": "^9.31.0",
64
+ "dayjs": "^1.11.18",
65
+ "eslint": "^9.34.0",
59
66
  "eslint-config-prettier": "^10.1.5",
60
67
  "eslint-config-react-app": "^7.0.1",
61
- "eslint-plugin-cypress": "^5.1.0",
68
+ "eslint-plugin-cypress": "^5.1.1",
62
69
  "eslint-plugin-import": "^2.32.0",
70
+ "eslint-plugin-jest": "^29.0.1",
63
71
  "eslint-plugin-jest-dom": "^5.5.0",
64
- "eslint-plugin-jsdoc": "^51.4.0",
72
+ "eslint-plugin-jsdoc": "^54.2.1",
65
73
  "eslint-plugin-jsx-a11y": "^6.10.2",
66
74
  "eslint-plugin-react": "^7.37.5",
67
75
  "eslint-plugin-react-hooks": "^5.2.0",
68
76
  "eslint-plugin-react-redux": "^4.2.2",
69
- "eslint-plugin-testing-library": "^7.6.0",
77
+ "eslint-plugin-testing-library": "^7.6.7",
70
78
  "globals": "^16.3.0",
71
79
  "highcharts": "11.4.8",
72
80
  "history": "^5.3.0",
@@ -74,13 +82,15 @@
74
82
  "identity-obj-proxy": "3.0.0",
75
83
  "intro.js": "^7.2.0",
76
84
  "intro.js-react": "1.0.0",
85
+ "jest": "^30.1.3",
86
+ "jest-environment-jsdom": "^30.1.2",
77
87
  "jest-fetch-mock": "^3.0.3",
78
- "lint-staged": "^16.1.2",
88
+ "jest-watch-typeahead": "^3.0.1",
89
+ "lint-staged": "^16.1.6",
79
90
  "lodash": "^4.17.21",
80
- "mini-css-extract-plugin": "^2.9.0",
81
- "mockdate": "^3.0.5",
91
+ "module-resolver": "^1.0.0",
82
92
  "postcss": "^8.5.6",
83
- "postcss-preset-env": "^10.2.4",
93
+ "postcss-preset-env": "^10.3.1",
84
94
  "postcss-safe-parser": "^7.0.0",
85
95
  "postcss-scss": "^4.0.9",
86
96
  "prettier": "^3.6.2",
@@ -93,13 +103,12 @@
93
103
  "react-fast-compare": "^3.2.2",
94
104
  "react-modal": "^3.16.1",
95
105
  "react-redux": "^9.2.0",
96
- "react-router": "^7.6.3",
97
- "react-scripts": "^5.0.1",
106
+ "react-router": "^7.8.2",
98
107
  "release-it": "^19.0.3",
99
- "sass": "^1.89.2",
108
+ "sass": "^1.91.0",
100
109
  "string-replace-loader": "^3.2.0",
101
- "stylelint": "^16.21.1",
102
- "stylelint-config-standard": "^38.0.0",
110
+ "stylelint": "^16.23.0",
111
+ "stylelint-config-standard": "^39.0.0",
103
112
  "stylelint-config-standard-scss": "^15.0.1"
104
113
  },
105
114
  "lint-staged": {
@@ -113,41 +122,9 @@
113
122
  "eslint --fix"
114
123
  ]
115
124
  },
116
- "jest": {
117
- "collectCoverageFrom": [
118
- "**/*.{js,jsx}",
119
- "!<rootDir>/node_modules/",
120
- "!**/constants/**",
121
- "!**/__fixtures__/**",
122
- "!**/index.js",
123
- "**/utils/*.{js,jsx}",
124
- "!**/serviceWorker.js"
125
- ],
126
- "coverageThreshold": {
127
- "global": {
128
- "branches": 86,
129
- "functions": 94,
130
- "lines": 94,
131
- "statements": 94
132
- }
133
- },
134
- "coverageReporters": [
135
- "lcov",
136
- "text",
137
- "html",
138
- "text-summary"
139
- ],
140
- "moduleNameMapper": {
141
- "\\.(css|scss)$": "identity-obj-proxy"
142
- },
143
- "transformIgnorePatterns": [
144
- "^.+\\.module\\.(css|scss)$"
145
- ]
146
- },
147
125
  "publishConfig": {
148
126
  "access": "public",
149
127
  "registry": "https://registry.npmjs.org/"
150
128
  },
151
- "proxy": "https://www.consumerfinance.gov",
152
129
  "dependencies": {}
153
130
  }