diff --git a/package-lock.json b/package-lock.json index 7a1107940a..0d2a69f49d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11911,7 +11911,7 @@ }, "packages/compiler": { "name": "@marko/compiler", - "version": "5.34.4", + "version": "5.34.6", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.23.5", @@ -11939,7 +11939,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { - "@marko/translator-default": "^5.31.11" + "@marko/translator-default": "^5.31.13" } }, "packages/compiler/node_modules/jsesc": { @@ -11957,11 +11957,11 @@ "license": "Apache-2.0" }, "packages/marko": { - "version": "5.32.5", + "version": "5.32.7", "license": "MIT", "dependencies": { - "@marko/compiler": "^5.34.4", - "@marko/translator-default": "^5.31.11", + "@marko/compiler": "^5.34.6", + "@marko/translator-default": "^5.31.13", "app-module-path": "^2.2.0", "argly": "^1.2.0", "browser-refresh-client": "1.1.4", @@ -11990,7 +11990,7 @@ }, "packages/translator-default": { "name": "@marko/translator-default", - "version": "5.31.11", + "version": "5.31.13", "license": "MIT", "dependencies": { "@babel/runtime": "^7.23.8", @@ -11999,8 +11999,8 @@ "self-closing-tags": "^1.0.1" }, "devDependencies": { - "@marko/compiler": "^5.34.4", - "marko": "^5.32.5" + "@marko/compiler": "^5.34.6", + "marko": "^5.32.7" }, "peerDependencies": { "@marko/compiler": "^5.16.1", diff --git a/packages/compiler/CHANGELOG.md b/packages/compiler/CHANGELOG.md index f05c1c2447..b2c7a57ab2 100644 --- a/packages/compiler/CHANGELOG.md +++ b/packages/compiler/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 5.34.6 + +### Patch Changes + +- [#2085](https://github.com/marko-js/marko/pull/2085) [`d82b21e`](https://github.com/marko-js/marko/commit/d82b21e8f505c5006d3781cf9056743dd9972fe1) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Improve compile error output. + +## 5.34.5 + +### Patch Changes + +- [#2079](https://github.com/marko-js/marko/pull/2079) [`2976dfa`](https://github.com/marko-js/marko/commit/2976dfac56c592dfd80ea79c6ea0e1389346f44c) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Fix issue where additional exports were being removed when stripping typescript types. + ## 5.34.4 ### Patch Changes diff --git a/packages/compiler/package.json b/packages/compiler/package.json index 0d9610b69c..b29b39ffd4 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@marko/compiler", - "version": "5.34.4", + "version": "5.34.6", "description": "Marko template to JS compiler.", "keywords": [ "babel", @@ -60,7 +60,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { - "@marko/translator-default": "^5.31.11" + "@marko/translator-default": "^5.31.13" }, "publishConfig": { "access": "public" diff --git a/packages/compiler/src/babel-plugin/index.js b/packages/compiler/src/babel-plugin/index.js index fee7e5da35..b422f8be36 100644 --- a/packages/compiler/src/babel-plugin/index.js +++ b/packages/compiler/src/babel-plugin/index.js @@ -132,11 +132,13 @@ export default (api, markoOpts) => { }, ExportNamedDeclaration: { exit(path) { + const { node } = path; // The babel typescript plugin will add an empty export declaration // if there are no other imports/exports in the file. // This is not needed for Marko file outputs since there is always // a default export. - if (path.node.specifiers.length === 0) path.remove(); + if (!(node.declaration || node.specifiers.length)) + path.remove(); }, }, } diff --git a/packages/compiler/src/util/build-code-frame.js b/packages/compiler/src/util/build-code-frame.js index 0b7adef199..8d6ae970ae 100644 --- a/packages/compiler/src/util/build-code-frame.js +++ b/packages/compiler/src/util/build-code-frame.js @@ -1,21 +1,25 @@ import path from "path"; import { codeFrameColumns } from "@babel/code-frame"; import color from "kleur"; +import { stripAnsi } from "./strip-ansi"; const CWD = process.cwd(); const indent = " "; class CompileError extends Error { - constructor(filename, code, loc, message) { - super(); - const prettyMessage = buildMessage(code, loc, message); + constructor(filename, code, loc, label) { + const prettyMessage = buildMessage(code, loc, label); const prettyFileName = buildFileName(filename, loc); - this.stack = loc - ? `CompileError\n${indent}at ${prettyFileName}\n${prettyMessage.replace( + const message = loc + ? `\n${indent}at ${prettyFileName}\n${prettyMessage.replace( /^/gm, indent, )}` - : `CompileError: ${prettyMessage}\n${indent}at ${prettyFileName}`; - + : `${prettyMessage}\n${indent}at ${prettyFileName}`; + const { stackTraceLimit } = Error; + Error.stackTraceLimit = 0; + super(message); + this.name = "CompileError"; + Error.stackTraceLimit = stackTraceLimit; Object.defineProperties(this, { loc: { value: loc, @@ -24,7 +28,7 @@ class CompileError extends Error { configurable: true, }, label: { - value: message, + value: label, enumerable: false, writable: true, configurable: true, @@ -33,25 +37,38 @@ class CompileError extends Error { code: { enumerable: false, configurable: true, - get() { - return undefined; - }, - set() {}, + get: noop, + set: noop, }, message: { + enumerable: true, configurable: true, - enumerable: false, get() { - return `${prettyFileName}: ${message}`; + return message; + }, + set() { + Object.defineProperty(this, "message", { + value: message, + enumerable: true, + writable: true, + configurable: true, + }); }, - set() {}, }, }); } + + toJSON() { + return this.toString(); + } + + toString() { + return `${this.name}: ${stripAnsi(this.message)}`; + } } -export function buildCodeFrameError(filename, code, loc, message) { - return new CompileError(filename, code, loc, message); +export function buildCodeFrameError(filename, code, loc, label) { + return new CompileError(filename, code, loc, label); } function buildMessage(code, loc, message) { @@ -83,3 +100,5 @@ function buildFileName(filename, loc) { : "" }`; } + +function noop() {} diff --git a/packages/compiler/src/util/merge-errors.js b/packages/compiler/src/util/merge-errors.js index b7752fee2b..e25710991c 100644 --- a/packages/compiler/src/util/merge-errors.js +++ b/packages/compiler/src/util/merge-errors.js @@ -1,5 +1,7 @@ +import { stripAnsi } from "./strip-ansi"; + const indent = " "; -const compileErrorPrefix = `SyntaxError\n`; +const compileErrorPrefix = `CompileError: \n`; const compileErrorStackTracePrefix = `${compileErrorPrefix + indent}at `; export default function throwAggregateError(errors) { switch (errors.length) { @@ -14,9 +16,7 @@ export default function throwAggregateError(errors) { class CompileErrors extends Error { constructor(errors) { - super(); - this.errors = errors; - this.stack = `CompileErrors\n${errors + const message = `\n${errors .map(({ stack }) => { if (stack.startsWith(compileErrorStackTracePrefix)) { return stack.slice(compileErrorPrefix.length); @@ -24,5 +24,19 @@ class CompileErrors extends Error { return stack.replace(/^(?!\s*$)/gm, " "); }) .join("\n\n")}`; + const { stackTraceLimit } = Error; + Error.stackTraceLimit = 0; + super(message); + this.name = "CompileErrors"; + this.errors = errors; + Error.stackTraceLimit = stackTraceLimit; + } + + toJSON() { + return this.toString(); + } + + toString() { + return `${this.name}: ${stripAnsi(this.message)}`; } } diff --git a/packages/compiler/src/util/strip-ansi.js b/packages/compiler/src/util/strip-ansi.js new file mode 100644 index 0000000000..169da5da4b --- /dev/null +++ b/packages/compiler/src/util/strip-ansi.js @@ -0,0 +1,7 @@ +const ansiReg = + // eslint-disable-next-line no-control-regex + /([\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><])/g; + +export function stripAnsi(str) { + return str.replace(ansiReg, ""); +} diff --git a/packages/marko/CHANGELOG.md b/packages/marko/CHANGELOG.md index 35f33361f0..fb0c4fa9e4 100644 --- a/packages/marko/CHANGELOG.md +++ b/packages/marko/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 5.32.7 + +### Patch Changes + +- [#2085](https://github.com/marko-js/marko/pull/2085) [`d82b21e`](https://github.com/marko-js/marko/commit/d82b21e8f505c5006d3781cf9056743dd9972fe1) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Improve compile error output. + +- Updated dependencies [[`d82b21e`](https://github.com/marko-js/marko/commit/d82b21e8f505c5006d3781cf9056743dd9972fe1)]: + - @marko/translator-default@5.31.13 + - @marko/compiler@5.34.6 + +## 5.32.6 + +### Patch Changes + +- [#2079](https://github.com/marko-js/marko/pull/2079) [`2976dfa`](https://github.com/marko-js/marko/commit/2976dfac56c592dfd80ea79c6ea0e1389346f44c) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Fix issue where additional exports were being removed when stripping typescript types. + +- Updated dependencies [[`2976dfa`](https://github.com/marko-js/marko/commit/2976dfac56c592dfd80ea79c6ea0e1389346f44c)]: + - @marko/compiler@5.34.5 + - @marko/translator-default@5.31.12 + ## 5.32.5 ### Patch Changes diff --git a/packages/marko/package.json b/packages/marko/package.json index 2a2da37be3..e43bfc6d5b 100644 --- a/packages/marko/package.json +++ b/packages/marko/package.json @@ -1,6 +1,6 @@ { "name": "marko", - "version": "5.32.5", + "version": "5.32.7", "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.", "keywords": [ "front-end", @@ -64,8 +64,8 @@ "build": "babel ./src --out-dir ./dist --delete-dir-on-start --copy-files --config-file ../../babel.config.js --env-name=production" }, "dependencies": { - "@marko/compiler": "^5.34.4", - "@marko/translator-default": "^5.31.11", + "@marko/compiler": "^5.34.6", + "@marko/translator-default": "^5.31.13", "app-module-path": "^2.2.0", "argly": "^1.2.0", "browser-refresh-client": "1.1.4", diff --git a/packages/translator-default/CHANGELOG.md b/packages/translator-default/CHANGELOG.md index ed90a6499a..e32f373a56 100644 --- a/packages/translator-default/CHANGELOG.md +++ b/packages/translator-default/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 5.31.13 + +### Patch Changes + +- [#2085](https://github.com/marko-js/marko/pull/2085) [`d82b21e`](https://github.com/marko-js/marko/commit/d82b21e8f505c5006d3781cf9056743dd9972fe1) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Improve compile error output. + +## 5.31.12 + +### Patch Changes + +- [#2079](https://github.com/marko-js/marko/pull/2079) [`2976dfa`](https://github.com/marko-js/marko/commit/2976dfac56c592dfd80ea79c6ea0e1389346f44c) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Fix issue where additional exports were being removed when stripping typescript types. + ## 5.31.11 ### Patch Changes diff --git a/packages/translator-default/package.json b/packages/translator-default/package.json index a9d3aa6f00..8e04db47ae 100644 --- a/packages/translator-default/package.json +++ b/packages/translator-default/package.json @@ -1,6 +1,6 @@ { "name": "@marko/translator-default", - "version": "5.31.11", + "version": "5.31.13", "description": "Translates Marko templates to the default Marko runtime.", "keywords": [ "babel", @@ -34,8 +34,8 @@ "self-closing-tags": "^1.0.1" }, "devDependencies": { - "@marko/compiler": "^5.34.4", - "marko": "^5.32.5" + "@marko/compiler": "^5.34.6", + "marko": "^5.32.7" }, "peerDependencies": { "@marko/compiler": "^5.16.1", diff --git a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/cjs-error-expected.txt index fab034dd9a..d30b2f0f94 100644 --- a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/template.marko:1:6 > 1 |
| ^^^^^^^^^^ Unsupported arguments on the "hello" attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/html-error-expected.txt index fab034dd9a..d30b2f0f94 100644 --- a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/template.marko:1:6 > 1 |
| ^^^^^^^^^^ Unsupported arguments on the "hello" attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/htmlProduction-error-expected.txt index fab034dd9a..d30b2f0f94 100644 --- a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/template.marko:1:6 > 1 |
| ^^^^^^^^^^ Unsupported arguments on the "hello" attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdom-error-expected.txt index fab034dd9a..d30b2f0f94 100644 --- a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/template.marko:1:6 > 1 |
| ^^^^^^^^^^ Unsupported arguments on the "hello" attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdomProduction-error-expected.txt index fab034dd9a..d30b2f0f94 100644 --- a/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-arguments-on-non-event-attribute/template.marko:1:6 > 1 |
| ^^^^^^^^^^ Unsupported arguments on the "hello" attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/cjs-error-expected.txt index a0dafbd3a3..45088d7aaf 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/template.marko:9:6 7 | Body content 8 | diff --git a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/html-error-expected.txt index a0dafbd3a3..45088d7aaf 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/template.marko:9:6 7 | Body content 8 | diff --git a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/htmlProduction-error-expected.txt index a0dafbd3a3..45088d7aaf 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/template.marko:9:6 7 | Body content 8 | diff --git a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdom-error-expected.txt index a0dafbd3a3..45088d7aaf 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/template.marko:9:6 7 | Body content 8 | diff --git a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdomProduction-error-expected.txt index a0dafbd3a3..45088d7aaf 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-native-tag-parent/template.marko:9:6 7 | Body content 8 | diff --git a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/cjs-error-expected.txt index 4b4ead1593..219c449f80 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-top-level/template.marko:1:2 > 1 | <@header class="my-header"> | ^^^^^^^ @tags must be nested within another element. diff --git a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/html-error-expected.txt index 4b4ead1593..219c449f80 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-top-level/template.marko:1:2 > 1 | <@header class="my-header"> | ^^^^^^^ @tags must be nested within another element. diff --git a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/htmlProduction-error-expected.txt index 4b4ead1593..219c449f80 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-top-level/template.marko:1:2 > 1 | <@header class="my-header"> | ^^^^^^^ @tags must be nested within another element. diff --git a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/vdom-error-expected.txt index 4b4ead1593..219c449f80 100644 --- a/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-at-tags-top-level/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-at-tags-top-level/template.marko:1:2 > 1 | <@header class="my-header"> | ^^^^^^^ @tags must be nested within another element. diff --git a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/cjs-error-expected.txt index 0f57d0b9d4..6d2b3e305d 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-missing-provider/template.marko:1:2 > 1 | | ^^^^^ You must provide a promise argument to the "" tag, eg: "". diff --git a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/html-error-expected.txt index 0f57d0b9d4..6d2b3e305d 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-missing-provider/template.marko:1:2 > 1 | | ^^^^^ You must provide a promise argument to the "" tag, eg: "". diff --git a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/htmlProduction-error-expected.txt index 0f57d0b9d4..6d2b3e305d 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-missing-provider/template.marko:1:2 > 1 | | ^^^^^ You must provide a promise argument to the "" tag, eg: "". diff --git a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdom-error-expected.txt index 0f57d0b9d4..6d2b3e305d 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-missing-provider/template.marko:1:2 > 1 | | ^^^^^ You must provide a promise argument to the "" tag, eg: "". diff --git a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdomProduction-error-expected.txt index 0f57d0b9d4..6d2b3e305d 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-missing-provider/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-missing-provider/template.marko:1:2 > 1 | | ^^^^^ You must provide a promise argument to the "" tag, eg: "". diff --git a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/cjs-error-expected.txt index cc9ba56a65..cab8e1ead3 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/template.marko:1:11 > 1 | | ^ You can only pass one argument to the "" tag. diff --git a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/html-error-expected.txt index cc9ba56a65..cab8e1ead3 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/template.marko:1:11 > 1 | | ^ You can only pass one argument to the "" tag. diff --git a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/htmlProduction-error-expected.txt index cc9ba56a65..cab8e1ead3 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/template.marko:1:11 > 1 | | ^ You can only pass one argument to the "" tag. diff --git a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdom-error-expected.txt index cc9ba56a65..cab8e1ead3 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/template.marko:1:11 > 1 | | ^ You can only pass one argument to the "" tag. diff --git a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdomProduction-error-expected.txt index cc9ba56a65..cab8e1ead3 100644 --- a/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-await-tag-multiple-arguments/template.marko:1:11 > 1 | | ^ You can only pass one argument to the "" tag. diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/cjs-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/generated-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/html-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/htmlProduction-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/hydrate-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdom-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdomProduction-error-expected.txt index d6d9590afb..ae154ed57a 100644 --- a/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-bad-expression/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-bad-expression/template.marko:1:18 > 1 |
| ^ Unexpected token, expected "," diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/cjs-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/generated-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/html-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/htmlProduction-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/hydrate-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdom-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdomProduction-error-expected.txt index 1498878d73..81694b0735 100644 --- a/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-constructor/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-constructor/template.marko:2:3 1 | class { > 2 | constructor() { diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/cjs-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/generated-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/html-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/htmlProduction-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/hydrate-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdom-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdomProduction-error-expected.txt index 306b6e7c55..7ad80779ce 100644 --- a/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-file-and-inline/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-file-and-inline/template.marko:1:1 > 1 | class { | ^^^^^ A Marko file can either have an inline class, or an external "component.js", but not both. diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/cjs-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/generated-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/html-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/htmlProduction-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/hydrate-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdom-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdomProduction-error-expected.txt index 6663f93fa3..b53b474152 100644 --- a/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-not-root/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-not-root/template.marko:2:3 1 | div > 2 | class extends Test { diff --git a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/cjs-error-expected.txt index 748acc651a..93c1f7a62c 100644 --- a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-private-properties/template.marko:2:3 1 | class { > 2 | #x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/html-error-expected.txt index 748acc651a..93c1f7a62c 100644 --- a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-private-properties/template.marko:2:3 1 | class { > 2 | #x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/htmlProduction-error-expected.txt index 748acc651a..93c1f7a62c 100644 --- a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-private-properties/template.marko:2:3 1 | class { > 2 | #x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdom-error-expected.txt index 748acc651a..93c1f7a62c 100644 --- a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-private-properties/template.marko:2:3 1 | class { > 2 | #x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdomProduction-error-expected.txt index 748acc651a..93c1f7a62c 100644 --- a/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-private-properties/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-private-properties/template.marko:2:3 1 | class { > 2 | #x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/cjs-error-expected.txt index 6a1aa3a2ba..f436f13d79 100644 --- a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-static-properties/template.marko:2:3 1 | class { > 2 | static x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/html-error-expected.txt index 6a1aa3a2ba..f436f13d79 100644 --- a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-static-properties/template.marko:2:3 1 | class { > 2 | static x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/htmlProduction-error-expected.txt index 6a1aa3a2ba..f436f13d79 100644 --- a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-static-properties/template.marko:2:3 1 | class { > 2 | static x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdom-error-expected.txt index 6a1aa3a2ba..f436f13d79 100644 --- a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-static-properties/template.marko:2:3 1 | class { > 2 | static x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdomProduction-error-expected.txt index 6a1aa3a2ba..f436f13d79 100644 --- a/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-static-properties/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-static-properties/template.marko:2:3 1 | class { > 2 | static x = 1; diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/cjs-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/generated-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/html-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/htmlProduction-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/hydrate-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdom-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdomProduction-error-expected.txt index 195e79200d..3a868150b9 100644 --- a/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-tag-nested-content/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-tag-nested-content/template.marko:2:2 1 | class {} > 2 |
diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/cjs-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/generated-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/html-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/htmlProduction-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/hydrate-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdom-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdomProduction-error-expected.txt index f541e505fe..a2c10dd732 100644 --- a/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-class-with-super-class/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-class-with-super-class/template.marko:1:15 > 1 | class extends Test { | ^^^^ Component class cannot have a super class. diff --git a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/cjs-error-expected.txt index 4bcc3984ad..733f83d585 100644 --- a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-custom-tag-arguments/template.marko:1:13 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/html-error-expected.txt index 4bcc3984ad..733f83d585 100644 --- a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-custom-tag-arguments/template.marko:1:13 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/htmlProduction-error-expected.txt index 4bcc3984ad..733f83d585 100644 --- a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-custom-tag-arguments/template.marko:1:13 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdom-error-expected.txt index 4bcc3984ad..733f83d585 100644 --- a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-custom-tag-arguments/template.marko:1:13 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdomProduction-error-expected.txt index 4bcc3984ad..733f83d585 100644 --- a/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-custom-tag-arguments/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-custom-tag-arguments/template.marko:1:13 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/cjs-error-expected.txt index 6e420a7a0f..34cd3c4c4d 100644 --- a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-duplicate-event-handlers/template.marko:1:19 > 1 |
| ^^^^^^^^^^^^ Duplicate event handlers are not supported. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/html-error-expected.txt index 6e420a7a0f..34cd3c4c4d 100644 --- a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-duplicate-event-handlers/template.marko:1:19 > 1 |
| ^^^^^^^^^^^^ Duplicate event handlers are not supported. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/htmlProduction-error-expected.txt index 6e420a7a0f..34cd3c4c4d 100644 --- a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-duplicate-event-handlers/template.marko:1:19 > 1 |
| ^^^^^^^^^^^^ Duplicate event handlers are not supported. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdom-error-expected.txt index 6e420a7a0f..34cd3c4c4d 100644 --- a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-duplicate-event-handlers/template.marko:1:19 > 1 |
| ^^^^^^^^^^^^ Duplicate event handlers are not supported. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdomProduction-error-expected.txt index 6e420a7a0f..34cd3c4c4d 100644 --- a/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-duplicate-event-handlers/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-duplicate-event-handlers/template.marko:1:19 > 1 |
| ^^^^^^^^^^^^ Duplicate event handlers are not supported. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/cjs-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/generated-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/html-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/htmlProduction-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/hydrate-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdom-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdomProduction-error-expected.txt index c53b5d252b..e7616b370c 100644 --- a/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-dynamic-tag-no-value/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-dynamic-tag-no-value/template.marko:1:4 > 1 | <${}/> | ^ Invalid placeholder, the expression cannot be missing diff --git a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/cjs-error-expected.txt index e9b9f8b925..8d5b048958 100644 --- a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-if-tag-missing-if/template.marko:4:2 2 | 3 |
diff --git a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/html-error-expected.txt index e9b9f8b925..8d5b048958 100644 --- a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-if-tag-missing-if/template.marko:4:2 2 | 3 |
diff --git a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/htmlProduction-error-expected.txt index e9b9f8b925..8d5b048958 100644 --- a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-if-tag-missing-if/template.marko:4:2 2 | 3 |
diff --git a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdom-error-expected.txt index e9b9f8b925..8d5b048958 100644 --- a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-if-tag-missing-if/template.marko:4:2 2 | 3 |
diff --git a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdomProduction-error-expected.txt index e9b9f8b925..8d5b048958 100644 --- a/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-if-tag-missing-if/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-if-tag-missing-if/template.marko:4:2 2 | 3 |
diff --git a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/cjs-error-expected.txt index cddc868fe4..ef1627988a 100644 --- a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-tag-missing-if/template.marko:1:2 > 1 | | ^^^^ Invalid 'else' tag, expected preceding 'if' or 'else-if' tag. diff --git a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/html-error-expected.txt index cddc868fe4..ef1627988a 100644 --- a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-tag-missing-if/template.marko:1:2 > 1 | | ^^^^ Invalid 'else' tag, expected preceding 'if' or 'else-if' tag. diff --git a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/htmlProduction-error-expected.txt index cddc868fe4..ef1627988a 100644 --- a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-tag-missing-if/template.marko:1:2 > 1 | | ^^^^ Invalid 'else' tag, expected preceding 'if' or 'else-if' tag. diff --git a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdom-error-expected.txt index cddc868fe4..ef1627988a 100644 --- a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-tag-missing-if/template.marko:1:2 > 1 | | ^^^^ Invalid 'else' tag, expected preceding 'if' or 'else-if' tag. diff --git a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdomProduction-error-expected.txt index cddc868fe4..ef1627988a 100644 --- a/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-else-tag-missing-if/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-else-tag-missing-if/template.marko:1:2 > 1 | | ^^^^ Invalid 'else' tag, expected preceding 'if' or 'else-if' tag. diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/cjs-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/generated-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/html-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/htmlProduction-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/hydrate-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/vdom-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-eof/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-eof/snapshots/vdomProduction-error-expected.txt index fa725b3060..44a95484f4 100644 --- a/packages/translator-default/test/fixtures/error-eof/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-eof/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-eof/template.marko:1:7 > 1 | style { | ^ EOF reached while parsing attribute name for the "style" tag diff --git a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/cjs-error-expected.txt index fc7cf3c383..658082a680 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-missing-args/template.marko:1:6 > 1 |
| ^^^^^^^^^ Event handler is missing arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/html-error-expected.txt index fc7cf3c383..658082a680 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-missing-args/template.marko:1:6 > 1 |
| ^^^^^^^^^ Event handler is missing arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/htmlProduction-error-expected.txt index fc7cf3c383..658082a680 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-missing-args/template.marko:1:6 > 1 |
| ^^^^^^^^^ Event handler is missing arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdom-error-expected.txt index fc7cf3c383..658082a680 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-missing-args/template.marko:1:6 > 1 |
| ^^^^^^^^^ Event handler is missing arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdomProduction-error-expected.txt index fc7cf3c383..658082a680 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-missing-args/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-missing-args/template.marko:1:6 > 1 |
| ^^^^^^^^^ Event handler is missing arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/cjs-error-expected.txt index 55fb1a3b7e..e3bb958f15 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-value/template.marko:1:19 > 1 |
| ^ "onClick(handler, ...args)" does not accept a value. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/html-error-expected.txt index 55fb1a3b7e..e3bb958f15 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-value/template.marko:1:19 > 1 |
| ^ "onClick(handler, ...args)" does not accept a value. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/htmlProduction-error-expected.txt index 55fb1a3b7e..e3bb958f15 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-value/template.marko:1:19 > 1 |
| ^ "onClick(handler, ...args)" does not accept a value. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdom-error-expected.txt index 55fb1a3b7e..e3bb958f15 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-value/template.marko:1:19 > 1 |
| ^ "onClick(handler, ...args)" does not accept a value. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdomProduction-error-expected.txt index 55fb1a3b7e..e3bb958f15 100644 --- a/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-event-handler-value/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-event-handler-value/template.marko:1:19 > 1 |
| ^ "onClick(handler, ...args)" does not accept a value. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/cjs-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/generated-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/html-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/htmlProduction-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/hydrate-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdom-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdomProduction-error-expected.txt index 2436390cf9..f0dacd4394 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-nested-content/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-nested-content/template.marko:2:2 1 | export { a } from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/cjs-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/generated-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/html-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/htmlProduction-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/hydrate-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdom-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdomProduction-error-expected.txt index ed0f77df5a..3649f92b41 100644 --- a/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-export-tag-root-only/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-export-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/cjs-error-expected.txt index 702b483fb7..bd5b2938c8 100644 --- a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-in-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for in' tag, missing |key, value| params. diff --git a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/html-error-expected.txt index 702b483fb7..bd5b2938c8 100644 --- a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-in-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for in' tag, missing |key, value| params. diff --git a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/htmlProduction-error-expected.txt index 702b483fb7..bd5b2938c8 100644 --- a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-in-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for in' tag, missing |key, value| params. diff --git a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdom-error-expected.txt index 702b483fb7..bd5b2938c8 100644 --- a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-in-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for in' tag, missing |key, value| params. diff --git a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdomProduction-error-expected.txt index 702b483fb7..bd5b2938c8 100644 --- a/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-in-missing-params/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-in-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for in' tag, missing |key, value| params. diff --git a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/cjs-error-expected.txt index 6bb8ac3814..da71444ac0 100644 --- a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-invalid-attribute/template.marko:1:25 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/html-error-expected.txt index 6bb8ac3814..da71444ac0 100644 --- a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-invalid-attribute/template.marko:1:25 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/htmlProduction-error-expected.txt index 6bb8ac3814..da71444ac0 100644 --- a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-invalid-attribute/template.marko:1:25 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdom-error-expected.txt index 6bb8ac3814..da71444ac0 100644 --- a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-invalid-attribute/template.marko:1:25 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdomProduction-error-expected.txt index 6bb8ac3814..da71444ac0 100644 --- a/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-invalid-attribute/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-invalid-attribute/template.marko:1:25 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/cjs-error-expected.txt index 92be8688ce..350e746654 100644 --- a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-missing-attr/template.marko:1:2 > 1 | | ^^^ Invalid 'for' tag, missing an 'of', 'in' or 'to' attribute. diff --git a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/html-error-expected.txt index 92be8688ce..350e746654 100644 --- a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-missing-attr/template.marko:1:2 > 1 | | ^^^ Invalid 'for' tag, missing an 'of', 'in' or 'to' attribute. diff --git a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/htmlProduction-error-expected.txt index 92be8688ce..350e746654 100644 --- a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-missing-attr/template.marko:1:2 > 1 | | ^^^ Invalid 'for' tag, missing an 'of', 'in' or 'to' attribute. diff --git a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdom-error-expected.txt index 92be8688ce..350e746654 100644 --- a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-missing-attr/template.marko:1:2 > 1 | | ^^^ Invalid 'for' tag, missing an 'of', 'in' or 'to' attribute. diff --git a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdomProduction-error-expected.txt index 92be8688ce..350e746654 100644 --- a/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-missing-attr/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-missing-attr/template.marko:1:2 > 1 | | ^^^ Invalid 'for' tag, missing an 'of', 'in' or 'to' attribute. diff --git a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/cjs-error-expected.txt index ab29e70983..a9733a9c6a 100644 --- a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-of-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for of' tag, missing |value, index| params. diff --git a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/html-error-expected.txt index ab29e70983..a9733a9c6a 100644 --- a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-of-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for of' tag, missing |value, index| params. diff --git a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/htmlProduction-error-expected.txt index ab29e70983..a9733a9c6a 100644 --- a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-of-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for of' tag, missing |value, index| params. diff --git a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdom-error-expected.txt index ab29e70983..a9733a9c6a 100644 --- a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-of-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for of' tag, missing |value, index| params. diff --git a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdomProduction-error-expected.txt index ab29e70983..a9733a9c6a 100644 --- a/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-for-of-missing-params/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-for-of-missing-params/template.marko:1:2 > 1 | | ^^^ Invalid 'for of' tag, missing |value, index| params. diff --git a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/cjs-error-expected.txt index 40b82f93dc..53609543c9 100644 --- a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-html-element-arguments/template.marko:1:6 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/html-error-expected.txt index 40b82f93dc..53609543c9 100644 --- a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-html-element-arguments/template.marko:1:6 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/htmlProduction-error-expected.txt index 40b82f93dc..53609543c9 100644 --- a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-html-element-arguments/template.marko:1:6 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdom-error-expected.txt index 40b82f93dc..53609543c9 100644 --- a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-html-element-arguments/template.marko:1:6 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdomProduction-error-expected.txt index 40b82f93dc..53609543c9 100644 --- a/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-html-element-arguments/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-html-element-arguments/template.marko:1:6 > 1 | | ^^^^^^^^^^^ Tag does not support arguments. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/cjs-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/generated-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/html-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/htmlProduction-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/hydrate-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdom-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdomProduction-error-expected.txt index 969928c665..735c739b37 100644 --- a/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-id-shorthand-and-attribute/template.marko:1:8 > 1 | | ^^^^^^ Cannot have shorthand id and id attribute. \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/cjs-error-expected.txt index 68e1344a57..2f0fa78363 100644 --- a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-if-missing-condition/template.marko:1:2 > 1 | | ^^ Invalid '' tag, expected arguments like ''. diff --git a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/html-error-expected.txt index 68e1344a57..2f0fa78363 100644 --- a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-if-missing-condition/template.marko:1:2 > 1 | | ^^ Invalid '' tag, expected arguments like ''. diff --git a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/htmlProduction-error-expected.txt index 68e1344a57..2f0fa78363 100644 --- a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-if-missing-condition/template.marko:1:2 > 1 | | ^^ Invalid '' tag, expected arguments like ''. diff --git a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdom-error-expected.txt index 68e1344a57..2f0fa78363 100644 --- a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-if-missing-condition/template.marko:1:2 > 1 | | ^^ Invalid '' tag, expected arguments like ''. diff --git a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdomProduction-error-expected.txt index 68e1344a57..2f0fa78363 100644 --- a/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-if-missing-condition/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-if-missing-condition/template.marko:1:2 > 1 | | ^^ Invalid '' tag, expected arguments like ''. diff --git a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/cjs-error-expected.txt index a186b06e4b..cf3d8ffb2a 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-component-missing/template.marko:1:30 > 1 | import MissingComponent from "" | ^^^^^^^^^^^^^^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/html-error-expected.txt index a186b06e4b..cf3d8ffb2a 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-component-missing/template.marko:1:30 > 1 | import MissingComponent from "" | ^^^^^^^^^^^^^^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/htmlProduction-error-expected.txt index a186b06e4b..cf3d8ffb2a 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-component-missing/template.marko:1:30 > 1 | import MissingComponent from "" | ^^^^^^^^^^^^^^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/hydrate-error-expected.txt index a186b06e4b..cf3d8ffb2a 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-component-missing/template.marko:1:30 > 1 | import MissingComponent from "" | ^^^^^^^^^^^^^^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdom-error-expected.txt index a186b06e4b..cf3d8ffb2a 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-component-missing/template.marko:1:30 > 1 | import MissingComponent from "" | ^^^^^^^^^^^^^^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdomProduction-error-expected.txt index a186b06e4b..cf3d8ffb2a 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-component-missing/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-component-missing/template.marko:1:30 > 1 | import MissingComponent from "" | ^^^^^^^^^^^^^^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/cjs-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/generated-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/html-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/htmlProduction-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/hydrate-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdom-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdomProduction-error-expected.txt index 3ecf2490ce..e1e14c7b87 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-nested-content/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-nested-content/template.marko:2:2 1 | import a from "b"; > 2 |
diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/cjs-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/generated-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/html-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/htmlProduction-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/hydrate-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdom-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdomProduction-error-expected.txt index 755f7af611..67e3450305 100644 --- a/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-import-tag-root-only/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-import-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/cjs-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/generated-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/html-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/htmlProduction-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/hydrate-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdom-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdomProduction-error-expected.txt index fcefb5e64f..bc56a15ca9 100644 --- a/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-invalid-js/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-invalid-js/template.marko:1:5 > 1 | $ x..y(); | ^ Unexpected token diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/cjs-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/generated-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/html-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/htmlProduction-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/hydrate-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdom-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdomProduction-error-expected.txt index 9c6293aa54..4089cf389a 100644 --- a/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-duplicate/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-duplicate/template.marko:5:15 3 | 4 | diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/cjs-error-expected.txt index be5edc508b..0453e7afab 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-attributes/template.marko:1:28 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/html-error-expected.txt index be5edc508b..0453e7afab 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-attributes/template.marko:1:28 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/htmlProduction-error-expected.txt index be5edc508b..0453e7afab 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-attributes/template.marko:1:28 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdom-error-expected.txt index be5edc508b..0453e7afab 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-attributes/template.marko:1:28 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdomProduction-error-expected.txt index be5edc508b..0453e7afab 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-attributes/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-attributes/template.marko:1:28 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/cjs-error-expected.txt index 483fa06785..fbe6a9f0db 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/template.marko:1:15 > 1 | | ^^^^^^ The 'name' attribute for 'macro' tags must be a string literal. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/html-error-expected.txt index 483fa06785..fbe6a9f0db 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/template.marko:1:15 > 1 | | ^^^^^^ The 'name' attribute for 'macro' tags must be a string literal. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/htmlProduction-error-expected.txt index 483fa06785..fbe6a9f0db 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/template.marko:1:15 > 1 | | ^^^^^^ The 'name' attribute for 'macro' tags must be a string literal. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdom-error-expected.txt index 483fa06785..fbe6a9f0db 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/template.marko:1:15 > 1 | | ^^^^^^ The 'name' attribute for 'macro' tags must be a string literal. diff --git a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdomProduction-error-expected.txt index 483fa06785..fbe6a9f0db 100644 --- a/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-invalid-name-attribute/template.marko:1:15 > 1 | | ^^^^^^ The 'name' attribute for 'macro' tags must be a string literal. diff --git a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/cjs-error-expected.txt index b0d49cea18..410dff029a 100644 --- a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-missing-name/template.marko:1:1 > 1 | | ^ The 'macro' tag must have a 'name' attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/html-error-expected.txt index b0d49cea18..410dff029a 100644 --- a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-missing-name/template.marko:1:1 > 1 | | ^ The 'macro' tag must have a 'name' attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/htmlProduction-error-expected.txt index b0d49cea18..410dff029a 100644 --- a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-missing-name/template.marko:1:1 > 1 | | ^ The 'macro' tag must have a 'name' attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdom-error-expected.txt index b0d49cea18..410dff029a 100644 --- a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-missing-name/template.marko:1:1 > 1 | | ^ The 'macro' tag must have a 'name' attribute. diff --git a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdomProduction-error-expected.txt index b0d49cea18..410dff029a 100644 --- a/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-macro-missing-name/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-macro-missing-name/template.marko:1:1 > 1 | | ^ The 'macro' tag must have a 'name' attribute. diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/cjs-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/generated-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/html-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/htmlProduction-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/hydrate-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdom-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdomProduction-error-expected.txt index dd591ea669..7a597fb1a6 100644 --- a/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-mismatched-closing-tag/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-mismatched-closing-tag/template.marko:4:1 2 | 3 | diff --git a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/cjs-error-expected.txt index 25146c1434..4d39c62687 100644 --- a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/template.marko:1:23 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/html-error-expected.txt index 25146c1434..4d39c62687 100644 --- a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/template.marko:1:23 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/htmlProduction-error-expected.txt index 25146c1434..4d39c62687 100644 --- a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/template.marko:1:23 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdom-error-expected.txt index 25146c1434..4d39c62687 100644 --- a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/template.marko:1:23 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdomProduction-error-expected.txt index 25146c1434..4d39c62687 100644 --- a/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-attribute-from-tag-def/template.marko:1:23 > 1 | | ^^^ does not support the "x" attribute. diff --git a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/cjs-error-expected.txt index 42fcd1ffb7..0084348ecb 100644 --- a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-component-missing-file/template.marko:1:2 > 1 | | ^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/html-error-expected.txt index 42fcd1ffb7..0084348ecb 100644 --- a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-component-missing-file/template.marko:1:2 > 1 | | ^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/htmlProduction-error-expected.txt index 42fcd1ffb7..0084348ecb 100644 --- a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-component-missing-file/template.marko:1:2 > 1 | | ^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdom-error-expected.txt index 42fcd1ffb7..0084348ecb 100644 --- a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-component-missing-file/template.marko:1:2 > 1 | | ^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdomProduction-error-expected.txt index 42fcd1ffb7..0084348ecb 100644 --- a/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-component-missing-file/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-component-missing-file/template.marko:1:2 > 1 | | ^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/cjs-error-expected.txt index dda271762d..03fa80bfe1 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/html-error-expected.txt index dda271762d..03fa80bfe1 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/htmlProduction-error-expected.txt index dda271762d..03fa80bfe1 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdom-error-expected.txt index dda271762d..03fa80bfe1 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdomProduction-error-expected.txt index dda271762d..03fa80bfe1 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-json/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/html-error-expected.txt index 27bd8c9930..61abed9780 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/htmlProduction-error-expected.txt index 27bd8c9930..61abed9780 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdom-error-expected.txt index 27bd8c9930..61abed9780 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdomProduction-error-expected.txt index 27bd8c9930..61abed9780 100644 --- a/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-entry-marko-tag-json/template.marko:1:2 > 1 | | ^^^^^^^^ Unable to find entry point for custom tag . \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/cjs-error-expected.txt index 3a5977a44f..c6b572bf47 100644 --- a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-required-attr/template.marko:1:2 > 1 | | ^^^^^^^^^^ The "name" attribute is required. diff --git a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/html-error-expected.txt index 3a5977a44f..c6b572bf47 100644 --- a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-required-attr/template.marko:1:2 > 1 | | ^^^^^^^^^^ The "name" attribute is required. diff --git a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/htmlProduction-error-expected.txt index 3a5977a44f..c6b572bf47 100644 --- a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-required-attr/template.marko:1:2 > 1 | | ^^^^^^^^^^ The "name" attribute is required. diff --git a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdom-error-expected.txt index 3a5977a44f..c6b572bf47 100644 --- a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-required-attr/template.marko:1:2 > 1 | | ^^^^^^^^^^ The "name" attribute is required. diff --git a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdomProduction-error-expected.txt index 3a5977a44f..c6b572bf47 100644 --- a/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-missing-required-attr/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-missing-required-attr/template.marko:1:2 > 1 | | ^^^^^^^^^^ The "name" attribute is required. diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/cjs-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/generated-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/html-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/htmlProduction-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/hydrate-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdom-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdomProduction-error-expected.txt index 75775d49b5..9774a4597f 100644 --- a/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-inline-class/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-multiple-inline-class/template.marko:7:1 5 | } 6 | diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/cjs-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/cjs-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/generated-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/generated-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/html-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/html-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/htmlProduction-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/htmlProduction-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/hydrate-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/hydrate-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdom-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdom-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdomProduction-error-expected.txt index c56c4bae0d..9617f6cc03 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/snapshots/vdomProduction-error-expected.txt @@ -1,12 +1,14 @@ -CompileErrors - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:11 - > 1 |
- | ^ Unexpected token, expected "," - 2 | +CompileErrors: + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:11 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | - CompileError - at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:1:19 - > 1 |
- | ^ Unexpected token, expected "," - 2 | \ No newline at end of file + at packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko:3:19 + 1 | $ const a = 1; + 2 | $ const b = 2; + > 3 |
+ | ^ Unexpected token, expected "," + 4 | \ No newline at end of file diff --git a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko index 99e12bcf81..6c41d0c89a 100644 --- a/packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko +++ b/packages/translator-default/test/fixtures/error-multiple-syntax-errors/template.marko @@ -1 +1,3 @@ +$ const a = 1; +$ const b = 2;
diff --git a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/cjs-error-expected.txt index e7cb7a0800..86dfbb5ece 100644 --- a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-native-tag-params/template.marko:1:6 > 1 | | ^ Tag does not support parameters. diff --git a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/html-error-expected.txt index e7cb7a0800..86dfbb5ece 100644 --- a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-native-tag-params/template.marko:1:6 > 1 | | ^ Tag does not support parameters. diff --git a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/htmlProduction-error-expected.txt index e7cb7a0800..86dfbb5ece 100644 --- a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-native-tag-params/template.marko:1:6 > 1 | | ^ Tag does not support parameters. diff --git a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdom-error-expected.txt index e7cb7a0800..86dfbb5ece 100644 --- a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-native-tag-params/template.marko:1:6 > 1 | | ^ Tag does not support parameters. diff --git a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdomProduction-error-expected.txt index e7cb7a0800..86dfbb5ece 100644 --- a/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-native-tag-params/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-native-tag-params/template.marko:1:6 > 1 | | ^ Tag does not support parameters. diff --git a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/cjs-error-expected.txt index 6b5c5ad8ab..b80dd83d72 100644 --- a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-nested-tag-arguments/template.marko:2:10 1 | > 2 | <@test(a, b, { c })> diff --git a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/html-error-expected.txt index 6b5c5ad8ab..b80dd83d72 100644 --- a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-nested-tag-arguments/template.marko:2:10 1 | > 2 | <@test(a, b, { c })> diff --git a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/htmlProduction-error-expected.txt index 6b5c5ad8ab..b80dd83d72 100644 --- a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-nested-tag-arguments/template.marko:2:10 1 | > 2 | <@test(a, b, { c })> diff --git a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdom-error-expected.txt index 6b5c5ad8ab..b80dd83d72 100644 --- a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-nested-tag-arguments/template.marko:2:10 1 | > 2 | <@test(a, b, { c })> diff --git a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdomProduction-error-expected.txt index 6b5c5ad8ab..b80dd83d72 100644 --- a/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-nested-tag-arguments/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-nested-tag-arguments/template.marko:2:10 1 | > 2 | <@test(a, b, { c })> diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/cjs-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/generated-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/html-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/htmlProduction-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/hydrate-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdom-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdomProduction-error-expected.txt index ca27cd094f..b55ee617da 100644 --- a/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-open-tag-only-concise/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-open-tag-only-concise/template.marko:2:5 1 | input > 2 | -- This should not be allowed! diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/cjs-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/generated-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/html-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/htmlProduction-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/hydrate-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdom-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdomProduction-error-expected.txt index daf1735097..4c96cad027 100644 --- a/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-scriptlets-not-supported/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-scriptlets-not-supported/template.marko:1:2 > 1 | <% console.log(x) %> | ^ <% scriptlets %> are no longer supported. diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/cjs-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/generated-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/html-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/htmlProduction-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/hydrate-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdom-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdomProduction-error-expected.txt index 7d37f84c8e..e9a583e6e4 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-nested-content/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-nested-content/template.marko:2:2 1 | static { console.log(x); } > 2 |
diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/cjs-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/generated-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/generated-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/generated-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/generated-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/html-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/htmlProduction-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/hydrate-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdom-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdomProduction-error-expected.txt index 888bd9bc60..25f72c73ac 100644 --- a/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-static-tag-root-only/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-static-tag-root-only/template.marko:2:4 1 |
> 2 | diff --git a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/cjs-error-expected.txt index e3fbee474f..5dad65f8bd 100644 --- a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-multiple/template.marko:5:1 3 | } 4 | diff --git a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/html-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/html-error-expected.txt index e3fbee474f..5dad65f8bd 100644 --- a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/html-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/html-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-multiple/template.marko:5:1 3 | } 4 | diff --git a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/htmlProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/htmlProduction-error-expected.txt index e3fbee474f..5dad65f8bd 100644 --- a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/htmlProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/htmlProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-multiple/template.marko:5:1 3 | } 4 | diff --git a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/hydrate-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/hydrate-error-expected.txt index e3fbee474f..5dad65f8bd 100644 --- a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/hydrate-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/hydrate-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-multiple/template.marko:5:1 3 | } 4 | diff --git a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdom-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdom-error-expected.txt index e3fbee474f..5dad65f8bd 100644 --- a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdom-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdom-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-multiple/template.marko:5:1 3 | } 4 | diff --git a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdomProduction-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdomProduction-error-expected.txt index e3fbee474f..5dad65f8bd 100644 --- a/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdomProduction-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-multiple/snapshots/vdomProduction-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-multiple/template.marko:5:1 3 | } 4 | diff --git a/packages/translator-default/test/fixtures/error-style-block-root-only/snapshots/cjs-error-expected.txt b/packages/translator-default/test/fixtures/error-style-block-root-only/snapshots/cjs-error-expected.txt index bb9fccabf2..cab692ed84 100644 --- a/packages/translator-default/test/fixtures/error-style-block-root-only/snapshots/cjs-error-expected.txt +++ b/packages/translator-default/test/fixtures/error-style-block-root-only/snapshots/cjs-error-expected.txt @@ -1,4 +1,4 @@ -CompileError +CompileError: at packages/translator-default/test/fixtures/error-style-block-root-only/template.marko:2:4 1 |
> 2 |