Comparing version 0.11.0 to 0.11.1
@@ -53,4 +53,5 @@ // Generated by CoffeeScript 1.7.0 | ||
Mustache.prototype.clientHelpers = function() { | ||
var runtime_path; | ||
runtime_path = path.join(this.compiler.__accord_path, 'web/builds/2.0.0/hogan-2.0.0.min.js'); | ||
var runtime_path, version; | ||
version = require(path.join(this.compiler.__accord_path, 'package')).version; | ||
runtime_path = path.join(this.compiler.__accord_path, "web/builds/" + version + "/hogan-" + version + ".min.js"); | ||
return fs.readFileSync(runtime_path, 'utf8'); | ||
@@ -57,0 +58,0 @@ }; |
{ | ||
"name": "accord", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"author": "Jeff Escalante <hello@jenius.me>", | ||
@@ -13,3 +13,3 @@ "description": "A unified interface for compiled languages and templates in JavaScript", | ||
"dependencies": { | ||
"fobject": "0.0.0", | ||
"fobject": "0.x", | ||
"glob": "4.x", | ||
@@ -16,0 +16,0 @@ "indx": "0.1.x", |
@@ -23,3 +23,3 @@ accord | ||
Accord itself exposes only a javascript API. If you are interested in using this library from the command line, check out the [accord-cli](https://github.com/carrot/accord-cli) project. | ||
Accord itself exposes only a JavaScript API. If you are interested in using this library from the command line, check out the [accord-cli](https://github.com/carrot/accord-cli) project. | ||
@@ -76,2 +76,3 @@ Since some templating engines are async and others are not, accord keeps things consistent by returning a promise for any task (using [when.js](https://github.com/cujojs/when)). Here's an example in CoffeeScript: | ||
- `adapter.name` | ||
- `adapter.render(string, options)` - render a string to a compiled string | ||
@@ -78,0 +79,0 @@ - `adapter.renderFile(path, options)` - render a file to a compiled string |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
47345
1078
148
11
+ Addedfobject@0.0.4(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedsemver@5.7.2(transitive)
- Removedfobject@0.0.0(transitive)
Updatedfobject@0.x