marko 6.0.97 → 6.0.99
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/common/helpers.d.ts +1 -0
 - package/dist/debug/dom.js +20 -41
 - package/dist/debug/dom.mjs +20 -41
 - package/dist/dom/renderer.d.ts +1 -1
 - package/dist/dom/signals.d.ts +9 -9
 - package/dist/dom.d.ts +1 -0
 - package/dist/dom.js +21 -36
 - package/dist/dom.mjs +21 -36
 - package/dist/translator/index.js +193 -249
 - package/dist/translator/util/get-root.d.ts +1 -0
 - package/package.json +1 -1
 
| 
         @@ -3,5 +3,6 @@ export type MarkoExprRootPath = t.NodePath<t.MarkoTag | t.MarkoTagBody | t.Marko 
     | 
|
| 
       3 
3 
     | 
    
         
             
            export declare function getMarkoRoot(path: t.NodePath<t.Node>): MarkoExprRootPath | null;
         
     | 
| 
       4 
4 
     | 
    
         
             
            export declare function getExprRoot(path: t.NodePath<t.Node>): t.NodePath<t.Node>;
         
     | 
| 
       5 
5 
     | 
    
         
             
            export declare function getFnRoot(path: t.NodePath<t.Node>): t.NodePath<t.ArrowFunctionExpression | t.FunctionExpression | t.ObjectMember> | undefined;
         
     | 
| 
      
 6 
     | 
    
         
            +
            export declare function getFnParent(path: t.NodePath<t.Node>): t.NodePath<t.ArrowFunctionExpression | t.FunctionExpression | t.ObjectMember> | undefined;
         
     | 
| 
       6 
7 
     | 
    
         
             
            export declare function getDeclarationRoot(path: t.NodePath<t.Node>): t.NodePath<t.FunctionDeclaration | t.VariableDeclaration> | undefined;
         
     | 
| 
       7 
8 
     | 
    
         
             
            export declare function isMarko(path: t.NodePath<any>): path is MarkoExprRootPath;
         
     |