2.1.41 • Published 2 years ago

@taktikorg/vitae-omnis-ipsam v2.1.41

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

RegExp.prototype.flags Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

An ES6 spec-compliant RegExp.prototype.flags shim. Invoke its "shim" method to shim RegExp.prototype.flags if it is unavailable. Note: RegExp#flags requires a true ES5 environment - specifically, one with ES5 getters.

This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the spec.

Most common usage:

var flags = require('@taktikorg/vitae-omnis-ipsam');

assert(flags(/a/) === '');
assert(flags(new RegExp('a') === '');
assert(flags(/a/mig) === 'gim');
assert(flags(new RegExp('a', 'mig')) === 'gim');

if (!RegExp.prototype.flags) {
	flags.shim();
}

assert(flags(/a/) === /a/.flags);
assert(flags(new RegExp('a') === new RegExp('a').flags);
assert(flags(/a/mig) === /a/mig.flags);
assert(flags(new RegExp('a', 'mig')) === new RegExp('a', 'mig').flags);

Tests

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

qsECMAScript 2015channelmodulereact animationdropserializationYAMLmomenttimetextsuperstructsigtermconfigurable.gitignoresignedfpsgetPrototypeOfglobalswarningwgetgetOwnPropertyDescriptorstatuscurldescriptorsfantasy-landFunction.prototype.namedeep-cloneless compilerapolloiterationjsdomdeep-copymkdirscompilerio-tsObject.fromEntrieslessflattenrangeerrorsafeworkercss variabledeeptc39toolsESnextredactcore-jsawsassertlanguagedeletedotenvmodulesutilssigintreact-testing-librarynativeloadingbinaryutilitiesredux-toolkitmetadatawhatwgfileObject.entriesPromiselazyoptimistapisimpledbargumentsymlinkslivevisualURLSearchParamsemrnumberopensslcreatereducerfunction.lengthtypescripttestWebSocketslengthmapUint16Arraycircularhttpsmake dirwafdataviewrdsBigUint64Arrayshimmrucss lessgetoptshamAsyncIteratorinterruptsyupObservableshookformES2015ec2real-timewritestylesheetvalueiteratees-abstractES2020point-freeES8private dataweaksetquerystringimporthigher-orderES6Array.prototype.flatcopycall-boundcommandES2023pnpm9class-validatorincludescacheBigInt64Arrayloadbalancingdataes2017cloudtrailtyped arrayvarsdescriptionvalidatoresflagponyfillhasheslintplugintypeofArray.prototype.filteres2016gdprrgbes2018expresschromeformhardlinksInt8ArraypasswordoffsetfastcopyswfvalidkoreanCSSStyleDeclarationObject.keysauthECMAScript 2016cloudfrontrecursiveCSStypestyled-componentsArray.prototype.findLastIndexECMAScript 2023minimalfast-copyloggernodejsposefile systemFloat32Arrayenvironmentbootstrap lessjsdiffECMAScript 3rapidcloudformationperformanceforkspinnerfromdeepcloneforEachmatchasterisksHyBireplayreact-componentbeanstalkbusyidentifierserror-handlingspecchinesetypedarraydirjestpicomatchUint8Arrayxhrpipeconsttestinges7serializerpositivelintjapaneseoptimizerframergethelperTypedArraykeyextendURLregexpdependenciestypeerrorhotairbnbtypedoperating-systemvestgetintrinsicreducereadebstrimStartbrowserslistsymbolregexmakeES2021ownlibphonenumberslotauthenticationchromiumcurriedInt32ArrayArray.prototype.containspropertiesArrayBuffer.prototype.slicefunctionamazonreact poseimmutableES2022asciieslintes8-0environmentsESprogressString.prototype.trimes5consumeArray.prototype.flattencloudwatchfixed-widthsetImmediatesameValueZeroyamlruntimevariablesansiarrayJSONwaapii18nserializemanagertddbuffersutiltrimsharedarraybufferfastefficientObservablerobustReflect.getPrototypeOfless.jsSetschemazxboundeast-asian-widthtrimEndzod.envgitignoresomeclassestouchUint32Arrayprotocol-buffersajvastestreesettingscodesreadablestreamcss nestingbinstylingeslint-plugintoSortedgetterreact-hook-formextrafindLastexecfiletranspilerstylegenericspropreactRxJSnpmgrouphasregular expressionbundlingObject.isclassnamenpmignorehelpersArray.prototype.flatMaptypanionequalitysyntaxclipropertyimmerelbprettyterminalbcryptstringifiermacoskeysclientes2015Array.prototype.includeselmflagscomparetransportpreprocessorcolourfast-clonesignalsmulti-packageexecrulesdragescapetelephonetacitRegExp#flagsqueryES2016movebrowserliststreaminspectpolyfillvarlinkglobalscheme-validationjshintpopmotionstoragegatewayreadabledefinePropertyreversedurlstringparsingwidthWebSocketttystreamsenvexpressionxtermsignalInt16Arrayform-validationinvariantglobString.prototype.matchAllgradients cssmapreducecommanderpreserve-symlinkscollectionlruES2019tslibdateWeakMapES2017gesturesarraybufferformatnopepackage manageres-shim APIpuregradients css3global this valuedatastructureprotobuframdaJSON-Schema@@toStringTagresolvefull-widthReactiveXjson-schemaharmonybootstrap cssregulartakespinnerssidewindowss3256classnamesecmascriptrequestcoercibleacorn[[Prototype]]jsxremoveSymbolenderautoprefixerinstalllastES76to5a11ylistenersECMAScript 2019elasticachereact-hooksless cssstringifyPushinputroutingchaitrimLeftloggingasyncequalsqsObject.assignoptionpluginphonecryptoES5postcssprototypejavascriptaccessoreffect-tsIteratorlogfetchbinariesencryptionfluxsetinternal slotECMAScript 5viewfigletreduxwalkshrinkwrapaccessibilitypinoconsoleMappromiseeveryinternaldom-testing-libraryexitvalidatedynamodbdayjsletshebangshelltoobjectsnsECMAScript 6typesUint8ClampedArrayerrornested csstoolkitworkflowproxy__proto__System.globalspeedperformantfastclonefnmatchjsonFloat64ArrayArrayBuffer#slicejwtagentcolumnsarktypequeueMicrotaskjsonschemaobjes6traverseprocesscertificatescallbackreuseprefixtoReversedjQuerypathcolorbannerdirectoryECMAScript 2018statelesscallbindECMAScript 2020callboundcensoriamtranspilereverseTypeScriptnamescontainsmergeWeakSetbddrfc9562uploadnamequoteObject.getPrototypeOfhasOwnartcss-in-jsECMAScript 2021Streamsbytequeueisdependency managerdataViewomitvpcisConcatSpreadablesymbolstostringtagnegative zerothreevalidationtermUnderscoregroupBy
3.5.87

1 year ago

3.5.86

1 year ago

3.5.85

1 year ago

3.5.84

1 year ago

3.5.83

1 year ago

3.5.82

1 year ago

3.5.81

1 year ago

3.5.80

1 year ago

3.5.79

1 year ago

3.5.78

1 year ago

3.5.77

1 year ago

3.5.76

1 year ago

3.5.75

1 year ago

3.4.75

1 year ago

3.4.74

1 year ago

3.4.73

1 year ago

3.4.72

1 year ago

3.4.71

1 year ago

3.3.71

1 year ago

3.3.70

1 year ago

3.2.70

1 year ago

3.2.69

1 year ago

3.2.68

1 year ago

3.2.67

1 year ago

3.2.66

1 year ago

3.2.65

1 year ago

3.2.64

1 year ago

3.2.63

1 year ago

3.2.62

1 year ago

3.2.61

1 year ago

3.2.60

1 year ago

3.2.59

2 years ago

3.2.58

2 years ago

3.2.57

2 years ago

3.2.56

2 years ago

3.2.55

2 years ago

3.2.54

2 years ago

3.2.53

2 years ago

3.2.52

2 years ago

3.2.51

2 years ago

3.2.50

2 years ago

3.2.49

2 years ago

3.2.48

2 years ago

3.2.47

2 years ago

3.2.46

2 years ago

3.2.45

2 years ago

3.1.45

2 years ago

3.1.44

2 years ago

2.1.44

2 years ago

2.1.43

2 years ago

2.1.42

2 years ago

2.1.41

2 years ago

2.1.40

2 years ago

2.1.39

2 years ago

2.1.38

2 years ago

2.1.37

2 years ago

2.1.36

2 years ago

2.1.35

2 years ago

2.1.34

2 years ago

2.1.33

2 years ago

2.1.32

2 years ago

2.1.31

2 years ago

2.1.30

2 years ago

2.1.29

2 years ago

2.1.28

2 years ago

2.1.27

2 years ago

2.1.26

2 years ago

2.1.25

2 years ago

2.1.24

2 years ago

2.1.23

2 years ago

2.1.22

2 years ago

2.1.21

2 years ago

2.1.20

2 years ago

2.1.19

2 years ago

2.1.18

2 years ago

2.1.17

2 years ago

2.1.16

2 years ago

2.1.15

2 years ago

2.1.14

2 years ago

2.1.13

2 years ago

2.1.12

2 years ago

2.1.11

2 years ago

2.1.10

2 years ago

2.1.9

2 years ago

2.1.8

2 years ago

2.0.8

2 years ago

2.0.7

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

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago