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

git-origin-check

Package Overview
Dependencies
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-origin-check - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/originCheck.js

@@ -20,4 +20,4 @@ const gitRemoteOriginUrl = require('git-remote-origin-url');

}
else if (hostParts.Hostname !== expectedHost) {
throw new Error(`Origin alias for '${origin}' resolves to: ${hostParts.Hostname}. It must resolve to: ${expectedHost}`);
else if (hostParts.HostName !== expectedHost) {
throw new Error(`Origin alias for '${origin}' resolves to: ${hostParts.HostName}. It must resolve to: ${expectedHost}`);
}

@@ -24,0 +24,0 @@ }

{
"name": "git-origin-check",
"version": "1.0.3",
"version": "1.0.4",
"description": "Validates Git origin is set to correct host.",

@@ -5,0 +5,0 @@ "bin": {

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