2.6.34 • Published 1 year ago

@kollorg/voluptates-pariatur-repudiandae v2.6.34

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kollorg/voluptates-pariatur-repudiandae Version Badge

github actions coverage License Downloads

npm badge

Array.prototype.concat, but made safe by ignoring Symbol.isConcatSpreadable

Getting started

npm install --save @kollorg/voluptates-pariatur-repudiandae

Usage/Examples

var safeConcat = require('@kollorg/voluptates-pariatur-repudiandae');
var assert = require('assert');

assert.deepEqual([].concat([1, 2], 3, [[4]]), [1, 2, 3, [4]], 'arrays spread as expected with normal concat');
assert.deepEqual(safeConcat([1, 2], 3, [[4]]), [1, 2, 3, [4]], 'arrays spread as expected with safe concat');

String.prototype[Symbol.isConcatSpreadable] = true;
assert.deepEqual([].concat('foo', Object('bar')), ['foo', 'b', 'a', 'r'], 'spreadable String objects are spread with normal concat!!!');
assert.deepEqual(safeConcat('foo', Object('bar')), ['foo', Object('bar')], 'spreadable String objects are not spread with safe concat');

Array.prototype[Symbol.isConcatSpreadable] = false;
assert.deepEqual([].concat([1, 2], 3, [[4]]), [[], [1, 2], 3, [[4]]], 'non-concat-spreadable arrays do not spread with normal concat!!!');
assert.deepEqual(safeConcat([1, 2], 3, [[4]]), [1, 2, 3, [4]], 'non-concat-spreadable arrays still spread with safe concat');

Tests

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

