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

cherrytree

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cherrytree - npm Package Compare versions

Comparing version 2.2.1 to 2.3.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

### v2.3.1
* Don't intercept clicks on `mailto:` links
### v2.2.1
* Fix: stop using Array.prototype.find which is not available in older browsers
### v2.2.0

@@ -2,0 +10,0 @@

2

lib/links.js

@@ -119,2 +119,4 @@ 'use strict';

if (href.indexOf('http://') === 0 || href.indexOf('https://') === 0) return;
// email links
if (href.indexOf('mailto:') === 0) return;
// don't intercept javascript links

@@ -121,0 +123,0 @@ /* eslint-disable no-script-url */

2

package.json
{
"name": "cherrytree",
"version": "2.2.1",
"version": "2.3.1",
"description": "Cherrytree - a flexible hierarchical client side router",

@@ -5,0 +5,0 @@ "main": "index",

@@ -2141,2 +2141,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (href.indexOf('http://') === 0 || href.indexOf('https://') === 0) return;
// email links
if (href.indexOf('mailto:') === 0) return;
// don't intercept javascript links

@@ -2143,0 +2145,0 @@ /* eslint-disable no-script-url */

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