Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
UmamiAppearance committed Sep 13, 2022
1 parent 0c29172 commit 97cb15f
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 112 deletions.
2 changes: 1 addition & 1 deletion dist/BrowserSHAObj.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,7 @@ class BaseEx {
/*
* [BrowserSHAObj]{@link https://github.com/UmamiAppearance/BrowserSHAObj}
*
* @version 0.2.1
* @version 0.2.2
* @author UmamiAppearance [mail@umamiappearance.eu]
* @license GPL-3.0
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/BrowserSHAObj.esm.min.js

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

2 changes: 1 addition & 1 deletion dist/BrowserSHAObj.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ var BrowserSHAObj = (function () {
/*
* [BrowserSHAObj]{@link https://github.com/UmamiAppearance/BrowserSHAObj}
*
* @version 0.2.1
* @version 0.2.2
* @author UmamiAppearance [mail@umamiappearance.eu]
* @license GPL-3.0
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/BrowserSHAObj.iife.min.js

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

103 changes: 14 additions & 89 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-sha-obj",
"version": "0.2.1",
"version": "0.2.2",
"description": "JavaScript implementation of SHA (1/256/384/512) checksum calculation for the browser.",
"browser": "./dist/BrowserSHAObj.esm.js",
"type": "module",
Expand Down Expand Up @@ -37,7 +37,6 @@
"http-server": "^14.1.1",
"no-bro-cote": "^0.2.2",
"rollup": "^2.79.0",
"rollup-plugin-import-manager": "^0.3.1",
"rollup-plugin-terser": "^7.0.2"
}
}
15 changes: 0 additions & 15 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { importManager } from "rollup-plugin-import-manager";
import { terser } from "rollup-plugin-terser";

export default {
Expand Down Expand Up @@ -26,19 +25,5 @@ export default {
file: "dist/BrowserSHAObj.esm.min.js",
plugins: [terser()]
},
],
plugins: [
importManager({
units: [
{
file: "**/index.js",
module: "base-ex",
actions: {
select: "module",
rename: "../node_modules/base-ex/src/base-ex.js"
}
}
]
})
]
};
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* [BrowserSHAObj]{@link https://github.com/UmamiAppearance/BrowserSHAObj}
*
* @version 0.2.1
* @version 0.2.2
* @author UmamiAppearance [mail@umamiappearance.eu]
* @license GPL-3.0
*/

import { BaseEx } from "../../node_modules/base-ex/src/base-ex.js";
import { BaseEx } from "../node_modules/base-ex/src/base-ex.js";

const ALGORITHMS = ["SHA-1", "SHA-256", "SHA-384", "SHA-512"];
const BASE_EX = new BaseEx();
Expand Down

0 comments on commit 97cb15f

Please sign in to comment.