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

repository-provider

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repository-provider - npm Package Compare versions

Comparing version 5.7.0 to 5.7.1

7

dist/provider.js

@@ -280,3 +280,4 @@ 'use strict';

if (branch === undefined) {
branch = await this._createBranch(name, source, options);
branch = await this._createBranch(name, source === undefined ? await this.defaultBranch : source, options);
this._branches.set(branch.name, branch);
}

@@ -286,5 +287,3 @@ return branch;

async _createBranch(name, source, options) {
const branch = new this.branchClass(this, name, options);
this._branches.set(branch.name, branch);
return branch;
return new this.branchClass(this, name, options);
}

@@ -291,0 +290,0 @@ async deleteBranch(name) {

{
"name": "repository-provider",
"version": "5.7.0",
"version": "5.7.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -162,3 +162,4 @@ import { notImplementedError } from "./util";

if (branch === undefined) {
branch = await this._createBranch(name, source, options);
branch = await this._createBranch(name, source === undefined ? await this.defaultBranch : source, options);
this._branches.set(branch.name, branch);
}

@@ -178,5 +179,3 @@

async _createBranch(name, source, options) {
const branch = new this.branchClass(this, name, options);
this._branches.set(branch.name, branch);
return branch;
return new this.branchClass(this, name, options);
}

@@ -183,0 +182,0 @@

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