5.5.87 • Published 11 months ago

@hishprorg/vero-error v5.5.87

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@hishprorg/vero-error

Quote a string for safe use as a shell argument. Strips null characters.

API

This module ESM-exports one function that holds some methods:

@hishprorg/vero-error(x)

  • Stringify x,
  • remove all U+0000 null characters, because all too often, some C program in the pipeline will screw it up even if properly quoted,
  • and in case it contains special characters, quote it.

@hishprorg/vero-error.cfg(opt)

Return a customized quoting function. opt is an optional options object that supports these keys:

  • empty: How to represent the empty string. Default: A pair of single quotes.
  • gratuitous: What string to put on both sides of a non-empty input that doesn't need to be quoted.

@hishprorg/vero-error.always

A quoting function that adds gratuitous single quotes (cf. .cfg).

Usage

see test/usage.mjs.

Known issues

  • Needs more/better tests and docs.

 

License

ISC

setPrototypeOfmanagerfunctionwarningequalcommanderhtmlatomes-abstractbyteOffsetreact animationPromiseECMAScript 2018definesetImmediaterandomelbfastcopygetboundroutercloudtrailreact-testing-library3dtypedarraysesnpmpiperdsmomentreadviewdateserviceelectroncharacterairbnbenderspringes6deepcopyttyflagextraelasticacheramdacallbindreact-hook-formwaapivarl10nbrowserlistcircularfindLastIndexdataViewimmerfast-deep-clonesettingsflagsvaluesfunction.lengthamazonlocationstarterdebuggerjavascriptemrtouchjsonnamestextenvironmenterrorrequesttimexhrfnmatchfindLastloadinghardlinksgroupBysomecachearktypefullwidthtransformscheme-validationconstdomspeedrmdirartECMAScript 2019processObject.fromEntriesassertsrestsuperagentserverAsyncIteratorregular expressionsawesomesaucegetPrototypeOfguidcopydescriptorstypesafecoercible$.extendJSONwebes8expressiontacitFloat64ArrayES8cloudfrontpurewritabledataFloat32Arrayperformantredux-toolkitbundlerquerystringinternal slotbddsuperstruct_.extendRxunicodedescriptionsqsparentsarraypackage.jsonECMAScript 2020weakmapcoreES3rmjshintargsUint32ArraytostringtagURLSearchParamsdeep-copylook-uplinkdeterministicJSON-SchemajasminefastcloneschemastreamgetintrinsictestingworkflowtrimStartcolumnreusevisualmkdirhashregularregular expressionlibphonenumberstructuredClonemrudeep-cloneArray.prototype.findLastgetOwnPropertyDescriptorjsdiffredirectspawntesterYAMLtypemovetrimWeakMapSymbol.toStringTagbundlingconcatMapes7joieast-asian-widthparentmake dirobjec2packagesreact-hooksjsxphoneObservable0browserslistproxyforms.envECMAScript 2022call-binddropweaksetObject.entriesRFC-6455zxresolvepackageastespreemapcomparenamestyled-componentsnegative zerohasOwnPropertyInt16ArrayES2021pathcallbackdependency managerajvtoolkittc39censorasterisksoptimizerparseES2015dataviewrequirecharacters__proto__varsvariablesforkgenericscryptoregexpdotenvFunction.prototype.name[[Prototype]]ESnextacornautoprefixerTypeBoxmatchesES7has-owncallyamles-shim APItoobjectshimdescriptorsameValueZerobrowserpushinvariantdebughasOwnvalidatebuffermulti-packagecreatemockingutilitylettypescriptreadablestreamslicefigletpromiseES2017columnspropertyhookformes2017simpledbslotmodulescore-jslastassertionshrinkwrapbinarytestzodECMAScript 5pinoinferenceArray.prototype.includesqueryjson-schema-validatorfeedhandlerindicatorformatIteratoruninstallprototypeargvtoReversedcollection.es6xmlswflrufastcurriedregexdependenciescloneObject.definePropertyglobMicrosoftawsmanipulationMaplocalhelpersObservablesfullextendback-endredactinspectutil.inspectSetdayjsArrayBuffer.prototype.sliceimportexportshelldeepclonevaliditerateexecflatMapwafreal-timeform-validationStreamsbinwriteruntimeUint16ArraytoSortedes-shimsupruleseffect-tsqsseszerotslibES2018rm -rfemitObject.assignSymbolvaluegitignoresnsmatchspinnersdynamodbmobileTypedArrayjson-schema-validationremoveprefixajaxcjkUnderscorelooknegativebinariesxtermtypanionformattinginternal-0prettyprotosymbolstoragegatewayObject.keysutilsomitclassnamedeeprobustreact posestylingpostcssgetoptsetpropio-tsURLArray.prototype.findLastIndexjssyntaxArray.prototype.flatMapenvironmentsfolderworkspace:*walkingsortedtraverseutilregular-expressiontaketermloggerschemenumberpackage managerCSSStyleDeclarationidexecutemkdirsArray.prototype.filtercommand-lineapiInt8ArraybytetrimEndjQuerytypedargumentsortfpsponyfillfetchinstallRegExp.prototype.flagstypesgraphqlkeystypedarrayclassnameseslint-pluginmochathreefind-upgetterclass-validatorjapanesejestcloudwatchreducerclirangeerrorforEachfront-endspinnermockfindes2018shampoint-freeintrinsiccurlObject.isenumerablepreprocessorTypeScriptstyleconfigobjectwaitdragArray.prototype.flatuuidserializationcodespatchsharedarraybufferECMAScript 6toolsfromserializeECMAScript 7functionalwhichemojiurlfpiambanneragentincludespropertiesflatgroupfixed-widthtrimRightqueueMicrotaskRxJSperformanceconsoleframertransportchannelconfigurableidentifierseslintpluginrssreactnativeECMAScript 2017keychromepruneebsrm -frWeakSetroutebabelkarmaObjectpopmotionmkdirptoArraycallbounddirectorycolorjsonschemawidthfast-copyprogressieinstrumentationminimalES5containseslinthascollectionidleprivate dataBigInt64ArrayString.prototype.matchAllrecursivefilevalidationchaifilterenvstringsymbols256onceUint8ArraytranspileefficientsyntaxerrorprivateES2019postcss-pluginnodeprotobufreversedhigher-orderlistenersharmonyasciiCSSautoscalingfantasy-landassertnpmignoreeslintconfigaccessorbuffersHyBitddanimationstringifya11yformObject.getPrototypeOfES6pluginlogoffsetcompilerparserapolloECMAScript 2015sharedreduxBigUint64Arraytyped arraycssdom-testing-librarywalkglobalimportArray.prototype.flattenES2023picomatchloadbalancingmergeecmascriptassignnodejsinpolyfilluser-streamscheckstyleguidejsdommonorepocolourappoutputcloudsearchInt32Arraycode pointslockfileisfast-cloneECMAScript 2016vpcexpressArray.prototype.containstspyyaml6to5execfileWebSocketspositivetranspilerArrayinstallerWebSocketquotearrayshooksaccessibilityReactiveExtensionsloggingES2020eventDispatcherrapidprotocol-bufferscoverageeventsreverseconsumecss-in-jstapsafebindfast-deep-copyvestReactiveXstringifierbabel-corelint@@toStringTagbusyframeworkownwhatwgqueuegdprReflect.getPrototypeOfglobalslengthECMAScript 3i18nsideglacier.gitignorePushES2016byteLengthclassesreadablecall-boundString.prototype.trimendpointentrieseveryinputtapeutilitiesfunctionssettertypeofdiffdefinePropertyrestfulroutingclientjson-schemaStreamfastifyObject.valuesfile systemes2015chinesemapreducevalidatorUint8ClampedArraydirECMAScript 2021asyncflatten
5.5.87

