🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@make-mjs/utils

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@make-mjs/utils - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+2
-0
index.js

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

function convertUrlToPath(url) {
if (url === '')
return '';
const [first, ...rest] = url.split('/');

@@ -56,0 +58,0 @@ return first === ''

@@ -54,2 +54,3 @@ import path from 'path';

export function convertUrlToPath(url) {
if (url === '') return '';
const [first, ...rest] = url.split('/');

@@ -56,0 +57,0 @@ return first === '' ? path.sep + path.join(...rest) : path.join(first, ...rest);

+2
-1
{
"name": "@make-mjs/utils",
"version": "0.0.2",
"version": "0.0.3",
"description": "Utilities used by other packages",

@@ -15,2 +15,3 @@ "author": "Hoàng Văn Khải <hvksmr1996@gmail.com>",

},
"sideEffects": false,
"dependencies": {

@@ -17,0 +18,0 @@ "tslib": "^1.10.0",