@es-git/core
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -39,1 +39,2 @@ export { decode, encode, concat, flatten, fromDec, fromHex, fromOct, fromDecChar, fromHexChar, packHash, unpackHash, toHexChar, NEWLINE } from './utils'; | ||
export { default as AsyncBuffer } from './AsyncBuffer'; | ||
export { default as sha1, Sha1 } from './sha1'; |
@@ -43,2 +43,3 @@ export { decode, encode, concat, flatten, fromDec, fromHex, fromOct, fromDecChar, fromHexChar, packHash, unpackHash, toHexChar, NEWLINE } from './utils'; | ||
export { default as AsyncBuffer } from './AsyncBuffer'; | ||
export { default as sha1 } from './sha1'; | ||
//# sourceMappingURL=index.js.map |
@@ -118,2 +118,11 @@ "use strict"; | ||
var _sha = require("./sha1"); | ||
Object.defineProperty(exports, "sha1", { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_sha).default; | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -120,0 +129,0 @@ |
{ | ||
"name": "@es-git/core", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
@@ -29,11 +29,1 @@ declare module 'text-encoding' { | ||
} | ||
declare module "git-sha1" { | ||
export interface Sha1 { | ||
update(buffer : Uint8Array | string) : void | ||
digest() : string | ||
} | ||
export default function sha1(buffer : Uint8Array | string) : string; | ||
export default function sha1() : Sha1; | ||
} |
@@ -71,2 +71,3 @@ export { | ||
export { default as Buffer } from './Buffer'; | ||
export { default as AsyncBuffer } from './AsyncBuffer'; | ||
export { default as AsyncBuffer } from './AsyncBuffer'; | ||
export { default as sha1, Sha1 } from './sha1'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
169860
52
2089