Socket
Socket
Sign inDemoInstall

hubot

Package Overview
Dependencies
Maintainers
7
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot - npm Package Compare versions

Comparing version 9.0.2 to 9.1.0

src/GenHubot.js

12

bin/hubot.js

@@ -9,2 +9,3 @@ 'use strict'

const Hubot = require('..')
const create = require('../src/GenHubot.js')

@@ -90,10 +91,7 @@ const switches = [

if (options.create) {
console.error("'hubot --create' is deprecated. Use the yeoman generator instead:")
console.error(' npm install -g yo generator-hubot')
console.error(` mkdir -p ${options.path}`)
console.error(` cd ${options.path}`)
console.error(' yo hubot')
console.error('See https://github.com/github/hubot/blob/main/docs/index.md for more details on getting started.')
process.exit(1)
options.hubotInstallationPath = process.env.HUBOT_INSTALLATION_PATH ?? 'hubot'
create(options.path, options)
process.exit(0)
}
if (options.file) {

@@ -100,0 +98,0 @@ options.adapter = options.file.split('/').pop().split('.')[0]

{
"name": "hubot",
"version": "9.0.2",
"version": "9.1.0",
"author": "hubot",

@@ -27,3 +27,2 @@ "keywords": [

"devDependencies": {
"semantic-release": "^21.0.1",
"standard": "^17.1.0"

@@ -41,2 +40,3 @@ },

"start": "bin/hubot",
"gen": "bin/hubot --create myhubot",
"pretest": "standard",

@@ -43,0 +43,0 @@ "test": "node --test",

@@ -18,4 +18,14 @@ ![Build Status: MacOS](https://github.com/hubotio/hubot/actions/workflows/nodejs-macos.yml/badge.svg)

# Create your own Hubot instance
```sh
mkdir myhubot
cd myhubot
npx hubot --create myhubot --adapter @hubot-friends/hubot-slack
```
Review `scripts/example.mjs`. Create more scripts in the `scripts` folder.
## License
See the [LICENSE](LICENSE.md) file for license rights and limitations (MIT).
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