Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency typescript to v5.5.3 #746

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"smoldash": "0.11.0",
"svelte": "3.59.1",
"svelte-preprocess": "5.0.4",
"typescript": "5.1.6",
"typescript": "5.5.3",
"vue": "3.3.4"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/extend-expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const runJestUtilsInNode = (message: string, context: jest.MatcherContext) => {
const closeRegex = /\$END_JEST_UTILS\$/g;
let jestUtilsCall;
while ((jestUtilsCall = jestUtilsCalls.pop())) {
const start = jestUtilsCall.index!;
const start = jestUtilsCall.index;
const methodName = jestUtilsCall[1];
closeRegex.lastIndex = start;
const closeIndex = closeRegex.exec(message)?.index;
Expand Down
8 changes: 6 additions & 2 deletions tests/utils/runJS.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,12 @@ describe('Ecosystem interoperability', () => {
plugins: [
sveltePlugin({
preprocess: sveltePreprocess({
// Does not work with module set to nodenext, works with either commonjs or esnext
typescript: { compilerOptions: { module: 'commonjs' } },
typescript: {
compilerOptions: {
module: 'preserve',
moduleResolution: 'bundler',
},
},
}),
}),
],
Expand Down
Loading