marko 6.0.127 → 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/debug/html.js +1 -1
- package/dist/debug/html.mjs +1 -1
- package/dist/html/writer.d.ts +1 -1
- package/dist/html.js +1 -1
- package/dist/html.mjs +1 -1
- package/dist/translator/index.js +5 -2
- package/package.json +2 -2
package/dist/debug/html.js
CHANGED
|
@@ -2868,7 +2868,7 @@ function getFilteredGlobals($global2) {
|
|
|
2868
2868
|
}
|
|
2869
2869
|
function _subscribe(subscribers, scope) {
|
|
2870
2870
|
$chunk.boundary.state.serializer.writeCall(scope, subscribers, "add");
|
|
2871
|
-
referenceScope(scope);
|
|
2871
|
+
return referenceScope(scope);
|
|
2872
2872
|
}
|
|
2873
2873
|
|
|
2874
2874
|
// src/html/attrs.ts
|
package/dist/debug/html.mjs
CHANGED
|
@@ -2775,7 +2775,7 @@ function getFilteredGlobals($global2) {
|
|
|
2775
2775
|
}
|
|
2776
2776
|
function _subscribe(subscribers, scope) {
|
|
2777
2777
|
$chunk.boundary.state.serializer.writeCall(scope, subscribers, "add");
|
|
2778
|
-
referenceScope(scope);
|
|
2778
|
+
return referenceScope(scope);
|
|
2779
2779
|
}
|
|
2780
2780
|
|
|
2781
2781
|
// src/html/attrs.ts
|
package/dist/html/writer.d.ts
CHANGED
|
@@ -146,4 +146,4 @@ export declare function _trailers(html: string): void;
|
|
|
146
146
|
type QueueCallback = (ticked: true) => void;
|
|
147
147
|
export declare function queueTick(cb: QueueCallback): void;
|
|
148
148
|
export declare function offTick(cb: QueueCallback): void;
|
|
149
|
-
export declare function _subscribe(subscribers: Set<ScopeInternals>, scope: ScopeInternals):
|
|
149
|
+
export declare function _subscribe(subscribers: Set<ScopeInternals>, scope: ScopeInternals): ScopeInternals;
|
package/dist/html.js
CHANGED
|
@@ -1764,7 +1764,7 @@ function getFilteredGlobals($global2) {
|
|
|
1764
1764
|
return filtered;
|
|
1765
1765
|
}
|
|
1766
1766
|
function _subscribe(subscribers, scope) {
|
|
1767
|
-
$chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
|
|
1767
|
+
return $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
1770
|
// src/html/attrs.ts
|
package/dist/html.mjs
CHANGED
|
@@ -1674,7 +1674,7 @@ function getFilteredGlobals($global2) {
|
|
|
1674
1674
|
return filtered;
|
|
1675
1675
|
}
|
|
1676
1676
|
function _subscribe(subscribers, scope) {
|
|
1677
|
-
$chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
|
|
1677
|
+
return $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), referenceScope(scope);
|
|
1678
1678
|
}
|
|
1679
1679
|
|
|
1680
1680
|
// src/html/attrs.ts
|
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
|
},
|