@electron-forge/publisher-base
Advanced tools
Comparing version 6.0.0-beta.34 to 6.0.0-beta.35
@@ -17,5 +17,2 @@ "use strict"; | ||
class Publisher { | ||
/* tslint:disable variable-name */ | ||
/* tslint:enable variable-name */ | ||
constructor(config, providedPlatforms) { | ||
@@ -61,2 +58,3 @@ this.config = config; | ||
return _asyncToGenerator(function* () { | ||
// eslint-disable-line @typescript-eslint/no-unused-vars | ||
throw new Error(`Publisher ${_this.name} did not implement the publish method`); | ||
@@ -69,2 +67,2 @@ })(); | ||
exports.default = Publisher; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9QdWJsaXNoZXIudHMiXSwibmFtZXMiOlsiUHVibGlzaGVyIiwiY29uc3RydWN0b3IiLCJjb25maWciLCJwcm92aWRlZFBsYXRmb3JtcyIsIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwidmFsdWUiLCJlbnVtZXJhYmxlIiwiY29uZmlndXJhYmxlIiwicGxhdGZvcm1zIiwiZGVmYXVsdFBsYXRmb3JtcyIsInB1Ymxpc2giLCJvcHRzIiwiRXJyb3IiLCJuYW1lIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFxQmUsTUFBZUEsU0FBZixDQUF1RDtBQUdwRTs7QUFFQTtBQUVBQyxFQUFBQSxXQUFXLENBQVFDLE1BQVIsRUFBNkJDLGlCQUE3QixFQUFrRTtBQUFBO0FBQUE7O0FBQUE7O0FBQUE7O0FBQUE7O0FBQzNFLFNBQUtELE1BQUwsR0FBY0EsTUFBZDtBQUNBRSxJQUFBQSxNQUFNLENBQUNDLGNBQVAsQ0FBc0IsSUFBdEIsRUFBNEIsNEJBQTVCLEVBQTBEO0FBQ3hEQyxNQUFBQSxLQUFLLEVBQUUsSUFEaUQ7QUFFeERDLE1BQUFBLFVBQVUsRUFBRSxLQUY0QztBQUd4REMsTUFBQUEsWUFBWSxFQUFFO0FBSD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sbGVkIG11bHRpcGxlIHRpbWVzLCBvbmNlXG4gICAqIGZvciBlYWNoIHNldCBvZiBcInBsYXRmb3JtXCIgYW5kIFwiYXJjaFwiLiAgVGhpcyBtZWFucyBpZiB5b3UgYXJlIHB1Ymxpc2hpbmdcbiAgICogZGFyd2luIGFuZCB3aW4zMiBhcnRpZmFjdHMgdG8gc29tZXdoZXJlIGxpa2UgR2l0SHViIG9uIHRoZSBmaXJzdCBwdWJsaXNoIGNhbGxcbiAgICogeW91IHdpbGwgaGF2ZSB0byBjcmVhdGUgdGhlIHZlcnNpb24gb24gR2l0SHViIGFuZCB0aGUgc2Vjb25kIGNhbGwgd2lsbCBqdXN0XG4gICAqIGJlIGFwcGVuZGluZyBmaWxlcyB0byB0aGUgZXhpc3RpbmcgdmVyc2lvbi5cbiAgICovXG4gIGFzeW5jIHB1Ymxpc2gob3B0czogUHVibGlzaGVyT3B0aW9ucykgeyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby11bnVzZWQtdmFyc1xuICAgIHRocm93IG5ldyBFcnJvcihgUHVibGlzaGVyICR7dGhpcy5uYW1lfSBkaWQgbm90IGltcGxlbWVudCB0aGUgcHVibGlzaCBtZXRob2RgKTtcbiAgfVxufVxuIl19 |
{ | ||
"name": "@electron-forge/publisher-base", | ||
"version": "6.0.0-beta.34", | ||
"version": "6.0.0-beta.35", | ||
"description": "Base publisher for Electron Forge", | ||
@@ -11,9 +11,9 @@ "repository": "https://github.com/electron-userland/electron-forge", | ||
"devDependencies": { | ||
"@electron-forge/shared-types": "6.0.0-beta.34", | ||
"@electron-forge/shared-types": "6.0.0-beta.35", | ||
"chai": "4.2.0", | ||
"mocha": "^6.0.0" | ||
"mocha": "^6.1.4" | ||
}, | ||
"engines": { | ||
"node": ">= 6.0" | ||
"node": ">= 8.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
8904
4
110