Socket
Socket
Sign inDemoInstall

@loopback/metadata

Package Overview
Dependencies
3
Maintainers
17
Versions
163
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.5 to 0.8.6

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="0.8.6"></a>
## [0.8.6](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@0.8.5...@loopback/metadata@0.8.6) (2018-06-09)
**Note:** Version bump only for package @loopback/metadata
<a name="0.8.5"></a>

@@ -8,0 +16,0 @@ ## [0.8.5](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@0.8.4...@loopback/metadata@0.8.5) (2018-06-08)

10

dist10/src/decorator-factory.d.ts

@@ -43,8 +43,6 @@ import { MetadataMap, DecoratorType, MetadataKey } from './types';

*/
export declare class DecoratorFactory<T, // Type of the metadata spec for individual class/method/property/parameter
M extends T | MetadataMap<T> | MetadataMap<T[]>, // Type of the metadata
D extends DecoratorType> {
export declare class DecoratorFactory<T, M extends T | MetadataMap<T> | MetadataMap<T[]>, D extends DecoratorType> {
protected key: string;
protected spec: T;
protected options?: DecoratorOptions | undefined;
protected options: DecoratorOptions | undefined;
/**

@@ -206,3 +204,3 @@ * A constant to reference the target of a decoration

export declare class ParameterDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T[]>, ParameterDecorator> {
private getOrInitMetadata;
private getOrInitMetadata(meta, target, methodName?);
protected mergeWithInherited(inheritedMetadata: MetadataMap<T[]>, target: Object, methodName?: string, parameterIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

@@ -237,3 +235,3 @@ protected mergeWithOwn(ownMetadata: MetadataMap<T[]>, target: Object, methodName?: string, parameterIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

*/
private getParameterIndex;
private getParameterIndex(target, methodName?, methodDescriptor?);
protected mergeWithInherited(inheritedMetadata: MetadataMap<T[]>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

@@ -240,0 +238,0 @@ protected mergeWithOwn(ownMetadata: MetadataMap<T[]>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

4

dist10/src/reflect.d.ts
import 'reflect-metadata';
export declare class NamespacedReflect {
private namespace?;
private namespace;
/**

@@ -8,3 +8,3 @@ * @param namespace : namespace to bind this reflect context

constructor(namespace?: string | undefined);
private getMetadataKey;
private getMetadataKey(metadataKey);
/**

@@ -11,0 +11,0 @@ * define metadata for a target class or it's property/method

@@ -43,8 +43,6 @@ import { MetadataMap, DecoratorType, MetadataKey } from './types';

*/
export declare class DecoratorFactory<T, // Type of the metadata spec for individual class/method/property/parameter
M extends T | MetadataMap<T> | MetadataMap<T[]>, // Type of the metadata
D extends DecoratorType> {
export declare class DecoratorFactory<T, M extends T | MetadataMap<T> | MetadataMap<T[]>, D extends DecoratorType> {
protected key: string;
protected spec: T;
protected options?: DecoratorOptions | undefined;
protected options: DecoratorOptions | undefined;
/**

@@ -206,3 +204,3 @@ * A constant to reference the target of a decoration

export declare class ParameterDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T[]>, ParameterDecorator> {
private getOrInitMetadata;
private getOrInitMetadata(meta, target, methodName?);
protected mergeWithInherited(inheritedMetadata: MetadataMap<T[]>, target: Object, methodName?: string, parameterIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

@@ -237,3 +235,3 @@ protected mergeWithOwn(ownMetadata: MetadataMap<T[]>, target: Object, methodName?: string, parameterIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

*/
private getParameterIndex;
private getParameterIndex(target, methodName?, methodDescriptor?);
protected mergeWithInherited(inheritedMetadata: MetadataMap<T[]>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

@@ -240,0 +238,0 @@ protected mergeWithOwn(ownMetadata: MetadataMap<T[]>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

import 'reflect-metadata';
export declare class NamespacedReflect {
private namespace?;
private namespace;
/**

@@ -8,3 +8,3 @@ * @param namespace : namespace to bind this reflect context

constructor(namespace?: string | undefined);
private getMetadataKey;
private getMetadataKey(metadataKey);
/**

@@ -11,0 +11,0 @@ * define metadata for a target class or it's property/method

{
"name": "@loopback/metadata",
"version": "0.8.5",
"version": "0.8.6",
"description": "LoopBack's metadata utilities for reflection and decoration",

@@ -30,5 +30,5 @@ "engines": {

"devDependencies": {
"@loopback/build": "^0.6.6",
"@loopback/build": "^0.6.7",
"@loopback/dist-util": "^0.3.2",
"@loopback/testlab": "^0.10.5",
"@loopback/testlab": "^0.10.6",
"@types/debug": "^0.0.30",

@@ -35,0 +35,0 @@ "@types/lodash": "^4.14.106",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc