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

depec

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depec

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Depec

Depec analyze project directory's dependency spec. It provides CLI to parse files in a project directory and report dependency spec as JSON.

Installation

Add this line to your application's Gemfile:

gem "depec"

And then execute:

$ bundle

Or:

$ gem install depec

Usage

Initialize configuration:

depec init
? Do you want to know whether Ruby is used?:  Yes
? Do you want to know Ruby version?:  Yes
? Do you want to know Bundler version?:  Yes
? Gem name that do you want to know version:  rails, jekyll
? Do you want to know whether Node.js is used?:  Yes
? Do you want to know Node.js version?:  Yes
? Npm package name that do you want to know version:  vue, react
? Do you want to know whether CircleCI is used?:  Yes
? Do you want to know CircleCI images?:  Yes
? Do you want to know whether GitHub Actions is used?:  Yes

Analyze specified directory:

depec analyze DIR --config=.depecrc.yml
{
  "name": DIR_NAME,
  "ruby": true,
  "ruby_version": "2.6.9",
  "bundler_version": "2.2.32",
  "rails_gem": null,
  "jekyll_gem": null,
  "node": true,
  "node_version": "14.15.1",
  "vue_npm": "3.0.7",
  "react_npm": null,
  "circle_ci": true,
  "circle_ci_images": [
    "cimg/ruby:2.6.9-node",
    "cimg/postgres:12.9"
  ],
  "github_actions": false
}

If you want to output to JSON file,

depec analyze DIR --config=.depecrc.yml --output=out.json

FAQs

Package last updated on 31 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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