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

progeny

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

progeny - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

16

lib/index.js

@@ -16,7 +16,7 @@ // Generated by CoffeeScript 1.6.3

return {
regexp: /^\s*(?:include|extends)\s+(.*)/
regexp: /^\s*(?:include|extends)\s+(.+)/
};
case 'styl':
return {
regexp: /^\s*@import\s+['"](.*)['"]/,
regexp: /^\s*@import\s+['"]?([^'"]+)['"]?/,
exclusion: 'nib'

@@ -26,3 +26,3 @@ };

return {
regexp: /^\s*@import\s+['"](.*)['"]/
regexp: /^\s*@import\s+['"]([^'"]+)['"]/
};

@@ -32,3 +32,3 @@ case 'scss':

return {
regexp: /^\s*@import\s+['"](.*)['"]/,
regexp: /^\s*@import\s+['"]?([^'"]+)['"]?/,
prefix: '_',

@@ -47,3 +47,3 @@ exclusion: /^compass/,

parent = sysPath.dirname(path);
deps = data.split('\n').map(function(line) {
deps = data.toString().split('\n').map(function(line) {
return line.match(regexp);

@@ -67,3 +67,3 @@ }).filter(function(match) {

if (("." + extension) !== sysPath.extname(path)) {
return path + ("." + extension);
return "" + path + "." + extension;
} else {

@@ -73,3 +73,3 @@ return path;

}).map(function(path) {
if (path.charAt(0) === '/') {
if (path[0] === '/') {
return sysPath.join(rootPath, path.slice(1));

@@ -86,3 +86,3 @@ } else {

file = sysPath.basename(path);
if ((prefix != null) && 0 !== file.indexOf(prefix)) {
if (0 !== file.indexOf(prefix)) {
return prefixed.push(sysPath.join(dir, "" + prefix + file));

@@ -89,0 +89,0 @@ }

{
"name": "progeny",
"version": "0.1.1",
"version": "0.1.2",
"description": "Recursively finds dependencies of style and template source files",

@@ -5,0 +5,0 @@ "author": {

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