Socket
Socket
Sign inDemoInstall

babel-helper-get-function-arity

Package Overview
Dependencies
1
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-alpha.15 to 7.0.0-alpha.16

3

lib/index.js

@@ -7,4 +7,6 @@ "use strict";

var params = node.params;
for (var i = 0; i < params.length; i++) {
var param = params[i];
if (t.isAssignmentPattern(param) || t.isRestElement(param)) {

@@ -14,2 +16,3 @@ return i;

}
return params.length;

@@ -16,0 +19,0 @@ };

4

package.json
{
"name": "babel-helper-get-function-arity",
"version": "7.0.0-alpha.15",
"version": "7.0.0-alpha.16",
"description": "Helper function to get function arity",

@@ -9,4 +9,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity",

"dependencies": {
"babel-types": "7.0.0-alpha.15"
"babel-types": "7.0.0-alpha.16"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc