detective-sass
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -42,3 +42,3 @@ 'use strict'; | ||
if (isUrlEnabled && isUrlNode(node)) { | ||
if (isUrlEnabled && node.type === 'uri') { | ||
dependencies = [...dependencies, ...extractUriDependencies(node)]; | ||
@@ -64,6 +64,2 @@ } | ||
function isUrlNode(node) { | ||
return node.type === 'uri'; | ||
} | ||
function extractDependencies(importStatementNode) { | ||
@@ -70,0 +66,0 @@ return importStatementNode.content |
{ | ||
"name": "detective-sass", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Find the dependencies of a sass file", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,3 +9,3 @@ ### detective-sass [![CI](https://img.shields.io/github/actions/workflow/status/dependents/node-detective-sass/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/node-detective-sass/actions/workflows/ci.yml?query=branch%3Amain) [![npm version](https://img.shields.io/npm/v/detective-sass?logo=npm&logoColor=fff)](https://www.npmjs.com/package/detective-sass) [![npm downloads](https://img.shields.io/npm/dm/detective-sass)](https://www.npmjs.com/package/detective-sass) | ||
**Note:** This is specific to the .sass style syntax of the Sass preprocessor. For SCSS support, please see [node-detective-scss](https://github.com/dependents/node-detective-scss) | ||
**Note:** This is specific to the .sass style syntax of the Sass preprocessor. For SCSS support, please see [node-detective-scss](https://github.com/dependents/node-detective-scss). | ||
@@ -12,0 +12,0 @@ It's the SASS counterpart to [detective](https://github.com/substack/node-detective), [detective-amd](https://github.com/dependents/node-detective-amd), and [detective-es6](https://github.com/dependents/node-detective-es6). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6662
56