Socket
Socket
Sign inDemoInstall

function-bind

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

.editorconfig

21

.jscs.json

@@ -48,3 +48,3 @@ {

"disallowQuotedKeysInObjects": "allButReserved",
"disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },

@@ -158,4 +158,21 @@ "disallowSpaceAfterObjectKeys": true,

"allExcept": ["Function", "String", "Object", "Symbol", "Number", "Date", "RegExp", "Error", "Boolean", "Array"]
}
},
"requireImportAlphabetized": false,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforeDestructuredValues": true,
"disallowSpacesInsideTemplateStringPlaceholders": true,
"disallowArrayDestructuringReturn": false,
"requireNewlineBeforeSingleStatementsInIf": false,
"disallowUnusedVariables": true,
"requireSpacesInsideImportedObjectBraces": true,
"requireUseStrict": true
}

@@ -0,1 +1,5 @@

'use strict';
/* eslint no-invalid-this: 1 */
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';

@@ -2,0 +6,0 @@ var slice = Array.prototype.slice;

@@ -0,3 +1,5 @@

'use strict';
var implementation = require('./implementation');
module.exports = Function.prototype.bind || implementation;

23

package.json
{
"name": "function-bind",
"version": "1.1.0",
"version": "1.1.1",
"description": "Implementation of Function.prototype.bind",

@@ -30,19 +30,15 @@ "keywords": [

"devDependencies": {
"tape": "^4.4.0",
"@ljharb/eslint-config": "^12.2.1",
"covert": "^1.1.0",
"jscs": "^2.9.0",
"eslint": "^2.0.0",
"@ljharb/eslint-config": "^2.1.0"
"eslint": "^4.5.0",
"jscs": "^3.0.7",
"tape": "^4.8.0"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/Raynos/function-bind/raw/master/LICENSE"
}
],
"license": "MIT",
"scripts": {
"test": "npm run lint && npm run tests-only && npm run coverage-quiet",
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "npm run coverage -- --quiet",
"tests-only": "node test",
"coverage": "covert test/*.js",
"coverage-quiet": "covert test/*.js --quiet",
"lint": "npm run jscs && npm run eslint",

@@ -69,2 +65,1 @@ "jscs": "jscs *.js */*.js",

}

@@ -0,1 +1,3 @@

// jscs:disable requireUseStrict
var test = require('tape');

@@ -2,0 +4,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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