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

backfill-utils-test

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backfill-utils-test - npm Package Compare versions

Comparing version 4.1.2-alpha.0 to 5.0.0-alpha.0

9

lib/setupFixture.js

@@ -10,2 +10,3 @@ "use strict";

const tempy_1 = __importDefault(require("tempy"));
const execa_1 = __importDefault(require("execa"));
async function findFixturePath(cwd, fixtureName) {

@@ -25,7 +26,11 @@ return await find_up_1.default(path_1.default.join("__fixtures__", fixtureName), {

fs_extra_1.default.mkdirpSync(cwd);
process.chdir(cwd);
fs_extra_1.default.copySync(fixturePath, cwd);
execa_1.default.sync("git", ["init"], { cwd });
execa_1.default.sync("git", ["config", "user.email", "test@testme.com"], { cwd });
execa_1.default.sync("git", ["config", "user.name", "test fixture"], { cwd });
execa_1.default.sync("git", ["add", "."], { cwd });
execa_1.default.sync("git", ["commit", "-m", "test"], { cwd });
return cwd;
}
exports.setupFixture = setupFixture;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dXBGaXh0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3NldHVwRml4dHVyZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGdEQUF3QjtBQUN4QixzREFBNkI7QUFDN0Isd0RBQTBCO0FBQzFCLGtEQUEwQjtBQUUxQixLQUFLLFVBQVUsZUFBZSxDQUFDLEdBQVcsRUFBRSxXQUFtQjtJQUM3RCxPQUFPLE1BQU0saUJBQU0sQ0FBQyxjQUFJLENBQUMsSUFBSSxDQUFDLGNBQWMsRUFBRSxXQUFXLENBQUMsRUFBRTtRQUMxRCxHQUFHO1FBQ0gsSUFBSSxFQUFFLFdBQVc7S0FDbEIsQ0FBQyxDQUFDO0FBQ0ws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DQUFDLEVBQUUsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDO0lBQ3BFLGVBQUssQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFLENBQUMsS0FBSyxFQUFFLEdBQUcsQ0FBQyxFQUFFLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQztJQUN6QyxlQUFLLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDLFFBQVEsRUFBRSxJQUFJLEVBQUUsTUFBTSxDQUFDLEVBQUUsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDO0lBRXJELE9BQU8sR0FBRyxDQUFDO0FBQ2IsQ0FBQztBQXpCRCxvQ0F5QkMifQ==

@@ -10,3 +10,3 @@ {

},
"version": "4.1.2-alpha.0",
"version": "5.0.0-alpha.0",
"main": "lib/index.js",

@@ -19,12 +19,13 @@ "scripts": {

"dependencies": {
"execa": "^4.0.0",
"find-up": "^4.0.0",
"fs-extra": "^8.1.0",
"tempy": "^0.3.0"
"tempy": "^0.5.0"
},
"devDependencies": {
"@types/fs-extra": "^8.0.0",
"backfill-utils-tsconfig": "^4.1.2-alpha.0",
"backfill-utils-tsconfig": "^5.0.0-alpha.0",
"typescript": "3.7.4"
},
"gitHead": "85df2d4058011cfdc5a1e46a656f432ac887a226"
"gitHead": "03dace2c81101cd159f9596035b78d20c790bcdd"
}
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