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

@semantic-ui/utils

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-ui/utils - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json

@@ -11,3 +11,3 @@ {

},
"version": "0.1.4"
"version": "0.1.5"
}

@@ -44,3 +44,3 @@ /*

/*-------------------
Browser
Browser
--------------------*/

@@ -52,2 +52,14 @@

export const openLink = (url, { newWindow = false, target, event } = {}) => {
if(newWindow) {
window.open(url);
}
else {
window.location.href = url;
}
if(event) {
event.preventDefault();
}
};
export const getKeyFromEvent = (event) => {

@@ -54,0 +66,0 @@ let pressedKey = event?.key;

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