1.0.5 • Published 6 days ago

@teamteanpm2024/sed-odit-hic v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

@teamteanpm2024/sed-odit-hic Version Badge

github actions coverage License Downloads

npm badge

ES Proposal spec-compliant shim for Set.prototype.isSubsetOf. Invoke its "shim" method to shim Set.prototype.isSubsetOf 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 isSubsetOf = require('@teamteanpm2024/sed-odit-hic');

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

assert.equal(isSubsetOf(set1, set2), false);
assert.equal(isSubsetOf(set2, set1), false);
assert.equal(isSubsetOf(set3, set1), true);

isSubsetOf.shim();

assert.equal(set1.isSubsetOf(set2), false);
assert.equal(set2.isSubsetOf(set1), false);
assert.equal(set3.isSubsetOf(set1), true);

Tests

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

Set Method Packages

cloudfrontcloudformationargvwritablepackageArray.prototype.findLastIndexrequireSymbol.toStringTagprotocol-buffersArray.prototype.findLast0iterateformsoutputpicomatchjwthasOwnPropertyutilsUint8Arrayes-abstractstylesrmdirperformanceconstrapid$.extendmomentzerodataviewkinesisunicodeobjectspringcopyvariables in cssopenarrayrm -rfnamesloadbalancingtraversesessnschromiumeventses2018qsconfigurableperformantIteratorpromisesxhrpreprocessorECMAScript 2016ReactiveExtensionsrangeerrorflatAsyncIteratorposestreamflagsgestureswrapprotobuframdaMapworkflowreadablestreamparsinges2015fast-deep-clonemodulesescapebundlerprivate data[[Prototype]]jsdiffpackage managernativegdprreact animationfastcircularequalitylessdependency managerxtermgetPrototypeOftoolssigintassertscodesarktypewalkingsymbolfilebyteLengthinstallersetterfigletString.prototype.matchAllhigher-ordermixinsstringifiercommandObject.isserializes3httpsbreakindicatordescriptorsxssexpressuser-streamsjoiwindowsCSSStyleDeclarationmapreducecss-in-jsponyfillclassesconsolemruemojilesscssObject.getPrototypeOf.envminimalavaexit-codeargsartmoveebssimpledbpasswordbindlibphonenumberspinnersliceestreeArrayBufferimmutableprophardlinkseslinttypeofhasequalbabelTypeScriptmulti-packagecss nestingparseshellquerydeterministiclogginges2016jasminefunctionnegativeansiefficientsortassertionmodulereduxuninstallconsumesqsreact-hook-formtesterhandlersprocessmatchAllsettingswaitwatchomitextensionloadinghelpersRxJSmergeshamconcatMapelectronresolvecloneMicrosoftsharedarraybufferwatchFileawaitdeepcloneObservablecontainsqueueaccessorsharedguidArray.prototype.includessuperagentvalidationprototypeweakmaplinkString.prototype.trimless mixinsterminalES2021arraysrecursivesigtermworkereslintconfigconfigecmascriptwidthoptimisteveryio-tsserializerjstrimStartdirectorytslibbusypyyamlhooksshebangdeep-copytimepluginauthenticationsequenceless.jsredactRxratekorean_.extendreadablecss lessagentcharactersmatchesflatMapwritees6nopewarningRegExp#flagsmkdiremittapenpmwafprotoslotYAMLWeakSetinternalstreamslastkeytestcall-boundtacitvalidjapanesechannelsignalshas-owndefinePropertyjson-schemaInt32ArrayenderES3toArrayasciisetpnpm9typestostringtagisConcatSpreadableRegExp.prototype.flagssymlinksimportexportlengthcensornested csscreatecommanderpathgradients cssoperating-systemtypedirrmmake dirdatastructurerobusturlcryptastfastcopyECMAScript 7redux-toolkitjson-schema-validationendpointcompilerUint8ClampedArraytelephoneTypeBoxcollection.es6callec2Objectfast-copystreams2scheme-validationRFC-6455definesideECMAScript 5randomoptioncallboundprivateStyleSheetES2020256parentsglaciercryptocloudsearchdataViewes2017tsclassnamevestdiffinferencetrimRightdescriptionrgbECMAScript 2020point-freeURLcolumnsHyBitoStringTagvaluesspinnerstddcacheESfetchauthstyleclass-validatorkeyslockfilefile systemcolumntapPushpropertyjestbluebirdinstallfindBigUint64Arraystoragegatewayexitconnectpackagescurriedeslint-pluginuuiditerator-0browserlistlookfixed-widthfullwordbreakESnextlrufantasy-landcssspeedArray.prototype.flatMapes7weaksetreadharmonyiamjavascriptdeepgetOwnPropertyDescriptores-shimsvariablestypedcode pointssymbolsgetterES8negative zerooncetypesafegroupByassigncoreerror-handlingtrimEndprettytoSortedgroupprefixBigInt64Arraypatchtaskfilterreact posestatusencryptionspeces-shim APIbcryptoffsetpackage.jsonstylingoptimizercallbacksafeObject.definePropertyjQueryless csschaifastcloneruntimeutilitiesexpressionjsdomArray.prototype.containstoolkitirqcollectionECMAScript 2023extrajsonpathsearchl10ndeep-clonedeletestyleguidethroatfunctionsincludesmimetypesdragjson-schema-validatorwaapiJSONpromisegenericstc39Array.prototype.filterpostcss-pluginfpsPromisecomputed-types__proto__flattentypeerrorsetPrototypeOfhookformsetImmediatebootstrap lessbabel-coreUnderscorecoloureventEmitterelasticachetestingbyteOffsetlinuxcjkwordwrapdependenciesES6regexES5stabledataECMAScript 6numberreusebanneranimationmetadataless compilertranspilertypedarraypushdayjsArrayBuffer#slicepostcssprunecoerciblecolorscompareregular expressionsanitizationvalidatorregexplimitinternal slotajaxSymbolbrowserslistes8formatgradients css3nodeworkspace:*lintrfc4122autoscalingpipeArray.prototype.flattenstyled-componentsdebuggermacosproxyfunctionalWeakMapReflect.getPrototypeOffast-deep-copyform-validationmonorepoglobFloat64Arrayeast-asian-widthreducerasyncCSSlimitedcurlstatelessfast-clonerm -frreact-hooksieajvgetintrinsicES2017getoptpolyfillfindLastsymlinkURLSearchParamsgettrimLeftidlecorsexec6to5superstructlistenersphonestringconcatReactiveXtypedarraysECMAScript 2022environmentratelimitkarmavalueschemaiterationregular expressionsbufferregularvarboundframeworklanguagefsthrottlestringifysanitizesortedreduceObject.valueshashbrowserobjflaginFunction.prototype.namebatchparserfolderduplexObject.fromEntriesforEachshimmkdirswgetcss variableinvariantcall-bindfindupelbArrayBuffer.prototype.slicedropStreamerroreslintpluginquerystringvalidateargparsetrimarraybuffertouchArrayutil.inspectwatchingentriesviewamazonclassnamesfastifyvpclazywhichcloudtrailchineseenumerabletextECMAScript 2021ECMAScript 2017visualpropertiesmobilejsonschemelogloggernamemochaECMAScript 2018mimeconcurrencymkdirpformattingInt16ArrayisutilityInt8ArrayTypedArraystructuredCloneFloat32ArrayfseventscliyamlmakeES7bundling
1.0.5

6 days ago

1.0.4

7 days ago

1.0.3

8 days ago

1.0.2

9 days ago

1.0.1

10 days ago

1.0.0

10 days ago