Socket
Socket
Sign inDemoInstall

detect-browser-node-ssr

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

dist/index.browser.esm.js

2

dist/index.esm.js

@@ -6,2 +6,2 @@ const bNode = !!(typeof global == "object" && global.process && global.process.release && global.process.release.name && typeof HTMLCanvasElement == "undefined");

export { bNode, bSSR, globalThis };
//# sourceMappingURL=index.mjs.map
//# sourceMappingURL=index.esm.js.map
{
"name": "detect-browser-node-ssr",
"version": "2.0.0",
"version": "3.0.0",
"description": "",

@@ -9,10 +9,10 @@ "files": [

],
"~~module": "./dist/index.mjs",
"module": "./dist/index.esm.mjs",
"exports": {
"~~import": "./dist/index.mjs",
"import": "./dist/index.esm.js"
"import": {
"browser": "./dist/index.browser.esm.js",
"nodeNotSsr": "./dist/index.node.esm.js",
"default": "./dist/index.esm.js"
}
},
"sideEffects": false,
"types": "dist/types/index.d.ts",
"scripts": {

@@ -26,7 +26,9 @@ "build": "rollup -c",

"devDependencies": {
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^8.3.2",
"@types/node": "^17.0.24",
"rollup": "^2.70.2",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.6.3"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc