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

@capriza/http-utils

Package Overview
Dependencies
Maintainers
4
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capriza/http-utils - npm Package Compare versions

Comparing version 0.2.14-dev.7 to 0.2.14-dev.8

12

alignVersions.js

@@ -22,6 +22,10 @@

if (versionTag) {
let tagCurrentVersion = execSync(`npm dist-tag ls`).toString().split("\n").find(s => s.startsWith(`${versionTag}: `));
if (tagCurrentVersion) {
tagCurrentVersion = parseInt(tagCurrentVersion.slice(tagCurrentVersion.lastIndexOf(".") + 1));
} else tagCurrentVersion = -1;
let tagCurrentVersion;
execSync(`npm dist-tag ls`).toString().split("\n").some(s => {
const versionTagRE = new RegExp(`^${versionTag}: ([^-]*)-${versionTag}\\.(.*)`);
const res = versionTagRE.exec(s);
if (res && res[1] === version) tagCurrentVersion = parseInt(res[2]);
return !!res;
});
if (typeof tagCurrentVersion !== "number") tagCurrentVersion = -1;
version += `-${versionTag}.${tagCurrentVersion + 1}`;

@@ -28,0 +32,0 @@ }

{
"name": "@capriza/http-utils",
"version": "0.2.14-dev.7",
"version": "0.2.14-dev.8",
"description": "HTTP Request utils that handles, request-response, errors, concurrency, priority and authentication",

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

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