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

amend

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amend - npm Package Compare versions

Comparing version 0.3.0-beta-6 to 0.3.0-beta-7

11

dist/load-config.js

@@ -41,8 +41,9 @@ // Generated by CoffeeScript 1.9.3

clearCache = function(modules) {
clearCache = function(modules, basePath) {
return Object.keys(modules).forEach(function(key) {
var moduleConfig, path;
var fullPath, moduleConfig, path;
moduleConfig = modules[key];
path = getPath(moduleConfig);
return delete require.cache[path];
fullPath = getFullPath(path, basePath);
return delete require.cache[require.resolve(fullPath)];
});

@@ -59,4 +60,4 @@ };

modules = config.modules || {};
if ((opts != null ? opts.clearCache : void 0) === true) {
clearCache(modules);
if ((options != null ? options.clearCache : void 0) === true) {
clearCache(modules, basePath);
}

@@ -63,0 +64,0 @@ Object.keys(modules).forEach(function(key) {

{
"name": "amend",
"version": "0.3.0-beta-6",
"version": "0.3.0-beta-7",
"description": "Dependency injection module and IoC container.",

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

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