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

ember-template-compiler

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-compiler - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0-beta.3

2

package.json

@@ -8,3 +8,3 @@ {

"description": "An npm module for the ember-template-compiler.js file that ships with ember.js",
"version": "1.4.0",
"version": "1.5.0-beta.3",
"repository": {

@@ -11,0 +11,0 @@ "type": "git",

@@ -10,3 +10,3 @@ (function() {

* See https://raw.github.com/emberjs/ember.js/master/LICENSE
* @version 1.4.0
* @version 1.5.0-beta.3
*/

@@ -233,4 +233,2 @@

var prefix = "ember" + (+new Date()), incr = 1;
/**

@@ -247,8 +245,3 @@ Rewrite simple mustaches from `{{foo}}` to `{{bind "foo"}}`. This means that

Ember.Handlebars.Compiler.prototype.mustache = function(mustache) {
if (mustache.isHelper && mustache.id.string === 'control') {
mustache.hash = mustache.hash || new Handlebars.AST.HashNode([]);
mustache.hash.pairs.push(["controlID", new Handlebars.AST.StringNode(prefix + incr++)]);
} else if (mustache.params.length || mustache.hash) {
// no changes required
} else {
if (!(mustache.params.length || mustache.hash)) {
var id = new Handlebars.AST.IdNode([{ part: '_triageMustache' }]);

@@ -255,0 +248,0 @@

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