Skip to content

Commit e6c16c0

Browse files
chore(deps): update dependency prettier to ~3.2.0 (#461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: baseballyama <[email protected]>
1 parent af27034 commit e6c16c0

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"mocha": "^10.2.0",
100100
"mocha-chai-jest-snapshot": "^1.1.4",
101101
"nyc": "^15.1.0",
102-
"prettier": "~3.1.1",
102+
"prettier": "~3.2.0",
103103
"prettier-plugin-pkg": "^0.18.0",
104104
"prettier-plugin-svelte": "^3.1.2",
105105
"rimraf": "^5.0.5",

Diff for: src/context/script-let.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export class ScriptLetContext {
352352
const callArrayFrom = (call.callee as ESTree.MemberExpression)
353353
.object as ESTree.CallExpression;
354354
const expr = callArrayFrom.arguments[0] as ESTree.Expression;
355-
const ctx = fn.params[0]!;
355+
const ctx = fn.params[0];
356356
const idx = (fn.params[1] ?? null) as ESTree.Identifier | null;
357357
const scope = result.getScope(fn.body);
358358

Diff for: tests/src/parser/parser.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,15 @@ function checkLoc(ast: SvelteProgram, fileName: string, code: string) {
153153
if (nodeParent) {
154154
assert.ok(
155155
nodeParent.range?.[0] === parent?.range![0],
156-
`Parent range mismatch [${nodeParent
157-
?.range?.[0]} : ${parent?.range![0]}] @${astToJson(node)}`,
156+
`Parent range mismatch [${
157+
nodeParent?.range?.[0]
158+
} : ${parent?.range![0]}] @${astToJson(node)}`,
158159
);
159160
assert.ok(
160161
nodeParent.range?.[1] === parent?.range![1],
161-
`Parent range mismatch [${nodeParent
162-
?.range?.[1]} : ${parent?.range![1]}] @${astToJson(node)}`,
162+
`Parent range mismatch [${
163+
nodeParent?.range?.[1]
164+
} : ${parent?.range![1]}] @${astToJson(node)}`,
163165
);
164166
}
165167
assert.ok(

Diff for: tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"esModuleInterop": true,
1515
"resolveJsonModule": true,
1616

17-
"skipLibCheck": true
17+
"skipLibCheck": true,
1818
},
1919
"include": [
2020
"src/**/*.ts",
2121
"tests/**/*.ts",
2222
"tools/**/*.ts",
23-
"benchmark/**/*.ts"
24-
]
23+
"benchmark/**/*.ts",
24+
],
2525
}

0 commit comments

Comments
 (0)