Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@es-git/object-mixin

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-git/object-mixin - npm Package Compare versions

Comparing version 0.8.3 to 0.9.0

es/decodeObject.d.ts.map

1

es/decodeObject.d.ts
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

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc