Skip to content

Commit 0724261

Browse files
benmccanndummdidummgtm-nayan
authored
chore: update code-red (#8719)
--------- Co-authored-by: Simon Holthausen <[email protected]> Co-authored-by: gtmnayan <[email protected]>
1 parent 67b4e4f commit 0724261

File tree

3 files changed

+40
-15
lines changed

3 files changed

+40
-15
lines changed

packages/svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"acorn": "^8.8.2",
104104
"aria-query": "^5.2.1",
105105
"axobject-query": "^3.2.1",
106-
"code-red": "^1.0.0",
106+
"code-red": "^1.0.3",
107107
"css-tree": "^2.3.1",
108108
"estree-walker": "^3.0.3",
109109
"is-reference": "^3.0.1",

packages/svelte/test/helpers.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ export function show_output(cwd, options = {}) {
9090
);
9191

9292
console.log(
93-
// eslint-disable-line no-console
9493
`\n>> ${colors.cyan().bold(file)}\n${add_line_numbers(js.code)}\n<< ${colors
9594
.cyan()
9695
.bold(file)}`
@@ -200,7 +199,7 @@ export function create_loader(compileOptions, cwd) {
200199
const fn = new AsyncFunction('__import', '__exports', transformed);
201200
await fn(__import, __exports);
202201
} catch (err) {
203-
console.error({ transformed }); // eslint-disable-line no-console
202+
console.error(compileOptions, transformed);
204203
throw err;
205204
}
206205

pnpm-lock.yaml

Lines changed: 38 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)