removing duplicated node crypto
This commit is contained in:
parent
0350375fae
commit
9cc671325c
File diff suppressed because it is too large
Load Diff
|
@ -50,7 +50,6 @@
|
|||
"@babel/plugin-transform-runtime": "^7.4.4",
|
||||
"@babel/preset-env": "^7.4.5",
|
||||
"@babel/runtime": "^7.4.5",
|
||||
"argon2": "^0.20.1",
|
||||
"babel-eslint": "^10.0.2",
|
||||
"babel-jest": "^23.6.0",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import {
|
||||
|
||||
head,
|
||||
tail, findIndex, startsWith,
|
||||
dropRight, flow, takeRight, trim,
|
||||
|
@ -17,6 +16,7 @@ import {
|
|||
getLock, NO_LOCK,
|
||||
isNolock
|
||||
} from './lock';
|
||||
import crypto from "./nodeCrypto";
|
||||
|
||||
// this is the combinator function
|
||||
export const $$ = (...funcs) => arg => flow(funcs)(arg);
|
||||
|
@ -211,6 +211,7 @@ export {
|
|||
getLock, NO_LOCK, releaseLock,
|
||||
extendLock, isNolock,
|
||||
} from './lock';
|
||||
export { crypto };
|
||||
|
||||
export default {
|
||||
ifExists,
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
const {hash, verify} = require("argon2");
|
||||
|
||||
module.exports = {
|
||||
hash, verify
|
||||
};
|
Loading…
Reference in New Issue