Skip to content

Commit

Permalink
Update dependency typescript to v5.5.3 (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jul 25, 2024
1 parent 73f79f9 commit 807e51d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
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

0 comments on commit 807e51d

Please sign in to comment.