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

ember-template-compiler

Package Overview
Dependencies
Maintainers
1
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.1.2 to 1.2.0

.npmignore

13

package.json

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

"description": "An npm module for the ember-template-compiler.js file that ships with ember.js",
"version": "1.1.2",
"version": "1.2.0",
"repository": {

@@ -14,2 +14,5 @@ "type": "git",

},
"scripts": {
"test": "./node_modules/jasmine-node/bin/jasmine-node tests/"
},
"keywords": [

@@ -30,4 +33,10 @@ "Ember.js",

"dependencies": {},
"devDependencies": {},
"devDependencies": {
"jasmine-node": "~1.11",
"handlebars": "~1.1"
},
"peerDependencies": {
"handlebars": "~1.1"
},
"optionalDependencies": {}
}

8

README.md

@@ -15,2 +15,7 @@

##Handlebars Version
This package will utilize any recent Handlebars version. To require a specific version
simply specify it in your `package.json`. By default the latest 1.x version will be used.
##Development

@@ -20,4 +25,3 @@

cd tests
./runner.sh
npm test

@@ -24,0 +28,0 @@ ## License

@@ -8,3 +8,3 @@ var sut = require('../lib/main');

it("compiles down a handlebars template", function() {
var template = fs.readFileSync(path.join('file-system', 'app', 'templates', 'foo.handlebars')).toString();
var template = fs.readFileSync(path.join(path.dirname(fs.realpathSync(__filename)),'file-system', 'app', 'templates', 'foo.handlebars')).toString();
var result = sut.precompile(template).toString();

@@ -11,0 +11,0 @@ expect(result).toContain("outlet");

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