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

isomorphic-git

Package Overview
Dependencies
Maintainers
1
Versions
408
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isomorphic-git - npm Package Compare versions

Comparing version 0.0.36 to 0.0.37

8

dist/for-browserify/index.js

@@ -5,13 +5,9 @@ 'use strict';

var managers_js = require('./managers.js');
var models_js = require('./models.js');
var utils_js = require('./utils.js');
var commands_js = require('./commands.js');
var utils = { auth: utils_js.auth, oauth2: utils_js.oauth2 };
exports.managers = managers_js;
exports.models = models_js;
exports.utils = utils_js;
exports.utils = utils;
Object.keys(commands_js).forEach(function (key) { exports[key] = commands_js[key]; });
//# sourceMappingURL=index.js.map

@@ -66,2 +66,3 @@ 'use strict';

mkdir('.');
var _iteratorNormalCompletion = true;

@@ -138,3 +139,3 @@ var _didIteratorError = false;

var dependencies = { "async-lock": "^1.0.0", "await-stream-ready": "^1.0.1", "babel-runtime": "^6.26.0", "buffer": "^5.0.7", "buffer-peek-stream": "^1.0.1", "buffercursor": "0.0.12", "crc": "^3.5.0", "gartal": "^1.1.2", "git-apply-delta": "0.0.7", "git-list-pack": "0.0.10", "ignore": "^3.3.6", "ini": "^1.3.4", "marky": "^1.2.0", "minimisted": "^2.0.0", "openpgp": "^2.5.10", "pad": "^2.0.1", "pako": "^1.0.5", "pify": "^3.0.0", "shasum": "^1.0.2", "simple-concat": "^1.0.0", "simple-get": "^2.7.0", "through2": "^2.0.3" };
var devDependencies = { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-flow": "^6.23.0", "ban-sensitive-files": "^1.9.0", "browserfs": "^1.4.3", "browserify": "^14.4.0", "browserify-shim": "^3.8.14", "codecov": "^3.0.0", "doctoc": "^1.3.0", "esdoc": "^1.0.4", "esdoc-ecmascript-proposal-plugin": "^1.0.0", "esdoc-importpath-plugin": "^1.0.1", "esdoc-inject-script-plugin": "^1.0.0", "esdoc-standard-plugin": "^1.0.0", "husky": "^0.14.3", "jest": "^22.0.4", "jest-fixtures": "^0.6.0", "jsonfile": "^4.0.0", "karma": "^2.0.0", "karma-browserify": "^5.1.1", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.0.1", "karma-sauce-launcher": "^1.2.0", "karma-tap": "^3.1.1", "lodash": "^4.17.4", "nock": "^9.0.17", "npm-run-all": "^4.1.1", "nps": "^5.7.1", "nps-utils": "^1.4.0", "parse-header-stream": "^1.1.1", "prettier-standard": "^8.0.0", "rollup": "^0.53.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-json": "^2.3.0", "semantic-release": "^8.2.0", "standard": "^10.0.3", "stream-equal": "^1.0.1", "tape": "^4.8.0", "uglify-es": "^3.1.2", "watch": "^1.0.2", "watchify": "^3.9.0" };
var devDependencies = { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-flow": "^6.23.0", "ban-sensitive-files": "^1.9.0", "browserfs": "^1.4.3", "browserify": "^14.4.0", "browserify-shim": "^3.8.14", "codecov": "^3.0.0", "doctoc": "^1.3.0", "esdoc": "^1.0.4", "esdoc-ecmascript-proposal-plugin": "^1.0.0", "esdoc-importpath-plugin": "^1.0.1", "esdoc-inject-script-plugin": "^1.0.0", "esdoc-inject-style-plugin": "^1.0.0", "esdoc-standard-plugin": "^1.0.0", "husky": "^0.14.3", "jest": "^22.0.4", "jest-fixtures": "^0.6.0", "jsonfile": "^4.0.0", "karma": "^2.0.0", "karma-browserify": "^5.1.1", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.0.1", "karma-sauce-launcher": "^1.2.0", "karma-tap": "^3.1.1", "lodash": "^4.17.4", "nock": "^9.0.17", "npm-run-all": "^4.1.1", "nps": "^5.7.1", "nps-utils": "^1.4.0", "parse-header-stream": "^1.1.1", "prettier-standard": "^8.0.0", "rollup": "^0.53.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-json": "^2.3.0", "semantic-release": "^8.2.0", "standard": "^10.0.3", "stream-equal": "^1.0.1", "tape": "^4.8.0", "uglify-es": "^3.1.2", "watch": "^1.0.2", "watchify": "^3.9.0" };
var ava = { "source": ["dist/for-node/*"] };

