Socket
Socket
Sign inDemoInstall

@microsoft/api-extractor-model

Package Overview
Dependencies
Maintainers
2
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/api-extractor-model - npm Package Compare versions

Comparing version 7.28.21 to 7.29.0

2

lib/mixins/ApiExportedMixin.js

@@ -31,3 +31,3 @@ "use strict";

const declarationReference = DeclarationReference_1.DeclarationReference.parse(jsonObject.canonicalReference);
options.isExported = declarationReference.navigation === "." /* Navigation.Exports */;
options.isExported = declarationReference.navigation === DeclarationReference_1.Navigation.Exports;
}

@@ -34,0 +34,0 @@ get isExported() {

@@ -62,4 +62,4 @@ "use strict";

: // .withMeaning() requires some kind of component
DeclarationReference_1.DeclarationReference.empty().addNavigationStep("#" /* Navigation.Members */, '(parent)');
return parent.withMeaning("call" /* Meaning.CallSignature */).withOverloadIndex(this.overloadIndex);
DeclarationReference_1.DeclarationReference.empty().addNavigationStep(DeclarationReference_1.Navigation.Members, '(parent)');
return parent.withMeaning(DeclarationReference_1.Meaning.CallSignature).withOverloadIndex(this.overloadIndex);
}

@@ -66,0 +66,0 @@ }

@@ -81,6 +81,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("class" /* Meaning.Class */);
.withMeaning(DeclarationReference_1.Meaning.Class);
}

@@ -87,0 +87,0 @@ }

@@ -59,4 +59,4 @@ "use strict";

: // .withMeaning() requires some kind of component
DeclarationReference_1.DeclarationReference.empty().addNavigationStep("#" /* Navigation.Members */, '(parent)');
return parent.withMeaning("constructor" /* Meaning.Constructor */).withOverloadIndex(this.overloadIndex);
DeclarationReference_1.DeclarationReference.empty().addNavigationStep(DeclarationReference_1.Navigation.Members, '(parent)');
return parent.withMeaning(DeclarationReference_1.Meaning.Constructor).withOverloadIndex(this.overloadIndex);
}

@@ -63,0 +63,0 @@ }

@@ -75,4 +75,4 @@ "use strict";

: // .withMeaning() requires some kind of component
DeclarationReference_1.DeclarationReference.empty().addNavigationStep("#" /* Navigation.Members */, '(parent)');
return parent.withMeaning("new" /* Meaning.ConstructSignature */).withOverloadIndex(this.overloadIndex);
DeclarationReference_1.DeclarationReference.empty().addNavigationStep(DeclarationReference_1.Navigation.Members, '(parent)');
return parent.withMeaning(DeclarationReference_1.Meaning.ConstructSignature).withOverloadIndex(this.overloadIndex);
}

@@ -79,0 +79,0 @@ }

@@ -62,6 +62,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("enum" /* Meaning.Enum */);
.withMeaning(DeclarationReference_1.Meaning.Enum);
}

@@ -68,0 +68,0 @@ }

@@ -79,4 +79,4 @@ "use strict";

return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep("." /* Navigation.Exports */, nameComponent)
.withMeaning("member" /* Meaning.Member */);
.addNavigationStep(DeclarationReference_1.Navigation.Exports, nameComponent)
.withMeaning(DeclarationReference_1.Meaning.Member);
}

@@ -83,0 +83,0 @@ }

@@ -54,6 +54,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("function" /* Meaning.Function */)
.withMeaning(DeclarationReference_1.Meaning.Function)
.withOverloadIndex(this.overloadIndex);

@@ -60,0 +60,0 @@ }

@@ -55,4 +55,4 @@ "use strict";

