2.11.83 • Published 5 months ago

@zitterorg/upgraded-fishstick v2.11.83

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@zitterorg/upgraded-fishstick Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Are these two values conceptually equal?

Example

var isEqual = require('@zitterorg/upgraded-fishstick');
var assert = require('assert');

var primitives = [true, false, undefined, 42, 'foo'];
primitives.forEach(function (primitive) {
	assert.equal(isEqual(primitive, primitive), true);
});
assert.equal(isEqual(/a/g, /a/g), true);
assert.equal(isEqual(/a/g, new RegExp('a', 'g')), true);
assert.equal(isEqual({ a: 2 }, { a: 2 }), true);
assert.equal(isEqual([1, [2, 3], 4], [1, [2, 3], 4]), true);
var timestamp = Date.now();
assert.equal(isEqual(new Date(timestamp), new Date(timestamp)), true);

Want to know why two values are not equal?

Will return an empty string if isEqual would return true - otherwise will return a non-empty string that hopefully explains the reasoning.

var whyNotEqual = require('@zitterorg/upgraded-fishstick/why');

assert.equal(whyNotEqual(1, 1), '');
assert.equal(
  whyNotEqual({ a: 1 }, { a: 2 }),
  'value at key "a" differs: numbers are different: 1 !== 2'
);

Tests

Simply clone the repo, npm install, and run npm test

