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

@augment-vir/common

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@augment-vir/common - npm Package Compare versions

Comparing version 19.0.0 to 19.0.1

4

dist/cjs/augments/string/url.js

@@ -7,3 +7,3 @@ "use strict";

* Joins all given arguments together as if they were parts of a URL. Preserves trailing slashes and
* removes consecutive slashes in the path. This also encodes each URL part.
* removes consecutive slashes in the path.
*

@@ -31,3 +31,3 @@ * @example: joinToUrl('https://example.com', 'path1', 'path2/', '/path3/') === 'https://example.com/path1/path2/path3/'

else {
return encodeURIComponent(part);
return part;
}

@@ -34,0 +34,0 @@ })

const protocolSplit = '://';
/**
* Joins all given arguments together as if they were parts of a URL. Preserves trailing slashes and
* removes consecutive slashes in the path. This also encodes each URL part.
* removes consecutive slashes in the path.
*

@@ -27,3 +27,3 @@ * @example: joinToUrl('https://example.com', 'path1', 'path2/', '/path3/') === 'https://example.com/path1/path2/path3/'

else {
return encodeURIComponent(part);
return part;
}

@@ -30,0 +30,0 @@ })

/**
* Joins all given arguments together as if they were parts of a URL. Preserves trailing slashes and
* removes consecutive slashes in the path. This also encodes each URL part.
* removes consecutive slashes in the path.
*

@@ -5,0 +5,0 @@ * @example: joinToUrl('https://example.com', 'path1', 'path2/', '/path3/') === 'https://example.com/path1/path2/path3/'

{
"name": "@augment-vir/common",
"version": "19.0.0",
"version": "19.0.1",
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common",

@@ -21,3 +21,3 @@ "bugs": {

"scripts": {
"compile": "tsc --project tsconfig.json && tsc --project tsconfig.cjs.json",
"compile": "rm -rf dist && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json",
"test": "echo \"use common-test to run tests\" && exit 0",

@@ -24,0 +24,0 @@ "test:coverage": "npm test",

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