Socket
Socket
Sign inDemoInstall

@babel/helper-get-function-arity

Package Overview
Dependencies
4
Maintainers
6
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.14.5 to 7.15.4

9

lib/index.js

@@ -8,4 +8,9 @@ "use strict";

var t = require("@babel/types");
var _t = require("@babel/types");
const {
isAssignmentPattern,
isRestElement
} = _t;
function _default(node) {

@@ -17,3 +22,3 @@ const params = node.params;

if (t.isAssignmentPattern(param) || t.isRestElement(param)) {
if (isAssignmentPattern(param) || isRestElement(param)) {
return i;

@@ -20,0 +25,0 @@ }

{
"name": "@babel/helper-get-function-arity",
"version": "7.14.5",
"version": "7.15.4",
"description": "Helper function to get function arity",

@@ -17,3 +17,3 @@ "repository": {

"dependencies": {
"@babel/types": "^7.14.5"
"@babel/types": "^7.15.4"
},

@@ -20,0 +20,0 @@ "engines": {

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