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

@alpaca-headless/alpaca-headless-editor-preview

Package Overview
Dependencies
Maintainers
2
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alpaca-headless/alpaca-headless-editor-preview - npm Package Compare versions

Comparing version 1.0.309 to 1.0.310

7

dist/services/graphQL.d.ts

@@ -17,9 +17,3 @@ export type ExecuteGraphQLParams = {

status: number;
error: string | undefined;
errors?: undefined;
data?: undefined;
} | {
status: number;
errors: any;
error?: undefined;
data?: undefined;

@@ -30,4 +24,3 @@ } | {

errors: any;
error?: undefined;
}>;
export declare function getGraphQLSchema(id: string): Promise<any>;

3

dist/services/graphQL.js

@@ -21,5 +21,4 @@ import { apiGet, apiPostObject } from "./api";

if (response.status !== 200) {
return { status: response.status, error: response.error };
return { status: response.status, errors: getErrors(response) };
}
//console.log(`GraphQL response:`, response);
if ((_a = response.data) === null || _a === void 0 ? void 0 : _a.errors) {

@@ -26,0 +25,0 @@ return {

{
"name": "@alpaca-headless/alpaca-headless-editor-preview",
"version": "1.0.309",
"version": "1.0.310",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Alpaca Headless",

@@ -63,7 +63,5 @@ import { apiGet, apiPostObject } from "./api";

if (response.status !== 200) {
return { status: response.status, error: response.error };
return { status: response.status, errors: getErrors(response) };
}
//console.log(`GraphQL response:`, response);
if (response.data?.errors) {

@@ -70,0 +68,0 @@ return {

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