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

@poppinss/manager

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poppinss/manager - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

build/src/Manager.d.ts

@@ -14,3 +14,2 @@ import { ManagerContract } from './contracts';

protected abstract getMappingDriver(mappingName: string): string | undefined;
protected wrapDriverResponse(value: DriverContract): ReturnValueContract;
constructor($container: any);

@@ -21,2 +20,3 @@ private _getFromCache;

private _makeDriver;
protected wrapDriverResponse(_mappingName: string, value: DriverContract): ReturnValueContract;
use<K extends keyof MappingsList>(name: K): MappingsList[K];

@@ -23,0 +23,0 @@ use(name: string): ReturnValueContract;

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

}
wrapDriverResponse(value) {
return value;
}
_getFromCache(name) {

@@ -22,3 +19,3 @@ return this._mappingsCache.get(name) || null;

_makeExtendedDriver(mappingName, driver, config) {
const value = this.wrapDriverResponse(this._extendedDrivers[driver](this.$container, mappingName, config));
const value = this.wrapDriverResponse(mappingName, this._extendedDrivers[driver](this.$container, mappingName, config));
this._saveToCache(mappingName, value);

@@ -32,6 +29,9 @@ return value;

}
const value = this.wrapDriverResponse(this[driverCreatorName](mappingName, config));
const value = this.wrapDriverResponse(mappingName, this[driverCreatorName](mappingName, config));
this._saveToCache(mappingName, value);
return value;
}
wrapDriverResponse(_mappingName, value) {
return value;
}
use(name) {

@@ -38,0 +38,0 @@ name = (name || this.getDefaultMappingName());

{
"name": "@poppinss/manager",
"version": "2.1.1",
"version": "2.1.2",
"description": "The builder (Manager) pattern implementation",

@@ -5,0 +5,0 @@ "scripts": {

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