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

babel-plugin-stylus-compiler

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-stylus-compiler - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

build/index.js

@@ -47,3 +47,3 @@ 'use strict';

var stylusContent = _fs2.default.readFileSync(path, 'utf8');
return (0, _stylus2.default)(stylusContent).include((0, _path.dirname)(path)).render();
return (0, _stylus2.default)(stylusContent).include((0, _path.dirname)(path)).render().replace(/\n/g, ' ');
};

@@ -50,0 +50,0 @@

@@ -34,3 +34,3 @@ /* global process */

const stylusContent = fs.readFileSync(path, 'utf8');
return stylus(stylusContent).include(dirname(path)).render();
return stylus(stylusContent).include(dirname(path)).render().replace(/\n/g,' ');
}

@@ -37,0 +37,0 @@

{
"name": "babel-plugin-stylus-compiler",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Babel 6 plugin for compiling stylus files into css",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -28,2 +28,5 @@ # babel-plugin-stylus-compiler

## Change log
### 1.0.3
* Replace new lines with spaces when inlining the css
### 1.0.2

@@ -30,0 +33,0 @@ * Add more robust support for resolving `.styl` file in node_modules

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