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

@baggie/detection

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baggie/detection - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

7

lib/environment/isJsDom.js

@@ -9,4 +9,5 @@ "use strict";

*/
exports.isJsDom = (typeof window !== "undefined" && window.name === "nodejs") ||
window.navigator.userAgent.includes("Node.js") ||
window.navigator.userAgent.includes("jsdom");
exports.isJsDom = typeof window !== "undefined" &&
(window.name === "nodejs" ||
window.navigator.userAgent.includes("Node.js") ||
window.navigator.userAgent.includes("jsdom"));
{
"name": "@baggie/detection",
"version": "1.3.2",
"version": "1.3.3",
"description": "A library of detection tools for JavaScript and TypeScript. Detect browser support, media features, environment etc.",

@@ -5,0 +5,0 @@ "license": "MIT",

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