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.3 to 0.2.0

test/config.excludes.coffee

15

lib/index.js

@@ -53,12 +53,15 @@ // Generated by CoffeeScript 1.6.3

}).filter(function(path) {
return !!path && !(function() {
if ('[object Array]' !== toString.call(exclusion)) {
exclusion = [exclusion];
}
return !!path && !exclusion.some(function(_exclusion) {
switch (false) {
case !(exclusion instanceof RegExp):
return exclusion.test(path);
case !(exclusion instanceof String):
return exclusion === path;
case !(_exclusion instanceof RegExp):
return _exclusion.test(path);
case '[object String]' !== toString.call(_exclusion):
return _exclusion === path;
default:
return false;
}
})();
});
}).map(function(path) {

@@ -65,0 +68,0 @@ if (extension && ("." + extension) !== sysPath.extname(path)) {

10

package.json
{
"name": "progeny",
"version": "0.1.3",
"version": "0.2.0",
"description": "Recursively finds dependencies of style and template source files",

@@ -19,3 +19,4 @@ "author": {

"scripts": {
"prepublish": "rm -rf lib && coffee --bare --output lib/ src/"
"prepublish": "rm -rf lib && coffee --bare --output lib/ src/",
"test": "mocha --compilers coffee:coffee-script"
},

@@ -25,3 +26,6 @@ "dependencies": {

},
"devDependencies": {}
"devDependencies": {
"mocha": "~1.13.0",
"coffee-script": "~1.6.3"
}
}

@@ -50,3 +50,3 @@ Progeny

// Matched stuff to exclude, string or regex
// Matched stuff to exclude: string, regex, or array of either/both
exclusion: /^compass/,

@@ -53,0 +53,0 @@

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