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

hubot

Package Overview
Dependencies
Maintainers
7
Versions
145
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 6.0.0 to 7.0.0

2

package.json
{
"name": "hubot",
"version": "6.0.0",
"version": "7.0.0",
"author": "hubot",

@@ -5,0 +5,0 @@ "keywords": [

@@ -507,3 +507,12 @@ 'use strict'

} else {
this.adapter = this.requireAdapterFrom(`hubot-${this.adapterName}`)
const adapterPathInCurrentWorkingDirectory = this.adapterName
try {
this.adapter = this.requireAdapterFrom(adapterPathInCurrentWorkingDirectory)
} catch (err) {
if (err.name === 'SyntaxError' && err.message.includes('Cannot use import statement outside a module')) {
this.adapter = await this.importAdapterFrom(adapterPathInCurrentWorkingDirectory)
} else {
throw err
}
}
}

@@ -510,0 +519,0 @@ } catch (err) {

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