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

rollup-plugin-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

rollup-plugin-less - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

23

dist/rollup-plugin-less.js

@@ -76,21 +76,24 @@ 'use strict';

options.output = options.output || 'rollup.build.css';
if (options.plugins) {
options.option['plugins'] = options.plugins;
}
_context.next = 9;
_context.next = 10;
return renderSync(code, options.option);
case 9:
case 10:
css = _context.sent;
if (!(options.output && isFunc(options.output))) {
_context.next = 14;
_context.next = 15;
break;
}
_context.next = 13;
_context.next = 14;
return options.output(css, id);
case 13:
case 14:
css = _context.sent;
case 14:
case 15:

@@ -118,8 +121,8 @@ if (options.output && isString(options.output)) {

case 20:
_context.prev = 20;
case 21:
_context.prev = 21;
_context.t0 = _context['catch'](3);
throw _context.t0;
case 23:
case 24:
case 'end':

@@ -129,3 +132,3 @@ return _context.stop();

}
}, _callee, _this, [[3, 20]]);
}, _callee, _this, [[3, 21]]);
}))();

@@ -132,0 +135,0 @@ }

{
"name": "rollup-plugin-less",
"version": "0.1.2",
"version": "0.1.3",
"description": "a rollup plugin for less files",

@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-less.js",

@@ -39,2 +39,5 @@ import fs from 'fs-extra';

options.output = options.output || 'rollup.build.css';
if (options.plugins) {
options.option['plugins'] = options.plugins
}

@@ -41,0 +44,0 @@ let css = await renderSync(code, options.option);

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