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

cashaccounts

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cashaccounts - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

16

index.js

@@ -793,2 +793,18 @@ const EmojiList = require('./emoji_names.json');

const cashAccountRegex = /^([a-zA-Z0-9_]+)(#([0-9]+)(([0-9]+))).([0-9]+)?$/i;
const split = this.splitHandle(string);
const { username, number } = split;
if (isNaN(number)) {
return false;
}
if (username === undefined) {
return false;
}
if (number === undefined) {
return false;
}
return cashAccountRegex.test(string);

@@ -795,0 +811,0 @@ }

2

package.json
{
"name": "cashaccounts",
"version": "0.4.0",
"version": "0.4.1",
"description": "decentralized identity system for bitcoin cash by Jonathan Silverblood",

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

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