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

gitly

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitly - npm Package Compare versions

Comparing version 2.1.6 to 2.2.0

11

lib/main.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = exports.extract = exports.download = exports.default = void 0;
var gitly_1 = require("./utils/gitly");
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return gitly_1.default; } });
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(gitly_1).default; } });
var download_1 = require("./utils/download");
Object.defineProperty(exports, "download", { enumerable: true, get: function () { return download_1.default; } });
Object.defineProperty(exports, "download", { enumerable: true, get: function () { return __importDefault(download_1).default; } });
var extract_1 = require("./utils/extract");
Object.defineProperty(exports, "extract", { enumerable: true, get: function () { return extract_1.default; } });
Object.defineProperty(exports, "extract", { enumerable: true, get: function () { return __importDefault(extract_1).default; } });
var parse_1 = require("./utils/parse");
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parse_1.default; } });
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return __importDefault(parse_1).default; } });
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = require("path");
const exists_1 = require("../exists");
const exists_1 = __importDefault(require("../exists"));
describe('utils/exists', () => {

@@ -6,0 +9,0 @@ const options = {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,4 +9,4 @@ const fs_1 = require("fs");

const shelljs_1 = require("shelljs");
const download_1 = require("../download");
const extract_1 = require("../extract");
const download_1 = __importDefault(require("../download"));
const extract_1 = __importDefault(require("../extract"));
describe('utils/extract', () => {

@@ -10,0 +13,0 @@ const destination = (0, path_1.join)(__dirname, 'output', 'extract', 'example');

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,3 +9,3 @@ const fs_1 = require("fs");

const shelljs_1 = require("shelljs");
const download_1 = require("../download");
const download_1 = __importDefault(require("../download"));
const error_1 = require("../error");

@@ -9,0 +12,0 @@ describe('utils/fetch (no cache)', () => {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const parse_1 = require("../parse");
const parse_1 = __importDefault(require("../parse"));
describe('utils/parse', () => {

@@ -5,0 +8,0 @@ it('should parse "owner/repo"', () => {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const parse_1 = require("../parse");
const parse_1 = __importDefault(require("../parse"));
const tar_1 = require("../tar");

@@ -5,0 +8,0 @@ describe('utils/tar', () => {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const execute_1 = require("./execute");
const exists_1 = require("./exists");
const fetch_1 = require("./fetch");
const execute_1 = __importDefault(require("./execute"));
const exists_1 = __importDefault(require("./exists"));
const fetch_1 = __importDefault(require("./fetch"));
const offline_1 = require("./offline");
const parse_1 = require("./parse");
const parse_1 = __importDefault(require("./parse"));
const tar_1 = require("./tar");

@@ -9,0 +12,0 @@ /**

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = require("fs");
const path_1 = require("path");
const parse_1 = require("./parse");
const parse_1 = __importDefault(require("./parse"));
const tar_1 = require("./tar");

@@ -7,0 +10,0 @@ async function exists(path, options = {}) {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = require("fs");
const path_1 = require("path");
const exists_1 = require("./exists");
const exists_1 = __importDefault(require("./exists"));
const tar_1 = require("./tar");

@@ -7,0 +10,0 @@ const { mkdir } = fs_1.promises;

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const axios_1 = require("axios");
const stream = require("stream");
const axios_1 = __importDefault(require("axios"));
const stream = __importStar(require("stream"));
const util_1 = require("util");
const error_1 = require("./error");
const write_1 = require("./write");
const write_1 = __importDefault(require("./write"));
const pipeline = (0, util_1.promisify)(stream.pipeline);

@@ -9,0 +35,0 @@ async function fetch(url, file) {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const download_1 = require("./download");
const extract_1 = require("./extract");
const download_1 = __importDefault(require("./download"));
const extract_1 = __importDefault(require("./extract"));
/**

@@ -6,0 +9,0 @@ * Downloads and extracts the repository

{
"name": "gitly",
"version": "2.1.6",
"version": "2.2.0",
"description": "An API to download and/or extract git repositories",

@@ -13,21 +13,21 @@ "main": "lib/main.js",

"dependencies": {
"axios": "^0.21.1",
"axios": "^0.27.2",
"tar": "^6.1.11"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.7.10",
"@types/shelljs": "^0.8.9",
"@types/tar": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.24.2",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.33",
"@types/shelljs": "^0.8.11",
"@types/tar": "^6.1.1",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jest": "^27.1.0",
"shelljs": "^0.8.4",
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typescript": "^4.4.2"
"jest": "^28.1.0",
"shelljs": "^0.8.5",
"ts-jest": "^28.0.2",
"tslib": "^2.4.0",
"typescript": "^4.6.4"
},

@@ -34,0 +34,0 @@ "scripts": {

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