Socket
Socket
Sign inDemoInstall

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.10.0 to 0.11.0

.editorconfig

22

lib/adapter_base.js
// Generated by CoffeeScript 1.7.0
(function() {
var Adapter, W, fs, _;
var Adapter, File, W, _;
fs = require('fs');
File = require('fobject');

@@ -28,5 +28,7 @@ W = require('when');

}
return this.render(fs.readFileSync(file, 'utf8'), _.extend(opts, {
return (new File(file)).read({
encoding: 'utf8'
}).then(_.partialRight(this.render, _.extend(opts, {
filename: file
}));
})).bind(this));
};

@@ -48,5 +50,7 @@

}
return this.compile(fs.readFileSync(file, 'utf8'), _.extend(opts, {
return (new File(file)).read({
encoding: 'utf8'
}).then(_.partialRight(this.compile, _.extend(opts, {
filename: file
}));
})).bind(this));
};

@@ -68,5 +72,7 @@

}
return this.compileClient(fs.readFileSync(file, 'utf8'), _.extend(opts, {
return (new File(file)).read({
encoding: 'utf8'
}).then(_.partialRight(this.compileClient, _.extend(opts, {
filename: file
}));
})).bind(this));
};

@@ -73,0 +79,0 @@

@@ -29,3 +29,8 @@ // Generated by CoffeeScript 1.7.0

}
return deferred.resolve(tree.toCSS());
try {
return deferred.resolve(tree.toCSS());
} catch (_error) {
err = _error;
return deferred.reject(err);
}
});

@@ -32,0 +37,0 @@ return deferred.promise;

// Generated by CoffeeScript 1.7.0
(function() {
var abstract_mapper, adapter_to_name, glob, indx, name_to_adapter, path, resolve_path, supports, _;
var abstract_mapper, adapter_to_name, glob, indx, name_to_adapter, path, resolve, resolve_path, supports, _;

@@ -13,2 +13,4 @@ path = require('path');

resolve = require('resolve');
exports.supports = supports = function(name) {

@@ -27,3 +29,5 @@ name = adapter_to_name(name);

if (custom_path) {
compiler = require(custom_path);
compiler = require(resolve.sync(path.basename(custom_path), {
basedir: custom_path
}));
compiler.__accord_path = custom_path;

@@ -30,0 +34,0 @@ } else {

{
"name": "accord",
"version": "0.10.0",
"version": "0.11.0",
"author": "Jeff Escalante <hello@jenius.me>",

@@ -13,8 +13,9 @@ "description": "A unified interface for compiled languages and templates in JavaScript",

"dependencies": {
"colors": "0.6.x",
"when": "3.x",
"fobject": "0.0.0",
"glob": "4.x",
"indx": "0.1.x",
"lodash": "2.x",
"glob": "3.x",
"resolve": "0.7.x",
"uglify-js": "2.x",
"indx": "0.1.x"
"when": "3.x"
},

@@ -21,0 +22,0 @@ "devDependencies": {

@@ -6,6 +6,6 @@ accord

[![npm](https://badge.fury.io/js/accord.svg)](http://badge.fury.io/js/accord)
[![tests](https://travis-ci.org/jenius/accord.svg?branch=master)](https://travis-ci.org/jenius/accord)
[![coverage](http://img.shields.io/coveralls/jenius/accord.svg)](https://coveralls.io/r/jenius/accord?branch=master)
[![dependencies](https://david-dm.org/jenius/accord.svg)](https://david-dm.org/jenius/accord)
[![npm](http://img.shields.io/npm/v/accord.svg?style=flat)](http://badge.fury.io/js/accord)
[![tests](http://img.shields.io/travis/jenius/accord/master.svg?style=flat)](https://travis-ci.org/jenius/accord)
[![coverage](http://img.shields.io/coveralls/jenius/accord/master.svg?style=flat)](https://coveralls.io/r/jenius/accord?branch=master)
[![dependencies](http://img.shields.io/gemnasium/jenius/accord.svg?style=flat)](https://david-dm.org/jenius/accord)

@@ -12,0 +12,0 @@ ### Why should you care?

Sorry, the diff of this file is not supported yet

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