Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed May 14, 2024
1 parent 9b54e80 commit 836d78e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion object.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ export const hasProperty = (obj, key) => Object.prototype.hasOwnProperty.call(ob
* @param {Object<string,any>} 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))
10 changes: 10 additions & 0 deletions pledge.js
Original file line number Diff line number Diff line change
@@ -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.Queue<queue.QueueValue<()=>void>>}
*/
Expand Down Expand Up @@ -280,3 +288,5 @@ export const wait = timeout => {
setTimeout(p.resolve.bind(p), timeout)
return p
}

/* c8 ignore end */

0 comments on commit 836d78e

Please sign in to comment.