6.5.85 • Published 1 year ago

@taktikorg/ipsa-quam-unde v6.5.85

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/ipsa-quam-unde');

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

sequenceoutputreduxemrcommand-linees6timeownglobeffect-tsArray.prototype.includescss nestinges2017routingString.prototype.matchAlldropimmershrinkwrapeventsaccessibilityvestMapprefixinspectdataviewcommanderphonenodejsmkdirscall-bindsignalgetpostcssmapfunctionalebsterminalshelldayjsairbnbenvinvariantvalidatorreadablecollection.es6linkpushtypedtranspileoptionponyfillredactsharedtakehelperyupES2018signedsimpledbnodeiecss variablereact posehandlersspinnersECMAScript 2016variables in csselectroncurlArray.prototype.flatjsonmanagergradients css3TypeBoxglacierserializerdom-testing-librarybrowserwaapitszxequalwarningmatchES2019urlformattingfindLastglobalThisreducextermsortbundler256xhrtypespringcachepolyfillObject.valuestrimStartposestoragegatewaymake dirhasjapanesecryptohookformBigInt64Arrayspeedcreatedragfixed-widthbinvisualwalkECMAScriptReactiveXregexpnumberglobalcompilerthreeflattransportprivatebyteOffsetamazonFloat64Arraymixinsfantasy-landSymbol.toStringTaginstallparseReflect.getPrototypeOftoolkit.gitignoretoSortedcontainses-shim APIloggingpromiseCSSStyleDeclarationString.prototype.trim6to5less.jsfnmatchECMAScript 2019react-hookswritematchesinferences3ES3eventDispatcheruser-streamsextendpackage.jsonWebSocketgetintrinsicecmascriptInt8ArrayresolveECMAScript 2018stylesheetES2022toobjecttddstringglobalscolorsidentifiersWeakSetflatMappostcss-pluginfullwidthAsyncIteratorpipees2015groupclioncetrimhelpersdefinedataViewfigletObject.assignES2021weakmapkinesiscompile lessfast-deep-clonehttpsSetWeakMapObject.fromEntriesRFC-6455moduleuuidgroupByfsprototermiamasciichromiumquerystringUnderscoreredux-toolkituninstallstyled-componentsstringifysigtermhotruntimetypesafecryptl10nreadtraverseiteratores2018pluginfile systemjsxschemaArrayES2017progresstextswfargumenttostringtagjsArray.prototype.findLastchannelimmutabledynamodbisfast-clonemkdirpStyleSheetidleawsassignworkflowtestfetchparsercloudwatchartpinoemitviewconfigurableiteratespawneslintplugincall-boundutilsminimaltypedarraysrouteloadingjsdomrecursiveArrayBuffer.prototype.slicelazyfastfilepropertiescodeseveryprivate datajestoperating-systemtc39executecheckquerytyped arrayECMAScript 6setnpmignorebuffersCSSpropertysymbolgdprchaiincludesguidWebSocketsgradients cssstatelesscallboundsetPrototypeOfstreamsbabelkeyESnextdomruleslibphonenumberdatesameValueZeroreactomitpathpasswordmapreducepopmotiontypeerrorworkereslintrequireexpressionbanner0widthautoscalingforEachtoStringTagec2pyyamlObject.isES2023chromeerrorproxylastObjectnegativediffajvcss-in-jsutilitieswhichuploadReactiveExtensionsless cssbabel-coreapollorequeststatusECMAScript 2015Array.prototype.findLastIndexPromiseanimationwindowreact-hook-formgenericstrimLeftkoreanObject.keysdotenvsuperagentforminexpressjsdiffrapidjoi$.extendmetadatahasOwnsetterdeleteauthenticationcensorgetoptfilterjsonschemaUint8ClampedArraytelephonezodvalidationECMAScript 2020
6.5.85

1 year ago

6.5.84

1 year ago

6.5.83

1 year ago

6.5.82

1 year ago

6.5.81

1 year ago

6.5.80

1 year ago

6.5.79

1 year ago

6.5.78

1 year ago

6.5.77

1 year ago

6.5.76

1 year ago

6.5.75

1 year ago

6.5.74

1 year ago

6.5.73

1 year ago

6.5.72

1 year ago

6.5.71

1 year ago

6.5.70

1 year ago

6.5.69

1 year ago

6.5.68

1 year ago

6.5.67

1 year ago

6.5.66

1 year ago

6.5.65

1 year ago

6.5.64

1 year ago

6.5.63

1 year ago

6.5.62

1 year ago

6.5.61

1 year ago

6.5.60

1 year ago

6.5.59

1 year ago

6.5.58

1 year ago

6.5.57

1 year ago

6.5.56

1 year ago

6.5.55

1 year ago

5.5.55

1 year ago

5.5.54

1 year ago

5.5.53

1 year ago

5.5.52

1 year ago

5.4.52

1 year ago

5.3.52

1 year ago

5.3.51

1 year ago

5.3.50

1 year ago

5.2.50

1 year ago

5.2.49

1 year ago

5.2.48

1 year ago

5.2.47

1 year ago

5.2.46

1 year ago

4.2.46

1 year ago

4.2.45

1 year ago

4.2.44

1 year ago

4.2.43

1 year ago

4.2.42

1 year ago

4.2.41

1 year ago

4.2.40

1 year ago

3.2.40

1 year ago

3.2.39

1 year ago

2.2.39

1 year ago

2.2.38

1 year ago

2.2.37

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.2.32

1 year ago

2.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.2.13

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago