marko 6.0.128 → 6.0.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/translator/index.js +5 -2
- package/package.json +2 -2
package/dist/translator/index.js
CHANGED
|
@@ -12561,11 +12561,14 @@ var import_babel_utils52 = require("@marko/compiler/babel-utils");
|
|
|
12561
12561
|
|
|
12562
12562
|
// src/translator/interop/build-aggregate-error.ts
|
|
12563
12563
|
var import_code_frame = require("@babel/code-frame");
|
|
12564
|
+
var markoModules = __toESM(require("@marko/compiler/modules"));
|
|
12564
12565
|
var import_path5 = __toESM(require("path"));
|
|
12565
|
-
var CWD = process.cwd();
|
|
12566
12566
|
function buildAggregateError(file, rootMsg, ...paths) {
|
|
12567
12567
|
const err = new SyntaxError();
|
|
12568
|
-
const fileName = import_path5.default.relative(
|
|
12568
|
+
const fileName = import_path5.default.relative(
|
|
12569
|
+
markoModules.cwd,
|
|
12570
|
+
file.opts.filename
|
|
12571
|
+
);
|
|
12569
12572
|
const finalMsg = `${rootMsg}:
|
|
12570
12573
|
|
|
12571
12574
|
${paths.map(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marko",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.129",
|
|
4
4
|
"description": "Optimized runtime for Marko templates.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"build": "node -r ~ts ./scripts/bundle.ts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@marko/compiler": "^5.39.
|
|
51
|
+
"@marko/compiler": "^5.39.46",
|
|
52
52
|
"csstype": "^3.1.3",
|
|
53
53
|
"magic-string": "^0.30.17"
|
|
54
54
|
},
|