From 836d78e521d4f4e96dddd0254f2e186449e745c2 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Tue, 14 May 2024 23:39:29 +0200 Subject: [PATCH] lint --- object.js | 2 +- pledge.js | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/object.js b/object.js index 7497e19..f234c6d 100644 --- a/object.js +++ b/object.js @@ -112,4 +112,4 @@ export const hasProperty = (obj, key) => Object.prototype.hasOwnProperty.call(ob * @param {Object} b * @return {boolean} */ -export const equalFlat = (a, b) => a === b || (length(a) === length(b) && every(a, (val, key) => (val !== undefined || hasProperty(b, key)) && b[key] === val)) +export const equalFlat = (a, b) => a === b || (size(a) === size(b) && every(a, (val, key) => (val !== undefined || hasProperty(b, key)) && b[key] === val)) diff --git a/pledge.js b/pledge.js index e0b2290..07403d9 100644 --- a/pledge.js +++ b/pledge.js @@ -1,6 +1,14 @@ +/** + * @experimental Use of this module is not encouraged! + * This is just an experiment. + * @todo remove `c8 ignore` line once this is moved to "non-experimental" + */ + import * as queue from './queue.js' import * as object from './object.js' +/* c8 ignore start */ + /** * @type {queue.Queuevoid>>} */ @@ -280,3 +288,5 @@ export const wait = timeout => { setTimeout(p.resolve.bind(p), timeout) return p } + +/* c8 ignore end */