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

stylus

Package Overview
Dependencies
Maintainers
2
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylus - npm Package Compare versions

Comparing version 0.48.0 to 0.48.1

7

lib/visitor/sourcemapper.js

@@ -14,2 +14,3 @@ /*!

, basename = require('path').basename
, join = require('path').join
, relative = require('path').relative

@@ -33,2 +34,3 @@ , sep = require('path').sep

this.filename = options.filename;
this.dest = options.dest;

@@ -62,3 +64,5 @@ var sourcemap = options.sourcemap;

var css = compile.call(this)
, url = this.normalizePath(this.filename) + '.map'
, url = this.normalizePath(this.dest
? join(this.dest, basename(this.filename, '.styl') + '.css.map')
: this.filename.replace(/\.styl$/i, '.css.map'))
, map;

@@ -137,2 +141,3 @@

path = relative(this.basePath, path);
if (this.dest) path = relative(this.dest, path);
if ('\\' == sep) {

@@ -139,0 +144,0 @@ path = path.replace(/^[a-z]:\\/i, '/')

2

package.json
{
"name": "stylus",
"description": "Robust, expressive, and feature-rich CSS superset",
"version": "0.48.0",
"version": "0.48.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "keywords": [

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