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

@adonisjs/fold

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/fold - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

4

build/src/Contracts/index.d.ts

@@ -21,2 +21,6 @@ /// <reference types="node" />

use<T extends any = any>(name: string, relativeFrom?: string): T;
useEsm<T extends any = any>(name: string, relativeFrom?: string): {
default: T;
__esModule: true;
};
make<T extends any = any>(name: string, relativeFrom?: string): T;

@@ -23,0 +27,0 @@ useFake<T extends any = any>(name: string): T;

@@ -37,2 +37,6 @@ import { IocContract, BindCallback } from '../Contracts';

use<T extends any = any>(namespace: string, relativeFrom?: string): T;
useEsm<T extends any = any>(namespace: string, relativeFrom?: string): {
default: T;
__esModule: true;
};
make<T extends any = any>(namespace: any, relativeFrom?: string): T;

@@ -39,0 +43,0 @@ useFake<T extends any = any>(namespace: string): T;

@@ -189,2 +189,8 @@ "use strict";

}
useEsm(namespace, relativeFrom) {
return {
default: this.use(namespace, relativeFrom),
__esModule: true,
};
}
make(namespace, relativeFrom) {

@@ -191,0 +197,0 @@ const value = this._resolveAndMake(namespace, relativeFrom);

4

package.json
{
"name": "@adonisjs/fold",
"version": "6.0.0",
"version": "6.0.1",
"description": "Dependency manager and ioc container for your next NodeJs application",

@@ -49,3 +49,3 @@ "scripts": {

"reflect-metadata": "^0.1.13",
"ts-node": "^8.1.0",
"ts-node": "^8.2.0",
"tslint": "^5.16.0",

@@ -52,0 +52,0 @@ "tslint-eslint-rules": "^5.4.0",

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