2.7.91 • Published 11 months ago

@dramaorg/eaque-voluptates-soluta v2.7.91

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months 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('@dramaorg/eaque-voluptates-soluta');

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

predictableexecECMAScript 2021formjsonpathformsregexpquoteoncepackagesECMAScript 2023wordbreakObject.isstylesheettoSortedtddcompile lessdeletestreams2Uint32Arraynested csstrimEndsyntaxerrorcolumnsrm -rfsymlinkreduxtypeerrorautoprefixerinvariantnegative zerologgerieObject.keyssharedregexRxJSremovedotenvmime.envpostcsscachevpcreadableregular expressionjsdomdirajvwriteairbnbutilitieseventDispatcher__proto__fromRegExp.prototype.flagsbootstrap lesswarningextendpackage managerless.jswatchingUint8ArrayflatMapprogressinternal slotrategdprproxyCSSStyleDeclarationchromiumbootstrap csscolorscorstestingpropertiesassertlastfullwidthcopyreadexpressprototypewordwrapes2018getPrototypeOfidleshimArray.prototype.findLastswffind-upconcurrencytimeinputfunctionsbrowseroutputinstallerArray.prototype.filteres2016mime-dbsymboldeepdateconsolecoercibleObject.getPrototypeOfrequestmkdirplazyendpointPushECMAScript 2015nodees5findupmatchAlltypedarrayvariablesES2019Int32Arrayresolvemkdirclientuuidhttpebsclassestapewraprangeerrormake dirECMAScript 3debugdependency managerform-validationreact-hooksowncheckliveECMAScript 2022optionWeakMapassertionES7fastify256Function.prototype.namecss nestingperformantequalityTypedArraygenericsextensionFloat64ArrayschemasortedbrowserliststringifierreadablestreamaccessibilitybannervalidationarraysWeakSetES2020gradients cssenvregularflattenfastcloneTypeScriptdependenciesguidjoiredactnumberpackage.jsondiffArray.prototype.flatMapfluxvaluesethardlinksBigInt64ArraycommanderinferencelinewrapES2021persistentconcatisbindpackagedynamodbredirectcollectionlimitedemrperformanceloggingelbYAMLreact-hook-formsharedarraybuffersqsagentbuffersdebuggercommand-linebeanstalkPromiseslotpnpm9watcherfindLastchannelencryptionWebSocketsstatelessargparseformattc39ReactiveExtensionsdescriptioncreateUnderscoreweakmaphasOwnpositivejQueryamazonworkflowbreakstreamsJSONequalES3avatrimclassnamesshrinkwrapintrinsicFloat32ArraySetmobileES2016testECMAScript 2019typeofvaluesmiddlewareObject.assignless compilersettingsfastECMAScript 2016RxgetterURLshamsettersomecontainstslibfile systemasciitoolkitconfigurableArrayBuffer.prototype.sliceiteratecall-bindslicepolyfillerrorauthruntimechineselruvariables in csssimpledbreal-timepromiseseast-asian-widthjavascriptcss variabledeep-copystoragegatewaywritablecolumnconfigpluginbatches2015optimistenderString.prototype.trim$.extendvalidatecore-jssorttakestylingprotocallback-0bytelengtheslint-plugintestertypeecmascriptsafeserializationcallcjkcomputed-typesdescriptortoolsyup_.extendtaskfolderstreamArray.prototype.includesmochaterminales6structuredCloneeslintpluginArrayBuffercodesstableRFC-6455keywhatwgwatchjslanguagedeterministicIteratorkeysfilees-shimsmrudescriptorsfilterutil.inspectaccessorES2022shellentrieses2017efficientoptimizerrobustutilityemitspinnersmulti-packagepatchSymbol.toStringTagobjectenumerablezeroec2function[[Prototype]]MicrosofttrimRightelasticachedeepclonedatathrottleregular expressionsES2017less csstoStringTagimportcode pointsfindReflect.getPrototypeOfstylepushlogmetadataObject.fromEntriesprivate datalook-upsymbolstypedECMAScript 7classnamefast-deep-copydirectorybundlerconsumeuninstallassignwidthbyteOffsetvalidrecursiveRegExp#flagsStreamsreusephonenameStyleSheetcliBigUint64ArraystateArray.prototype.flattenECMAScript 2017iamvestwalkisConcatSpreadablequerygraphqls3dataviewsameValueZerodropbusymergegroupArrayes7workspace:*findLastIndexlessstyleguideparentscensorforEaches-shim APIcircularAsyncIteratorcollection.es6arrayquerystringESprefixArray.prototype.flatmomentfseventsboundCSSfixed-widthserializewafStreamargumentestrimLeftECMAScript 2020typedarraysES2018deep-cloneUint8ClampedArraybundlinghasOwnPropertyio-tsratelimitfast-clone
2.6.91

11 months ago

2.6.90

11 months ago

1.5.70

1 year ago

1.5.72

12 months ago

1.5.71

12 months ago

1.5.74

12 months ago

1.5.73

12 months ago

1.5.75

12 months ago

1.4.37

1 year ago

1.4.36

1 year ago

1.4.39

1 year ago

1.4.38

1 year ago

1.3.31

1 year ago

1.3.32

1 year ago

1.3.30

1 year ago

1.3.35

1 year ago

1.3.36

1 year ago

1.3.33

1 year ago

1.3.34

1 year ago

1.1.16

1 year ago

2.7.91

11 months ago

1.1.18

1 year ago

1.1.17

1 year ago

1.5.63

1 year ago

1.5.65

1 year ago

1.5.64

1 year ago

1.5.67

1 year ago

1.5.66

1 year ago

1.5.69

1 year ago

1.5.68

1 year ago

1.6.80

12 months ago

1.6.82

12 months ago

1.6.81

12 months ago

1.6.84

12 months ago

1.4.60

1 year ago

1.6.83

12 months ago

1.4.62

1 year ago

1.6.85

12 months ago

1.4.61

1 year ago

1.4.63

1 year ago

1.3.24

1 year ago

1.3.25

1 year ago

1.3.23

1 year ago

1.3.28

1 year ago

1.3.29

1 year ago

1.3.26

1 year ago

1.3.27

1 year ago

1.2.18

1 year ago

1.2.19

1 year ago

1.4.40

1 year ago

1.4.42

1 year ago

1.4.41

1 year ago

1.2.20

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.46

1 year ago

1.2.23

1 year ago

1.4.45

1 year ago

1.4.48

1 year ago

1.2.21

1 year ago

1.4.47

1 year ago

1.2.22

1 year ago

1.4.49

1 year ago

1.6.75

12 months ago

1.4.51

1 year ago

1.4.50

1 year ago

1.6.77

12 months ago

1.4.53

1 year ago

1.6.76

12 months ago

1.4.52

1 year ago

1.6.79

12 months ago

1.4.55

1 year ago

1.6.78

12 months ago

1.4.54

1 year ago

2.6.88

12 months ago

1.4.57

1 year ago

2.6.89

11 months ago

1.4.56

1 year ago

1.4.59

1 year ago

1.4.58

1 year ago

2.6.85

12 months ago

2.6.86

12 months ago

2.6.87

12 months ago

1.1.15

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

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