Socket
Socket
Sign inDemoInstall

fncli

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

2

package.json
{
"name": "fncli",
"version": "0.6.0",
"version": "0.6.1",
"description": "cli framework using function signatures",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -47,3 +47,3 @@ const {Parser} = require("acorn")

// function source may be using method shorthand, eg {a(){}}.a.toString() -> 'a() {}'
source = '(function ' + fn.toString().replace(/^async /, '') + ')'
source = '(' + fn.toString().replace(/^(async )?/, '$1function ') + ')'
node = Parser.parse(source, options)

@@ -50,0 +50,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc