Skip to content

Commit 19d4030

Browse files
authored
Resolves Dependabots: Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups https://github.com/user-interviews/ui-design-system/security/dependabot/129 Cross-site Scripting (XSS) in serialize-javascript https://github.com/user-interviews/ui-design-system/security/dependabot/128 esbuild enables any website to send any requests to the development server and read the response https://github.com/user-interviews/ui-design-system/security/dependabot/126 Removes unnecessary @types/testing-library__jest-dom
1 parent efba84f commit 19d4030

File tree

3 files changed

+723
-900
lines changed

3 files changed

+723
-900
lines changed

.babelrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
],
1010
"plugins": [
1111
"@babel/plugin-transform-runtime",
12-
"@babel/plugin-proposal-object-rest-spread",
13-
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
14-
["@babel/plugin-proposal-private-methods", { "loose": true }],
12+
"@babel/plugin-transform-object-rest-spread",
13+
["@babel/plugin-transform-private-property-in-object", { "loose": true }],
14+
["@babel/plugin-transform-private-methods", { "loose": true }],
1515
["module-resolver", {
1616
"alias": {
1717
"src": "./src",
@@ -23,7 +23,7 @@
2323
"production": {
2424
"plugins": [
2525
[
26-
"@babel/plugin-proposal-class-properties",
26+
"@babel/plugin-transform-class-properties",
2727
{
2828
"loose": true
2929
}
@@ -39,7 +39,7 @@
3939
"test": {
4040
"plugins": [
4141
[
42-
"@babel/plugin-proposal-class-properties",
42+
"@babel/plugin-transform-class-properties",
4343
{
4444
"loose": true
4545
}

package.json

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"react-transition-group": "^4.4.5",
3131
"sanitize-html": "^2.14.0",
3232
"tippy.js": "^6.3.7",
33-
"uuid": "^11.0.5"
33+
"uuid": "^11.1.0"
3434
},
3535
"scripts": {
3636
"build": "NODE_ENV=production babel src --out-dir lib --copy-files --extensions '.js,.jsx,.ts,.tsx' && tsc",
@@ -82,37 +82,37 @@
8282
},
8383
"devDependencies": {
8484
"@babel/cli": "^7.26.4",
85-
"@babel/core": "^7.26.7",
86-
"@babel/eslint-parser": "^7.26.5",
87-
"@babel/eslint-plugin": "^7.25.9",
88-
"@babel/plugin-proposal-class-properties": "^7.18.6",
89-
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
90-
"@babel/plugin-proposal-private-methods": "^7.18.6",
91-
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
92-
"@babel/plugin-transform-runtime": "^7.25.9",
93-
"@babel/preset-env": "^7.26.7",
85+
"@babel/core": "^7.26.10",
86+
"@babel/eslint-parser": "^7.26.10",
87+
"@babel/eslint-plugin": "^7.26.10",
88+
"@babel/plugin-transform-class-properties": "^7.25.9",
89+
"@babel/plugin-transform-object-rest-spread": "^7.25.9",
90+
"@babel/plugin-transform-private-methods": "^7.25.9",
91+
"@babel/plugin-transform-private-property-in-object": "^7.25.9",
92+
"@babel/plugin-transform-runtime": "^7.26.10",
93+
"@babel/preset-env": "^7.26.9",
9494
"@babel/preset-react": "^7.26.3",
9595
"@babel/preset-typescript": "^7.26.0",
96-
"@babel/runtime": "^7.26.7",
97-
"@eslint/compat": "^1.2.5",
96+
"@babel/runtime": "^7.26.10",
97+
"@eslint/compat": "^1.2.7",
9898
"@fortawesome/fontawesome-svg-core": "^6.5.2",
9999
"@fortawesome/free-brands-svg-icons": "^6.5.2",
100100
"@fortawesome/pro-regular-svg-icons": "^6.5.2",
101101
"@fortawesome/pro-solid-svg-icons": "^6.5.2",
102102
"@fortawesome/react-fontawesome": "^0.2.0",
103103
"@popperjs/core": "^2.11.8",
104-
"@storybook/addon-a11y": "^8.5.2",
105-
"@storybook/addon-actions": "^8.5.2",
106-
"@storybook/addon-backgrounds": "^8.5.2",
107-
"@storybook/addon-controls": "^8.5.2",
108-
"@storybook/addon-docs": "^8.5.2",
109-
"@storybook/addon-jest": "^8.5.2",
110-
"@storybook/addon-links": "^8.5.2",
111-
"@storybook/addon-storysource": "^8.5.2",
104+
"@storybook/addon-a11y": "^8.6.4",
105+
"@storybook/addon-actions": "^8.6.4",
106+
"@storybook/addon-backgrounds": "^8.6.4",
107+
"@storybook/addon-controls": "^8.6.4",
108+
"@storybook/addon-docs": "^8.6.4",
109+
"@storybook/addon-jest": "^8.6.4",
110+
"@storybook/addon-links": "^8.6.4",
111+
"@storybook/addon-storysource": "^8.6.4",
112112
"@storybook/addon-styling-webpack": "^1.0.1",
113113
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
114-
"@storybook/react": "^8.5.2",
115-
"@storybook/react-webpack5": "^8.5.2",
114+
"@storybook/react": "^8.6.4",
115+
"@storybook/react-webpack5": "^8.6.4",
116116
"@testing-library/dom": "^10.4.0",
117117
"@testing-library/jest-dom": "^6.6.3",
118118
"@testing-library/react": "^16.2.0",
@@ -122,26 +122,24 @@
122122
"@types/react-dom": "^18.3.5",
123123
"@types/react-toggle": "^4.0.5",
124124
"@types/react-transition-group": "^4.4.12",
125-
"@types/testing-library__jest-dom": "^6.0.0",
126-
"@typescript-eslint/eslint-plugin": "^8.22.0",
127-
"@typescript-eslint/parser": "^8.22.0",
128-
"babel-eslint": "^10.1.0",
125+
"@typescript-eslint/eslint-plugin": "^8.26.1",
126+
"@typescript-eslint/parser": "^8.26.1",
129127
"babel-jest": "^29.7.0",
130128
"babel-loader": "^9.2.1",
131129
"babel-plugin-module-resolver": "^5.0.2",
132130
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
133131
"babel-preset-react": "^6.24.1",
134132
"bootstrap": "5.1.3",
135-
"chromatic": "^11.25.1",
133+
"chromatic": "^11.27.0",
136134
"classnames": "^2.5.1",
137135
"css-loader": "^7.1.2",
138-
"eslint": "^9.19.0",
136+
"eslint": "^9.22.0",
139137
"eslint-plugin-import": "^2.31.0",
140138
"eslint-plugin-jsx-a11y": "^6.10.2",
141139
"eslint-plugin-local-rules": "^3.0.2",
142140
"eslint-plugin-no-only-tests": "^3.3.0",
143141
"eslint-plugin-react": "^7.37.4",
144-
"eslint-plugin-react-hooks": "^5.1.0",
142+
"eslint-plugin-react-hooks": "^5.2.0",
145143
"eslint-utils": "^3.0.0",
146144
"file-loader": "^6.2.0",
147145
"jest": "^29.7.0",
@@ -158,12 +156,12 @@
158156
"react-popper": "^2.3.0",
159157
"react-test-renderer": "^18.3.1",
160158
"react-tracking": "^9.3.2",
161-
"sass-loader": "^16.0.4",
162-
"storybook": "^8.5.2",
159+
"sass-loader": "^16.0.5",
160+
"storybook": "^8.6.4",
163161
"storybook-addon-designs": "6.3.1",
164162
"style-loader": "^4.0.0",
165-
"typescript": "^5.7.3",
166-
"webpack": "^5.97.1",
163+
"typescript": "^5.8.2",
164+
"webpack": "^5.98.0",
167165
"yalc": "^1.0.0-pre.53"
168166
},
169167
"resolutions": {

0 commit comments

Comments
 (0)