function-bind
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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; |
{ | ||
"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
25154
12
386