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

@hiveposh/so-many-frontends

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hiveposh/so-many-frontends - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

9

index.js

@@ -26,3 +26,10 @@ const hiveDomains = [

for (const i in hiveDomains) {
const parsedUrl = new URL(url);
let parsedUrl
try {
parsedUrl = new URL(url);
} catch(err) {
return false;
}
if (

@@ -29,0 +36,0 @@ parsedUrl.host == hiveDomains[i] ||

2

package.json
{
"name": "@hiveposh/so-many-frontends",
"version": "0.0.6",
"version": "0.0.7",
"description": "JS module for listing Hive front ends",

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

@@ -28,2 +28,12 @@ const test = require("node:test");

test("isHiveUrl invalid URL", (t) => {
assert.strictEqual(
isHiveUrl(
"/r/the-mystery-of-time-challengers-1991.html"
),
false
);
});
test("parseHiveUrl reverio question", (t) => {

@@ -30,0 +40,0 @@ assert.deepEqual(

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