melody-runtime
Advanced tools
Comparing version 1.2.0-commit.8f7c241d to 1.2.0-commit.a347d3ed
@@ -37,7 +37,3 @@ import _isString from 'lodash/isString'; | ||
function createSubContext(parent, customValues) { | ||
var subContext = Object.create(parent); | ||
if (customValues) { | ||
Object.assign(subContext, customValues); | ||
} | ||
return subContext; | ||
return Object.assign({}, parent, customValues); | ||
} | ||
@@ -44,0 +40,0 @@ |
@@ -43,7 +43,3 @@ 'use strict'; | ||
function createSubContext(parent, customValues) { | ||
var subContext = Object.create(parent); | ||
if (customValues) { | ||
Object.assign(subContext, customValues); | ||
} | ||
return subContext; | ||
return Object.assign({}, parent, customValues); | ||
} | ||
@@ -50,0 +46,0 @@ |
{ | ||
"name": "melody-runtime", | ||
"version": "1.2.0-commit.8f7c241d", | ||
"version": "1.2.0-commit.a347d3ed", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -26,7 +26,3 @@ /** | ||
): Object { | ||
const subContext = Object.create(parent); | ||
if (customValues) { | ||
Object.assign(subContext, customValues); | ||
} | ||
return subContext; | ||
return Object.assign({}, parent, customValues); | ||
} |
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
113991
3032