2.6.57 • Published 2 years ago

@zitterorg/est-natus v2.6.57

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@zitterorg/est-natus 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('@zitterorg/est-natus');

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

loadingcloudformationconcatMapqueueaccessora11yFloat32ArraytouchgetoptmanipulationhookformkinesislockfileprotobufbuffersesforEachassertionzxtoReversedassertszodpromisemodulesdefinefast-copyfiltermochabeanstalkagenttranspilesharedjsxpackagetdddrophtmlUint32ArrayphoneinhasOwnvalidobjURLSearchParamssesclassnamesmake dirjQuerygetrecursiveobjectdotenvsinatrahttpweaksetqueueMicrotaskregexECMAScript 2019popmotionrobustargvprogresshashes5dataViewCSSStyleDeclarationdateString.prototype.trimweakmapcircularkeyutilsio-ts.envconsumetrimEndtrimUint8ClampedArrayelectronequalRxconfigPromisecloudsearchECMAScript 3stylingbundlerglobalfunctionalInt32ArraytypedfeedcodesObjecttraverseshamfunctionArray.prototype.containsparsecorepushartspeedtoolkitES5es2016cjkterminalconstlintequalityendpointstablepackagescensortsschemacharacterautoscalingdeepcopyES3String.prototype.matchAllqsprotoastRFC-6455gesturesfast-deep-clonegitignorevestmockingreact poseharmonyzeronumberarraybufferreal-timedeepclonefunction.lengthpostcssprototypedom-testing-librarybinariesjson-schema-validatorshellextraclassesnodejsreworkcallboundarrayswhatwgglobalswafnpmgroupArray.prototype.findLastfast-deep-copyapifolderObservablegetintrinsichas-ownsetterdiffjson-schemasetImmediatechaiparentframerassertconsoleArrayBufferjsonintrinsicponyfillbddcomparejsdomautoprefixercoverageemitdataviewparentsArray.prototype.findLastIndexreact-hooksprocessprivate datamobiledayjsdeepeverymanagerstarteres2017termsuperstructWeakSettrimStartthreeflatMapvisualutilsomeslicefpreduceutilitycallbindoutputstyled-componentsspecloggereventsformattingdebugtesterextendbrowserslisttacitdeep-copychromerequestpositiveiterateperformantsortedObject.fromEntriesArray.prototype.flattencode pointsnativeECMAScript 5ECMAScript 2017browsercommandvarsECMAScript 2018saferedirectArray.prototype.filterdatalogES2020_.extendclassnameES2017variableses-shim APIES20183droute53flagdebuggerfunctionssetregular expressioncommanderform-validationroutewgetrfc4122Float64Arrayes2015postcss-pluginredactanimationUint16ArrayAsyncIteratorrestfulHyBinpmignorestreamecmascripttypedarrayscall-boundtyped arraytransformbannersetPrototypeOfes6randomReactiveXpackage.jsonoptimististanbullocationerroryamles7listenersSymbolxtermdefinePropertystoragegateway.gitignoretslibcontainsidlemulti-packageSymbol.toStringTagruntimecore-jsgetOwnPropertyDescriptor[[Prototype]]emrasciispinnerhaslrujasmineTypeBoxsimpledbtrimLeftaccessibilityrequiremkdirtakesameValueZeroECMAScript 2021Mappyyamlsubprocesshttpswritablechinesefind-upcss-in-jsObject.definePropertypipeacornjshintinternaljapaneseoptimizertoStringTagRegExp#flagstc39east-asian-widthvarpruneschemecachetestingES2023propertycryptometadatadeletefixed-widthserializehigher-ordersyntaxerrortranspilerfastifyeslintconfigfindupes2018Object.valuesprotocol-buffersObject.assignbindclientslotrmstyleguidecompilerjspoint-freeObject.keysreadablebundlingrssargsfast-cloneestreehasOwnPropertyfile systemroutinguninstallidreact animationStreamIteratorSetcollection.es6eventDispatcherECMAScript 2023charactersinferencetapqueryajvapolloES6ec2rgbregularCSSrapidArray.prototype.includesamazoncallmakepnpm9iamcloudwatchcloudtrail6to5fastcopyoffseteffect-tsreadablestreamgdprasterisksbytesymbolsES7globformcomputed-typesmonorepofnmatchrdsESnextendercssassignspringcliECMAScript 2022lastlanguagequoteECMAScript 2016structuredClonesymbolworkercolumnsinspectgraphqlgroupBytypedarrayWebSocketsansideterministicArrayBuffer#slicemapreduceomitdeep-clonewidthvalidateflagsie
2.6.65

2 years ago

2.6.61

2 years ago

2.6.62

2 years ago

2.6.63

2 years ago

2.6.64

2 years ago

2.6.59

2 years ago

2.6.58

2 years ago

2.6.60

2 years ago

2.6.56

2 years ago

2.6.57

2 years ago

2.5.56

2 years ago

2.5.54

2 years ago

2.5.55

2 years ago

2.5.52

2 years ago

2.5.53

2 years ago

2.3.28

2 years ago

2.3.27

2 years ago

2.5.47

2 years ago

2.5.48

2 years ago

2.5.49

2 years ago

2.3.26

2 years ago

2.3.25

2 years ago

2.5.43

2 years ago

2.4.32

2 years ago

2.5.44

2 years ago

2.4.31

2 years ago

2.5.45

2 years ago

2.5.46

2 years ago

2.4.33

2 years ago

2.5.40

2 years ago

2.5.41

2 years ago

2.4.30

2 years ago

2.5.42

2 years ago

2.1.17

2 years ago

2.2.24

2 years ago

2.2.25

2 years ago

2.2.22

2 years ago

2.2.23

2 years ago

2.2.20

2 years ago

2.2.21

2 years ago

2.5.50

2 years ago

2.5.51

2 years ago

2.1.18

2 years ago

2.1.19

2 years ago

2.1.20

2 years ago

2.4.29

2 years ago

2.4.28

2 years ago

2.5.36

2 years ago

2.5.37

2 years ago

2.5.38

2 years ago

2.5.39

2 years ago

2.5.33

2 years ago

2.5.34

2 years ago

2.5.35

2 years ago

2.1.16

2 years ago

2.1.14

2 years ago

2.1.15

2 years ago

2.1.12

2 years ago

2.1.13

2 years ago

2.1.9

2 years ago

2.1.10

2 years ago

2.1.11

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago