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

docpad-plugin-less

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-less - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

Contributing.md

28

out/less.plugin.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.4.0
// Generated by CoffeeScript 1.6.3
var __hasProp = {}.hasOwnProperty,

@@ -6,9 +6,9 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

module.exports = function(BasePlugin) {
var LessPlugin;
var LessPlugin, _ref;
return LessPlugin = (function(_super) {
__extends(LessPlugin, _super);
function LessPlugin() {
return LessPlugin.__super__.constructor.apply(this, arguments);
_ref = LessPlugin.__super__.constructor.apply(this, arguments);
return _ref;
}

@@ -30,3 +30,3 @@

LessPlugin.prototype.render = function(opts, next) {
var config, dirPath, file, inExtension, key, less, outExtension, parseOptions, path, srcPath, templateData, value, _ref;
var config, dirPath, file, inExtension, key, less, outExtension, parseOptions, path, srcPath, templateData, value, _ref1;
config = this.config;

@@ -44,6 +44,6 @@ inExtension = opts.inExtension, outExtension = opts.outExtension, templateData = opts.templateData, file = opts.file;

if (config.parseOptions) {
_ref = config.parseOptions;
for (key in _ref) {
if (!__hasProp.call(_ref, key)) continue;
value = _ref[key];
_ref1 = config.parseOptions;
for (key in _ref1) {
if (!__hasProp.call(_ref1, key)) continue;
value = _ref1[key];
parseOptions[key] = value;

@@ -53,3 +53,3 @@ }

return new less.Parser(parseOptions).parse(opts.content, function(err, tree) {
var compileOptions, _ref1;
var compileOptions, _ref2;
if (err) {

@@ -63,6 +63,6 @@ err = new Error(less.formatError(err, parseOptions));

if (config.compileOptions) {
_ref1 = config.compileOptions;
for (key in _ref1) {
if (!__hasProp.call(_ref1, key)) continue;
value = _ref1[key];
_ref2 = config.compileOptions;
for (key in _ref2) {
if (!__hasProp.call(_ref2, key)) continue;
value = _ref2[key];
compileOptions[key] = value;

@@ -69,0 +69,0 @@ }

{
"name": "docpad-plugin-less",
"version": "2.1.3",
"version": "2.2.0",
"description": "Adds support for the LESS CSS pre-processor to DocPad",

@@ -24,7 +24,7 @@ "homepage": "http://docpad.org/plugin/less",

"bugs": {
"url": "https://github.com/bevry/docpad-extras/issues"
"url": "http://docpad.org/plugin/less/issues"
},
"repository" : {
"type": "git",
"url": "http://github.com/bevry/docpad-extras.git"
"url": "https://github.com/docpad/docpad-plugin-less.git"
},

@@ -36,6 +36,6 @@ "engines" : {

"dependencies": {
"less": "~1.3.0"
"less": "~1.4.2"
},
"devDependencies": {
"coffee-script": "~1.4.0"
"coffee-script": "~1.6.2"
},

@@ -46,2 +46,2 @@ "main": "./out/less.plugin.js",

}
}
}

@@ -1,2 +0,9 @@

# LessCSS Plugin for DocPad
# LessCSS Plugin for [DocPad](https://docpad.org)
[![Build Status](https://secure.travis-ci.org/docpad/docpad-plugin-less.png?branch=master)](http://travis-ci.org/docpad/docpad-plugin-less "Check this project's build status on TravisCI")
[![NPM version](https://badge.fury.io/js/docpad-plugin-less.png)](https://npmjs.org/package/docpad-plugin-less "View this project on NPM")
[![Gittip donate button](http://badgr.co/gittip/docpad.png)](https://www.gittip.com/docpad/ "Donate weekly to this project using Gittip")
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif)](https://www.paypal.com/au/cgi-bin/webscr?cmd=_flow&SESSION=IHj3DG3oy_N9A9ZDIUnPksOi59v0i-EWDTunfmDrmU38Tuohg_xQTx0xcjq&dispatch=5885d80a13c0db1f8e263663d3faee8d14f86393d55a810282b64afed84968ec "Donate once-off to this project using Paypal")
Adds support for the [LESS](http://lesscss.org/) CSS pre-processor to [DocPad](https://docpad.org)

@@ -3,0 +10,0 @@

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