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

netlify-onegraph-internal

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify-onegraph-internal - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

5

dist/netlifyGraph.js

@@ -286,6 +286,9 @@ "use strict";

var shouldExportInputSignature = fn.variableSignature !== "{}";
var emptyVariablesGuideDocString = fn.variableSignature === "{}"
? "/**\n * Pass `{}` as no variables are defined for this function.\n */\n "
: "";
var inputSignatureExport = shouldExportInputSignature
? "export type " + inputSignatureName + " = " + fn.variableSignature + ";\n"
: "";
return inputSignatureExport + "\nexport type " + returnSignatureName + " = " + fn.returnSignature + ";\n\n/**\n * " + jsDoc + "\n */\nexport function " + fn.fnName + "(\n variables: " + (shouldExportInputSignature ? inputSignatureName : "Record<string, never>") + ",\n options?: NetlifyGraphFunctionOptions\n): Promise<" + returnSignatureName + ">;";
return inputSignatureExport + "\nexport type " + returnSignatureName + " = " + fn.returnSignature + ";\n\n/**\n * " + jsDoc + "\n */\nexport function " + fn.fnName + "(\n " + emptyVariablesGuideDocString + "variables: " + (shouldExportInputSignature ? inputSignatureName : "Record<string, never>") + ",\n options?: NetlifyGraphFunctionOptions\n): Promise<" + returnSignatureName + ">;";
});

@@ -292,0 +295,0 @@ var source = "// GENERATED VIA NETLIFY AUTOMATED DEV TOOLS, EDIT WITH CAUTION!\n\nexport type NetlifyGraphFunctionOptions = {\n /**\n * The accessToken to use for the request\n */\n accessToken?: string;\n /**\n * The siteId to use for the request\n * @default process.env.SITE_ID\n */\n siteId?: string;\n}\n\nexport type WebhookEvent = {\n body: string;\n headers: Record<string, string | null | undefined>;\n};\n\nexport type GraphQLError = {\n \"path\": Array<string | number>,\n \"message\": string,\n \"extensions\": Record<string, unknown>\n};\n\n" + fragmentDecls.join("\n\n") + "\n\n" + functionDecls.join("\n\n") + "\n";

2

package.json
{
"name": "netlify-onegraph-internal",
"version": "0.0.41",
"version": "0.0.42",
"description": "Internal tools for use by Netlify",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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