Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
UmamiAppearance committed Jan 11, 2023
1 parent 3fe6ed4 commit 9f41c09
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions cjs/import-manager.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ class MatchError extends Error {
*/
class DebuggingError extends Error {
constructor(message) {
super(JSON.stringify(message, null, 4));
if (typeof message !== "string") {
message = JSON.stringify(message, null, 4);
}
super(message);
this.name = "DebuggingError";
}
}
Expand Down Expand Up @@ -372,7 +375,7 @@ class ImportManagerUnitMethods {
* It handles code analysis, creates units from import
* statements, attaches methods to the units and more.
*
* @version 0.2.0
* @version 0.2.1
* @author UmamiAppearance [[email protected]]
* @license MIT
* @see https://github.com/UmamiAppearance/rollup-plugin-import-manager
Expand Down
2 changes: 1 addition & 1 deletion cjs/import-manager.cjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "import-manager",
"version": "0.2.0",
"version": "0.2.1",
"description": "A class to analyze and manipulate JavaScript import statements from source code files.",
"main": "./cjs/import-manager.cjs",
"module": "./src/core.js",
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* It handles code analysis, creates units from import
* statements, attaches methods to the units and more.
*
* @version 0.2.0
* @version 0.2.1
* @author UmamiAppearance [[email protected]]
* @license MIT
* @see https://github.com/UmamiAppearance/rollup-plugin-import-manager
Expand Down

0 comments on commit 9f41c09

Please sign in to comment.