ramda-adjunct 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,618 +0,0 @@
1
- /* Sinon.JS 15.0.1, 2022-12-15, @license BSD-3 */
2
-
3
- /*!
4
-
5
- diff v5.1.0
6
-
7
- Software License Agreement (BSD License)
8
-
9
- Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
10
-
11
- All rights reserved.
12
-
13
- Redistribution and use of this software in source and binary forms, with or without modification,
14
- are permitted provided that the following conditions are met:
15
-
16
- * Redistributions of source code must retain the above
17
- copyright notice, this list of conditions and the
18
- following disclaimer.
19
-
20
- * Redistributions in binary form must reproduce the above
21
- copyright notice, this list of conditions and the
22
- following disclaimer in the documentation and/or other
23
- materials provided with the distribution.
24
-
25
- * Neither the name of Kevin Decker nor the names of its
26
- contributors may be used to endorse or promote products
27
- derived from this software without specific prior
28
- written permission.
29
-
30
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
31
- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
32
- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
33
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
36
- IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
37
- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
- @license
39
- */
40
-
41
- /*!
42
- * ### ._obj
43
- *
44
- * Quick reference to stored `actual` value for plugin developers.
45
- *
46
- * @api private
47
- */
48
-
49
- /*!
50
- * ### .ifError(object)
51
- *
52
- * Asserts if value is not a false value, and throws if it is a true value.
53
- * This is added to allow for chai to be a drop-in replacement for Node's
54
- * assert class.
55
- *
56
- * var err = new Error('I am a custom error');
57
- * assert.ifError(err); // Rethrows err!
58
- *
59
- * @name ifError
60
- * @param {Object} object
61
- * @namespace Assert
62
- * @api public
63
- */
64
-
65
- /*!
66
- * Aliases.
67
- */
68
-
69
- /*!
70
- * Assertion Constructor
71
- *
72
- * Creates object for chaining.
73
- *
74
- * `Assertion` objects contain metadata in the form of flags. Three flags can
75
- * be assigned during instantiation by passing arguments to this constructor:
76
- *
77
- * - `object`: This flag contains the target of the assertion. For example, in
78
- * the assertion `expect(numKittens).to.equal(7);`, the `object` flag will
79
- * contain `numKittens` so that the `equal` assertion can reference it when
80
- * needed.
81
- *
82
- * - `message`: This flag contains an optional custom error message to be
83
- * prepended to the error message that's generated by the assertion when it
84
- * fails.
85
- *
86
- * - `ssfi`: This flag stands for "start stack function indicator". It
87
- * contains a function reference that serves as the starting point for
88
- * removing frames from the stack trace of the error that's created by the
89
- * assertion when it fails. The goal is to provide a cleaner stack trace to
90
- * end users by removing Chai's internal functions. Note that it only works
91
- * in environments that support `Error.captureStackTrace`, and only when
92
- * `Chai.config.includeStack` hasn't been set to `false`.
93
- *
94
- * - `lockSsfi`: This flag controls whether or not the given `ssfi` flag
95
- * should retain its current value, even as assertions are chained off of
96
- * this object. This is usually set to `true` when creating a new assertion
97
- * from within another assertion. It's also temporarily set to `true` before
98
- * an overwritten assertion gets called by the overwriting assertion.
99
- *
100
- * @param {Mixed} obj target of the assertion
101
- * @param {String} msg (optional) custom error message
102
- * @param {Function} ssfi (optional) starting point for removing stack frames
103
- * @param {Boolean} lockSsfi (optional) whether or not the ssfi flag is locked
104
- * @api private
105
- */
106
-
107
- /*!
108
- * Chai dependencies.
109
- */
110
-
111
- /*!
112
- * Module dependencies.
113
- */
114
-
115
- /*!
116
- * Module export.
117
- */
118
-
119
- /*!
120
- * Add a chainable method
121
- */
122
-
123
- /*!
124
- * Assert interface
125
- */
126
-
127
- /*!
128
- * Assertion Error
129
- */
130
-
131
- /*!
132
- * Chai - addChainingMethod utility
133
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
134
- * MIT Licensed
135
- */
136
-
137
- /*!
138
- * Chai - addLengthGuard utility
139
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
140
- * MIT Licensed
141
- */
142
-
143
- /*!
144
- * Chai - addMethod utility
145
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
146
- * MIT Licensed
147
- */
148
-
149
- /*!
150
- * Chai - addProperty utility
151
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
152
- * MIT Licensed
153
- */
154
-
155
- /*!
156
- * Chai - compareByInspect utility
157
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
158
- * MIT Licensed
159
- */
160
-
161
- /*!
162
- * Chai - expectTypes utility
163
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
164
- * MIT Licensed
165
- */
166
-
167
- /*!
168
- * Chai - flag utility
169
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
170
- * MIT Licensed
171
- */
172
-
173
- /*!
174
- * Chai - getActual utility
175
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
176
- * MIT Licensed
177
- */
178
-
179
- /*!
180
- * Chai - getOwnEnumerableProperties utility
181
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
182
- * MIT Licensed
183
- */
184
-
185
- /*!
186
- * Chai - getOwnEnumerablePropertySymbols utility
187
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
188
- * MIT Licensed
189
- */
190
-
191
- /*!
192
- * Chai - getProperties utility
193
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
194
- * MIT Licensed
195
- */
196
-
197
- /*!
198
- * Chai - isNaN utility
199
- * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
200
- * MIT Licensed
201
- */
202
-
203
- /*!
204
- * Chai - isProxyEnabled helper
205
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
206
- * MIT Licensed
207
- */
208
-
209
- /*!
210
- * Chai - message composition utility
211
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
212
- * MIT Licensed
213
- */
214
-
215
- /*!
216
- * Chai - overwriteChainableMethod utility
217
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
218
- * MIT Licensed
219
- */
220
-
221
- /*!
222
- * Chai - overwriteMethod utility
223
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
224
- * MIT Licensed
225
- */
226
-
227
- /*!
228
- * Chai - overwriteProperty utility
229
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
230
- * MIT Licensed
231
- */
232
-
233
- /*!
234
- * Chai - test utility
235
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
236
- * MIT Licensed
237
- */
238
-
239
- /*!
240
- * Chai - transferFlags utility
241
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
242
- * MIT Licensed
243
- */
244
-
245
- /*!
246
- * Chai version
247
- */
248
-
249
- /*!
250
- * Check if a property exists
251
- */
252
-
253
- /*!
254
- * Check to see if the MemoizeMap has recorded a result of the two operands
255
- *
256
- * @param {Mixed} leftHandOperand
257
- * @param {Mixed} rightHandOperand
258
- * @param {MemoizeMap} memoizeMap
259
- * @returns {Boolean|null} result
260
- */
261
-
262
- /*!
263
- * Checks error against a given set of criteria
264
- */
265
-
266
- /*!
267
- * Compare by inspect method
268
- */
269
-
270
- /*!
271
- * Compare two Regular Expressions for equality.
272
- *
273
- * @param {RegExp} leftHandOperand
274
- * @param {RegExp} rightHandOperand
275
- * @return {Boolean} result
276
- */
277
-
278
- /*!
279
- * Compare two Sets/Maps for equality. Faster than other equality functions.
280
- *
281
- * @param {Set} leftHandOperand
282
- * @param {Set} rightHandOperand
283
- * @param {Object} [options] (Optional)
284
- * @return {Boolean} result
285
- */
286
-
287
- /*!
288
- * Configuration
289
- */
290
-
291
- /*!
292
- * Core Assertions
293
- */
294
-
295
- /*!
296
- * Deep equal utility
297
- */
298
-
299
- /*!
300
- * Deep path info
301
- */
302
-
303
- /*!
304
- * Dependencies that are used for multiple exports are required here only once
305
- */
306
-
307
- /*!
308
- * Determine if the given object has an @@iterator function.
309
- *
310
- * @param {Object} target
311
- * @return {Boolean} `true` if the object has an @@iterator function.
312
- */
313
-
314
- /*!
315
- * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
316
- * each key. If any value of the given key is not equal, the function will return false (early).
317
- *
318
- * @param {Mixed} leftHandOperand
319
- * @param {Mixed} rightHandOperand
320
- * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
321
- * @param {Object} [options] (Optional)
322
- * @return {Boolean} result
323
- */
324
-
325
- /*!
326
- * Ensure correct constructor
327
- */
328
-
329
- /*!
330
- * Expect interface
331
- */
332
-
333
- /*!
334
- * Flag transferring utility
335
- */
336
-
337
- /*!
338
- * Flag utility
339
- */
340
-
341
- /*!
342
- * Function name
343
- */
344
-
345
- /*!
346
- * Get own enumerable properties method
347
- */
348
-
349
- /*!
350
- * Get own enumerable property symbols method
351
- */
352
-
353
- /*!
354
- * Gets all entries from a Generator. This will consume the generator - which could have side effects.
355
- *
356
- * @param {Generator} target
357
- * @returns {Array} an array of entries from the Generator.
358
- */
359
-
360
- /*!
361
- * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
362
- * This will consume the iterator - which could have side effects depending on the @@iterator implementation.
363
- *
364
- * @param {Object} target
365
- * @returns {Array} an array of entries from the @@iterator function
366
- */
367
-
368
- /*!
369
- * Gets all own and inherited enumerable keys from a target.
370
- *
371
- * @param {Object} target
372
- * @returns {Array} an array of own and inherited enumerable keys from the target.
373
- */
374
-
375
- /*!
376
- * Inherit from Error.prototype
377
- */
378
-
379
- /*!
380
- * Inspect util
381
- */
382
-
383
- /*!
384
- * Module dependencies
385
- */
386
-
387
- /*!
388
- * Object Display util
389
- */
390
-
391
- /*!
392
- * Overwrite chainable method
393
- */
394
-
395
- /*!
396
- * Primary Export
397
- */
398
-
399
- /*!
400
- * Primary Exports
401
- */
402
-
403
- /*!
404
- * Primary `Assertion` prototype
405
- */
406
-
407
- /*!
408
- * Proxify util
409
- */
410
-
411
- /*!
412
- * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
413
- * for each enumerable key in the object.
414
- *
415
- * @param {Mixed} leftHandOperand
416
- * @param {Mixed} rightHandOperand
417
- * @param {Object} [options] (Optional)
418
- * @return {Boolean} result
419
- */
420
-
421
- /*!
422
- * Return a function that will copy properties from
423
- * one object to another excluding any originally
424
- * listed. Returned function will create a new `{}`.
425
- *
426
- * @param {String} excluded properties ...
427
- * @return {Function}
428
- */
429
-
430
- /*!
431
- * Returns true if the argument is a primitive.
432
- *
433
- * This intentionally returns true for all objects that can be compared by reference,
434
- * including functions and symbols.
435
- *
436
- * @param {Mixed} value
437
- * @return {Boolean} result
438
- */
439
-
440
- /*!
441
- * Set the result of the equality into the MemoizeMap
442
- *
443
- * @param {Mixed} leftHandOperand
444
- * @param {Mixed} rightHandOperand
445
- * @param {MemoizeMap} memoizeMap
446
- * @param {Boolean} result
447
- */
448
-
449
- /*!
450
- * Should interface
451
- */
452
-
453
- /*!
454
- * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
455
- *
456
- * @param {Iterable} leftHandOperand
457
- * @param {Iterable} rightHandOperand
458
- * @param {Object} [options] (Optional)
459
- * @return {Boolean} result
460
- */
461
-
462
- /*!
463
- * Simple equality for generator objects such as those returned by generator functions.
464
- *
465
- * @param {Iterable} leftHandOperand
466
- * @param {Iterable} rightHandOperand
467
- * @param {Object} [options] (Optional)
468
- * @return {Boolean} result
469
- */
470
-
471
- /*!
472
- * Statically set name
473
- */
474
-
475
- /*!
476
- * The buffer module from node.js, for the browser.
477
- *
478
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
479
- * @license MIT
480
- */
481
-
482
- /*!
483
- * The main logic of the `deepEqual` function.
484
- *
485
- * @param {Mixed} leftHandOperand
486
- * @param {Mixed} rightHandOperand
487
- * @param {Object} [options] (optional) Additional options
488
- * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
489
- * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
490
- complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
491
- references to blow the stack.
492
- * @return {Boolean} equal match
493
- */
494
-
495
- /*!
496
- * Utility Functions
497
- */
498
-
499
- /*!
500
- * Utils for plugins (not exported)
501
- */
502
-
503
- /*!
504
- * actual utility
505
- */
506
-
507
- /*!
508
- * add Method
509
- */
510
-
511
- /*!
512
- * add Property
513
- */
514
-
515
- /*!
516
- * addLengthGuard util
517
- */
518
-
519
- /*!
520
- * assertion-error
521
- * Copyright(c) 2013 Jake Luer <jake@qualiancy.com>
522
- * MIT Licensed
523
- */
524
-
525
- /*!
526
- * chai
527
- * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
528
- * MIT Licensed
529
- */
530
-
531
- /*!
532
- * chai
533
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
534
- * MIT Licensed
535
- */
536
-
537
- /*!
538
- * chai
539
- * http://chaijs.com
540
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
541
- * MIT Licensed
542
- */
543
-
544
- /*!
545
- * deep-eql
546
- * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
547
- * MIT Licensed
548
- */
549
-
550
- /*!
551
- * expectTypes utility
552
- */
553
-
554
- /*!
555
- * getOperator method
556
- */
557
-
558
- /*!
559
- * isNaN method
560
- */
561
-
562
- /*!
563
- * isProxyEnabled helper
564
- */
565
-
566
- /*!
567
- * message utility
568
- */
569
-
570
- /*!
571
- * overwrite Method
572
- */
573
-
574
- /*!
575
- * overwrite Property
576
- */
577
-
578
- /*!
579
- * test utility
580
- */
581
-
582
- /*!
583
- * type utility
584
- */
585
-
586
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
587
-
588
- /**
589
- * Monet.js 0.9.3
590
- *
591
- * (c) 2012-2021 Chris Myers
592
- * @license Monet.js may be freely distributed under the MIT license.
593
- * For all details and documentation:
594
- * https://monet.github.io/monet.js/
595
- */
596
-
597
- /**
598
- * Tests whether or not an object is similar to an array.
599
- *
600
- * @func isArrayLike
601
- * @memberOf RA
602
- * @since {@link https://char0n.github.io/ramda-adjunct/1.9.0|v1.9.0}
603
- * @licence https://github.com/ramda/ramda/blob/master/LICENSE.txt
604
- * @category List
605
- * @category Type
606
- * @sig * -> Boolean
607
- * @param {*} val The value to test
608
- * @returns {boolean} `true` if `val` has a numeric length property and extreme indices defined; `false` otherwise.
609
- * @see {@link RA.isNotArrayLike|isNotArrayLike}
610
-
611
- * @example
612
- *
613
- * RA.isArrayLike([]); //=> true
614
- * RA.isArrayLike(true); //=> false
615
- * RA.isArrayLike({}); //=> false
616
- * RA.isArrayLike({length: 10}); //=> false
617
- * RA.isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
618
- */
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- const { join } = require('path');
4
-
5
- module.exports = {
6
- parser: '@typescript-eslint/parser',
7
- parserOptions: {
8
- ecmaVersion: 2019,
9
- project: join(__dirname, './tsconfig.json'),
10
- sourceType: 'module',
11
- },
12
- plugins: ['@typescript-eslint'],
13
- extends: ['plugin:prettier/recommended', 'plugin:@typescript-eslint/recommended'],
14
- rules: {
15
- '@typescript-eslint/ban-ts-comment': 0,
16
- 'import/no-unresolved': 0,
17
- 'import/extensions': 0,
18
- '@typescript-eslint/no-empty-function': 0,
19
- '@typescript-eslint/no-unused-vars': 0,
20
- '@typescript-eslint/ban-types': 0,
21
- '@typescript-eslint/no-explicit-any': 0,
22
- }
23
- };
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- const { join } = require('path');
4
-
5
- module.exports = {
6
- parser: '@typescript-eslint/parser',
7
- parserOptions: {
8
- ecmaVersion: 2019,
9
- project: join(__dirname, './tsconfig.json'),
10
- sourceType: 'module',
11
- },
12
- extends: ['plugin:dtslint/recommended'],
13
- };