New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

introspect

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

introspect - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.npmignore

1

lib/introspect/introspect.js

@@ -6,3 +6,4 @@ var argumentsRegExp = /\(([\s\S]*?)\)/;

var fnArguments = argumentsRegExp.exec(fn)[1].trim();
if (0 === fnArguments.length) return [];
return fnArguments.split(replaceRegExp);
};

2

package.json

@@ -7,3 +7,3 @@ {

"keywords": ["reflection", "introspection", "arguments", "args"],
"version": "0.0.2",
"version": "0.0.3",
"engines": {

@@ -10,0 +10,0 @@ "node": ">= v0.4.7"

@@ -25,4 +25,8 @@ var

}), ['foo', 'bar', 'callback']);
},
'with no arguments': function () {
assert.deepEqual(introspect(function () {}), []);
assert.deepEqual(introspect(function ( ) { }), []);
}
}
}).export(module);
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