2.1.14 • Published 1 year ago

@dramaorg/repellat-nulla v2.1.14

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

@dramaorg/repellat-nulla Version Badge

github actions coverage License Downloads

npm badge

ES Proposal spec-compliant shim for Set.prototype.difference. Invoke its "shim" method to shim Set.prototype.difference if it is unavailable or noncompliant.

This package implements the es-shim API interface. It works in an ES3-supported environment, and complies with the proposed spec. When shimmed, it uses es-set to shim the Set implementation itself if needed.

Most common usage:

var assert = require('assert');
var difference = require('@dramaorg/repellat-nulla');

var set1 = new Set([1, 2]);
var set2 = new Set([2, 3]);
var result = difference(set1, set2);

assert.deepEqual(result, new Set([1]));

difference.shim();

var shimmedResult = set1.difference(set2);
assert.deepEqual(shimmedResult, new Set([1]));

Tests

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

Set Method Packages

WebSocketsECMAScript 2017stylemergereuseformatthreeECMAScript 2023lrudataViewvarsequalitywaapiqsES8[[Prototype]]RFC-6455Uint8Arraybinariesjson-schema-validationside_.extendmonorepoapollowidthairbnbvaluesbabeljsonschemaTypedArrayloggercolorcloneapitypesvpccontainseast-asian-widthjQuerystringifierfunctionalfast-deep-copyieObject.fromEntriesloggingqueueMicrotasklocaldeletequeryrfc4122classnamemkdirl10nfixed-widthdeterministicappreact-hook-formtypedarraysemojittynodejsrm -rfArray.prototype.filteres5preprocessorcode pointsvalidjestroutingreact posesearchlanguagehookforminvariantanimationparserstringifyECMAScript 5ebstextmake dirArray.prototype.findLastIndexamazondeepcloneArrayBuffer.prototype.slicearktypepostcss-plugin0redirectSymbol.toStringTagterminalhttprequirelibphonenumbera11yutillocationbyteLengthcallboundchildaccessibilityserializefunctionviewchinesemomentreadablestreamenvironmentsfind-upfullwidthbeanstalkreact animationdirectoryfindLastdependenciessymlinksdefinePropertyawsdropES2020ansihelpervisualdirpostcssdescriptorsmapbindprogressRegExp.prototype.flagsRegExp#flagsownurlgroupzodjavascriptsortedvalidatehasArrayBuffer#sliceargstslibforEacharraytostringtagtddpackage managerObjectremovebyteexecfileroute53redux-toolkitselfmapreduceglobaltouchincludesnumbertermUint16Arraypatchsource mapInt16ArrayFunction.prototype.nameECMAScript 2021fromregular expressionES2015setECMAScript 2018StreamsclassnamesargumentES2016ES2022Float64Arrayes2018escapefull-widthuser-streamsECMAScriptfindLastIndexinstallschemegetPrototypeOfconsumecommanderBigInt64Arrayflagbuffersdom-testing-libraryglobalThisatomoptimisttsflatMaptoobjectrmdirreact-hookslogArray.prototype.includesESconsolebundlermkdirppackagemodulesES2017yupelectroneventEmittertapeyamlsubprocessreactECMAScript 2015classesfast-copyObject.entriesscheme-validationpluginassignes2017String.prototype.trimelasticache.envinstallertoSortedhtmlweaksetUnderscorepackage.jsongetstyleguidereverseloadbalancingFloat32Arrayslicesortworkflowtesternameprotoi18nglobalsoptimizerworkspace:*function.lengthindicatorpoint-freeforkreadablefilemovesyntaxerrorspringwindowsharedrsssettingshasOwnoutputjsonvariablesexpressionregular expressionswgeteslintURLefficientphonereducejson-schemacloudsearchcallstoragegatewayWebSocketpnpm9WeakMapcommand-linestreamschannelcurlcss-in-jsio-tsRxJSsymbolgesturesSetObject.valuesbanneragentshebangnegativeramdargbES2018compilersyntaxprocessObject.assignArray.prototype.findLastpushposeES5comparecoveragecloudfrontwritableES2019routemanagerdependency managerfunctionsrangeerrorasteriskscoercibleupHyBirules@@toStringTagkeypropertystringTypeBoxchromeECMAScript 2019transforminferenceeslintconfigtrimRightcurriedESnextresolvefastcopymoduleReactiveXmatchsafeObservableObject.definePropertyoffseterroriteratelastReactiveExtensionsJSON-SchemagenericsdomBigUint64Arrays3lintgetOwnPropertyDescriptorglobal objectnodeprettykeysquerystringtesthardlinkscore-jshas-ownenderobjectmkdirselbinputArray.prototype.flatArrayguidglobal this valuecsstypeerrorcommandlinkasyncqueuegetterunicodeconstes7idlemanipulation__proto__equaltypesafereal-timeregexTypeScriptprototypeArray.prototype.flatMapsinatratranspilehigher-orderperformanttapspawnchromiumvalidatorinconcatMapes8circularES7reversedproppropertiessqshelperscodesfetchsuperstructproxyfoldernpmdeepcopySystem.globalsetPrototypeOfpopmotionfastlook-upexectypanioncjkvalidationwalkxmlframerjsdiffperformancekinesisrandomtrimLeftglacierquotebddspecprotobufisConcatSpreadableutilityregexpcollection.es6createreact-testing-libraryparentautoscalingYAMLUint32ArraygdprPromiseStreamstreamenvironmentgetoptArray.prototype.containscollectionmatchAllsetterwaites6finduprobustdifffpestreerapidcloudformationutilsfigletpicomatchstructuredCloneoncemakeArrayBufferassertionhashES3routerCSSStyleDeclarationuuidajvbundlingbufferfastclonepipeshellreworkenumerableespreelistenersjasmineECMAScript 2022multi-packagejson-schema-validatorfullgetintrinsicpinotestingstabletypeofwhatwgcharacterRxserializationconfigurableInt32Arrayidentifierssomeflattenread3dtyped arrayfastifycolumnassertinternalredactuninstallvalueutil.inspectes-abstractstyled-componentsconfigMapfantasy-landgitignoreoptionES2023busyrm -fres-shim APIexecuteshrinkwrapdotenvsessnslockfilecensorECMAScript 3iamswfstyleslettrimStartavacallbindsuperagentparentsrestful256fsimmutablefeedECMAScript 2016instrumentationURLSearchParamsdeep-cloneimmercloudwatchslotJSONajaxpathreducerhooksignoreECMAScript 7jstraversepositivesameValueZeroastregular-expressionartbrowserformcloudtrailponyfillschemapackagesboundharmonyhasOwnPropertyECMAScript 2020parseform-validationaccessoreslint-pluginawesomesauce
2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

1.1.7

1 year ago

1.1.6

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