Skip to content

Commit e4e9e59

Browse files
maximizeITGitHub Copilot
andcommitted
chore(deps): consolidate dependabot updates and bump widget-sdk to 3.18.0
- bump @staffbase/widget-sdk ^3.17.0 → ^3.18.0 - bump @rjsf/{core,mui,utils,validator-ajv8} 5.24.13 → 6.5.2 (required by widget-sdk 3.18.0) - bump axios ^1.15.0 → ^1.15.2 (security: prototype pollution & CRLF injection fixes) - bump fast-uri 3.0.3 → 3.1.2 (security; yarn.lock only, resolved via reinstall) - bump @babel/plugin-transform-modules-systemjs 7.27.1 → 7.29.4 (yarn.lock) - bump prettier 3.8.1 → 3.8.3 - bump typescript 6.0.2 → 6.0.3 - bump webpack ^5.104.1 → ^5.106.2 (resolution pinned to 5.106.2) - bump webpack-cli ^6.0.1 → ^7.0.2 (requires Node ≥20.9; CI uses Node 20) - bump @mui/system ^7.3.7 → ^9.0.0 - bump @types/node 25.5.2 → 25.6.0 - add jest test env babel override + transformIgnorePatterns for @x0k ESM dep introduced by @rjsf/utils@6.x (restores same test baseline as main) Closes #242, Closes #243, Closes #245, Closes #247, Closes #248, Closes #249 Co-authored-by: GitHub Copilot <copilot@noreply.github.com>
1 parent f7d2c0a commit e4e9e59

4 files changed

Lines changed: 191 additions & 223 deletions

File tree

samples/weather-forecast/.babelrc

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,20 @@
1515
"@babel/plugin-syntax-dynamic-import",
1616
"@babel/plugin-proposal-class-properties",
1717
"@babel/plugin-proposal-object-rest-spread"
18-
]
18+
],
19+
"env": {
20+
"test": {
21+
"presets": [
22+
[
23+
"@babel/preset-env",
24+
{
25+
"targets": { "node": "current" },
26+
"modules": "commonjs"
27+
}
28+
],
29+
"@babel/preset-react",
30+
"@babel/preset-typescript"
31+
]
32+
}
33+
}
1934
}

samples/weather-forecast/jest.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ module.exports = {
66
'\\.svg$': '<rootDir>/__mocks__/fileMock.js',
77
'^axios$': 'axios/dist/node/axios.cjs'
88
},
9-
testEnvironment: 'jsdom',
9+
testEnvironment: 'jsdom', testEnvironmentOptions: {
10+
customExportConditions: ['require', 'default'],
11+
}, transformIgnorePatterns: [
12+
'/node_modules/(?!(@x0k/json-schema-merge|@rjsf)/)',
13+
],
1014
};

samples/weather-forecast/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"author": "",
1818
"license": "ISC",
1919
"dependencies": {
20-
"@staffbase/widget-sdk": "^3.17.0",
20+
"@staffbase/widget-sdk": "^3.18.0",
2121
"acorn": "^8.16.0",
22-
"axios": "^1.15.0",
22+
"axios": "^1.15.2",
2323
"date-fns": "^2.30.0",
2424
"dayjs": "1.11.20",
2525
"react": "^18.3.1",
@@ -40,18 +40,18 @@
4040
"@emotion/styled": "^11.14.1",
4141
"@mui/icons-material": "^6.5.0",
4242
"@mui/material": "^6.5.0",
43-
"@mui/system": "^7.3.7",
44-
"@rjsf/core": "5.24.13",
45-
"@rjsf/mui": "5.24.13",
46-
"@rjsf/utils": "5.24.13",
47-
"@rjsf/validator-ajv8": "5.24.13",
43+
"@mui/system": "^9.0.0",
44+
"@rjsf/core": "6.5.2",
45+
"@rjsf/mui": "6.5.2",
46+
"@rjsf/utils": "6.5.2",
47+
"@rjsf/validator-ajv8": "6.5.2",
4848
"@svgr/webpack": "8.1.0",
4949
"@testing-library/dom": "^10.4.1",
5050
"@testing-library/jest-dom": "^6.9.1",
5151
"@testing-library/react": "^16.3.2",
5252
"@types/jest": "^30.0.0",
5353
"@types/json-schema": "^7.0.15",
54-
"@types/node": "25.5.2",
54+
"@types/node": "25.6.0",
5555
"@types/react": "^18.3.24",
5656
"@types/react-dom": "^18.3.7",
5757
"@types/webpack": "5.28.5",
@@ -70,17 +70,17 @@
7070
"jest-json-schema": "^6.1.0",
7171
"js-base64": "3.7.8",
7272
"minimal-polyfills": "2.2.3",
73-
"prettier": "3.8.1",
73+
"prettier": "3.8.3",
7474
"ts-loader": "^9.5.7",
7575
"ts-node": "10.9.2",
76-
"typescript": "6.0.2",
77-
"webpack": "^5.104.1",
78-
"webpack-cli": "^6.0.1",
76+
"typescript": "6.0.3",
77+
"webpack": "^5.106.2",
78+
"webpack-cli": "^7.0.2",
7979
"webpack-dev-server": "^5.2.3",
8080
"webpack-merge": "^6.0.1"
8181
},
8282
"resolutions": {
83-
"webpack": "5.105.4",
83+
"webpack": "5.106.2",
8484
"nth-check": ">=2.0.1",
8585
"flatted": "3.4.2",
8686
"minimatch": "3.1.4",

0 commit comments

Comments
 (0)