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

webext-buildtools-chrome-webstore-builder

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webext-buildtools-chrome-webstore-builder - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

2

dist/builder.js

@@ -109,3 +109,3 @@ "use strict";

if (shouldUpload) {
newExtensionResource = await upload_1.upload(this._inputZipBuffer, this._options.upload || {}, apiFacade, this._inputManifest);
newExtensionResource = await upload_1.upload(this._inputZipBuffer, this._options.upload || {}, oldExtensionResource.crxVersion, apiFacade, this._inputManifest);
}

@@ -112,0 +112,0 @@ result.getAssets().uploadedExt = new buildResult_1.ChromeWebstoreUploadedExtAsset({

@@ -6,2 +6,2 @@ /// <reference types="node" />

import { WebstoreResource } from "typed-chrome-webstore-api";
export declare function upload(inputZipBuffer: Buffer, options: IChromeWebstoreUploadOptions, apiFacade: ChromeWebstoreApiFacade, inputManifest?: IManifestObject): Promise<WebstoreResource>;
export declare function upload(inputZipBuffer: Buffer, options: IChromeWebstoreUploadOptions, currentWebstoreVersion: string | undefined, apiFacade: ChromeWebstoreApiFacade, inputManifest?: IManifestObject): Promise<WebstoreResource>;

@@ -5,3 +5,3 @@ "use strict";

const errors_1 = require("../errors");
async function upload(inputZipBuffer, options, apiFacade, inputManifest) {
async function upload(inputZipBuffer, options, currentWebstoreVersion, apiFacade, inputManifest) {
let uploadResult;

@@ -26,3 +26,3 @@ try {

if (uploadResult.isFailedBecauseOfPendingReview()) {
throw new errors_1.UploadInReviewError(uploadErrorMsg);
throw new errors_1.UploadInReviewError(uploadErrorMsg, currentWebstoreVersion);
}

@@ -29,0 +29,0 @@ throw new Error(uploadErrorMsg);

export declare class UploadInReviewError extends Error {
private readonly _currentVersion;
constructor(message: string, currentVersion: string | undefined);
readonly currentVersion: string | undefined;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class UploadInReviewError extends Error {
constructor(message, currentVersion) {
super(message);
this._currentVersion = currentVersion;
}
get currentVersion() {
return this._currentVersion;
}
}
exports.UploadInReviewError = UploadInReviewError;
//# sourceMappingURL=uploadInReviewError.js.map
{
"name": "webext-buildtools-chrome-webstore-builder",
"version": "1.1.5",
"version": "1.1.6",
"description": "webext-buildtools builder for deploying to Chrome Webstore. Based on chrome-webstore-upload",

@@ -5,0 +5,0 @@ "main": "dist",

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