mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2025-02-16 15:40:16 +00:00
Migrate js-sha512 to npm package
This commit is contained in:
parent
d139a8efb2
commit
5ac006bfcd
@ -1,3 +1,5 @@
|
||||
import { sha512_256 } from "js-sha512";
|
||||
|
||||
export class GameOptions {
|
||||
|
||||
static toggleNews() {
|
||||
|
@ -1,3 +1,5 @@
|
||||
import { sha512_256 } from "js-sha512";
|
||||
|
||||
export const Theme = function Theme(name, config) {
|
||||
this.name = name;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { DC } from "./constants.js";
|
||||
import { sha512_256 } from "js-sha512";
|
||||
|
||||
/* eslint-disable no-console */
|
||||
// Disabling no-console here seems
|
||||
|
5
package-lock.json
generated
5
package-lock.json
generated
@ -7492,6 +7492,11 @@
|
||||
"easy-stack": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"js-sha512": {
|
||||
"version": "0.8.0",
|
||||
"resolved": "https://registry.npmjs.org/js-sha512/-/js-sha512-0.8.0.tgz",
|
||||
"integrity": "sha512-PWsmefG6Jkodqt+ePTvBZCSMFgN7Clckjd0O7su3I0+BW2QWUTJNzjktHsztGLhncP2h8mcF9V9Y2Ha59pAViQ=="
|
||||
},
|
||||
"js-tokens": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
||||
|
@ -10,6 +10,7 @@
|
||||
"break_infinity.js": "^1.3.0",
|
||||
"core-js": "^3.6.5",
|
||||
"gamma": "^1.0.0",
|
||||
"js-sha512": "^0.8.0",
|
||||
"lz-string": "^1.4.4",
|
||||
"mousetrap": "^1.6.5",
|
||||
"pako": "^2.0.4",
|
||||
|
@ -67,7 +67,6 @@
|
||||
<script type="text/javascript" src="lib/vue.js"></script>
|
||||
<script type="text/javascript" src="lib/v-tooltip.min.js"></script>
|
||||
<script type="text/javascript" src="lib/vis-network.min.js"></script>
|
||||
<script type="text/javascript" src="lib/sha512.min.js"></script>
|
||||
<script type="text/javascript" src="lib/deepmerge.js"></script>
|
||||
<script type="text/javascript" src="lib/Sortable.min.js"></script>
|
||||
<script type="text/javascript" src="lib/vuedraggable.umd.min.js"></script>
|
||||
|
9
public/lib/sha512.min.js
vendored
9
public/lib/sha512.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,7 @@
|
||||
<script>
|
||||
import ModalWrapperChoice from "@/components/modals/ModalWrapperChoice";
|
||||
import StudyStringLine from "@/components/modals/StudyStringLine";
|
||||
import { sha512_256 } from "js-sha512";
|
||||
|
||||
export default {
|
||||
name: "StudyStringModal",
|
||||
|
Loading…
Reference in New Issue
Block a user