New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cnbritain/merlin-sass-custom-importer

Package Overview
Dependencies
Maintainers
5
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cnbritain/merlin-sass-custom-importer - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

11

lib/index.js

@@ -116,3 +116,4 @@ 'use strict';

correctSassPartials(sassUrl);
// sassUrl = correctSassPartials(sassUrl);
sassUrl = correctRealPath(sassUrl);

@@ -147,2 +148,10 @@ if(SESSION.has(sassUrl)){

function correctRealPath(url){
if(url.endsWith('.scss')){
return fs.realpathSync(url);
} else {
return fs.realpathSync(`${url}.scss`);
}
}
function resolveComponentTheme(url, previous, merlinConfig){

@@ -149,0 +158,0 @@ // Check if we're using our keywords - theme, wireframe. If so, resolve

2

package.json
{
"name": "@cnbritain/merlin-sass-custom-importer",
"version": "1.1.4",
"version": "1.1.5",
"description": "",

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

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