Skip to content

Commit

Permalink
Patch security issues (#43)
Browse files Browse the repository at this point in the history
* Patch security issues

* use jsdoc instead of esdoc
* small test repairs

Signed-off-by: halfpastfouram <[email protected]>
Co-authored-by: halfpastfouram <[email protected]>
  • Loading branch information
ryansh100 and halfpastfouram authored Jul 29, 2023
1 parent 0c104f1 commit 1b28f8d
Show file tree
Hide file tree
Showing 159 changed files with 33,085 additions and 31,285 deletions.
7 changes: 3 additions & 4 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"targets": {
"node": "5"
},
"plugins": ["@babel/plugin-transform-modules-commonjs"]
"presets": [
"@babel/preset-env"
]
}
5 changes: 0 additions & 5 deletions .esdoc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 15.x]
node-version: [12.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
14 changes: 14 additions & 0 deletions .jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"source": {
"include": ["src/", "README.md"]
},
"templates": {
"default": {
"includeDate": false
}
},
"opts": {
"recurse": true,
"destination": "./docs/"
}
}
325 changes: 325 additions & 0 deletions docs/BrickLinkApiError.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,325 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: BrickLinkApiError</title>

<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

<h1 class="page-title">Class: BrickLinkApiError</h1>






<section>

<header>

<h2><span class="attribs"><span class="type-signature"></span></span>BrickLinkApiError<span class="signature">(meta)</span><span class="type-signature"></span></h2>

<div class="class-description">An object that represents a BrickLInk API errorCatching this error can be used to access HTTPS status codes and error description</div>


</header>

<article>
<div class="container-overview">




<h2>Constructor</h2>



<h4 class="name" id="BrickLinkApiError"><span class="type-signature"></span>new BrickLinkApiError<span class="signature">(meta)</span><span class="type-signature"></span></h4>






<div class="description">
Create a BrickLink error exception object.
</div>









<h5>Parameters:</h5>


<table class="params">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>meta</code></td>


<td class="type">


<span class="param-type">Object</span>



</td>





<td class="description last">The object containing error data.
<h6>Properties</h6>


<table class="params">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>code</code></td>


<td class="type">


<span class="param-type">number</span>



</td>





<td class="description last">The HTTP response status code.</td>
</tr>



<tr>

<td class="name"><code>message</code></td>


<td class="type">


<span class="param-type">string</span>



</td>





<td class="description last">The error message.</td>
</tr>



<tr>

<td class="name"><code>description</code></td>


<td class="type">


<span class="param-type">string</span>



</td>





<td class="description last">The error description.</td>
</tr>


</tbody>
</table>

</td>
</tr>


</tbody>
</table>






<dl class="details">


























<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="brickLinkApiError.js.html">brickLinkApiError.js</a>, <a href="brickLinkApiError.js.html#line5">line 5</a>
</li></ul></dd>







</dl>





















</div>






<h3 class="subsection-title">Classes</h3>

<dl>
<dt><a href="BrickLinkApiError.html">BrickLinkApiError</a></dt>
<dd></dd>
</dl>















</article>

</section>




</div>

<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BrickLinkApiError.html">BrickLinkApiError</a></li><li><a href="BricklinkRequest.html">BricklinkRequest</a></li><li><a href="CatalogItem.html">CatalogItem</a></li><li><a href="Category.html">Category</a></li><li><a href="Client.html">Client</a></li><li><a href="Color.html">Color</a></li><li><a href="Condition.html">Condition</a></li><li><a href="ItemImage.html">ItemImage</a></li><li><a href="ItemType.html">ItemType</a></li><li><a href="KnownColor.html">KnownColor</a></li><li><a href="OAuthHelper.html">OAuthHelper</a></li><li><a href="PriceDetail.html">PriceDetail</a></li><li><a href="PriceGuide.html">PriceGuide</a></li><li><a href="PriceGuideOptions.html">PriceGuideOptions</a></li><li><a href="RequestParams.html">RequestParams</a></li><li><a href="Subset.html">Subset</a></li><li><a href="SubsetEntry.html">SubsetEntry</a></li><li><a href="SubsetOptions.html">SubsetOptions</a></li><li><a href="Superset.html">Superset</a></li><li><a href="SupersetEntry.html">SupersetEntry</a></li><li><a href="SupersetOptions.html">SupersetOptions</a></li></ul><h3><a href="global.html">Global</a></h3>
</nav>

<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a>
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
Expand Down
Loading

0 comments on commit 1b28f8d

Please sign in to comment.