ember-template-compiler
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -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": {} | ||
} |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
31
14574
1
2
274