Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

didi

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

didi - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

lib/injector.js

@@ -140,2 +140,3 @@ var Module = require('./module');

if ((provider[2] === 'factory' || provider[2] === 'type') && provider[1].$scope) {
/*jshint -W083 */
forceNewInstances.forEach(function(scope) {

@@ -142,0 +143,0 @@ if (provider[1].$scope.indexOf(scope) !== -1) {

16

package.json
{
"name": "didi",
"version": "0.1.0",
"version": "0.1.1",
"description": "Dependency Injection for JavaScript",
"main": "lib/index.js",
"scripts": {
"test": "mocha --compilers coffee:coffee-script test/*"
"test": "grunt test",
"all": "grunt"
},
"repository": {
"type": "git",
"url": "git://github.com/Nikku/di-di.git"
"url": "git://github.com/nikku/didi.git"
},

@@ -21,8 +22,9 @@ "keywords": [

"devDependencies": {
"chai": "~1.7",
"coffee-script": "~1.6",
"grunt": "~0.4",
"grunt-cli": "^1.2.0",
"grunt-contrib-jshint": "~0.6",
"grunt-simple-mocha": "~0.4",
"grunt-contrib-jshint": "~0.6",
"mocha": "~1.12",
"chai": "~1.7",
"coffee-script": "~1.6"
"mocha": "~1.12"
},

@@ -29,0 +31,0 @@ "author": "Vojta Jina <vojta.jina@gmail.com>",

# Dependency Injection for JavaScript
[![Build Status](https://travis-ci.org/Nikku/didi.png?branch=master)](https://travis-ci.org/Nikku/didi)
[![Build Status](https://travis-ci.org/nikku/didi.png?branch=master)](https://travis-ci.org/nikku/didi)

@@ -175,3 +175,3 @@ > A fork of [node-di](node-di) that adds support for the minification save array notation.

Binding - a mapping between a Token and a Provider
Module - a set of bindings. A Module is used to configure an Injector and defines which Objects can be resolved via an Injector. Module can also be used to override Object definitions (for reconfiguration or mocking purposes).
Module - a set of bindings. A Module is used to configure an Injector and defines which Objects can be resolved via an Injector. Module can also be used to override Object definitions (for reconfiguration or mocking purposes).
-->
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