repository-provider
Advanced tools
Comparing version 3.8.2 to 3.8.3
@@ -368,3 +368,3 @@ 'use strict'; | ||
super(); | ||
Object.defineProperties(this, { | ||
const properties = { | ||
config: { | ||
@@ -374,3 +374,5 @@ value: this.constructor.options(options) | ||
repositoryGroups: { value: new Map() } | ||
}); | ||
}; | ||
propertiesFromOptions(properties, options, this.constructor.defaultOptions); | ||
Object.defineProperties(this, properties); | ||
} | ||
@@ -377,0 +379,0 @@ async repositoryGroup(name, options) { |
{ | ||
"name": "repository-provider", | ||
"version": "3.8.2", | ||
"version": "3.8.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -7,3 +7,3 @@ import { Branch } from "./branch"; | ||
import { Content } from "./content"; | ||
import { notImplementedError } from "./util"; | ||
import { notImplementedError, propertiesFromOptions } from "./util"; | ||
@@ -49,8 +49,13 @@ export { Repository, Branch, PullRequest, Owner, RepositoryGroup, Content }; | ||
Object.defineProperties(this, { | ||
const properties = { | ||
config: { | ||
// TODO ret rid of config | ||
value: this.constructor.options(options) | ||
}, | ||
repositoryGroups: { value: new Map() } | ||
}); | ||
}; | ||
propertiesFromOptions(properties, options, this.constructor.defaultOptions); | ||
Object.defineProperties(this, properties); | ||
} | ||
@@ -57,0 +62,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55425
1333