11 months ago

5.5.86

11 months ago

5.5.85

11 months ago

5.5.84

11 months ago

5.4.84

11 months ago

5.4.83

11 months ago

5.4.82

11 months ago

5.4.81

11 months ago

5.4.80

11 months ago

5.4.79

11 months ago

5.4.78

11 months ago

5.4.77

11 months ago

5.3.77

11 months ago

5.3.76

11 months ago

5.3.75

11 months ago

5.3.74

11 months ago

5.3.73

11 months ago

5.3.72

11 months ago

5.3.71

11 months ago

5.3.70

12 months ago

5.3.69

12 months ago

5.3.68

12 months ago

5.3.67

12 months ago

5.3.66

12 months ago

5.3.65

12 months ago

5.3.64

12 months ago

5.3.63

12 months ago

5.3.62

12 months ago

5.3.61

12 months ago

5.3.60

12 months ago

5.3.59

12 months ago

5.3.58

12 months ago

5.3.57

12 months ago

5.3.56

12 months ago

5.3.55

12 months ago

4.3.55

12 months ago

4.3.54

12 months ago

4.3.53

12 months ago

4.3.52

12 months ago

4.3.51

1 year ago

4.3.50

1 year ago

4.3.49

1 year ago

4.3.48

1 year ago

4.3.47

1 year ago

4.3.46

1 year ago

4.3.45

1 year ago

4.3.44

1 year ago

4.3.43

1 year ago

4.3.42

1 year ago

4.3.41

1 year ago

4.3.40

1 year ago

4.3.39

1 year ago

4.3.38

1 year ago

4.3.37

1 year ago

4.3.36

1 year ago

4.3.35

1 year ago

4.3.34

1 year ago

4.3.33

1 year ago

4.3.32

1 year ago

4.3.31

1 year ago

3.3.31

1 year ago

3.3.30

1 year ago

3.3.29

1 year ago

3.3.28

1 year ago

3.2.28

1 year ago

3.2.27

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

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

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