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

ember-templates-loader

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-templates-loader - npm Package Compare versions

Comparing version 1.12.1 to 1.13.0

11

index.js

@@ -1,6 +0,13 @@

var precompile = require('./ember-template-compiler').precompile;
module.exports = function(source) {
var options = this.options.emberTemplatesLoader || {};
var precompile = options.precompile;
if (!precompile) {
precompile = require(options.compiler || './ember-template-compiler').precompile;
}
this.cacheable && this.cacheable();
return 'module.exports = Ember.HTMLBars.template(' + precompile(source) + ');';
}
};
module.exports.seperable = true;

4

package.json
{
"name": "ember-templates-loader",
"version": "1.12.1",
"version": "1.13.0",
"description": "Load templates into Ember with webpack.",

@@ -25,3 +25,3 @@ "main": "index.js",

"napa": {
"ember": "components/ember#1.12.0"
"ember": "components/ember#1.13.0"
},

@@ -28,0 +28,0 @@ "devDependencies": {

@@ -25,2 +25,8 @@ # ember-templates-loader

]
},
emberTemplatesLoader: {
// Where to require the compiler from, defaults to an internal compiler.
compiler: 'ember/ember-template-compiler',
// OR: Pass in the precompiler directly...
// precompile: require('ember/ember-template-compiler').precompile,
}

@@ -27,0 +33,0 @@ };

Sorry, the diff of this file is too big to display

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