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

accord

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accord - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

5

lib/adapters/mustache.js

@@ -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 @@ };

4

package.json
{
"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

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