fix: rename to maxun-core
This commit is contained in:
@@ -213,7 +213,7 @@ export default class Interpreter extends EventEmitter {
|
|||||||
: Object.entries(value).map((a) => Object.fromEntries([a]));
|
: Object.entries(value).map((a) => Object.fromEntries([a]));
|
||||||
// every condition is treated as a single context
|
// every condition is treated as a single context
|
||||||
|
|
||||||
switch (key as (typeof operators)[number]) {
|
switch (key as keyof typeof operators) {
|
||||||
case '$and':
|
case '$and':
|
||||||
return array?.every((x) => this.applicable(x, context));
|
return array?.every((x) => this.applicable(x, context));
|
||||||
case '$or':
|
case '$or':
|
||||||
@@ -253,7 +253,7 @@ export default class Interpreter extends EventEmitter {
|
|||||||
* calls all mentioned functions on the Page object.\
|
* calls all mentioned functions on the Page object.\
|
||||||
* \
|
* \
|
||||||
* Manipulates the iterator indexes (experimental feature, likely to be removed in
|
* Manipulates the iterator indexes (experimental feature, likely to be removed in
|
||||||
* the following versions of waw-interpreter)
|
* the following versions of maxun-core)
|
||||||
* @param page Playwright Page object
|
* @param page Playwright Page object
|
||||||
* @param steps Array of actions.
|
* @param steps Array of actions.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user