Socket
Socket
Sign inDemoInstall

@loopback/context

Package Overview
Dependencies
17
Maintainers
10
Versions
192
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.0.1

2

dist/binding-config.js
"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

@@ -59,3 +59,3 @@ import { BindingAddress } from './binding-key';

*/
const getter: (propertyPath?: string | ConfigInjectionMetadata | undefined, metadata?: ConfigInjectionMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const getter: (propertyPath?: string | ConfigInjectionMetadata, metadata?: ConfigInjectionMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
/**

@@ -67,3 +67,3 @@ * `@inject.view` decorator to inject a config context view to allow dynamic

*/
const view: (propertyPath?: string | ConfigInjectionMetadata | undefined, metadata?: ConfigInjectionMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const view: (propertyPath?: string | ConfigInjectionMetadata, metadata?: ConfigInjectionMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
}
"use strict";
// Copyright IBM Corp. 2019. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

@@ -79,3 +79,3 @@ import { MetadataMap } from '@loopback/metadata';

*/
export declare function inject(bindingSelector: BindingSelector, metadata?: InjectionMetadata, resolve?: ResolverFunction): (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare function inject(bindingSelector: BindingSelector, metadata?: InjectionMetadata, resolve?: ResolverFunction): (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: TypedPropertyDescriptor<BoundValue> | number) => void;
/**

@@ -130,3 +130,3 @@ * The function injected by `@inject.getter(bindingSelector)`. It can be used

*/
const getter: (bindingSelector: BindingSelector<unknown>, metadata?: InjectionMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const getter: (bindingSelector: BindingSelector<unknown>, metadata?: InjectionMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
/**

@@ -145,3 +145,3 @@ * Inject a function for setting (binding) the given key to a given

*/
const setter: (bindingKey: BindingAddress, metadata?: InjectBindingMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const setter: (bindingKey: BindingAddress, metadata?: InjectBindingMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
/**

@@ -172,3 +172,3 @@ * Inject the binding object for the given key. This is useful if a binding

*/
const binding: (bindingKey?: string | BindingKey<unknown> | undefined, metadata?: InjectBindingMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const binding: (bindingKey?: string | BindingKey<unknown>, metadata?: InjectBindingMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
/**

@@ -188,3 +188,3 @@ * Inject an array of values by a tag pattern string or regexp

*/
const tag: (bindingTag: BindingTag | RegExp, metadata?: InjectionMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const tag: (bindingTag: BindingTag | RegExp, metadata?: InjectionMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
/**

@@ -203,3 +203,3 @@ * Inject matching bound values by the filter function

*/
const view: (bindingFilter: BindingFilter, metadata?: InjectionMetadata | undefined) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
const view: (bindingFilter: BindingFilter, metadata?: InjectionMetadata) => (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
/**

@@ -206,0 +206,0 @@ * Inject the context object.

"use strict";
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

@@ -105,3 +105,3 @@ import { MetadataAccessor } from '@loopback/metadata';

*/
export declare function intercept(...interceptorOrKeys: InterceptorOrKey[]): (target: any, method?: string | undefined, methodDescriptor?: TypedPropertyDescriptor<any> | undefined) => any;
export declare function intercept(...interceptorOrKeys: InterceptorOrKey[]): (target: any, method?: string, methodDescriptor?: TypedPropertyDescriptor<any>) => any;
/**

@@ -108,0 +108,0 @@ * Invoke a method with the given context

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2018. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2019. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

"use strict";
// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -4,0 +4,0 @@ // This file is licensed under the MIT License.

{
"name": "@loopback/context",
"description": "Facilities to manage artifacts and their dependencies in your Node.js applications. The module exposes TypeScript/JavaScript APIs and decorators to register artifacts, declare dependencies, and resolve artifacts by keys. It also serves as an IoC container to support dependency injection",
"version": "5.0.0",
"version": "5.0.1",
"keywords": [

@@ -17,4 +17,4 @@ "LoopBack",

"types": "dist/index.d.ts",
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
"author": "IBM Corp. and LoopBack contributors",
"copyright.owner": "IBM Corp. and LoopBack contributors",
"repository": {

@@ -47,3 +47,3 @@ "type": "git",

"dependencies": {
"@loopback/metadata": "^5.0.0",
"@loopback/metadata": "^5.0.1",
"@types/debug": "^4.1.7",

@@ -57,11 +57,11 @@ "debug": "^4.3.4",

"devDependencies": {
"@loopback/build": "^9.0.0",
"@loopback/eslint-config": "^13.0.0",
"@loopback/testlab": "^5.0.0",
"@loopback/build": "^9.0.1",
"@loopback/eslint-config": "^13.0.1",
"@loopback/testlab": "^5.0.1",
"@types/bluebird": "^3.5.36",
"@types/node": "^12.20.50",
"@types/node": "^14.18.21",
"@types/uuid": "^8.3.4",
"bluebird": "^3.7.2"
},
"gitHead": "61453a3d7a16f9f37875a3f2c2a071568eb3e3af"
"gitHead": "ccf7863d0639de966d6c6129b4aa94ba1dce2c33"
}

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2019,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2018. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2017,2019. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018,2020. All Rights Reserved.
// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved.
// Node module: @loopback/context

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc