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

fastify-url

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-url - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

dist/plugin.js

@@ -42,2 +42,3 @@ "use strict";

name: 'fastify-url',
fastify: '>=2.0.0',
});

2

package.json
{
"name": "fastify-url",
"version": "0.1.1",
"version": "0.1.2",
"description": "Fastify plugin for parsing and attaching URL data to requests",

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

@@ -19,5 +19,3 @@ fastify-url

fastify.register(require('fastify-url'), err => {
if (err) throw err;
});
fastify.register(require('fastify-url').default);

@@ -47,4 +45,8 @@ fastify.get('/*', (req, reply) => {

## Options
## `fastify-url` vs `fastify-url-data`
The difference between these two plugins is `fastify-url` uses the native NodeJS [URL](https://nodejs.org/api/url.html#url_class_url) class and `fastify-url-data` uses [`uri-js`](https://github.com/garycourt/uri-js). These implementations provide some of the same features but have different data members. Depending on your requirements you may need one or the other, but using both is redundant.
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