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-7259d93.87 to 0.13.1-b611a0f.118

31

dist/actions.d.ts
export declare enum Action {
/**
* Verify that the given directory is a git repository
* (i.e. it exists the .git directory)
* `Given I verify the path 'myFolder' is a git repository`<br><br>
* Verify that the directory defined by the path *myFolder*, under the *FILES_DIR*
* directory, is a git repository (i.e. it exists the .git directory)
* @param {string} myFolder - Name of the variable containing the path
* or the path itself
*/
VERIFY = "verify the path {} is a git repository",
/**
* Clone the repository in the specified directory under
* the `FILES_DIR` directory
* `Given I clone the repository 'myRepo' in 'myDirectory'`<br><br>
* Clone the repository *myRepo* in the specified directory *myDirectory* under
* the *FILES_DIR* directory
* @param {string} myRepo - Name of the variable containing the repository url
* or the repository url itself
* @param {string} myDirectory - Name of the variable containing the path
* or the path itself where the repo will be cloned
*/
CLONE = "clone the repository {} in {}",
/**
* Add files to a local repository and
* create a commit in the repository
* `Then make a new commit to the git repository in 'myDirectory'`<br><br>
* Add files to a local repository *myDirectory* and create a commit in the repository,
* the commit that will be created is passed in the data or in the output as:
* ```json
* {"commit": {
* "message": "My interesting random file",
* "author": "restroom",
* "email": "restroom@dyne.org",
* "files": ["interestingFile.txt"]
* }}
* ```
* @param {string} myDirectory - Name of the variable containing the path to the
* local repository or the path itself
*/

@@ -16,0 +35,0 @@ COMMIT = "make a new commit to the git repository in {}"

@@ -7,16 +7,35 @@ "use strict";

/**
* Verify that the given directory is a git repository
* (i.e. it exists the .git directory)
* `Given I verify the path 'myFolder' is a git repository`<br><br>
* Verify that the directory defined by the path *myFolder*, under the *FILES_DIR*
* directory, is a git repository (i.e. it exists the .git directory)
* @param {string} myFolder - Name of the variable containing the path
* or the path itself
*/
Action["VERIFY"] = "verify the path {} is a git repository";
/**
* Clone the repository in the specified directory under
* the `FILES_DIR` directory
* `Given I clone the repository 'myRepo' in 'myDirectory'`<br><br>
* Clone the repository *myRepo* in the specified directory *myDirectory* under
* the *FILES_DIR* directory
* @param {string} myRepo - Name of the variable containing the repository url
* or the repository url itself
* @param {string} myDirectory - Name of the variable containing the path
* or the path itself where the repo will be cloned
*/
Action["CLONE"] = "clone the repository {} in {}";
/**
* Add files to a local repository and
* create a commit in the repository
* `Then make a new commit to the git repository in 'myDirectory'`<br><br>
* Add files to a local repository *myDirectory* and create a commit in the repository,
* the commit that will be created is passed in the data or in the output as:
* ```json
* {"commit": {
* "message": "My interesting random file",
* "author": "restroom",
* "email": "restroom@dyne.org",
* "files": ["interestingFile.txt"]
* }}
* ```
* @param {string} myDirectory - Name of the variable containing the path to the
* local repository or the path itself
*/
Action["COMMIT"] = "make a new commit to the git repository in {}";
})(Action = exports.Action || (exports.Action = {}));

4

package.json
{
"name": "@restroom-mw/git",
"version": "0.13.1-7259d93.87+7259d93",
"version": "0.13.1-b611a0f.118+b611a0f",
"description": "Git middleware for restroom",

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

},
"gitHead": "7259d93bf1bf897852464b20ed60c795fb732e9f",
"gitHead": "b611a0f61ca34654b70487332cafa914851bfa8c",
"devDependencies": {

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

export enum Action {
/**
* Verify that the given directory is a git repository
* (i.e. it exists the .git directory)
* `Given I verify the path 'myFolder' is a git repository`<br><br>
* Verify that the directory defined by the path *myFolder*, under the *FILES_DIR*
* directory, is a git repository (i.e. it exists the .git directory)
* @param {string} myFolder - Name of the variable containing the path
* or the path itself
*/
VERIFY = "verify the path {} is a git repository",
/**
* Clone the repository in the specified directory under
* the `FILES_DIR` directory
* `Given I clone the repository 'myRepo' in 'myDirectory'`<br><br>
* Clone the repository *myRepo* in the specified directory *myDirectory* under
* the *FILES_DIR* directory
* @param {string} myRepo - Name of the variable containing the repository url
* or the repository url itself
* @param {string} myDirectory - Name of the variable containing the path
* or the path itself where the repo will be cloned
*/
CLONE = "clone the repository {} in {}",
/**
* Add files to a local repository and
* create a commit in the repository
* `Then make a new commit to the git repository in 'myDirectory'`<br><br>
* Add files to a local repository *myDirectory* and create a commit in the repository,
* the commit that will be created is passed in the data or in the output as:
* ```json
* {"commit": {
* "message": "My interesting random file",
* "author": "restroom",
* "email": "restroom@dyne.org",
* "files": ["interestingFile.txt"]
* }}
* ```
* @param {string} myDirectory - Name of the variable containing the path to the
* local repository or the path itself
*/
COMMIT = "make a new commit to the git repository in {}",
}

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