Skip to content

Commit

Permalink
[Dev Deps] update tape, eslint, @ljharb/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 29, 2016
1 parent 90aa4ea commit d42d423
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@
"object.entries": "^1.0.3"
},
"devDependencies": {
"tape": "^4.6.2",
"tape": "^4.6.3",
"covert": "^1.1.0",
"jscs": "^3.0.7",
"foreach": "^2.0.5",
"object.entries": "^1.0.3",
"make-arrow-function": "^1.1.0",
"make-generator-function": "^1.1.0",
"semver": "^5.3.0",
"eslint": "^3.9.1",
"@ljharb/eslint-config": "^8.0.0",
"eslint": "^3.11.1",
"@ljharb/eslint-config": "^9.0.1",
"nsp": "^2.6.2",
"replace": "^0.3.0",
"es6-shim": "^0.35.1",
Expand Down
1 change: 1 addition & 0 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"rules": {
"func-name-matching": 0,
"max-lines": 0,
"max-nested-callbacks": [2, 3],
"max-statements-per-line": [2, { "max": 2 }],
Expand Down
8 changes: 4 additions & 4 deletions why.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ var isCallable = require('is-callable');

var isProto = Object.prototype.isPrototypeOf;

var foo = function foo() {};
var functionsHaveNames = foo.name === 'foo';
var namedFoo = function foo() {};
var functionsHaveNames = namedFoo.name === 'foo';

var symbolValue = typeof Symbol === 'function' ? Symbol.prototype.valueOf : null;
var symbolIterator = require('./getSymbolIterator')();
Expand Down Expand Up @@ -53,12 +53,12 @@ var isArray = Array.isArray || function (value) {
return toStr.call(value) === '[object Array]';
};

var normalizeFnWhitespace = function normalizeFnWhitespace(fnStr) {
var normalizeFnWhitespace = function normalizeWhitespace(fnStr) {
// this is needed in IE 9, at least, which has inconsistencies here.
return fnStr.replace(/^function ?\(/, 'function (').replace('){', ') {');
};

var tryMapSetEntries = function tryMapSetEntries(collection) {
var tryMapSetEntries = function tryCollectionEntries(collection) {
var foundEntries = [];
try {
collectionsForEach.Map.call(collection, function (key, value) {
Expand Down

0 comments on commit d42d423

Please sign in to comment.