Skip to content

Commit 1bd76c0

Browse files
authored
fix(ember): Use updated version for clean-css (#17979)
[Ember E2E tests fail](https://github.com/getsentry/sentry-javascript/actions/runs/18656635954/job/53191164591) with `util.isRegExp is not a function`. Apparently, this is a JSDoc/Node issue that was already resolved last year: jsdoc/jsdoc#2126 It is happening since the tests run with Node 24.10.0 instead of 22.20.0. The `isRegExp` API was removed from Node, so I updated the `clean-css` package as it's mentioned in the error stack. However, it could be that we either need to update `ember-cli` or just downgrade the node version for this test.
1 parent 063ad99 commit 1bd76c0

File tree

1 file changed

+2
-1
lines changed
  • dev-packages/e2e-tests/test-applications/ember-classic

1 file changed

+2
-1
lines changed

dev-packages/e2e-tests/test-applications/ember-classic/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@
7575
"node": ">=18"
7676
},
7777
"resolutions": {
78-
"@babel/traverse": "~7.25.9"
78+
"@babel/traverse": "~7.25.9",
79+
"clean-css": "^5.3.0"
7980
},
8081
"ember": {
8182
"edition": "octane"

0 commit comments

Comments
 (0)