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

@loopback/metadata

Package Overview
Dependencies
Maintainers
7
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loopback/metadata - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

8

CHANGELOG.md

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

## [2.0.3](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@2.0.2...@loopback/metadata@2.0.3) (2020-04-08)
**Note:** Version bump only for package @loopback/metadata
## [2.0.2](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@2.0.1...@loopback/metadata@2.0.2) (2020-03-24)

@@ -8,0 +16,0 @@

4

dist/decorator-factory.d.ts

@@ -265,5 +265,7 @@ import { DecoratorType, MetadataKey, MetadataMap } from './types';

* Factory for an append-array of method-level decorators
* The @response metadata for a method is an array.
* The `@response` metadata for a method is an array.
* Each item in the array should be a single value, containing
* a response code and a single spec or Model. This should allow:
*
* @example
* ```ts

@@ -270,0 +272,0 @@ * @response(200, MyFirstModel)

@@ -513,5 +513,7 @@ "use strict";

* Factory for an append-array of method-level decorators
* The @response metadata for a method is an array.
* The `@response` metadata for a method is an array.
* Each item in the array should be a single value, containing
* a response code and a single spec or Model. This should allow:
*
* @example
* ```ts

@@ -518,0 +520,0 @@ * @response(200, MyFirstModel)

@@ -1,4 +0,22 @@

export * from './types';
export * from './reflect';
/**
* A package with utilities to help developers implement
* {@link https://www.typescriptlang.org/docs/handbook/decorators.html |TypeScript decorators},
* define/merge metadata, and inspect metadata.
*
* @remarks
* Utilities:
*
* - Reflector: Wrapper of
* {@link https://github.com/rbuckton/reflect-metadata | reflect-metadata}.
* - Decorator factories: A set of factories for class/method/property/parameter
* decorators to apply metadata to a given class and its static or instance
* members.
* - MetadataInspector: High level APIs to inspect a class and/or its members to
* get metadata applied by decorators.
*
* @packageDocumentation
*/
export * from './decorator-factory';
export * from './inspector';
export * from './reflect';
export * from './types';
"use strict";
// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Node module: @loopback/metadata

@@ -8,6 +8,24 @@ // This file is licensed under the MIT License.

const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./types"), exports);
tslib_1.__exportStar(require("./reflect"), exports);
/**
* A package with utilities to help developers implement
* {@link https://www.typescriptlang.org/docs/handbook/decorators.html |TypeScript decorators},
* define/merge metadata, and inspect metadata.
*
* @remarks
* Utilities:
*
* - Reflector: Wrapper of
* {@link https://github.com/rbuckton/reflect-metadata | reflect-metadata}.
* - Decorator factories: A set of factories for class/method/property/parameter
* decorators to apply metadata to a given class and its static or instance
* members.
* - MetadataInspector: High level APIs to inspect a class and/or its members to
* get metadata applied by decorators.
*
* @packageDocumentation
*/
tslib_1.__exportStar(require("./decorator-factory"), exports);
tslib_1.__exportStar(require("./inspector"), exports);
tslib_1.__exportStar(require("./reflect"), exports);
tslib_1.__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map

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

// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Node module: @loopback/metadata

@@ -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. 2017,2020. All Rights Reserved.
// Node module: @loopback/metadata

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

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

@@ -27,8 +27,8 @@ "engines": {

"devDependencies": {
"@loopback/build": "^5.0.0",
"@loopback/eslint-config": "^6.0.2",
"@loopback/testlab": "^2.0.2",
"@loopback/build": "^5.0.1",
"@loopback/eslint-config": "^6.0.3",
"@loopback/testlab": "^3.0.0",
"@types/debug": "^4.1.5",
"@types/lodash": "^4.14.149",
"@types/node": "^10.17.17"
"@types/node": "^10.17.19"
},

@@ -56,3 +56,3 @@ "keywords": [

},
"gitHead": "020ed59b8bed8b38e1e4cede06a22b234effdb57"
"gitHead": "744a85c76a2dd260f6dc21e5b497f14eccaf099d"
}

@@ -795,5 +795,7 @@ // Copyright IBM Corp. 2017,2020. All Rights Reserved.

* Factory for an append-array of method-level decorators
* The @response metadata for a method is an array.
* The `@response` metadata for a method is an array.
* Each item in the array should be a single value, containing
* a response code and a single spec or Model. This should allow:
*
* @example
* ```ts

@@ -800,0 +802,0 @@ * @response(200, MyFirstModel)

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

// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Copyright IBM Corp. 2017,2020. All Rights Reserved.
// Node module: @loopback/metadata

@@ -6,5 +6,24 @@ // This file is licensed under the MIT License.

export * from './types';
export * from './reflect';
/**
* A package with utilities to help developers implement
* {@link https://www.typescriptlang.org/docs/handbook/decorators.html |TypeScript decorators},
* define/merge metadata, and inspect metadata.
*
* @remarks
* Utilities:
*
* - Reflector: Wrapper of
* {@link https://github.com/rbuckton/reflect-metadata | reflect-metadata}.
* - Decorator factories: A set of factories for class/method/property/parameter
* decorators to apply metadata to a given class and its static or instance
* members.
* - MetadataInspector: High level APIs to inspect a class and/or its members to
* get metadata applied by decorators.
*
* @packageDocumentation
*/
export * from './decorator-factory';
export * from './inspector';
export * from './reflect';
export * from './types';

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc