Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-crypto

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-crypto - npm Package Compare versions

Comparing version 1.4.7 to 1.4.8

31

index_web.js

@@ -1,28 +0,3 @@

function isElectron() {
// Renderer process
if (typeof window !== "undefined" && typeof window.process === "object" && window.process.type === "renderer") {
return true;
}
// Main process
if (typeof process !== "undefined" && typeof process.versions === "object" && !!process.versions.electron) {
return true;
}
// Detect the user agent when the `nodeIntegration` option is set to true
if (typeof navigator === "object" && typeof navigator.userAgent === "string" && navigator.userAgent.indexOf("Electron") >= 0) {
return true;
}
return false;
}
if (isElectron()) {
module.exports = {
...require("./dist/source"),
...require("./dist/source_nodejs"),
};
} else {
module.exports = {
...require("./dist/source"),
};
}
module.exports = {
...require("./dist/source"),
};

2

index.js
module.exports = {
...require("./dist/source"),
...require("./dist/source_nodejs")
...require("./dist/source_nodejs"),
};
{
"name": "node-opcua-crypto",
"version": "1.4.7",
"version": "1.4.8",
"description": "Crypto tools for Node-OPCUA",

@@ -5,0 +5,0 @@ "main": "./index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc