@es-git/object-mixin
Advanced tools
Comparing version 0.8.3 to 0.9.0
import { GitObject } from './index'; | ||
export default function decodeObject(buffer: Uint8Array): GitObject; | ||
export declare function blobToText(blob: Uint8Array): string; | ||
//# sourceMappingURL=decodeObject.d.ts.map |
@@ -17,1 +17,2 @@ import { Mode } from '@es-git/core'; | ||
export declare function encodeCommit(body: CommitBody): Uint8Array; | ||
//# sourceMappingURL=encodeObject.d.ts.map |
@@ -59,1 +59,2 @@ import { Type, Mode, Constructor, IRawRepo } from '@es-git/core'; | ||
export declare type GitObject = BlobObject | TreeObject | CommitObject | TagObject; | ||
//# sourceMappingURL=index.d.ts.map |
export {}; | ||
//# sourceMappingURL=index.test.d.ts.map |
{ | ||
"name": "@es-git/object-mixin", | ||
"version": "0.8.3", | ||
"version": "0.9.0", | ||
"description": "", | ||
@@ -42,4 +42,4 @@ "main": "js/index.js", | ||
"dependencies": { | ||
"@es-git/core": "^0.8.3" | ||
"@es-git/core": "^0.9.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# objects-mixin | ||
# object-mixin | ||
@@ -8,3 +8,3 @@ This is part of the [ES-Git](https://github.com/es-git/es-git) project. | ||
```bash | ||
npm install --save @es-git/objects-mixin | ||
npm install --save @es-git/object-mixin | ||
``` | ||
@@ -19,7 +19,7 @@ | ||
```js | ||
import objectsMixin from '@es-git/objects-mixin'; | ||
import objectMixin from '@es-git/object-mixin'; | ||
import MemoryRepo from '@es-git/memory-repo'; | ||
const Repo = mix(MemoryRepo) | ||
.with(objectsMixin); | ||
.with(objectMixin); | ||
@@ -104,2 +104,2 @@ const repo = new Repo(); | ||
} | ||
``` | ||
``` |
import { | ||
Type, | ||
Mode, | ||
decode, | ||
@@ -17,7 +16,4 @@ unpackHash, | ||
TreeBody, | ||
TagBody, | ||
CommitBody, | ||
ModeHash, | ||
Person, | ||
SecondsWithOffset | ||
Person | ||
} from './index'; | ||
@@ -24,0 +20,0 @@ |
@@ -16,3 +16,2 @@ import { | ||
CommitBody, | ||
ModeHash, | ||
Person, | ||
@@ -19,0 +18,0 @@ SecondsWithOffset |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94705
28
103
1073
+ Added@es-git/core@0.9.0(transitive)
+ Added@es-git/mix@0.9.0(transitive)
- Removed@es-git/core@0.8.3(transitive)
- Removed@es-git/mix@0.1.2(transitive)
Updated@es-git/core@^0.9.0