Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-template-recast

Package Overview
Dependencies
Maintainers
7
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-recast - npm Package Compare versions

Comparing version 6.1.4 to 6.1.5

4

lib/parse-result.js

@@ -410,3 +410,5 @@ "use strict";

blockParamsSource = nodeInfo.source.substring(blockParamStartIndex, blockParamsEndIndex + 1);
const closeOpenIndex = nodeInfo.source.indexOf(selfClosing ? '/>' : '>');
// Match closing index after start of block params to avoid closing tag if /> or > encountered in string
const closeOpenIndex = nodeInfo.source.substring(blockParamStartIndex).indexOf(selfClosing ? '/>' : '>') +
blockParamStartIndex;
postBlockParamsWhitespace = nodeInfo.source.substring(blockParamsEndIndex + 1, closeOpenIndex);

@@ -413,0 +415,0 @@ }

{
"name": "ember-template-recast",
"version": "6.1.4",
"version": "6.1.5",
"description": "Non-destructive template transformer.",

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

# ember-template-recast
[![NPM version](https://img.shields.io/npm/v/ember-template-recast.svg?style=flat)](https://npmjs.org/package/ember-template-recast)

@@ -9,2 +10,3 @@ With ember-template-recast, transform a template's AST and reprint it. Its

its formatting:
```js

@@ -36,2 +38,3 @@ const recast = require('ember-template-recast');

```
## Command Line Usage

@@ -42,3 +45,3 @@

```
```sh
npx ember-template-recast directory/of/templates -t transform.js

@@ -136,2 +139,3 @@ ```

Example:
```js

@@ -138,0 +142,0 @@ const { transform } = require('ember-template-recast');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc