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 8.6.0 to 8.6.1

49

dist/provider.js

@@ -705,3 +705,19 @@ 'use strict';

/**
* brings Directory attributes
*/
function DirectoryEntryMixin(superclass) {
return class DirectoryEntryMixin extends superclass {
get isDirectory() {
return true;
}
async getTypes() {
return ["public.directory"];
}
};
}
const BaseDirectoryEntry = DirectoryEntryMixin(BaseEntry);
/**

@@ -1442,9 +1458,12 @@ * Representation of one file or directory entry

static get defaultOptions() {
return Object.assign({
/**
* in case there are several provider able to support a given source which one sould be used ?
* this defines the order
*/
priority: 0
}, super.defaultOptions);
return Object.assign(
{
/**
* in case there are several provider able to support a given source which one sould be used ?
* this defines the order
*/
priority: 0
},
super.defaultOptions
);
}

@@ -1455,11 +1474,7 @@

definePropertiesFromOptions(
this,
options,
{
repositoryGroups: { value: new Map() }
}
);
definePropertiesFromOptions(this, options, {
repositoryGroups: { value: new Map() }
});
this.trace( level => options);
this.trace(level => options);
}

@@ -1589,3 +1604,3 @@

Object.keys(this.constructor.defaultOptions).forEach(k => {
if(this[k] !== undefined && typeof this[k] !== 'function') {
if (this[k] !== undefined && typeof this[k] !== "function") {
json[k] = this[k];

@@ -1606,3 +1621,5 @@ }

exports.Entry = Entry;
exports.BaseDirectoryEntry = BaseDirectoryEntry;
exports.DirectoryEntryMixin = DirectoryEntryMixin;
exports.emptyEntry = emptyEntry;
exports.Provider = Provider;
{
"name": "repository-provider",
"version": "8.6.0",
"version": "8.6.1",
"publishConfig": {

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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