@microsoft/api-extractor
Advanced tools
Comparing version
# Change Log - @microsoft/api-extractor | ||
This log was last generated on Fri, 04 Apr 2025 18:34:35 GMT and should not be manually modified. | ||
This log was last generated on Thu, 17 Apr 2025 00:11:21 GMT and should not be manually modified. | ||
## 7.52.4 | ||
Thu, 17 Apr 2025 00:11:21 GMT | ||
### Patches | ||
- Update documentation for `extends` | ||
## 7.52.3 | ||
@@ -6,0 +13,0 @@ Fri, 04 Apr 2025 18:34:35 GMT |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.52.1" | ||
"packageVersion": "7.52.3" | ||
} | ||
] | ||
} |
@@ -464,3 +464,3 @@ "use strict"; | ||
node_core_library_1.Sort.sortBy(sortedSubset, (x) => x.modification.sortKey); | ||
const childOptions = Object.assign({}, options); | ||
const childOptions = { ...options }; | ||
let sortedSubsetIndex = 0; | ||
@@ -502,3 +502,3 @@ for (let index = 0; index < this.children.length; ++index) { | ||
this.separator) { | ||
const childOptions = Object.assign({}, options); | ||
const childOptions = { ...options }; | ||
childOptions.separatorOverride = undefined; | ||
@@ -505,0 +505,0 @@ child._writeModifiedText(childOptions); |
@@ -123,3 +123,3 @@ "use strict"; | ||
// createCompilerHost() captures that instance in a closure that is used by the members. | ||
const defaultCompilerHost = Object.assign({}, compilerHost); | ||
const defaultCompilerHost = { ...compilerHost }; | ||
if (options && options.typescriptCompilerFolder) { | ||
@@ -126,0 +126,0 @@ // Prevent a closure parameter |
@@ -572,3 +572,6 @@ "use strict"; | ||
} | ||
tagsToReport = Object.assign(Object.assign({}, defaultTagsToReport), apiReportConfig.tagsToReport); | ||
tagsToReport = { | ||
...defaultTagsToReport, | ||
...apiReportConfig.tagsToReport | ||
}; | ||
} | ||
@@ -726,3 +729,3 @@ let docModelGenerationOptions = undefined; | ||
} | ||
return new ExtractorConfig(Object.assign(Object.assign({}, extractorConfigParameters), { tsdocConfigFile, tsdocConfiguration })); | ||
return new ExtractorConfig({ ...extractorConfigParameters, tsdocConfigFile, tsdocConfiguration }); | ||
} | ||
@@ -729,0 +732,0 @@ /** |
@@ -149,6 +149,9 @@ "use strict"; | ||
sourceMapConsumer.eachMapping((mappingItem) => { | ||
mappingItems.push(Object.assign(Object.assign({}, mappingItem), { | ||
mappingItems.push({ | ||
...mappingItem, | ||
// The "source-map" package inexplicably uses 1-based line numbers but 0-based column numbers. | ||
// Fix that up proactively so we don't have to deal with it later. | ||
generatedColumn: mappingItem.generatedColumn + 1, originalColumn: mappingItem.originalColumn + 1 })); | ||
generatedColumn: mappingItem.generatedColumn + 1, | ||
originalColumn: mappingItem.originalColumn + 1 | ||
}); | ||
}, this, source_map_1.SourceMapConsumer.GENERATED_ORDER); | ||
@@ -155,0 +158,0 @@ sourceMap = { sourceMapConsumer, mappingItems }; |
@@ -228,3 +228,6 @@ "use strict"; | ||
for (const childDeclaration of astDeclaration.children) { | ||
this._processDeclaration(childDeclaration, Object.assign(Object.assign({}, context), { name: childDeclaration.astSymbol.localName })); | ||
this._processDeclaration(childDeclaration, { | ||
...context, | ||
name: childDeclaration.astSymbol.localName | ||
}); | ||
} | ||
@@ -334,3 +337,6 @@ } | ||
} | ||
this._processChildDeclarations(astDeclaration, Object.assign(Object.assign({}, context), { parentApiItem: apiClass })); | ||
this._processChildDeclarations(astDeclaration, { | ||
...context, | ||
parentApiItem: apiClass | ||
}); | ||
} | ||
@@ -389,3 +395,6 @@ _processApiConstructSignature(astDeclaration, context) { | ||
} | ||
this._processChildDeclarations(astDeclaration, Object.assign(Object.assign({}, context), { parentApiItem: apiEnum })); | ||
this._processChildDeclarations(astDeclaration, { | ||
...context, | ||
parentApiItem: apiEnum | ||
}); | ||
} | ||
@@ -517,3 +526,6 @@ _processApiEnumMember(astDeclaration, context) { | ||
} | ||
this._processChildDeclarations(astDeclaration, Object.assign(Object.assign({}, context), { parentApiItem: apiInterface })); | ||
this._processChildDeclarations(astDeclaration, { | ||
...context, | ||
parentApiItem: apiInterface | ||
}); | ||
} | ||
@@ -615,3 +627,6 @@ _processApiMethod(astDeclaration, context) { | ||
} | ||
this._processChildDeclarations(astDeclaration, Object.assign(Object.assign({}, context), { parentApiItem: apiNamespace })); | ||
this._processChildDeclarations(astDeclaration, { | ||
...context, | ||
parentApiItem: apiNamespace | ||
}); | ||
} | ||
@@ -618,0 +633,0 @@ _processApiProperty(astDeclaration, context) { |
@@ -37,13 +37,2 @@ "use strict"; | ||
})(); | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -476,3 +465,3 @@ exports.ApiReportGenerator = void 0; | ||
// so they are checked specially. | ||
const _d = collector.extractorConfig.tagsToReport, { '@sealed': reportSealedTag, '@virtual': reportVirtualTag, '@override': reportOverrideTag, '@eventProperty': reportEventPropertyTag, '@deprecated': reportDeprecatedTag } = _d, otherTagsToReport = __rest(_d, ['@sealed', '@virtual', '@override', '@eventProperty', '@deprecated']); | ||
const { '@sealed': reportSealedTag, '@virtual': reportVirtualTag, '@override': reportOverrideTag, '@eventProperty': reportEventPropertyTag, '@deprecated': reportDeprecatedTag, ...otherTagsToReport } = collector.extractorConfig.tagsToReport; | ||
// 2.a Check for standard tags and report those that are both configured and present in the metadata. | ||
@@ -479,0 +468,0 @@ if (reportSealedTag && apiItemMetadata.isSealed) { |
{ | ||
"name": "@microsoft/api-extractor", | ||
"version": "7.52.3", | ||
"version": "7.52.4", | ||
"description": "Analyze the exported API for a TypeScript library and generate reviews, documentation, and .d.ts rollups", | ||
@@ -43,4 +43,4 @@ "keywords": [ | ||
"typescript": "5.8.2", | ||
"@microsoft/api-extractor-model": "7.30.5", | ||
"@rushstack/node-core-library": "5.13.0", | ||
"@microsoft/api-extractor-model": "7.30.5", | ||
"@rushstack/rig-package": "0.5.3", | ||
@@ -51,10 +51,8 @@ "@rushstack/ts-command-line": "4.23.7", | ||
"devDependencies": { | ||
"@rushstack/heft-node-rig": "2.8.0", | ||
"@rushstack/heft": "0.70.0", | ||
"@types/heft-jest": "1.0.1", | ||
"@rushstack/heft": "0.71.2", | ||
"@types/lodash": "4.14.116", | ||
"@types/minimatch": "3.0.5", | ||
"@types/node": "20.17.19", | ||
"@types/resolve": "1.20.2", | ||
"@types/semver": "7.5.0", | ||
"decoupled-local-node-rig": "1.0.0", | ||
"local-eslint-config": "1.0.0" | ||
@@ -61,0 +59,0 @@ }, |
Sorry, the diff of this file is too big to display
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
7
-22.22%25222
0.08%2004064
-0.01%