New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@plasmohq/chrome-webstore-api

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plasmohq/chrome-webstore-api - npm Package Compare versions

Comparing version 2.6.1 to 2.6.2

LICENSE

22

dist/index.js

@@ -34,11 +34,19 @@ // index.ts

const accessToken = await this.getAccessToken();
const { uploadState, itemError } = await this.upload({
readStream: createReadStream(filePath)
}, accessToken);
const { uploadState, itemError } = await this.upload(
{
readStream: createReadStream(filePath)
},
accessToken
);
if (uploadState === "FAILURE" || uploadState === "NOT_FOUND") {
throw new Error(itemError.map(({ error_detail }) => error_detail).join("\n"));
throw new Error(
itemError.map(({ error_detail }) => error_detail).join("\n")
);
}
return this.publish({
target
}, accessToken);
return this.publish(
{
target
},
accessToken
);
}

@@ -45,0 +53,0 @@ async upload({ readStream = null }, _accessToken = "") {

{
"name": "@plasmohq/chrome-webstore-api",
"version": "2.6.1",
"version": "2.6.2",
"description": "Chrome webstore API",

@@ -27,12 +27,12 @@ "exports": "./dist/index.js",

"devDependencies": {
"@plasmohq/rps": "1.3.4",
"@trivago/prettier-plugin-sort-imports": "3.2.0",
"@types/node": "18.0.0",
"@plasmohq/prettier-plugin-sort-imports": "3.5.1",
"@plasmohq/rps": "1.5.1",
"@types/node": "18.7.20",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"tsup": "6.1.2",
"typescript": "4.7.3"
"tsup": "6.2.3",
"typescript": "4.8.3"
},
"dependencies": {
"got": "12.1.0"
"got": "12.5.0"
},

@@ -39,0 +39,0 @@ "scripts": {

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