: // .withMeaning() requires some kind of component
DeclarationReference_1.DeclarationReference.empty().addNavigationStep("#" /* Navigation.Members */, '(parent)');
return parent.withMeaning("index" /* Meaning.IndexSignature */).withOverloadIndex(this.overloadIndex);
DeclarationReference_1.DeclarationReference.empty().addNavigationStep(DeclarationReference_1.Navigation.Members, '(parent)');
return parent.withMeaning(DeclarationReference_1.Meaning.IndexSignature).withOverloadIndex(this.overloadIndex);
}

@@ -59,0 +59,0 @@ }

@@ -70,6 +70,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("interface" /* Meaning.Interface */);
.withMeaning(DeclarationReference_1.Meaning.Interface);
}

@@ -76,0 +76,0 @@ }

@@ -63,4 +63,4 @@ "use strict";

return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(this.isStatic ? "." /* Navigation.Exports */ : "#" /* Navigation.Members */, nameComponent)
.withMeaning("member" /* Meaning.Member */)
.addNavigationStep(this.isStatic ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Members, nameComponent)
.withMeaning(DeclarationReference_1.Meaning.Member)
.withOverloadIndex(this.overloadIndex);

@@ -67,0 +67,0 @@ }

@@ -55,4 +55,4 @@ "use strict";

return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep("#" /* Navigation.Members */, nameComponent)
.withMeaning("member" /* Meaning.Member */)
.addNavigationStep(DeclarationReference_1.Navigation.Members, nameComponent)
.withMeaning(DeclarationReference_1.Meaning.Member)
.withOverloadIndex(this.overloadIndex);

@@ -59,0 +59,0 @@ }

@@ -53,6 +53,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("namespace" /* Meaning.Namespace */);
.withMeaning(DeclarationReference_1.Meaning.Namespace);
}

@@ -59,0 +59,0 @@ }

@@ -71,4 +71,4 @@ "use strict";

return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(this.isStatic ? "." /* Navigation.Exports */ : "#" /* Navigation.Members */, nameComponent)
.withMeaning("member" /* Meaning.Member */);
.addNavigationStep(this.isStatic ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Members, nameComponent)
.withMeaning(DeclarationReference_1.Meaning.Member);
}

@@ -75,0 +75,0 @@ }

@@ -50,4 +50,4 @@ "use strict";

return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep("#" /* Navigation.Members */, nameComponent)
.withMeaning("member" /* Meaning.Member */);
.addNavigationStep(DeclarationReference_1.Navigation.Members, nameComponent)
.withMeaning(DeclarationReference_1.Meaning.Member);
}

@@ -54,0 +54,0 @@ }

@@ -68,6 +68,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("type" /* Meaning.TypeAlias */);
.withMeaning(DeclarationReference_1.Meaning.TypeAlias);
}

@@ -74,0 +74,0 @@ }

@@ -63,6 +63,6 @@ "use strict";

const nameComponent = DeclarationReference_1.DeclarationReference.parseComponent(this.name);
const navigation = this.isExported ? "." /* Navigation.Exports */ : "~" /* Navigation.Locals */;
const navigation = this.isExported ? DeclarationReference_1.Navigation.Exports : DeclarationReference_1.Navigation.Locals;
return (this.parent ? this.parent.canonicalReference : DeclarationReference_1.DeclarationReference.empty())
.addNavigationStep(navigation, nameComponent)
.withMeaning("var" /* Meaning.Variable */);
.withMeaning(DeclarationReference_1.Meaning.Variable);
}

@@ -69,0 +69,0 @@ }

{
"name": "@microsoft/api-extractor-model",
"version": "7.28.21",
"version": "7.29.0",
"description": "A helper library for loading and saving the .api.json files created by API Extractor",

@@ -15,4 +15,4 @@ "repository": {

"dependencies": {
"@microsoft/tsdoc": "0.14.2",
"@microsoft/tsdoc-config": "~0.16.1",
"@microsoft/tsdoc": "~0.15.0",
"@microsoft/tsdoc-config": "~0.17.0",
"@rushstack/node-core-library": "5.3.0"

@@ -19,0 +19,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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