@@ -141,0 +142,0 @@ var browserify = { "transform": ["browserify-shim"] };

@@ -17,3 +17,2 @@ import path from 'path';

import crypto from 'crypto';
import { HKP } from 'openpgp/dist/openpgp.min.js';

@@ -440,4 +439,4 @@ /**

* @param {string} args.url - The URL of the remote repository.
* @param {string} [args.ref=undefined] - Which branch to clone. By default this is the designated "main branch" of the repository.
* @param {string} [args.remote='origin'] - What to name the remote that is created. The default is 'origin'.
* @param {string} [args.ref=undefined] - Which branch to clone. By default this is the designated "main branch" of the repository.
* @param {string} [args.authUsername=undefined] - The username to use with Basic Auth

@@ -465,4 +464,4 @@ * @param {string} [args.authPassword=undefined] - The password to use with Basic Auth

url,
ref,
remote,
ref,
authUsername,

@@ -548,5 +547,3 @@ authPassword,

* @param {Object} [args.committer=author] - The details about the commit committer, in the same format as the author parameter. If not specified, the author details are used.
* @param {string} [args.privateKeys=undefined] - A PGP private key in ASCII armor format.
* @returns {Promise<string>} - The object ID of the newly created commit.
* @todo Move the PGP signing to a separte signCommit function for better code splitting.
*

@@ -561,3 +558,2 @@ * @example

* },
* privateKeys: '-----BEGIN PGP PRIVATE KEY BLOCK-----...',
* message: 'Added the a.txt file'

@@ -572,4 +568,3 @@ * })

author,
committer,
privateKeys
committer
}) {

@@ -600,3 +595,3 @@ const fs = new FileSystem(_fs);

}
let comm = SignedGitCommit.from({
let comm = GitCommit.from({
tree: treeRef,

@@ -618,5 +613,2 @@ parent: parents,

});
if (privateKeys) {
comm = await comm.sign(privateKeys);
}
oid = await GitObjectManager.write({

@@ -1045,5 +1037,32 @@ fs,

const HttpKeyServer = new HKP();
/** @ignore */
/**
* Verify a signed commit
*
* It is up to you to figure out what the commit's public key *should* be.
* I would use the "author" or "committer" name and email, and look up
* that person's public key from a trusted source such as the Github API.
*
* The function returns false if any of the signatures on a signed git commit are invalid.
* Otherwise, it returns an array of the key ids that were used to sign it.
*
* The {@link publicKeys} argument is a single string in ASCII armor format. However, it is plural "keys" because
* you can technically have multiple public keys in a single ASCII armor string. While I haven't tested it, it
* should support verifying a single commit signed with multiple keys. Hence why the returned result is an array of key ids.
*
* @param {Object} args - Arguments object
* @param {FSModule} args.fs - The filesystem holding the git repo
* @param {string} args.dir - The path to the [working tree](index.html#dir-vs-gitdir) directory
* @param {string} [args.gitdir=path.join(dir, '.git')] - The path to the [git directory](index.html#dir-vs-gitdir)
* @param {string} args.ref - A reference to the commit to verify
* @param {string} args.publicKeys - A PGP public key in ASCII armor format.
* @returns {Promise<false|Array<string>>} - The key ids used to sign the commit, in hex format.
*
* @example
* let repo = {fs, dir: '.'}
* let keyids = verify({
* ...repo,
* ref: 'HEAD',
* publicKeys: '-----BEGIN PGP PUBLIC KEY BLOCK-----...'
* })
*/
async function verify({

@@ -1060,14 +1079,9 @@ dir,

if (type !== 'commit') {
throw new Error(`git.verify() was expecting a ref type 'commit' but got type '${type}'`);
throw new Error(`'ref' is not pointing to a 'commit' object but a '${type}' object`);
}
let commit = SignedGitCommit.from(object);
let author = commit.headers().author;
let keys = await commit.listSigningKeys();
if (!publicKeys) {
let keyArray = await Promise.all(keys.map(id => HttpKeyServer.lookup({ keyId: id })));
publicKeys = keyArray.join('\n');
}
let validity = await commit.verify(publicKeys);
if (!validity) return false;
return { author, keys };
return keys;
}

@@ -1332,2 +1346,69 @@

export { add, clone, checkout, commit, fetch, init, listFiles, listBranches, log, push, remove, config, verify, status, findRoot, version, indexPack };
/**
* Create a signed commit
*
* OpenPGP.js is a huge library and if you don't need to create or verify signed commits
* you shouldn't be forced to include that weighty feature in your bundle. That's why this
* is its own function.
*
* It creates a signed version of whatever commit HEAD currently points to, and then updates the current branch,
* leaving the original commit dangling.
*
* The {@link privateKeys} argument is a single string in ASCII armor format. However, it is plural "keys" because
* you can technically have multiple private keys in a single ASCII armor string. The openpgp.sign() function accepts
* multiple keys, so while I haven't tested it, it should support signing a single commit with multiple keys.
*
* @param {Object} args - Arguments object
* @param {FSModule} args.fs - The filesystem holding the git repo
* @param {string} args.dir - The path to the [working tree](index.html#dir-vs-gitdir) directory
* @param {string} [args.gitdir=path.join(dir, '.git')] - The path to the [git directory](index.html#dir-vs-gitdir)
* @param {string} args.privateKeys - A PGP private key in ASCII armor format.
* @returns {Promise<string>} - The object ID of the newly created commit.
*
* @example
* let repo = {fs, dir: '.'}
* await commit({
* ...repo,
* author: {
* name: 'Mr. Test',
* email: 'mrtest@example.com'
* },
* message: 'Added the a.txt file'
* })
* let sha = sign({
* ...repo,
* privateKeys: '-----BEGIN PGP PRIVATE KEY BLOCK-----...'
* })
*/
async function sign({
dir,
gitdir = path.join(dir, '.git'),
fs: _fs,
privateKeys
}) {
const fs = new FileSystem(_fs);
const oid = await GitRefManager.resolve({ fs, gitdir, ref: 'HEAD' });
const { type, object } = await GitObjectManager.read({ fs, gitdir, oid });
if (type !== 'commit') {
throw new Error(`HEAD is not pointing to a 'commit' object but a '${type}' object`);
}
let commit = SignedGitCommit.from(object);
commit = await commit.sign(privateKeys);
const newOid = await GitObjectManager.write({
fs,
gitdir,
type: 'commit',
object: commit.toObject()
});
// Update branch pointer
// TODO: Use an updateBranch function instead of this.
const branch = await GitRefManager.resolve({
fs,
gitdir,
ref: 'HEAD',
depth: 2
});
await fs.write(path.join(gitdir, branch), newOid + '\n');
}
export { add, clone, checkout, commit, fetch, init, listFiles, listBranches, log, push, remove, config, verify, status, findRoot, version, indexPack, sign };

@@ -1,9 +0,7 @@

import * as managers_js from './managers.js';
import * as models_js from './models.js';
import * as utils_js from './utils.js';
import { auth, oauth2 } from './utils.js';
const utils = { auth, oauth2 };
export { managers_js as managers, models_js as models, utils_js as utils };
export { utils };
export * from '/home/travis/build/isomorphic-git/isomorphic-git/src/commands.js';

@@ -55,2 +55,3 @@ import path from 'path';

mkdir('.');
for (let file of files) {

@@ -86,3 +87,3 @@ mkfile(file.path, file);

var dependencies = { "async-lock": "^1.0.0", "await-stream-ready": "^1.0.1", "babel-runtime": "^6.26.0", "buffer": "^5.0.7", "buffer-peek-stream": "^1.0.1", "buffercursor": "0.0.12", "crc": "^3.5.0", "gartal": "^1.1.2", "git-apply-delta": "0.0.7", "git-list-pack": "0.0.10", "ignore": "^3.3.6", "ini": "^1.3.4", "marky": "^1.2.0", "minimisted": "^2.0.0", "openpgp": "^2.5.10", "pad": "^2.0.1", "pako": "^1.0.5", "pify": "^3.0.0", "shasum": "^1.0.2", "simple-concat": "^1.0.0", "simple-get": "^2.7.0", "through2": "^2.0.3" };
var devDependencies = { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-flow": "^6.23.0", "ban-sensitive-files": "^1.9.0", "browserfs": "^1.4.3", "browserify": "^14.4.0", "browserify-shim": "^3.8.14", "codecov": "^3.0.0", "doctoc": "^1.3.0", "esdoc": "^1.0.4", "esdoc-ecmascript-proposal-plugin": "^1.0.0", "esdoc-importpath-plugin": "^1.0.1", "esdoc-inject-script-plugin": "^1.0.0", "esdoc-standard-plugin": "^1.0.0", "husky": "^0.14.3", "jest": "^22.0.4", "jest-fixtures": "^0.6.0", "jsonfile": "^4.0.0", "karma": "^2.0.0", "karma-browserify": "^5.1.1", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.0.1", "karma-sauce-launcher": "^1.2.0", "karma-tap": "^3.1.1", "lodash": "^4.17.4", "nock": "^9.0.17", "npm-run-all": "^4.1.1", "nps": "^5.7.1", "nps-utils": "^1.4.0", "parse-header-stream": "^1.1.1", "prettier-standard": "^8.0.0", "rollup": "^0.53.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-json": "^2.3.0", "semantic-release": "^8.2.0", "standard": "^10.0.3", "stream-equal": "^1.0.1", "tape": "^4.8.0", "uglify-es": "^3.1.2", "watch": "^1.0.2", "watchify": "^3.9.0" };
var devDependencies = { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-flow": "^6.23.0", "ban-sensitive-files": "^1.9.0", "browserfs": "^1.4.3", "browserify": "^14.4.0", "browserify-shim": "^3.8.14", "codecov": "^3.0.0", "doctoc": "^1.3.0", "esdoc": "^1.0.4", "esdoc-ecmascript-proposal-plugin": "^1.0.0", "esdoc-importpath-plugin": "^1.0.1", "esdoc-inject-script-plugin": "^1.0.0", "esdoc-inject-style-plugin": "^1.0.0", "esdoc-standard-plugin": "^1.0.0", "husky": "^0.14.3", "jest": "^22.0.4", "jest-fixtures": "^0.6.0", "jsonfile": "^4.0.0", "karma": "^2.0.0", "karma-browserify": "^5.1.1", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.0.1", "karma-sauce-launcher": "^1.2.0", "karma-tap": "^3.1.1", "lodash": "^4.17.4", "nock": "^9.0.17", "npm-run-all": "^4.1.1", "nps": "^5.7.1", "nps-utils": "^1.4.0", "parse-header-stream": "^1.1.1", "prettier-standard": "^8.0.0", "rollup": "^0.53.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-json": "^2.3.0", "semantic-release": "^8.2.0", "standard": "^10.0.3", "stream-equal": "^1.0.1", "tape": "^4.8.0", "uglify-es": "^3.1.2", "watch": "^1.0.2", "watchify": "^3.9.0" };
var ava = { "source": ["dist/for-node/*"] };

@@ -89,0 +90,0 @@ var browserify = { "transform": ["browserify-shim"] };

@@ -23,3 +23,2 @@ 'use strict';

var crypto = _interopDefault(require('crypto'));
var openpgp_min_js = require('openpgp/dist/openpgp.min.js');

@@ -446,4 +445,4 @@ /**

* @param {string} args.url - The URL of the remote repository.
* @param {string} [args.ref=undefined] - Which branch to clone. By default this is the designated "main branch" of the repository.
* @param {string} [args.remote='origin'] - What to name the remote that is created. The default is 'origin'.
* @param {string} [args.ref=undefined] - Which branch to clone. By default this is the designated "main branch" of the repository.
* @param {string} [args.authUsername=undefined] - The username to use with Basic Auth

@@ -471,4 +470,4 @@ * @param {string} [args.authPassword=undefined] - The password to use with Basic Auth

url,
ref,
remote,
ref,
authUsername,

@@ -554,5 +553,3 @@ authPassword,

* @param {Object} [args.committer=author] - The details about the commit committer, in the same format as the author parameter. If not specified, the author details are used.
* @param {string} [args.privateKeys=undefined] - A PGP private key in ASCII armor format.
* @returns {Promise<string>} - The object ID of the newly created commit.
* @todo Move the PGP signing to a separte signCommit function for better code splitting.
*

@@ -567,3 +564,2 @@ * @example

* },
* privateKeys: '-----BEGIN PGP PRIVATE KEY BLOCK-----...',
* message: 'Added the a.txt file'

@@ -578,4 +574,3 @@ * })

author,
committer,
privateKeys
committer
}) {

@@ -606,3 +601,3 @@ const fs = new models_js.FileSystem(_fs);

}
let comm = models_js.SignedGitCommit.from({
let comm = models_js.GitCommit.from({
tree: treeRef,

@@ -624,5 +619,2 @@ parent: parents,

});
if (privateKeys) {
comm = await comm.sign(privateKeys);
}
oid = await managers_js.GitObjectManager.write({

@@ -1051,5 +1043,32 @@ fs,

const HttpKeyServer = new openpgp_min_js.HKP();
/** @ignore */
/**
* Verify a signed commit
*
* It is up to you to figure out what the commit's public key *should* be.
* I would use the "author" or "committer" name and email, and look up
* that person's public key from a trusted source such as the Github API.
*
* The function returns false if any of the signatures on a signed git commit are invalid.
* Otherwise, it returns an array of the key ids that were used to sign it.
*
* The {@link publicKeys} argument is a single string in ASCII armor format. However, it is plural "keys" because
* you can technically have multiple public keys in a single ASCII armor string. While I haven't tested it, it
* should support verifying a single commit signed with multiple keys. Hence why the returned result is an array of key ids.
*
* @param {Object} args - Arguments object
* @param {FSModule} args.fs - The filesystem holding the git repo
* @param {string} args.dir - The path to the [working tree](index.html#dir-vs-gitdir) directory
* @param {string} [args.gitdir=path.join(dir, '.git')] - The path to the [git directory](index.html#dir-vs-gitdir)
* @param {string} args.ref - A reference to the commit to verify
* @param {string} args.publicKeys - A PGP public key in ASCII armor format.
* @returns {Promise<false|Array<string>>} - The key ids used to sign the commit, in hex format.
*
* @example
* let repo = {fs, dir: '.'}
* let keyids = verify({
* ...repo,
* ref: 'HEAD',
* publicKeys: '-----BEGIN PGP PUBLIC KEY BLOCK-----...'
* })
*/
async function verify({

@@ -1066,14 +1085,9 @@ dir,

if (type !== 'commit') {
throw new Error(`git.verify() was expecting a ref type 'commit' but got type '${type}'`);
throw new Error(`'ref' is not pointing to a 'commit' object but a '${type}' object`);
}
let commit = models_js.SignedGitCommit.from(object);
let author = commit.headers().author;
let keys = await commit.listSigningKeys();
if (!publicKeys) {
let keyArray = await Promise.all(keys.map(id => HttpKeyServer.lookup({ keyId: id })));
publicKeys = keyArray.join('\n');
}
let validity = await commit.verify(publicKeys);
if (!validity) return false;
return { author, keys };
return keys;
}

@@ -1338,2 +1352,69 @@

/**
* Create a signed commit
*
* OpenPGP.js is a huge library and if you don't need to create or verify signed commits
* you shouldn't be forced to include that weighty feature in your bundle. That's why this
* is its own function.
*
* It creates a signed version of whatever commit HEAD currently points to, and then updates the current branch,
* leaving the original commit dangling.
*
* The {@link privateKeys} argument is a single string in ASCII armor format. However, it is plural "keys" because
* you can technically have multiple private keys in a single ASCII armor string. The openpgp.sign() function accepts
* multiple keys, so while I haven't tested it, it should support signing a single commit with multiple keys.
*
* @param {Object} args - Arguments object
* @param {FSModule} args.fs - The filesystem holding the git repo
* @param {string} args.dir - The path to the [working tree](index.html#dir-vs-gitdir) directory
* @param {string} [args.gitdir=path.join(dir, '.git')] - The path to the [git directory](index.html#dir-vs-gitdir)
* @param {string} args.privateKeys - A PGP private key in ASCII armor format.
* @returns {Promise<string>} - The object ID of the newly created commit.
*
* @example
* let repo = {fs, dir: '.'}
* await commit({
* ...repo,
* author: {
* name: 'Mr. Test',
* email: 'mrtest@example.com'
* },
* message: 'Added the a.txt file'
* })
* let sha = sign({
* ...repo,
* privateKeys: '-----BEGIN PGP PRIVATE KEY BLOCK-----...'
* })
*/
async function sign({
dir,
gitdir = path.join(dir, '.git'),
fs: _fs,
privateKeys
}) {
const fs = new models_js.FileSystem(_fs);
const oid = await managers_js.GitRefManager.resolve({ fs, gitdir, ref: 'HEAD' });
const { type, object } = await managers_js.GitObjectManager.read({ fs, gitdir, oid });
if (type !== 'commit') {
throw new Error(`HEAD is not pointing to a 'commit' object but a '${type}' object`);
}
let commit = models_js.SignedGitCommit.from(object);
commit = await commit.sign(privateKeys);
const newOid = await managers_js.GitObjectManager.write({
fs,
gitdir,
type: 'commit',
object: commit.toObject()
});
// Update branch pointer
// TODO: Use an updateBranch function instead of this.
const branch = await managers_js.GitRefManager.resolve({
fs,
gitdir,
ref: 'HEAD',
depth: 2
});
await fs.write(path.join(gitdir, branch), newOid + '\n');
}
exports.add = add;

@@ -1356,1 +1437,2 @@ exports.clone = clone;

exports.indexPack = indexPack;
exports.sign = sign;

@@ -5,12 +5,8 @@ 'use strict';

var managers_js = require('./managers.js');
var models_js = require('./models.js');
var utils_js = require('./utils.js');
var commands_js = require('./commands.js');
const utils = { auth: utils_js.auth, oauth2: utils_js.oauth2 };
exports.managers = managers_js;
exports.models = models_js;
exports.utils = utils_js;
exports.utils = utils;
Object.keys(commands_js).forEach(function (key) { exports[key] = commands_js[key]; });

@@ -61,2 +61,3 @@ 'use strict';

mkdir('.');
for (let file of files) {

@@ -92,3 +93,3 @@ mkfile(file.path, file);

var dependencies = { "async-lock": "^1.0.0", "await-stream-ready": "^1.0.1", "babel-runtime": "^6.26.0", "buffer": "^5.0.7", "buffer-peek-stream": "^1.0.1", "buffercursor": "0.0.12", "crc": "^3.5.0", "gartal": "^1.1.2", "git-apply-delta": "0.0.7", "git-list-pack": "0.0.10", "ignore": "^3.3.6", "ini": "^1.3.4", "marky": "^1.2.0", "minimisted": "^2.0.0", "openpgp": "^2.5.10", "pad": "^2.0.1", "pako": "^1.0.5", "pify": "^3.0.0", "shasum": "^1.0.2", "simple-concat": "^1.0.0", "simple-get": "^2.7.0", "through2": "^2.0.3" };
var devDependencies = { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-flow": "^6.23.0", "ban-sensitive-files": "^1.9.0", "browserfs": "^1.4.3", "browserify": "^14.4.0", "browserify-shim": "^3.8.14", "codecov": "^3.0.0", "doctoc": "^1.3.0", "esdoc": "^1.0.4", "esdoc-ecmascript-proposal-plugin": "^1.0.0", "esdoc-importpath-plugin": "^1.0.1", "esdoc-inject-script-plugin": "^1.0.0", "esdoc-standard-plugin": "^1.0.0", "husky": "^0.14.3", "jest": "^22.0.4", "jest-fixtures": "^0.6.0", "jsonfile": "^4.0.0", "karma": "^2.0.0", "karma-browserify": "^5.1.1", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.0.1", "karma-sauce-launcher": "^1.2.0", "karma-tap": "^3.1.1", "lodash": "^4.17.4", "nock": "^9.0.17", "npm-run-all": "^4.1.1", "nps": "^5.7.1", "nps-utils": "^1.4.0", "parse-header-stream": "^1.1.1", "prettier-standard": "^8.0.0", "rollup": "^0.53.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-json": "^2.3.0", "semantic-release": "^8.2.0", "standard": "^10.0.3", "stream-equal": "^1.0.1", "tape": "^4.8.0", "uglify-es": "^3.1.2", "watch": "^1.0.2", "watchify": "^3.9.0" };
var devDependencies = { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-flow": "^6.23.0", "ban-sensitive-files": "^1.9.0", "browserfs": "^1.4.3", "browserify": "^14.4.0", "browserify-shim": "^3.8.14", "codecov": "^3.0.0", "doctoc": "^1.3.0", "esdoc": "^1.0.4", "esdoc-ecmascript-proposal-plugin": "^1.0.0", "esdoc-importpath-plugin": "^1.0.1", "esdoc-inject-script-plugin": "^1.0.0", "esdoc-inject-style-plugin": "^1.0.0", "esdoc-standard-plugin": "^1.0.0", "husky": "^0.14.3", "jest": "^22.0.4", "jest-fixtures": "^0.6.0", "jsonfile": "^4.0.0", "karma": "^2.0.0", "karma-browserify": "^5.1.1", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.0.1", "karma-sauce-launcher": "^1.2.0", "karma-tap": "^3.1.1", "lodash": "^4.17.4", "nock": "^9.0.17", "npm-run-all": "^4.1.1", "nps": "^5.7.1", "nps-utils": "^1.4.0", "parse-header-stream": "^1.1.1", "prettier-standard": "^8.0.0", "rollup": "^0.53.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-json": "^2.3.0", "semantic-release": "^8.2.0", "standard": "^10.0.3", "stream-equal": "^1.0.1", "tape": "^4.8.0", "uglify-es": "^3.1.2", "watch": "^1.0.2", "watchify": "^3.9.0" };
var ava = { "source": ["dist/for-node/*"] };

@@ -95,0 +96,0 @@ var browserify = { "transform": ["browserify-shim"] };

@@ -1,1 +0,1 @@

{"name":"isomorphic-git","version":"0.0.36","description":"A pure JavaScript implementation of git for node and browsers!","typings":"./src/index.d.ts","main":"dist/for-node/","browser":"dist/for-browserify/","module":"dist/for-future/","unpkg":"dist/bundle.umd.min.js","bin":{"isogit":"./cli.js"},"engines":{"node":">=7.6.0"},"scripts":{"start":"nps","test":"nps test","precommit":"nps format toc","prepush":"nps lint","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"https://github.com/isomorphic-git/isomorphic-git.git"},"keywords":["git","isomorphic"],"author":"William Hilton <wmhilton@gmail.com>","license":"Unlicense","bugs":{"url":"https://github.com/isomorphic-git/isomorphic-git/issues"},"homepage":"https://isomorphic-git.github.io/isomorphic-git","files":["dist","cli.js"],"dependencies":{"async-lock":"^1.0.0","await-stream-ready":"^1.0.1","babel-runtime":"^6.26.0","buffer":"^5.0.7","buffer-peek-stream":"^1.0.1","buffercursor":"0.0.12","crc":"^3.5.0","gartal":"^1.1.2","git-apply-delta":"0.0.7","git-list-pack":"0.0.10","ignore":"^3.3.6","ini":"^1.3.4","marky":"^1.2.0","minimisted":"^2.0.0","openpgp":"^2.5.10","pad":"^2.0.1","pako":"^1.0.5","pify":"^3.0.0","shasum":"^1.0.2","simple-concat":"^1.0.0","simple-get":"^2.7.0","through2":"^2.0.3"},"devDependencies":{"babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","ban-sensitive-files":"^1.9.0","browserfs":"^1.4.3","browserify":"^14.4.0","browserify-shim":"^3.8.14","codecov":"^3.0.0","doctoc":"^1.3.0","esdoc":"^1.0.4","esdoc-ecmascript-proposal-plugin":"^1.0.0","esdoc-importpath-plugin":"^1.0.1","esdoc-inject-script-plugin":"^1.0.0","esdoc-standard-plugin":"^1.0.0","husky":"^0.14.3","jest":"^22.0.4","jest-fixtures":"^0.6.0","jsonfile":"^4.0.0","karma":"^2.0.0","karma-browserify":"^5.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-sauce-launcher":"^1.2.0","karma-tap":"^3.1.1","lodash":"^4.17.4","nock":"^9.0.17","npm-run-all":"^4.1.1","nps":"^5.7.1","nps-utils":"^1.4.0","parse-header-stream":"^1.1.1","prettier-standard":"^8.0.0","rollup":"^0.53.0","rollup-plugin-babel":"^3.0.2","rollup-plugin-json":"^2.3.0","semantic-release":"^8.2.0","standard":"^10.0.3","stream-equal":"^1.0.1","tape":"^4.8.0","uglify-es":"^3.1.2","watch":"^1.0.2","watchify":"^3.9.0"},"ava":{"source":["dist/for-node/*"]},"browserify":{"transform":["browserify-shim"]},"browserify-shim":{"fs":"global:fs"},"testling":{"files":"testling/basic-test.js","browsers":["chrome/latest","firefox/latest","ie/latest"]},"jest":{"testPathIgnorePatterns":["__helpers__"],"testEnvironment":"node"}}
{"name":"isomorphic-git","version":"0.0.37","description":"A pure JavaScript implementation of git for node and browsers!","typings":"./src/index.d.ts","main":"dist/for-node/","browser":"dist/for-browserify/","module":"dist/for-future/","unpkg":"dist/bundle.umd.min.js","bin":{"isogit":"./cli.js"},"engines":{"node":">=7.6.0"},"scripts":{"start":"nps","test":"nps test","precommit":"nps format toc","prepush":"nps lint","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"https://github.com/isomorphic-git/isomorphic-git.git"},"keywords":["git","isomorphic"],"author":"William Hilton <wmhilton@gmail.com>","license":"Unlicense","bugs":{"url":"https://github.com/isomorphic-git/isomorphic-git/issues"},"homepage":"https://isomorphic-git.github.io/isomorphic-git","files":["dist","cli.js"],"dependencies":{"async-lock":"^1.0.0","await-stream-ready":"^1.0.1","babel-runtime":"^6.26.0","buffer":"^5.0.7","buffer-peek-stream":"^1.0.1","buffercursor":"0.0.12","crc":"^3.5.0","gartal":"^1.1.2","git-apply-delta":"0.0.7","git-list-pack":"0.0.10","ignore":"^3.3.6","ini":"^1.3.4","marky":"^1.2.0","minimisted":"^2.0.0","openpgp":"^2.5.10","pad":"^2.0.1","pako":"^1.0.5","pify":"^3.0.0","shasum":"^1.0.2","simple-concat":"^1.0.0","simple-get":"^2.7.0","through2":"^2.0.3"},"devDependencies":{"babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.24.1","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","ban-sensitive-files":"^1.9.0","browserfs":"^1.4.3","browserify":"^14.4.0","browserify-shim":"^3.8.14","codecov":"^3.0.0","doctoc":"^1.3.0","esdoc":"^1.0.4","esdoc-ecmascript-proposal-plugin":"^1.0.0","esdoc-importpath-plugin":"^1.0.1","esdoc-inject-script-plugin":"^1.0.0","esdoc-inject-style-plugin":"^1.0.0","esdoc-standard-plugin":"^1.0.0","husky":"^0.14.3","jest":"^22.0.4","jest-fixtures":"^0.6.0","jsonfile":"^4.0.0","karma":"^2.0.0","karma-browserify":"^5.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-sauce-launcher":"^1.2.0","karma-tap":"^3.1.1","lodash":"^4.17.4","nock":"^9.0.17","npm-run-all":"^4.1.1","nps":"^5.7.1","nps-utils":"^1.4.0","parse-header-stream":"^1.1.1","prettier-standard":"^8.0.0","rollup":"^0.53.0","rollup-plugin-babel":"^3.0.2","rollup-plugin-json":"^2.3.0","semantic-release":"^8.2.0","standard":"^10.0.3","stream-equal":"^1.0.1","tape":"^4.8.0","uglify-es":"^3.1.2","watch":"^1.0.2","watchify":"^3.9.0"},"ava":{"source":["dist/for-node/*"]},"browserify":{"transform":["browserify-shim"]},"browserify-shim":{"fs":"global:fs"},"testling":{"files":"testling/basic-test.js","browsers":["chrome/latest","firefox/latest","ie/latest"]},"jest":{"testPathIgnorePatterns":["__helpers__"],"testEnvironment":"node"}}

@@ -125,2 +125,3 @@ # isomorphic-git ![node version](https://img.shields.io/node/v/isomorphic-git.svg) [![Build Status](https://travis-ci.org/isomorphic-git/isomorphic-git.svg?branch=master)](https://travis-ci.org/isomorphic-git/isomorphic-git) [![codecov](https://codecov.io/gh/isomorphic-git/isomorphic-git/branch/master/graph/badge.svg)](https://codecov.io/gh/isomorphic-git/isomorphic-git) [![dependencies](https://david-dm.org/isomorphic-git/isomorphic-git/status.svg)](https://david-dm.org/isomorphic-git/isomorphic-git) [![Known Vulnerabilities](https://snyk.io/test/github/isomorphic-git/isomorphic-git/badge.svg)](https://snyk.io/test/github/isomorphic-git/isomorphic-git)

- [remove](https://isomorphic-git.github.io/isomorphic-git/function/index.html#static-function-remove)
- [sign](https://isomorphic-git.github.io/isomorphic-git/function/index.html#static-function-sign)
- [status](https://isomorphic-git.github.io/isomorphic-git/function/index.html#static-function-status)

@@ -127,0 +128,0 @@ - [verify](https://isomorphic-git.github.io/isomorphic-git/function/index.html#static-function-verify)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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