You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description=description.trim().replace(/\s+/g," ");// Clean up description
constpropsObj={};
letpropMatch;
while((propMatch=propRegex.exec(props))!==null){
let[,propName,propValue]=propMatch;
propsObj[propName]=propValue;
}
result[varName]={
description: description,
...propsObj,// Add all additional properties to the result object
};
}
returnresult;
}
}
Currently the metadata module parses the javadoc using a prewritten and defined function. Because the structure of javascript or how plugins are written may change in the future, this may invalidate the package in its current form. To prevent this, would be good to replace this with a javadoc scraping package that is maintained.
The text was updated successfully, but these errors were encountered:
metadata/packages/metadata/src/PluginCache.ts
Lines 90 to 118 in d8a35f6
Currently the metadata module parses the javadoc using a prewritten and defined function. Because the structure of javascript or how plugins are written may change in the future, this may invalidate the package in its current form. To prevent this, would be good to replace this with a javadoc scraping package that is maintained.
The text was updated successfully, but these errors were encountered: