@ethersproject/properties
Advanced tools
Comparing version 5.4.0 to 5.4.1
@@ -1,2 +0,2 @@ | ||
export declare const version = "properties/5.4.0"; | ||
export declare const version = "properties/5.4.1"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "properties/5.4.0"; | ||
export const version = "properties/5.4.1"; | ||
//# sourceMappingURL=_version.js.map |
@@ -76,3 +76,12 @@ "use strict"; | ||
for (let i = 0; i < keys.length; i++) { | ||
if (!_isFrozen(object[keys[i]])) { | ||
let value = null; | ||
try { | ||
value = object[keys[i]]; | ||
} | ||
catch (error) { | ||
// If accessing a value triggers an error, it is a getter | ||
// designed to do so (e.g. Result) and is therefore "frozen" | ||
continue; | ||
} | ||
if (!_isFrozen(value)) { | ||
return false; | ||
@@ -79,0 +88,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const version = "properties/5.4.0"; | ||
export declare const version = "properties/5.4.1"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "properties/5.4.0"; | ||
exports.version = "properties/5.4.1"; | ||
//# sourceMappingURL=_version.js.map |
@@ -118,3 +118,12 @@ "use strict"; | ||
for (var i = 0; i < keys.length; i++) { | ||
if (!_isFrozen(object[keys[i]])) { | ||
var value = null; | ||
try { | ||
value = object[keys[i]]; | ||
} | ||
catch (error) { | ||
// If accessing a value triggers an error, it is a getter | ||
// designed to do so (e.g. Result) and is therefore "frozen" | ||
continue; | ||
} | ||
if (!_isFrozen(value)) { | ||
return false; | ||
@@ -121,0 +130,0 @@ } |
@@ -18,3 +18,3 @@ { | ||
], | ||
"gitHead": "c2c0ce75039e7256b287f9a764188d08ed0b7296", | ||
"gitHead": "c41b89a0c120893062de025a17928a5f092c64b0", | ||
"keywords": [ | ||
@@ -42,5 +42,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x66c10bca6e8c5b0363d2eb8e27e86597d37ec4127084f336bad884b71511c693", | ||
"tarballHash": "0x6931459515d1d60ca437435bc3c0892d38476dfed116a891ca25f0fa6e3e8f3f", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.4.0" | ||
"version": "5.4.1" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "properties/5.4.0"; | ||
export const version = "properties/5.4.1"; |
@@ -76,3 +76,12 @@ "use strict"; | ||
for (let i = 0; i < keys.length; i++) { | ||
if (!_isFrozen(object[keys[i]])) { return false; } | ||
let value: any = null; | ||
try { | ||
value = object[keys[i]]; | ||
} catch (error) { | ||
// If accessing a value triggers an error, it is a getter | ||
// designed to do so (e.g. Result) and is therefore "frozen" | ||
continue; | ||
} | ||
if (!_isFrozen(value)) { return false; } | ||
} | ||
@@ -79,0 +88,0 @@ |
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
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
30975
436