inherits-ex
Advanced tools
Comparing version 2.1.0-alpha.2 to 2.1.0-alpha.3
@@ -8,5 +8,5 @@ "use strict"; | ||
exports.defineProperty = defineProperty; | ||
let _defineProperty = Object.defineProperty; | ||
if (!_defineProperty) { | ||
_defineProperty = function (obj, key, descriptor) { | ||
let definePropertyFn = Object.defineProperty; | ||
if (!definePropertyFn) { | ||
definePropertyFn = function (obj, key, descriptor) { | ||
let value; | ||
@@ -92,3 +92,3 @@ if (descriptor) { | ||
} | ||
return _defineProperty(object, key, descriptor); | ||
return definePropertyFn(object, key, descriptor); | ||
} | ||
@@ -95,0 +95,0 @@ ; |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/snowyu/inherits-ex.js", | ||
"version": "2.1.0-alpha.2", | ||
"version": "2.1.0-alpha.3", | ||
"author": { | ||
@@ -8,0 +8,0 @@ "name": "Riceball LEE", |
@@ -1,5 +0,5 @@ | ||
let _defineProperty = Object.defineProperty; | ||
let definePropertyFn = Object.defineProperty; | ||
if (!_defineProperty) { | ||
_defineProperty = function(obj, key, descriptor) { | ||
if (!definePropertyFn) { | ||
definePropertyFn = function(obj, key, descriptor) { | ||
let value; | ||
@@ -86,5 +86,5 @@ if (descriptor) { | ||
return _defineProperty(object, key, descriptor); | ||
return definePropertyFn(object, key, descriptor); | ||
}; | ||
export default defineProperty |
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
244335