New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-ast-helpers

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-ast-helpers - npm Package Compare versions

Comparing version

to
0.3.5

2

build-time-component.d.ts

@@ -153,4 +153,4 @@ import { BuildAttrContent } from './html';

_transformMustachePairs(node: AST.MustacheStatement): void;
_replaceYield(node: AST.MustacheStatement): AST.Statement[] | undefined;
_replaceYield(node: AST.MustacheStatement): AST.Statement[] | null | undefined;
_transformMustacheInCollection(siblings: AST.Statement[], i: number): boolean;
}

@@ -516,5 +516,11 @@ "use strict";

_replaceYield(node) {
if (this.node.type === 'BlockStatement' && node.path.original === 'yield') {
if (node.path.original !== 'yield') {
return;
}
if (this.node.type === 'BlockStatement') {
return this.node.program.body;
}
else {
return null;
}
}

@@ -521,0 +527,0 @@ _transformMustacheInCollection(siblings, i) {

{
"name": "ember-ast-helpers",
"version": "0.3.4",
"version": "0.3.5",
"description": "Utility belt to level-up your Ember AST transforms",

@@ -5,0 +5,0 @@ "keywords": [