Socket
Socket
Sign inDemoInstall

mendel-development

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mendel-development - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

23

mendelify-transform-stream.js

@@ -22,9 +22,8 @@ /* Copyright 2015, Yahoo Inc.

if (!avoidMendelify(row.deps[key])) {
var depMatch = variationMatches(variations, key);
if (depMatch) {
row.deps[depMatch.file] = depsValue(
row.deps[key], variations, expose
);
delete row.deps[key];
}
var value = row.deps[key];
delete row.deps[key];
var newKey = pathOrVariationMatch(key, variations);
var newValue = depsValue(value, variations, expose);
row.deps[newKey] = newValue;
}

@@ -49,2 +48,10 @@ });

function pathOrVariationMatch(path, variations) {
var match = variationMatches(variations, path);
if (match) {
return match.file;
}
return path;
}
function depsValue(path, variations, expose) {

@@ -55,3 +62,3 @@ var exposedModule = exposeKey(expose, path);

}
return variationMatches(variations, path).file;
return pathOrVariationMatch(path, variations);
}

@@ -58,0 +65,0 @@

{
"name": "mendel-development",
"version": "1.0.7",
"version": "1.0.8",
"description": "Mendel shared dependencies for build and development",

@@ -5,0 +5,0 @@ "main": "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