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

mongodb-connection-string-url

Package Overview
Dependencies
Maintainers
28
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-connection-string-url - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

14

lib/index.d.ts

@@ -1,7 +0,11 @@

import { URL } from './whatwg-url';
import { URL } from 'whatwg-url';
declare abstract class URLWithoutHost extends URL {
abstract host: never;
abstract hostname: never;
abstract port: never;
abstract href: string;
abstract get host(): never;
abstract set host(value: never);
abstract get hostname(): never;
abstract set hostname(value: never);
abstract get port(): never;
abstract set port(value: never);
abstract get href(): string;
abstract set href(value: string);
}

@@ -8,0 +12,0 @@ export default class ConnectionString extends URLWithoutHost {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const whatwg_url_1 = require("./whatwg-url");
const whatwg_url_1 = require("whatwg-url");
const DUMMY_HOSTNAME = '__this_is_a_placeholder__';

@@ -5,0 +5,0 @@ const HOSTS_REGEX = new RegExp(String.raw `(?<protocol>mongodb(?:\+srv|)):\/\/(?:(?<username>[^:]*)(?::(?<password>[^@]*))?@)?(?<hosts>(?!:)[^\/?@]+)(?<rest>.*)`);

{
"name": "mongodb-connection-string-url",
"version": "1.0.0",
"version": "1.0.1",
"description": "MongoDB connection strings, based on the WhatWG URL API",

@@ -5,0 +5,0 @@ "keywords": [

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