RxJStypeofRegExp#flagsjapaneseloadbalancingviewpredictablestoragegatewayidBigUint64Arrayexecdebugform-validationtoolstrimLeftproparraybufferjsxidentifiersdeep-clonel10nhasFloat32Arrayequalitystringifierpersistentopenerless mixinsfindupratelimitserializerlengthgloberror-handlinglimitvalidatecmdpackagedomcollection.es6callboundObject.islauncherrorpostcss-pluginInt16ArraytrimRightclass-validatorcommand-lineieexpresstakeregexpunicodewatchingpackagesponyfilltapeimportless.jstelephoneequalelmtrimStartJSONstringdescriptorsshellfast-copytoSortedworkflowArray.prototype.containsglobalAsyncIteratores2015datavieweveryvaluesmapreducejsdiffmiddlewarePushpositivebusydeepdom-testing-librarysigtermYAMLshrinkwrapfilterdeleteextraArray.prototype.includessyntaxerrorserializationkeysarrayECMAScript 3regular expressiones-abstractformatqueryprogressdeepclonespawngetintrinsicmakerm -rfpromisessameValueZeroelasticachespinnerredux-toolkittermhandlersArray.prototype.findLasttc39specArray.prototype.filterreuseaccessorstyleguidejwttslibutil.inspectcomputed-typesFloat64ArrayspeedstdlibmatchesArrayBuffer#slicefpsserializepatchimmerclonenodejscreatemimeenumerablerecursivecodesidleformcorebytes3iamintrinsicmimetypesprivatees2018fullwidthrequireStreamswafinstalliteratewaitHyBienvironmentsstartmergesuperagentroutertraversestateES2019weaksetbrowserlistdebuggerstreamsstylesnopestylingchaifindLastcacheUint16Arraytypedarraysaccessibilityfull-widthUnderscoreimmutableES6encryptionutilityvariables in cssentriesfastmake dirvalidationirqgradients css3protocol-buffershas-ownvpcObject.getPrototypeOfhotReactiveXBigInt64ArraywhichwatchFilerdscoloroptimizerefficientparsingassertsfetchprivate dataenvObservablesfast-cloneautoscalinglockfileboundcloudformationfoldertoolkitmixinsTypedArrayhardlinksrapidmomentArrayBuffersliceformsphonees8restcollectionpluginreducetouchless compilertexteventsfigletlook-upUint8ClampedArrayawaitqueueMicrotaskpreserve-symlinksnegativedeepcopynpmsideflatMaptrimobjectstreamfast-deep-copypackage.jsonshamwrapArrayBuffer.prototype.sliceWeakSetfunctionsUint32ArraycommanderES7watchercall-bindpromiseinterruptsfindLastIndexbeanstalkecmascriptjsonPromisecloudwatchdateArray.prototype.flatenvironmentstatelesspyyamlsettingsguidstable256stylesheetmatch-0directoryansiES2015bddglobalsbundlersinatrapasswordArray.prototype.flattenrmdirxdg-openframeworkkeyminimalfseventsnodecloudsearchvestworkerUint8Arraystyled-componentsECMAScript 7exit-codelinewrapreactES2018regularresolvebatchcss-in-jseslint-plugincopycore-jsiterationtoArraydayjsargvdynamodbnativemulti-packagestreams2compareEScryptoCSSStyleDeclaration[[Prototype]]ajvjasminelistenersgenericsESnextES2016callbackhelpersES2023setImmediate__proto__String.prototype.triminputlazysuperstructkarmasetexefastclonenamesremovecode pointsjavascriptbrowserchromecontainsestreeavalastcurlchineseduplextostringtagfulldescriptioncss variablerm -frpropertyES5pathqsenderlibphonenumberthrottleasciiwebsiterequestredactsequenceuninstalltypanionexpressioneslintpluginlogginglivebuffers.envcompile lesscss nestingcolorsyupemrhooksURLinvariantxtermrangeerrorgroupBytestingebsdirdeep-copycircularfsECMAScript 2016internal slotES8valueprotoes2017SeteslintconfigcloudtrailECMAScript 5bluebirdindicatoremojistructuredCloneflagsstarterinquoteprotobufcli_.extendsns@@toStringTagoptionprettycloudfrontperformancetasksymlinksjsonpathsetPrototypeOfconcurrencyjsxhrclassesObjectsafeprocessrgbappwordbreaki18npnpm9getECMAScript 2022tddwatchcharacterreact-testing-libraryelbparserregular expressionshttpsvariablesfunctionales5koreanRxnumberloggertypespostcssfunctionargparsewordwrapconfigtesterfastifyIteratoruppackage managerreduxstyleprefixtrimEndeventDispatcherconcatMapinspectarraysoutputmobileInt8ArrayassertionES2017internaluuidutilitiesfind-upxdgchannelsearchcensorSymbol.toStringTagdependency managerWebSocketzodcallbindbrowserslistObject.entrieses2016coerciblelintsimpledbloadingasyncmonorepoless cssisConcatSpreadablefluxmkdirsObject.keyssharedarraybuffergetOwnPropertyDescriptorextendestypeerroromittesttypesafeobjsignalttyglaciertypedarraymkdirinstallerReflect.getPrototypeOfchecksymbolschromiumbyteOffsetauthio-tsagentInt32Arrayexecutablees-shimsendpointregexajaxECMAScript 2015css less
@zitterorg/vel-at-tenetur@zitterorg/amet-porro-impedit@zitterorg/amet-minus@zitterorg/amet-vero-laboriosam@zitterorg/amet-accusamus@zitterorg/animi-accusantium-similique@zitterorg/animi-atque@zitterorg/aliquid-ducimus-provident@zitterorg/asperiores-consectetur@zitterorg/aspernatur-pariatur-occaecati@zitterorg/architecto-dolore@zitterorg/asperiores-molestias@zitterorg/aut-fugit@zitterorg/earum-harum@zitterorg/doloribus-itaque@zitterorg/doloribus-quidem-enim@zitterorg/hic-suscipit@zitterorg/harum-ratione@zitterorg/hic-dicta@zitterorg/illum-perferendis-consectetur@zitterorg/nemo-dolorem@zitterorg/necessitatibus-doloremque@zitterorg/natus-tempora@zitterorg/nemo-tenetur@zitterorg/numquam-itaque@zitterorg/pariatur-ad@zitterorg/perferendis-id@zitterorg/quaerat-error-quae@zitterorg/quasi-corrupti-voluptates@zitterorg/quas-in-suscipit@zitterorg/qui-dicta@zitterorg/quas-autem@zitterorg/quisquam-distinctio-veritatis@zitterorg/quis-maxime@zitterorg/quod-veritatis@zitterorg/ab-fugiat-impedit@zitterorg/a-in@zitterorg/at-esse-odit@zitterorg/consequatur-eius@zitterorg/blanditiis-esse-iusto@zitterorg/corporis-sit@zitterorg/cupiditate-fugiat-culpa@zitterorg/corrupti-animi-beatae@zitterorg/corporis-ut-consectetur@zitterorg/cum-commodi@zitterorg/cum-non@zitterorg/dolor-laboriosam@zitterorg/dolor-nostrum-porro@zitterorg/dolore-quas@zitterorg/distinctio-perferendis@zitterorg/eum-expedita@zitterorg/fugit-ex-neque@zitterorg/impedit-ex-praesentium@zitterorg/inventore-facere@zitterorg/incidunt-voluptas@zitterorg/ipsum-magnam@zitterorg/itaque-nisi-veritatis@zitterorg/itaque-nesciunt-voluptatibus@zitterorg/itaque-sapiente-similique@zitterorg/itaque-ab@zitterorg/occaecati-beatae@zitterorg/quibusdam-sit-qui@zitterorg/quia-sapiente@zitterorg/quibusdam-numquam@zitterorg/rem-iure@zitterorg/repellat-ut@zitterorg/repudiandae-blanditiis@zitterorg/reprehenderit-soluta-ad@zitterorg/repellendus-impedit-repellendus@zitterorg/repudiandae-nihil-architecto@zitterorg/saepe-eos@zitterorg/sint-veritatis@zitterorg/tempore-debitis-minima@zitterorg/sit-expedita@zitterorg/totam-quos-dolorem@zitterorg/unde-exercitationem@zitterorg/velit-dicta@zitterorg/veritatis-repellat-debitis@zitterorg/voluptate-voluptatem@zitterorg/adipisci-quae-eius@zitterorg/accusantium-reprehenderit-quisquam@zitterorg/accusantium-quam@zitterorg/adipisci-ipsum@zitterorg/adipisci-autem@zitterorg/accusamus-quos-consequuntur@zitterorg/aperiam-nisi@zitterorg/consequuntur-perspiciatis@zitterorg/corporis-architecto@zitterorg/consequuntur-illum-corrupti@zitterorg/delectus-nisi-impedit@zitterorg/delectus-est@zitterorg/dolores-perspiciatis-rem@zitterorg/dolores-debitis@zitterorg/doloremque-aspernatur-molestias@zitterorg/dolores-consequatur@zitterorg/doloremque-sed@zitterorg/expedita-quasi@zitterorg/explicabo-iure@zitterorg/facere-id@zitterorg/illo-perspiciatis-animi
2.11.83

