pbxproj-dom
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "pbxproj-dom", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,3 +35,10 @@ import * as pbx from "./pbx"; | ||
setManualSigningStyle(targetName: string, { team, uuid, name, identity }?: ManualSigning): void; | ||
/** | ||
* Sets Manual signing style for targets in the pbx.Document that match a specified product types. | ||
*/ | ||
setManualSigningStyleByTargetProductType(targetProductType: string, { team, uuid, name, identity }?: ManualSigning): void; | ||
/** | ||
* Sets Manual signing style for targets in the pbx.Document that match one of the specified product types. | ||
*/ | ||
setManualSigningStyleByTargetProductTypesList(targetProductTypesList: string[], { team, uuid, name, identity }?: ManualSigning): void; | ||
setManualSigningStyleByTargetKey(targetKey: string, { team, uuid, name, identity }?: ManualSigning): void; | ||
@@ -43,6 +50,10 @@ /** | ||
/** | ||
* Sets Automatic signing style for a target in the pbx.Document. | ||
* Sets Automatic signing style for a target in the pbx.Document that match one of the specified product types. | ||
*/ | ||
setAutomaticSigningStyleByTargetProductType(targetProductType: string, developmentTeam: string): void; | ||
/** | ||
* Sets Automatic signing style for targets in the pbx.Document that match one of the specified product types. | ||
*/ | ||
setAutomaticSigningStyleByTargetProductTypesList(targetProductTypesList: string[], developmentTeam: string): void; | ||
/** | ||
* Sets Automatic signing style for a target in the pbx.Document. | ||
@@ -49,0 +60,0 @@ */ |
22
xcode.js
@@ -44,7 +44,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
}; | ||
/** | ||
* Sets Manual signing style for targets in the pbx.Document that match a specified product types. | ||
*/ | ||
Xcode.prototype.setManualSigningStyleByTargetProductType = function (targetProductType, _a) { | ||
var _b = _a === void 0 ? { team: undefined, uuid: undefined, name: undefined } : _a, team = _b.team, uuid = _b.uuid, name = _b.name, identity = _b.identity; | ||
this.setManualSigningStyleByTargetProductTypesList([targetProductType], { team: team, uuid: uuid, name: name, identity: identity }); | ||
}; | ||
/** | ||
* Sets Manual signing style for targets in the pbx.Document that match one of the specified product types. | ||
*/ | ||
Xcode.prototype.setManualSigningStyleByTargetProductTypesList = function (targetProductTypesList, _a) { | ||
var _this = this; | ||
var _b = _a === void 0 ? { team: undefined, uuid: undefined, name: undefined } : _a, team = _b.team, uuid = _b.uuid, name = _b.name, identity = _b.identity; | ||
this.document.targets | ||
.filter(function (target) { return target.productType === targetProductType; }) | ||
.filter(function (target) { return targetProductTypesList.indexOf(target.productType) >= 0; }) | ||
.forEach(function (target) { | ||
@@ -75,8 +85,14 @@ _this.setTargetManualSigningStyle(target, { team: team, uuid: uuid, name: name, identity: identity }); | ||
/** | ||
* Sets Automatic signing style for a target in the pbx.Document. | ||
* Sets Automatic signing style for a target in the pbx.Document that match one of the specified product types. | ||
*/ | ||
Xcode.prototype.setAutomaticSigningStyleByTargetProductType = function (targetProductType, developmentTeam) { | ||
this.setAutomaticSigningStyleByTargetProductTypesList([targetProductType], developmentTeam); | ||
}; | ||
/** | ||
* Sets Automatic signing style for targets in the pbx.Document that match one of the specified product types. | ||
*/ | ||
Xcode.prototype.setAutomaticSigningStyleByTargetProductTypesList = function (targetProductTypesList, developmentTeam) { | ||
var _this = this; | ||
this.document.targets | ||
.filter(function (target) { return target.productType === targetProductType; }) | ||
.filter(function (target) { return targetProductTypesList.indexOf(target.productType) >= 0; }) | ||
.forEach(function (target) { | ||
@@ -83,0 +99,0 @@ _this.setTargetAutomaticSigningStyle(target, developmentTeam); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
85211
2040
0