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

@restroom-mw/git

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restroom-mw/git - npm Package Compare versions

Comparing version 0.13.1-01c588e.79 to 0.13.1-18d61c6.81

4

dist/index.js

@@ -70,3 +70,5 @@ "use strict";

yield Promise.all(commit.files.map((file) => {
return isomorphic_git_1.default.add({ fs: fs_1.default, dir: absoluteRepo, filepath: file });
const absoluteFile = path_1.default.resolve(path_1.default.join(exports.FILES_DIR, file));
return isomorphic_git_1.default.add({ fs: fs_1.default, dir: absoluteRepo,
filepath: path_1.default.relative(absoluteRepo, absoluteFile) });
}));

@@ -73,0 +75,0 @@ yield isomorphic_git_1.default.commit({ fs: fs_1.default, dir: absoluteRepo,

{
"name": "@restroom-mw/git",
"version": "0.13.1-01c588e.79+01c588e",
"version": "0.13.1-18d61c6.81+18d61c6",
"description": "Git middleware for restroom",

@@ -39,3 +39,3 @@ "author": "Alberto Lerda <alberto@dyne.org>",

},
"gitHead": "01c588e01a51bba105b5076be7f7d007b266cd59",
"gitHead": "18d61c65ec415d0b08b60a30a83406d7b015dc7f",
"devDependencies": {

@@ -42,0 +42,0 @@ "turbo": "^1.2.9"

@@ -76,3 +76,5 @@ import { Restroom } from "@restroom-mw/core";

await Promise.all(commit.files.map((file) => {
return git.add({fs, dir: absoluteRepo, filepath: file})
const absoluteFile = path.resolve(path.join(FILES_DIR, file));
return git.add({fs, dir: absoluteRepo,
filepath: path.relative(absoluteRepo, absoluteFile)})
}))

@@ -79,0 +81,0 @@

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