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

webmention-handler

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webmention-handler - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

dist/classes/web-mention-handler.class.d.ts

@@ -13,2 +13,3 @@ import { IWebMentionHandler } from "../interfaces/web-mention-handler.interface";

blacklist?: string[];
stripQueryParameters: boolean;
constructor(options: WebMentionOptions);

@@ -15,0 +16,0 @@ /**

@@ -175,2 +175,3 @@ 'use strict';

this.blacklist = options.blacklist;
this.stripQueryParameters = options.stripQueryParameters || false;
}

@@ -211,2 +212,4 @@ /**

targetUrl.hash = '';
if (this.stripQueryParameters)
targetUrl.search = '';
// TODO: add support for returning a mention status url

@@ -213,0 +216,0 @@ // hence the currently unused queued object

@@ -8,2 +8,3 @@ import { IWebMentionStorage } from "../interfaces/web-mention-storage.interface";

supportedHosts: string[];
stripQueryParameters?: boolean;
};

2

package.json
{
"name": "webmention-handler",
"version": "0.0.2",
"version": "0.0.3",
"description": "A handler for web mentions",

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

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