Array.prototype.containsstatelessserializationjsonsymbolconnectforEachdotenvwaitES2019classnamesasserthooksconcatlimiteventsmomentcloudsearchclass-validatorbundlingArray.prototype.includesUint16Arrayuuidrfc4122.envequalkarmacomparedeepclonefsTypedArraydomsyntaxfetchs3mkdirhardlinkssetPrototypeOfnpmes-shimsrmrdsES8loadbalancingwidthsigtermES5accessoroptimizersafeECMAScript 2020signalsopencompile lessponyfillhelperscommandermkdirsTypeScriptpositivedeletecomputed-typesloggingcollectionextrawalktoobjectes2018bluebirdcloneairbnbinterruptsxtermrequireec2variables in cssdescriptionjsonpathCSSStyleDeclarationtoolstakeobjectregular expressionguidimportIteratormacosReactiveExtensionsstreamsgradients csssetlaststatusimmercirculardatatypeerrorcallbackrecursivetstoStringTageverydependenciestraversenumberes2017ratelimitObject.assignawesomesaucenameObservablescloudwatchjsdomtrimEndprunemetadatacss-in-jspatchECMAScript 3jsemojimovemodulesmiddlewarehotconsumeArrayBuffer.prototype.sliceflagyupavacorecall-boundMicrosoftcodesfromrestfulcensorregexobjnodefast-clonenested cssautoscalingURLSearchParamsprotocol-buffersparentslessmake dirArrayBuffer#slicestreamECMAScript 7Array.prototype.flatMapjavascripttestingrequestHyBimru-0serializershellargvwalkingfile systemdirpluginES2018WebSocketsxhreslintshebangsymlinkpipecloudformationes8zodArray.prototype.flattensidetypedlink@@toStringTagtrimRightpasswordPromisethrottlewgetredux-toolkitoptimistfind-upreact-hook-formObject.keysmochaidlechromiumindicatoreventDispatcherhasOwnPropertyvalidworkflowcopySymbol.toStringTagfixed-widthECMAScript 6PushchaiparenttypesafeshamcurlwordwrapcorsbannerlazybuffersfastifybddstyleguideES2023sequencereduceslotmatchAllflagstouchstarterqspreprocessorprocessinternal slotbufferasciiroute53reactencryptionintrinsictypanionSetdiffemitloggercoerciblestylingzeronativeweakmapauthenticationreusefindlibphonenumberdefinePropertysnshaswebcontainskeyliveRegExp#flagspromisedescriptorwatchebsclassessettingsmatchesnamesfunctionObject.fromEntriesgetoptjsxObject.isphoneisConcatSpreadableproxyinputredactpreserve-symlinkslengthsimpledbcolorsgenericsrapidquerydescriptorsutilityhttpremoveconcurrencypromisesgetterFunction.prototype.namepolyfillObject.valuescollection.es6propertytapgetintrinsicmobileInt16ArraywordbreakenvdeepcopyrouterchromeJSONless compilera11yowntypesameValueZerobeanstalkuninstallserializejestJSON-SchemafulljQuerysinatradependency managercacheassignbreakAsyncIteratorsharedarraybuffersortpersistentperformanceclassnameboundvpcprotohttpstslibcloudtrailString.prototype.trimcharactersRxJSenderregexputilitiesinferenceArrayBufferlookprotobuftyped arraybytebootstrap csstaskfindLastIndexFloat32ArrayformatshrinkwrapreplayReactiveXObject.getPrototypeOfESnextdeep-cloneprivateincludes__proto__negative zeropropertiesnodejsrm -frstringifierparsercall-bindlrulinuxinternalworkerbcryptString.prototype.matchAllbrowserlistexpressionwatcherurlspinnersspeedcode pointsassertionprogressYAMLdefine256spinnerimportexportBigInt64ArrayURLminimalshimfigletfseventsnegativequeueexit-codebrowserextensionbundlerhas-ownfullwidthmoduleeast-asian-widthbrowserslistestree
@kollorg/eveniet-praesentium@kollorg/eveniet-et@kollorg/eveniet-maxime-corrupti@kollorg/exercitationem-assumenda-qui@kollorg/fuga-harum@kollorg/facere-optio@kollorg/fugiat-animi@kollorg/facilis-eum@kollorg/fugiat-cum-libero@kollorg/fuga-ipsum-illum@kollorg/facere-suscipit@kollorg/fugit-id-quisquam@kollorg/fuga-laborum@kollorg/ipsam-omnis@kollorg/ipsum-eaque-quibusdam@kollorg/ipsum-porro@kollorg/ipsum-sint@kollorg/itaque-voluptatum@kollorg/ipsam-labore@kollorg/labore-facilis-ab@kollorg/iste-sed-quos@kollorg/itaque-laudantium-nesciunt@kollorg/labore-facilis@kollorg/laudantium-molestias@kollorg/labore-minus-nesciunt@kollorg/laboriosam-neque@kollorg/labore-quidem@kollorg/laudantium-fuga@kollorg/labore-magnam@kollorg/magnam-iure@kollorg/magnam-natus@kollorg/libero-iste-molestiae@kollorg/molestias-asperiores@kollorg/minus-eveniet-dolor@kollorg/modi-fugit-accusantium@kollorg/molestias-non@kollorg/molestias-aperiam@kollorg/molestias-quae-iste@kollorg/modi-saepe@kollorg/molestiae-pariatur@kollorg/mollitia-cupiditate@kollorg/natus-ipsum@kollorg/mollitia-neque-maiores@kollorg/mollitia-quasi-aspernatur@kollorg/natus-tenetur-laudantium@kollorg/nemo-omnis@kollorg/necessitatibus-qui@kollorg/neque-non@kollorg/nihil-dolorem@kollorg/nisi-deserunt-suscipit@kollorg/nisi-aliquid-eum@kollorg/officia-voluptatem-eius@kollorg/officiis-earum-ducimus@kollorg/odio-cupiditate@kollorg/officia-porro@kollorg/occaecati-totam@kollorg/odit-exercitationem@kollorg/officia-explicabo@kollorg/odio-aspernatur@kollorg/odit-accusantium@kollorg/praesentium-perferendis@kollorg/quae-nam-minus@kollorg/provident-unde@kollorg/placeat-sapiente@kollorg/possimus-dolorem-occaecati@kollorg/possimus-dolores@kollorg/provident-ab-facilis@kollorg/qui-itaque@kollorg/quaerat-veritatis@kollorg/quam-hic@kollorg/quaerat-dolorem-soluta@kollorg/quaerat-error@kollorg/quaerat-ad@kollorg/quidem-dolores-ad@kollorg/quis-dolorem@kollorg/quisquam-totam@kollorg/repudiandae-accusamus-corrupti@kollorg/rerum-quaerat-et@kollorg/saepe-eum@kollorg/rerum-laudantium@kollorg/sapiente-consequatur-maxime@kollorg/rem-rem@kollorg/saepe-rem@kollorg/saepe-ut@kollorg/reiciendis-pariatur@kollorg/reiciendis-rem@kollorg/unde-quae-dignissimos@kollorg/unde-ullam@kollorg/temporibus-quas@kollorg/tenetur-eius@kollorg/ullam-consequuntur@kollorg/ullam-modi@kollorg/tempora-maiores@kollorg/unde-commodi-illo@kollorg/temporibus-explicabo@kollorg/veritatis-eius@kollorg/vitae-tempore-qui@kollorg/veritatis-aliquam@kollorg/veritatis-alias@kollorg/vitae-quia-incidunt
1.5.30

1 year ago

1.4.22

1 year ago

2.6.33

1 year ago

1.4.24

1 year ago

2.6.34

1 year ago

1.4.23

1 year ago

1.4.25

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

1.3.19

1 year ago

1.3.20

1 year ago

1.3.21

1 year ago

2.5.32

1 year ago

1.5.25

1 year ago

2.5.33

1 year ago

1.5.27

1 year ago

1.3.22

1 year ago

1.5.26

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

2.5.30

1 year ago

2.5.31

1 year ago

1.3.16

1 year ago

1.2.16

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago