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

@docusaurus/utils

Package Overview
Dependencies
Maintainers
4
Versions
1839
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@docusaurus/utils - npm Package Compare versions

Comparing version 2.0.0-alpha.49 to 2.0.0-alpha.50

2

lib/index.js

@@ -220,2 +220,4 @@ "use strict";

str = str.replace(/([^:]\/)\/+/g, '$1');
// Dedupe forward slashes at the beginning of the path.
str = str.replace(/^\/+/g, '/');
return str;

@@ -222,0 +224,0 @@ }

4

package.json
{
"name": "@docusaurus/utils",
"version": "2.0.0-alpha.49",
"version": "2.0.0-alpha.50",
"description": "Node utility functions for Docusaurus packages",

@@ -23,3 +23,3 @@ "main": "./lib/index.js",

},
"gitHead": "409f169379379468c5039e4b7fb7ca83100ad6bb"
"gitHead": "c207c3ba31b16eb91ac3c6dbe7a295e698c9413c"
}

@@ -258,2 +258,6 @@ /**

{
input: ['/', '/', '2020/02/29/leap-day'],
output: '/2020/02/29/leap-day',
},
{
input: ['', '/', 'ko', 'hello'],

@@ -260,0 +264,0 @@ output: '/ko/hello',

@@ -259,2 +259,5 @@ /**

// Dedupe forward slashes at the beginning of the path.
str = str.replace(/^\/+/g, '/');
return str;

@@ -261,0 +264,0 @@ }

Sorry, the diff of this file is not supported yet

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