versioned-d.ts-tools 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,7 +171,7 @@ class APISet {
171
171
  const className = clas.getClassName();
172
172
  // Special handling for <global> - no link
173
173
  if (className === "<global>") {
174
- output += "|*" + className + "*|";
174
+ output += "|*global*|";
175
175
  }
176
176
  else {
177
177
  output += "|[" + className + "](/"
@@ -283,7 +283,7 @@ function buildFieldLink(relativePath, className, field) {
283
283
  let hostName = relativePath.substring(relativePath.indexOf("/api/") + 5, relativePath.lastIndexOf("/"));
284
284
  let fileName = relativePath.substring(relativePath.lastIndexOf("/") + 1, relativePath.lastIndexOf("."));
285
285
  let anchorPrefix = hostName + "-" + fileName + "-";
286
- return "/" + relativePath.substring(0, relativePath.lastIndexOf(".")) + "#" + anchorPrefix + field.name.toLowerCase() + "-function";
286
+ return "/" + relativePath.substring(0, relativePath.lastIndexOf(".")) + "#" + anchorPrefix + field.name.toLowerCase() + "-function(1)";
287
287
  }
288
288
  // Build the standard link anchor format based on host.
289
289
  let hostName = relativePath.substring(relativePath.indexOf("/api/") + 5, relativePath.lastIndexOf("/"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "versioned-d.ts-tools",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Tools for managing versioned TypeScript definition files",
5
5
  "main": "dist/index.js",
6
6
  "bin": {