Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fulcon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fulcon - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

index.js

@@ -13,3 +13,4 @@ // Public API

// makes "clone" look and smell the same
return Function('source', 'return function ' + source.name + '(' + Array(source.length + 1).join('a').split('').join(',') + '){ return source.apply(this, arguments); }')(source);
// strip `bound ` prefix from the function name
return Function('source', 'return function ' + source.name.replace(/^bound /, '') + '(' + Array(source.length + 1).join('a').split('').join(',') + '){ return source.apply(this, arguments); }')(source);
}
{
"name": "fulcon",
"version": "1.0.1",
"version": "1.0.2",
"description": "Clones a function (creates wrapper function), with the same signature as source function",

@@ -9,2 +9,3 @@ "main": "index.js",

"lint": "eslint *.js",
"ci-lint": "is-node-modern && npm run lint || is-node-not-modern",
"cover": "istanbul cover --reporter=json tape -- test.js | tap-spec",

@@ -49,7 +50,8 @@ "test": "tape test.js | tap-spec",

"browserify-istanbul": "^2.0.0",
"coveralls": "^2.11.12",
"eslint": "^2.13.1",
"coveralls": "^2.11.14",
"eslint": "^3.8.0",
"is-node-modern": "^1.0.0",
"istanbul": "^0.4.5",
"obake": "^0.1.2",
"phantomjs-prebuilt": "^2.1.12",
"phantomjs-prebuilt": "^2.1.13",
"pkgfiles": "^2.3.0",

@@ -60,4 +62,4 @@ "pre-commit": "^1.1.3",

"tap-spec": "^4.1.1",
"tape": "^4.6.0"
"tape": "^4.6.2"
}
}

@@ -13,7 +13,7 @@ # fulcon [![NPM Module](https://img.shields.io/npm/v/fulcon.svg?style=flat)](https://www.npmjs.com/package/fulcon)

| compression | size |
| :--------------- | ----: |
| fulcon.js | 945 B |
| fulcon.min.js | 651 B |
| fulcon.min.js.gz | 373 B |
| compression | size |
| :--------------- | ------: |
| fulcon.js | 1.02 kB |
| fulcon.min.js | 673 B |
| fulcon.min.js.gz | 396 B |

@@ -20,0 +20,0 @@

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