@loopback/metadata
Advanced tools
Comparing version 4.0.0-alpha.9 to 4.0.0-alpha.10
@@ -6,2 +6,26 @@ # Change Log | ||
<a name="4.0.0-alpha.10"></a> | ||
# [4.0.0-alpha.10](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@4.0.0-alpha.9...@loopback/metadata@4.0.0-alpha.10) (2018-02-07) | ||
### Bug Fixes | ||
* **metadata:** add more tests ([de969e4](https://github.com/strongloop/loopback-next/commit/de969e4)) | ||
### build | ||
* drop dist6 related targets ([#945](https://github.com/strongloop/loopback-next/issues/945)) ([a2368ce](https://github.com/strongloop/loopback-next/commit/a2368ce)) | ||
### BREAKING CHANGES | ||
* Support for Node.js version lower than 8.0 has been dropped. | ||
Please upgrade to the latest Node.js 8.x LTS version. | ||
Co-Authored-by: Taranveer Virk <taranveer@virk.cc> | ||
<a name="4.0.0-alpha.9"></a> | ||
@@ -8,0 +32,0 @@ # [4.0.0-alpha.9](https://github.com/strongloop/loopback-next/compare/@loopback/metadata@4.0.0-alpha.8...@loopback/metadata@4.0.0-alpha.9) (2018-02-04) |
@@ -210,2 +210,3 @@ "use strict"; | ||
meta = this.mergeWithInherited(meta, target, member, descriptorOrIndex); | ||
/* istanbul ignore if */ | ||
if (debug.enabled) { | ||
@@ -218,2 +219,3 @@ debug('%s: %j', targetName, meta); | ||
meta = this.mergeWithOwn(meta, target, member, descriptorOrIndex); | ||
/* istanbul ignore if */ | ||
if (debug.enabled) { | ||
@@ -220,0 +222,0 @@ debug('%s: %j', targetName, meta); |
@@ -6,3 +6,2 @@ // Copyright IBM Corp. 2017,2018. All Rights Reserved. | ||
const nodeMajorVersion = +process.versions.node.split('.')[0]; | ||
module.exports = nodeMajorVersion >= 7 ? require('./dist') : require('./dist6'); | ||
module.exports = require('./dist'); |
{ | ||
"name": "@loopback/metadata", | ||
"version": "4.0.0-alpha.9", | ||
"version": "4.0.0-alpha.10", | ||
"description": "LoopBack's metadata utilities for reflection and decoration", | ||
@@ -10,10 +10,7 @@ "engines": { | ||
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"", | ||
"build": "npm run build:dist && npm run build:dist6", | ||
"build:current": "lb-tsc", | ||
"build:dist": "lb-tsc es2017", | ||
"build:dist6": "lb-tsc es2015", | ||
"build": "lb-tsc es2017", | ||
"build:apidocs": "lb-apidocs", | ||
"clean": "lb-clean loopback-metadata*.tgz dist dist6 package api-docs", | ||
"clean": "lb-clean loopback-metadata*.tgz dist package api-docs", | ||
"prepublishOnly": "npm run build && npm run build:apidocs", | ||
"pretest": "npm run build:current", | ||
"pretest": "npm run build", | ||
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/acceptance/**/*.js\"", | ||
@@ -33,3 +30,3 @@ "unit": "lb-mocha \"DIST/test/unit/**/*.js\"", | ||
"@loopback/build": "^4.0.0-alpha.13", | ||
"@loopback/testlab": "^4.0.0-alpha.23", | ||
"@loopback/testlab": "^4.0.0-alpha.24", | ||
"@types/debug": "^0.0.30", | ||
@@ -48,3 +45,2 @@ "@types/lodash": "^4.14.96" | ||
"dist/src", | ||
"dist6/src", | ||
"api-docs", | ||
@@ -51,0 +47,0 @@ "src" |
@@ -287,2 +287,3 @@ // Copyright IBM Corp. 2017,2018. All Rights Reserved. | ||
meta = this.mergeWithInherited(meta, target, member, descriptorOrIndex); | ||
/* istanbul ignore if */ | ||
if (debug.enabled) { | ||
@@ -294,2 +295,3 @@ debug('%s: %j', targetName, meta); | ||
meta = this.mergeWithOwn(meta, target, member, descriptorOrIndex); | ||
/* istanbul ignore if */ | ||
if (debug.enabled) { | ||
@@ -296,0 +298,0 @@ debug('%s: %j', targetName, meta); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
549748
72
5773