marko 5.35.32 → 5.35.34
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.
|
@@ -193,6 +193,8 @@ var proto = AsyncStream.prototype = {
|
|
|
193
193
|
|
|
194
194
|
return this.bv_ = {
|
|
195
195
|
next: iteratorNextFn,
|
|
196
|
+
return: iteratorReturnFn,
|
|
197
|
+
throw: iteratorReturnFn,
|
|
196
198
|
[Symbol.asyncIterator]() {
|
|
197
199
|
return this;
|
|
198
200
|
}
|
|
@@ -763,4 +765,11 @@ function getNonMarkoStack(error) {
|
|
|
763
765
|
slice(1).
|
|
764
766
|
filter((line) => !/\/node_modules\/marko\//.test(line)).
|
|
765
767
|
join("\n");
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
function iteratorReturnFn(value) {
|
|
771
|
+
return Promise.resolve({
|
|
772
|
+
value,
|
|
773
|
+
done: true
|
|
774
|
+
});
|
|
766
775
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marko",
|
|
3
|
-
"version": "5.35.
|
|
3
|
+
"version": "5.35.34",
|
|
4
4
|
"description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"front-end",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"build": "babel ./src --out-dir ./dist --extensions .js --copy-files --config-file ../../babel.config.js --env-name=production"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@marko/compiler": "^5.37.
|
|
70
|
-
"@marko/translator-default": "^6.0.
|
|
69
|
+
"@marko/compiler": "^5.37.25",
|
|
70
|
+
"@marko/translator-default": "^6.0.25",
|
|
71
71
|
"app-module-path": "^2.2.0",
|
|
72
72
|
"argly": "^1.2.0",
|
|
73
73
|
"browser-refresh-client": "1.1.4",
|
|
@@ -193,6 +193,8 @@ var proto = (AsyncStream.prototype = {
|
|
|
193
193
|
|
|
194
194
|
return (this.___iterator = {
|
|
195
195
|
next: iteratorNextFn,
|
|
196
|
+
return: iteratorReturnFn,
|
|
197
|
+
throw: iteratorReturnFn,
|
|
196
198
|
[Symbol.asyncIterator]() {
|
|
197
199
|
return this;
|
|
198
200
|
},
|
|
@@ -764,3 +766,10 @@ function getNonMarkoStack(error) {
|
|
|
764
766
|
.filter((line) => !/\/node_modules\/marko\//.test(line))
|
|
765
767
|
.join("\n");
|
|
766
768
|
}
|
|
769
|
+
|
|
770
|
+
function iteratorReturnFn(value) {
|
|
771
|
+
return Promise.resolve({
|
|
772
|
+
value,
|
|
773
|
+
done: true,
|
|
774
|
+
});
|
|
775
|
+
}
|