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

flex-combo-plus

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-combo-plus - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

3

package.json
{
"name": "flex-combo-plus",
"version": "2.5.1",
"version": "2.5.2",
"description": "process engine for aproxy",

@@ -15,2 +15,3 @@ "main": "instance.js",

"date-utils": "~1.2.16",
"find-up": "~1.1.2",
"less": "~2.7.1",

@@ -17,0 +18,0 @@ "less-plugin-npm-import": "~2.1.0",

var fs = require('fs');
var path = require('path');
var less = require('less');
var findup = require('find-up');
var npmimport = new (require('less-plugin-npm-import'))();

@@ -20,11 +21,21 @@

fs.readFile(pathTar, {}, function(err, data){
less.render(data.toString(), {
sourceMap: {
sourceMapFileInline: false
},
plugins: [ npmimport ]
findup('package.json')
.then(function(pathDir){
pathDir = path.resolve(pathDir, '..');
less.render(data.toString(), {
paths: [ pathDir, path.resolve(pathTar, '..') ],
sourceMap: {
sourceMapFileInline: false
},
plugins: [ npmimport ]
})
.then(function(o){
deferred.resolve([new Buffer(o.css), pathTar]);
})
.catch(function(err){
deferred.reject(err);
});
})
.then(function(o){
deferred.resolve([new Buffer(o.css), pathTar]);
})
.catch(function(err){

@@ -31,0 +42,0 @@ deferred.reject(err);

@@ -31,3 +31,3 @@ /**

remote: {
'g.alicdn.com' : '110.75.114.8',
'g.alicdn.com' : '140.205.77.240',
'g-assets.daily.taobao.net' : '10.101.73.189',

@@ -34,0 +34,0 @@ 'g.tbcdn.cn' : '140.205.132.240',

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