Huge News!Announcing our $40M Series B led by Abstract Ventures.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-7 to 0.3.0-beta-8

17

dist/container.js

@@ -123,2 +123,19 @@ // Generated by CoffeeScript 1.9.3

Container.prototype.shutdown = function() {
var j, len, p, ref, results;
Object.keys(this._instances).forEach((function(_this) {
return function(key) {
var base;
return typeof (base = _this._instances[key]).__amendShutdown === "function" ? base.__amendShutdown() : void 0;
};
})(this));
ref = this._parents;
results = [];
for (j = 0, len = ref.length; j < len; j++) {
p = ref[j];
results.push(p.shutdown());
}
return results;
};
Container.prototype._register = function(type, name, value) {

@@ -125,0 +142,0 @@ return this._registrations[name] = {

15

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

@@ -14,6 +14,6 @@ "main": "index.js",

"devDependencies": {
"chai": "^1.9.1",
"coffee-script": "~1.8.0",
"mocha": "^1.20.1",
"mocha-gwt": "^0.1.4"
"chai": "^3.2.0",
"coffee-script": "^1.9.0",
"mocha": "^2.0.0",
"mocha-gwt": "^0.2.0"
},

@@ -39,6 +39,3 @@ "scripts": {

"author": "Ludwig Magnusson",
"license": "ISC",
"dependencies": {
"coffee-script": "^1.9.3"
}
"license": "ISC"
}

3

README.md
# amend
[![Build Status](https://travis-ci.org/TheLudd/mocha-gwt.svg)](https://travis-ci.org/TheLudd/mocha-gwt)
[![Build Status](https://travis-ci.org/TheLudd/amend.svg)](https://travis-ci.org/TheLudd/amend)
[![npm version](https://badge.fury.io/js/amend.svg)](http://badge.fury.io/js/amend)

@@ -5,0 +6,0 @@ Amend is a dependency-injection framework for use in node and in the browser. Amend aims to have no impact on the code you write and to minimize configuration as much as possible.

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