1.0.0 • Published 1 year ago

@osjwnpm/sequi-earum-amet v1.0.0

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

@osjwnpm/sequi-earum-amet 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('@osjwnpm/sequi-earum-amet');

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

storagegatewaytypedarraysargvdeepclonestyled-componentsio-tsscheme-validationfastcopygetintrinsicBigUint64ArrayES2019accessorObject.getPrototypeOfstringifyconfigtoolkitbundlinggetparsecommand-lineec2Object.valuesairbnbshamcollection.es6mixinsReactiveXbundlereventEmittergradients cssendpointweaksetastieoptimistObservableECMAScript 2021unicodeUint8ArrayhasOwnoptimizerinternalwget__proto__fstapdireslintplugineast-asian-widthInt16ArrayjsonpathmovekoreanamazonlintstylereducercryptviewbatchzeropromisesgetOwnPropertyDescriptorintrinsicprototypedeep-copybyteOffsetless.jscore-jsECMAScript 2020Float64ArrayrobustcallboundESnextcloudtrailtapeestreehotfindLastIndexespreetostringtaguuidbeanstalkfindLastauthenticationTypeBoxflattenduplexnopepathfastjestdomfunctiontraverseTypeScriptmapuninstallfunctionallockfiletestdeepcopyreuseencryptionhasfetchmimeidleparentseselasticachegettertypeerrorxhrcss lessarktypeutilitymatchAllextrareadableoutputmonorepotoArrayArray.prototype.findLastIndexcontainsPushlocationwritabletypesafedynamodbqueryminimalnegative zeroconfigurablefindupreact-hook-formtouchiterationiteratorMapArray.prototype.flatMapdataViewdropdeterministicformatbyteLengthStyleSheetapolloassignCSSspeed256directorylesscssshellECMAScript 2016sameValueZerotypedpositivelogseswebexecwriteUint32ArraycircularObjectsettingspackagerequestkarmaserializationfileglobcall-bindprettygraphqlpropertiesdependency managercloudformationfind-upsetcharacterkinesissetImmediateECMAScript 2017flatconcatconsumecolorscolourreadincludesjapaneseclassesconcurrencybindawesomesauceresolveworkspace:*busyvariablesnested cssbreakenvCSSStyleDeclarationECMAScript 2015cjkmapreducevisualdeleteguidmkdirsutil.inspectisConcatSpreadablecorswhatwgtrimStartECMAScript 2022ES2020specescapeshrinkwrapimmutableenumerablesortedeveryrangeerrorcloudwatchstreammatchescommanderUint16Arrayextendcss nestingpnpm9ES3proxyprefixInt8Arrayoffsetroutingtc39makelook-upflagreact-hookswatchWebSocketawstoolsphoneWeakSetebsprunedatastructureArray.prototype.flattentrimEndStreamsmetadataReflect.getPrototypeOfbrowserWeakMapemithooksnpmstyleguidelessinputlibphonenumberthrottlewidthdefinePropertymiddlewareformcryptoESpushcall-boundbuffereventDispatchersuperstructdescriptionmobileRFC-6455deeptypedarraygroupSettrimRight0electronJSON-SchemanamesSymbolfseventschinesegetoptsyntaxerror@@toStringTagschemeES7Object.assigncallbackmruclicheckforEachrmdirreduxjsxcollectionspinnerselbtimeES2016browserslistqueueMicrotaskwalkwrapbcryptreactcloudfronttestingwarningmimetypessymbolkeysargsclonelimitedcloudsearchURLdiffrm -rfmatchfullponyfillserializeES6workflowArrayBufferObject.entriesprotobufroutejasminevaluedatavaluesJSONtslibwhichobjes-shim APIFloat32Arraysymlinksstreams2RegExp#flagsgdprglacierECMAScript 2019code pointsstylesheetpasswordcolumnsdeep-clonefile systemtswalkingcompilerObject.defineProperty_.extendtakefixed-widthinstalldotenves2016jsvpcmochafunctionsnodejsl10npreserve-symlinkscoreinspectarraysform-validationefficientjoisorteslint-pluginasciicacheajaxloggerrmvalidationutila11yUint8ClampedArrayfast-deep-copyises2018weakmaplimitfindwordbreakSymbol.toStringTaglinewrapes6argparseparentstringifiernodeES8authclienttoSorteddefinehttpssyntaxhigher-orderstatelessECMAScript 3comparewatchersharedarraybufferrecursiveES2022css variabledebugReactiveExtensionsecmascriptentriesgroupBypatchfiglettddupbddfast-clonees2017redactstateenderspinnermodulessafergbtrimLeftmime-dbswfcalltypanionframeworkshimclassnamei18nargumentelmshebangajvcurllanguagefast-deep-clonehelpersArrayBuffer#slicesearchautoprefixerimportassertscss-in-jscolumncoloriterateprogresspluginbootstrap lessreplay$.extendgradients css3watchingexpressionslicerfc4122ratelimitprotolistenersttymake dirECMAScript 6RxJSes7throatinregularquerystringpersistentbytebluebirdqueueURLSearchParamsnativedescriptorwordwrapimmerhttpInt32ArrayinstallerlookpackagesArray.prototype.includesloadbalancing[[Prototype]]jwtutilitiesruntimeArray.prototype.findLastformattingES2021qspropArray.prototype.filterES2018importexportObject.fromEntrieskeyremoveMicrosoftreadablestreamIteratoriamless csspolyfillreal-timepipe
1.0.0

1 year ago