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

typedef

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedef - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

.jshintrc

11

lib/extends.js

@@ -32,3 +32,3 @@ module.exports = extends_;

// IE8 and below shim
function T() { this.constructor = Child; }
var T = makeT(Child);
T.prototype = Parent.prototype;

@@ -41,1 +41,10 @@ Child.prototype = new T();

/**
* @param {Function} Child
* @return {Function}
*/
function makeT(Child)
{
return function T() { this.constructor = Child; };
}

2

lib/getArguments.js
module.exports = getArguments;
var FUNCTION_ARGS = /function[^\(]*\(([^\)]+)/;
var FUNCTION_ARGS = /^\w*function[^\(]*\(([^\)]+)/;

@@ -5,0 +5,0 @@ /**

{
"name": "typedef",
"version": "1.0.2",
"version": "1.0.3",
"description": "Low-level type-centric utility functions for Javascript.",

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

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