@player-ui/markdown-plugin 0.7.2-next.0 → 0.7.2-next.1
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.
|
@@ -1636,7 +1636,7 @@ function parseExpression(expr, options) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
args.push(node);
|
|
1638
1638
|
}
|
|
1639
|
-
if (charIndex !== termination) {
|
|
1639
|
+
if (strictMode && charIndex !== termination) {
|
|
1640
1640
|
throwError(`Expected ${String.fromCharCode(termination)}`, index);
|
|
1641
1641
|
}
|
|
1642
1642
|
return args;
|
|
@@ -1719,7 +1719,7 @@ function parseExpression(expr, options) {
|
|
|
1719
1719
|
const node = gobbleExpression();
|
|
1720
1720
|
if (node) {
|
|
1721
1721
|
nodes.push(node);
|
|
1722
|
-
} else if (index < length) {
|
|
1722
|
+
} else if (strictMode && index < length) {
|
|
1723
1723
|
throwError(`Unexpected "${exprI(index)}"`, index);
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
@@ -1985,7 +1985,7 @@ class ExpressionEvaluator {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
let storedAST;
|
|
1987
1987
|
try {
|
|
1988
|
-
storedAST = (_a = this.expressionsCache.get(matchedExp)) != null ? _a : parseExpression(matchedExp);
|
|
1988
|
+
storedAST = (_a = this.expressionsCache.get(matchedExp)) != null ? _a : parseExpression(matchedExp, { strict: options.strict });
|
|
1989
1989
|
this.expressionsCache.set(matchedExp, storedAST);
|
|
1990
1990
|
} catch (e) {
|
|
1991
1991
|
if (options.throwErrors || !this.hooks.onError.call(e)) {
|
|
@@ -5132,8 +5132,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
5132
5132
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
5133
5133
|
});
|
|
5134
5134
|
};
|
|
5135
|
-
const PLAYER_VERSION = "0.7.2-next.
|
|
5136
|
-
const COMMIT = "
|
|
5135
|
+
const PLAYER_VERSION = "0.7.2-next.1";
|
|
5136
|
+
const COMMIT = "2a5ed1593e7196546027a83efa8fda41965c121e";
|
|
5137
5137
|
const _Player = class {
|
|
5138
5138
|
constructor(config) {
|
|
5139
5139
|
this.logger = new TapableLogger();
|