New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ulu/utils

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ulu/utils - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

local/wildcard-match/wildcard-match.js

4

CHANGELOG.md
# Change Log
## 0.0.13
- Browser > dom > isBrowser() Test whether script is executing in browser environment
## 0.0.12

@@ -4,0 +8,0 @@

@@ -5,3 +5,12 @@ /**

/**
* Determine if the script is executing in a browser environment
* @returns {Boolean}
*/
export function isBrowser() {
return typeof window !== "undefined" && typeof window.document !== "undefined";
}
/**
* Remove HTML elements from string

@@ -8,0 +17,0 @@ * @param {String} html Source HTML

2

package.json
{
"name": "@ulu/utils",
"version": "0.0.12",
"version": "0.0.13",
"description": "Low level utility library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,2 +5,7 @@ /**

/**
* Determine if the script is executing in a browser environment
* @returns {Boolean}
*/
export function isBrowser(): boolean;
/**
* Remove HTML elements from string

@@ -7,0 +12,0 @@ * @param {String} html Source HTML

Sorry, the diff of this file is not supported yet

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