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

fp-less

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-less - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

56

less~extend.js

@@ -8,2 +8,3 @@ 'use strict';

const sourcemaps = require('gulp-sourcemaps');
const utils = require('fepper-utils');

@@ -13,12 +14,5 @@ const conf = global.conf;

const cssBldDir = conf.ui.paths.source.cssBld;
const cssSrcDir = conf.ui.paths.source.cssSrc;
// Set up pref.less.
pref.less = pref.less || {};
if (typeof pref.less.paths === 'undefined') {
pref.less.paths = [cssSrcDir + '/less'];
}
// Opt for line comments by default.

@@ -29,2 +23,18 @@ if (typeof pref.less.dumpLineNumbers === 'undefined') {

const cssBldDir = conf.ui.paths.source.cssBld;
const cssSrcDir = conf.ui.paths.source.cssSrc;
if (typeof pref.less.paths === 'undefined') {
pref.less.paths = [cssSrcDir + '/less'];
}
const streamUntouched = () => new Transform({
readableObjectMode: true,
writableObjectMode: true,
transform(file, enc, cb) {
this.push(file);
cb();
}
});
function getSourcemapDest() {

@@ -75,13 +85,2 @@ if (

function streamUntouched() {
return new Transform({
readableObjectMode: true,
writableObjectMode: true,
transform(file, enc, cb) {
this.push(file);
cb();
}
});
}
// Declare gulp tasks.

@@ -140,1 +139,22 @@

});
gulp.task('less:help', function (cb) {
let out = `
Fepper Less Extension
Use:
<task> [<additional args>...]
Tasks:
fp less Build Fepper's Less files into frontend CSS.
fp less:frontend-copy Copy Less-built frontend CSS to backend.
fp less:no-comment Like 'fp less' but without line comments.
fp less:once Same as 'fp less'.
fp less:watch Watch for modifications to Less files and build when modified.
fp less:watch-no-comment Like 'fp less:watch' but without line comments.
fp less:help Print fp-less tasks and descriptions.
`;
utils.info(out);
cb();
});
{
"name": "fp-less",
"version": "0.2.4",
"version": "0.2.5",
"description": "Less extension for Fepper",

@@ -5,0 +5,0 @@ "main": "less~extend.js",

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