Comparing version 2.1.54 to 2.1.55
@@ -49,3 +49,3 @@ "use strict"; | ||
// noinspection JSUnresolvedVariable | ||
if (typeof process !== "undefined") { | ||
if (typeof process !== "undefined" && "pid" in process && typeof global !== "undefined") { | ||
// noinspection ES6ModulesDependencies, JSUnresolvedVariable | ||
@@ -97,3 +97,3 @@ if (typeof global[process.pid] === "undefined") { | ||
// noinspection JSUnresolvedVariable | ||
if (typeof process !== "undefined") { | ||
if (typeof process !== "undefined" && "pid" in process && typeof global !== "undefined") { | ||
var _engine = void 0; | ||
@@ -148,2 +148,4 @@ | ||
} | ||
setEngine(engine.name, engine.crypto, engine.subtle); | ||
})(); | ||
@@ -150,0 +152,0 @@ //************************************************************************************** |
@@ -86,4 +86,4 @@ { | ||
"name": "pkijs", | ||
"version": "2.1.54", | ||
"version": "2.1.55", | ||
"license": "MIT" | ||
} |
@@ -17,3 +17,3 @@ import * as asn1js from "asn1js"; | ||
// noinspection JSUnresolvedVariable | ||
if(typeof process !== "undefined") | ||
if((typeof process !== "undefined") && ("pid" in process) && (typeof global !== "undefined")) | ||
{ | ||
@@ -76,3 +76,3 @@ // noinspection ES6ModulesDependencies, JSUnresolvedVariable | ||
// noinspection JSUnresolvedVariable | ||
if(typeof process !== "undefined") | ||
if((typeof process !== "undefined") && ("pid" in process) && (typeof global !== "undefined")) | ||
{ | ||
@@ -139,2 +139,4 @@ let _engine; | ||
} | ||
setEngine(engine.name, engine.crypto, engine.subtle); | ||
})(); | ||
@@ -141,0 +143,0 @@ //************************************************************************************** |
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
4225222
64156