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

@vue-macros/api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-macros/api - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

21

dist/index.js

@@ -596,14 +596,15 @@ // src/index.ts

return ["Object"];
case "TSInterfaceDeclaration":
case "TSTypeLiteral": {
const resolved = await resolveTSProperties({
type: node.type,
scope: node.scope
});
const types = /* @__PURE__ */ new Set();
for (const m of node.type.members) {
switch (m.type) {
case "TSCallSignatureDeclaration":
case "TSConstructSignatureDeclaration":
types.add("Function");
break;
default:
types.add("Object");
}
if (resolved.callSignatures.length || resolved.constructSignatures.length) {
types.add("Function");
}
if (Object.keys(resolved.methods).length || Object.keys(resolved.properties).length) {
types.add("Object");
}
return Array.from(types);

@@ -685,4 +686,2 @@ }

return ["Symbol"];
case "TSInterfaceDeclaration":
return ["Object"];
}

@@ -689,0 +688,0 @@ return [UNKNOWN_TYPE];

{
"name": "@vue-macros/api",
"version": "0.10.5",
"version": "0.10.6",
"description": "General API for Vue Macros.",

@@ -5,0 +5,0 @@ "type": "module",

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