5 months ago

2.11.80

5 months ago

2.11.81

5 months ago

2.11.82

5 months ago

2.11.79

5 months ago

2.10.77

5 months ago

2.11.77

5 months ago

2.11.78

5 months ago

2.9.75

5 months ago

2.9.76

5 months ago

2.9.77

5 months ago

2.8.73

5 months ago

2.8.72

5 months ago

2.9.74

5 months ago

2.9.73

5 months ago

2.8.70

5 months ago

2.7.62

6 months ago

2.8.71

5 months ago

2.5.47

6 months ago

2.5.48

6 months ago

2.5.49

6 months ago

2.7.66

5 months ago

2.5.43

6 months ago

2.7.65

5 months ago

2.5.44

6 months ago

2.7.64

5 months ago

2.5.45

6 months ago

2.7.63

6 months ago

2.5.46

6 months ago

2.7.68

5 months ago

2.7.67

5 months ago

2.6.61

6 months ago

2.5.58

6 months ago

1.5.43

6 months ago

2.5.59

6 months ago

1.5.42

6 months ago

2.5.54

6 months ago

2.5.55

6 months ago

2.5.56

6 months ago

2.5.57

6 months ago

2.6.62

6 months ago

2.5.50

6 months ago

1.4.39

6 months ago

2.5.51

6 months ago

1.4.38

6 months ago

2.5.52

6 months ago

2.5.53

6 months ago

2.5.60

6 months ago

1.4.40

6 months ago

1.4.42

6 months ago

1.4.41

6 months ago

2.5.61

6 months ago

2.8.69

5 months ago

2.8.68

5 months ago

1.3.38

7 months ago

1.3.35

7 months ago

1.3.36

7 months ago

1.3.34

7 months ago

1.3.37

7 months ago

1.3.31

7 months ago

1.3.32

7 months ago

1.3.33

7 months ago

1.2.20

7 months ago

1.3.30

7 months ago

1.2.21

7 months ago

1.2.22

7 months ago

1.3.24

7 months ago

1.3.25

7 months ago

1.3.22

7 months ago

1.3.23

7 months ago

1.3.28

7 months ago

1.3.29

7 months ago

1.3.26

7 months ago

1.3.27

7 months ago

1.2.19

7 months ago

1.2.18

7 months ago

1.2.16

7 months ago

1.2.17

7 months ago

1.2.14

7 months ago

1.2.15

7 months ago

1.2.13

7 months ago

1.2.12

7 months ago

1.2.11

7 months ago

1.2.10

7 months ago

1.2.9

8 months ago

1.2.8

8 months ago

1.2.7

8 months ago

1.1.7

8 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.1

8 months ago

1.1.2

8 months ago

1.1.0

8 months ago