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

screenshotone-errors

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screenshotone-errors - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

3

dist/@types/main.d.ts

@@ -21,3 +21,4 @@ export declare enum ErrorCode {

ContentContainsSpecifiedString = "content_contains_specified_string",
TemporaryUnavailable = "temporary_unavailable"
TemporaryUnavailable = "temporary_unavailable",
ResultingImageTooLarge = "resulting_image_too_large"
}

@@ -24,0 +25,0 @@ interface APIError {

@@ -26,2 +26,3 @@ "use strict";

ErrorCode["TemporaryUnavailable"] = "temporary_unavailable";
ErrorCode["ResultingImageTooLarge"] = "resulting_image_too_large";
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));

@@ -36,2 +37,9 @@ const allErrors = {

},
[ErrorCode.ResultingImageTooLarge]: {
httpStatusCode: 400,
title: "Resulting Image Too Large",
code: "resulting_image_too_large",
description: "The resulting image is too large for the specified format.",
documentationUrl: "https://screenshotone.com/docs/errors/resulting-image-too-large/",
},
[ErrorCode.NameNotResolved]: {

@@ -38,0 +46,0 @@ httpStatusCode: 400,

{
"name": "screenshotone-errors",
"homepage": "https://screenshotone.com",
"version": "1.0.14",
"version": "1.0.15",
"description": "Errors produced by the ScreenshotOne API.",

@@ -6,0 +6,0 @@ "repository": {

@@ -22,2 +22,3 @@ export enum ErrorCode {

TemporaryUnavailable = "temporary_unavailable",
ResultingImageTooLarge = "resulting_image_too_large",
}

@@ -43,2 +44,11 @@

},
[ErrorCode.ResultingImageTooLarge]: {
httpStatusCode: 400,
title: "Resulting Image Too Large",
code: "resulting_image_too_large",
description:
"The resulting image is too large for the specified format.",
documentationUrl:
"https://screenshotone.com/docs/errors/resulting-image-too-large/",
},
[ErrorCode.NameNotResolved]: {

@@ -45,0 +55,0 @@ httpStatusCode: 400,

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