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

@appolo/inject

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appolo/inject - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

3

lib/define.js

@@ -33,2 +33,5 @@ "use strict";

}
id() {
return this._definition && this._definition.id;
}
type(type) {

@@ -35,0 +38,0 @@ this._definition.type = type;

@@ -49,2 +49,6 @@ "use strict";

public id(): string {
return this._definition && this._definition.id;
}
public type(type: Function): this {

@@ -51,0 +55,0 @@ this._definition.type = type;

2

lib/inject.js

@@ -51,4 +51,4 @@ "use strict";

this.initDefinitions();
await this.initFactories();
this.initInstances();
await this.initFactories();
this.initProperties();

@@ -55,0 +55,0 @@ this.initAlias();

@@ -85,8 +85,8 @@ "use strict";

this.initDefinitions();
await this.initFactories();
this.initInstances();
await this.initFactories();
this.initProperties();

@@ -93,0 +93,0 @@

@@ -34,3 +34,3 @@ {

"main": "./index.js",
"version": "8.0.1",
"version": "8.0.2",
"license": "MIT",

@@ -37,0 +37,0 @@ "repository": {

Appolo Inject
=======
[![Build Status](https://travis-ci.org/shmoop207/appolo-inject.svg?branch=master)](https://travis-ci.org/shmoop207/appolo-inject) [![Dependencies status](https://david-dm.org/shmoop207/appolo-inject.svg)](https://david-dm.org/shmoop207/appolo-inject) [![NPM version](https://badge.fury.io/js/appolo-inject.svg)](https://badge.fury.io/js/appolo-inject) [![npm Downloads](https://img.shields.io/npm/dm/appolo-inject.svg?style=flat)](https://www.npmjs.com/package/appolo-inject)
[![Build Status](https://travis-ci.com/shmoop207/appolo-inject.svg?branch=master)](https://travis-ci.org/shmoop207/appolo-inject) [![Dependencies status](https://david-dm.org/shmoop207/appolo-inject.svg)](https://david-dm.org/shmoop207/appolo-inject) [![NPM version](https://badge.fury.io/js/appolo-inject.svg)](https://badge.fury.io/js/appolo-inject) [![npm Downloads](https://img.shields.io/npm/dm/appolo-inject.svg?style=flat)](https://www.npmjs.com/package/appolo-inject)
[![Known Vulnerabilities](https://snyk.io/test/github/shmoop207/appolo-inject/badge.svg)](https://snyk.io/test/github/shmoop207/appolo-inject)

@@ -25,3 +25,3 @@

```javascript
var inject = require('appolo-inject');
var inject = require('@appolo/inject');
var injector = inject.createContainer();

@@ -36,3 +36,3 @@

```javascript
var inject = require('appolo-inject');
var inject = require('@appolo/inject');
class FooController{ }

@@ -39,0 +39,0 @@

Sorry, the diff of this file is not supported yet

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