Initial Save
This commit is contained in:
12
node_modules/apollo-graphql/lib/utilities/createHash.js
generated
vendored
Normal file
12
node_modules/apollo-graphql/lib/utilities/createHash.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.createHash = void 0;
|
||||
const isNodeLike_1 = require("./isNodeLike");
|
||||
function createHash(kind) {
|
||||
if (isNodeLike_1.isNodeLike) {
|
||||
return module.require("crypto").createHash(kind);
|
||||
}
|
||||
return require("sha.js")(kind);
|
||||
}
|
||||
exports.createHash = createHash;
|
||||
//# sourceMappingURL=createHash.js.map
|
||||
Reference in New Issue
Block a user