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-514f76b.75 to 0.13.1-69dae1d.83

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-514f76b.75+514f76b",
"version": "0.13.1-69dae1d.83+69dae1d",
"description": "Git middleware for restroom",

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

},
"gitHead": "514f76baa214524ecfa09722b8a823026813ba17",
"gitHead": "69dae1df2b90346c016aadea221fdd63d86ba2fb",
"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