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

custom-functions-metadata

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-functions-metadata - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

16

lib/generate.js

@@ -430,4 +430,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

}
resultType = getParamType(returnTypeFromJSDoc, extra, enumList);
resultDim = getParamDim(returnTypeFromJSDoc);
if (returnTypeFromJSDoc.kind === ts.SyntaxKind.TypeReference &&
returnTypeFromJSDoc.typeName.getText() === "Promise" &&
returnTypeFromJSDoc.typeArguments &&
// @ts-ignore
returnTypeFromJSDoc.typeArguments.length === 1) {
// @ts-ignore
resultType = getParamType(returnTypeFromJSDoc.typeArguments[0], extra, enumList);
// @ts-ignore
resultDim = getParamDim(returnTypeFromJSDoc.typeArguments[0]);
}
else {
resultType = getParamType(returnTypeFromJSDoc, extra, enumList);
resultDim = getParamDim(returnTypeFromJSDoc);
}
}

@@ -434,0 +446,0 @@ const resultItem = {

4

package.json
{
"name": "custom-functions-metadata",
"version": "1.0.4",
"version": "1.0.5",
"description": "Generate metadata for Excel Custom Functions.",

@@ -55,3 +55,3 @@ "main": "./lib/main.js",

},
"gitHead": "56af6103c5ddf6b417a3d1fbd7bc58c1a809640b"
"gitHead": "248552ca1a231a298ced3fb9a26d82a632a41efb"
}

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