Skip to content

Commit f2b2b8b

Browse files
greenkeeper[bot]daffl
authored andcommitted
Update dependencies to enable Greenkeeper 🌴 (#534)
1 parent 9732c6e commit f2b2b8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2119
-1505
lines changed

‎dtslint-build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"dtslint": "^0.3.0"
3+
"dtslint": "^0.9.9"
44
},
55
"scripts": {
66
"dtslint": "dtslint ../types"

‎greenkeeper.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"groups": {
3+
"default": {
4+
"packages": [
5+
"dtslint-build/package.json",
6+
"package.json"
7+
]
8+
}
9+
}
10+
}

‎lib/common/delete-by-dot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function (obj, path) {
66
const nonLeafLen = parts.length - 1;
77

88
for (let i = 0; i < nonLeafLen; i++) {
9-
let part = parts[i];
9+
const part = parts[i];
1010
if (!(part in obj)) { return; }
1111

1212
obj = obj[part];

‎lib/common/exists-by-dot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function (obj, path) {
66
const nonLeafLen = parts.length - 1;
77

88
for (let i = 0; i < nonLeafLen; i++) {
9-
let part = parts[i];
9+
const part = parts[i];
1010

1111
if (!(part in obj)) { return false; }
1212

‎lib/common/set-by-dot.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = function (obj, path, value, ifDelete) {
1919
return parts.reduce(
2020
(obj1, part, i) => {
2121
if (i !== lastIndex) {
22+
// eslint-disable-next-line
2223
if (!obj1.hasOwnProperty(part) || typeof obj1[part] !== 'object') {
2324
obj1[part] = {};
2425
}

‎lib/services/cache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ module.exports = function (cacheMap, keyFieldName, options = {}) {
3232
case 'find': // fall through
3333
case 'create':
3434
return;
35-
case 'get':
35+
case 'get': {
3636
const key = makeCacheKey(context.id);
3737
const value = cacheMap.get(key);
3838

3939
if (value) context.result = value;
4040
return context;
41-
default: // update, patch, remove
41+
} default: // update, patch, remove
4242
if (context.id) {
4343
cacheMap.delete(context.id);
4444
return;

‎lib/services/fgraphql.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,12 @@ function processRecordFieldResolver (store, query, depth, rec, fieldName, type)
191191
debug('is resolver call');
192192
const ourQuery = store.feathersSdl[type][fieldName];
193193
const ourResolver = store.ourResolvers[type][fieldName];
194-
let args;
195194

196195
if (!isFunction(ourResolver)) {
197196
throwError(`Resolver for Type ${type} fieldName ${fieldName} is typeof ${typeof ourResolver} not function. (fgraphql)`, 203);
198197
}
199198

200-
args = isObject(query[fieldName]) ? query[fieldName]._args : undefined;
199+
const args = isObject(query[fieldName]) ? query[fieldName]._args : undefined;
201200
debug(`resolver listType ${ourQuery.listType} args ${JSON.stringify(args)}`);
202201

203202
// Call resolver function.

‎lib/services/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ const conditionals = _conditionals(
6363
return serviceHooks ? combine(...serviceHooks).call(this, hookFnArgs[0]) : hookFnArgs[0];
6464
});
6565

66-
module.exports = Object.assign({ callbackToPromise,
66+
module.exports = Object.assign({
67+
callbackToPromise,
6768
actOnDefault,
6869
actOnDispatch,
6970
alterItems,

‎lib/services/populate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = function (options, ...rest) {
5959
if ('provider' in schema) {
6060
return schema;
6161
} else {
62-
return Object.assign({}, schema, {provider});
62+
return Object.assign({}, schema, { provider });
6363
}
6464
});
6565

@@ -234,7 +234,7 @@ function populateAddChild (options, context, parentItem, childSchema, depth) {
234234
if ('provider' in schema) {
235235
return schema;
236236
} else {
237-
return Object.assign({}, schema, {provider});
237+
return Object.assign({}, schema, { provider });
238238
}
239239
});
240240

‎lib/services/promise-to-callback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
/* globals setImmediate:1 */
2+
/* globals setImmediate:true */
33

44
module.exports = function (promise) {
55
console.log('**Deprecated** The promiseToCallback hook will be removed next FeathersJS version.');

0 commit comments

Comments
 (0)