Socket
Socket
Sign inDemoInstall

default-branch

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

index.js

@@ -13,3 +13,3 @@ 'use strict';

if (response.statusCode < 200 || response.statusCode > 299) {
reject(new Error('Failed to load url: ' + res.statusCode));
reject(new Error('Failed to load url: ' + response.statusCode));
}

@@ -16,0 +16,0 @@

{
"name": "default-branch",
"version": "1.0.1",
"version": "1.0.2",
"description": "Get the default branch of a GitHub repository",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc