3.5.87 • Published 1 year ago

@taktikorg/vitae-omnis-ipsam v3.5.87

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

3.2.58

1 year ago

3.2.57

1 year ago

3.2.56

1 year ago

3.2.55

1 year ago

3.2.54

1 year ago

3.2.53

1 year ago

3.2.52

1 year ago

3.2.51

1 year ago

3.2.50

1 year ago

3.2.49

1 year ago

3.2.48

1 year ago

3.2.47

1 year ago

3.2.46

1 year ago

3.2.45

1 year ago

3.1.45

1 year ago

3.1.44

1 year ago

2.1.44

1 year ago

2.1.43

1 year ago

2.1.42

1 year ago

2.1.41

1 year ago

2.1.40

1 year ago

2.1.39

1 year ago

2.1.38

1 year ago

2.1.37

1 year ago

2.1.36

1 year ago

2.1.35

1 year ago

2.1.34

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

2.1.25

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

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.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago