Socket
Socket
Sign inDemoInstall

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.1 to 1.0.0

dist/didi.js

37

package.json
{
"name": "didi",
"version": "0.1.1",
"version": "1.0.0",
"description": "Dependency Injection for JavaScript",
"main": "lib/index.js",
"main": "dist/didi.js",
"module": "lib/index.js",
"scripts": {
"test": "grunt test",
"all": "grunt"
"all": "run-s lint test bundle",
"bundle": "NODE_ENV=production webpack",
"lint": "eslint 'lib/**/*.js' 'test/**/*.js'",
"test": "mocha",
"prepare": "run-s bundle",
"prepublishOnly": "run-s test"
},

@@ -22,12 +27,22 @@ "repository": {

"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",
"mocha": "~1.12"
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"eslint": "^4.9.0",
"eslint-plugin-mocha": "^4.11.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.1",
"source-map-support": "^0.5.0",
"webpack": "^3.7.1"
},
"files": [
"dist/didi.js",
"dist/didi.map.js",
"README.md"
],
"author": "Vojta Jina <vojta.jina@gmail.com>",
"license": "MIT"
}

@@ -5,3 +5,3 @@ # Dependency Injection for JavaScript

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

@@ -60,3 +60,3 @@ ## Why Dependency Injection?

For more examples, check out [the tests](/Nikku/node-di/blob/master/test/injector.spec.coffee). You can also check out [Karma](https://github.com/karma-runner/karma) and its plugins for more complex examples.
For more examples, check out [the tests](https://github.com/nikku/didi/blob/master/test/injector.spec.coffee). You can also check out [Karma](https://github.com/karma-runner/karma) and its plugins for more complex examples.

@@ -63,0 +63,0 @@ ## Usage

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