1.0.0 • Published 1 year ago

@crabas0npm2/hic-sequi-ullam v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

bin-v8-flags-filter

Build Status

Filters out v8 flags for your Node.js CLIs.

Filters out well-known v8 flags given to your app and spawns new process with v8 flags passed to Node.js and the rest of the args passed to your actual CLI. Basically an extraction of related mocha code.

Install

npm install bin-v8-flags-filter

Usage

In JS file specified as bin in your package.json:

const v8FlagsFilter = require('bin-v8-flags-filter');
const path = require('path');

const cliPath = path.join(__dirname, './cli.js'); // Path to your actual CLI file that contains app code.

v8FlagsFilter(cliPath);

API

v8FlagsFilter(path, [options])

  • path - path to CLI script.
  • options - an optional object with the following optional keys:
    • ignore - an array of v8 flags to ignore, i.e. to not filter-out when spawning a new process.
    • forcedKillDelay - a number of milliseconds after which to send a kill command to the spawned process, only after an interrupt has already been issued. Defaults to 30000.
    • useShutdownMessage - rather than forwarding along interrupt signals to the spawned process, instead forwards a 'shutdown' message to the spawned process.

Author

Ivan Nikulin (ifaaan@gmail.com)

colourhotstringifierwordwrapeslint-pluginebstypesafeparentsnsprototypeequalsiginthookssameValueZeroflatMapdefinehastypeofObject.valuesiterationendercensordependenciesObject.entriesquerystringUint8ArrayduplexswffpsObjectmatchesPromiseassertescapelrudeepcoretrimRightpreprocessorURLdropless mixinssymbolsObservablesreact-hooksbyteLengthmobileasciireadablestreamshellprivatefolderexpressopencloudsearchyamlcloudwatchdirectoryfile systemkinesiskarmaString.prototype.matchAllroutetoolkitURLSearchParamspromisestructuredClonefast-copytakegetPushcolumnhttpsAsyncIteratorvalidmixinsfullprettydataviewinternalconnectes2016toStringTagtypeschineseRegExp.prototype.flagscharacterslastreadjsondeep-copycomparerecursiverestES3Microsoftrapidlook-upinputes2018ECMAScript 6ECMAScript 2015objpackagesstatelessSetmodulemodulesendpointArrayBuffer#sliceES6debuggeres-abstractthrottleautoprefixerdebugECMAScript 2018accessornopebytemapsymlinkregexsuperstructdeterministicBigUint64Arrayenumerablestdlibcallnativees5astintrinsicmrutraverseworkspace:*formsflagoffsetmomentbundlingless compilerexpressionString.prototype.trimdataViewObject.getPrototypeOfmimetypesMappostcssloggerhasOwntddsetbusystylesheetroute53ec2rm -frjapaneseeventDispatchermatchAllautoscalingbrowserslistchromiumidlestyled-componentsbundlerownutilRegExp#flagsshebanghandlerss3eslintconfigArray.prototype.flatMaptoobjectbyteOffsetdiffesgetoptsafeaccessibilitywrapECMAScript 2016mkdirpfetchArray.prototype.findLastIndexsignalsstringifyweaksetwindows__proto__loadingformtoolsfast-deep-cloneRxtapdeepclonenegative zerotasklinkappFloat64Arraybootstrap cssoperating-systemhasOwnPropertyelasticachepolyfillerror-handlingInt32ArrayECMAScript 2017css variablejQueryassertsguidmatchimportexportloggingstringawszodxhrpersistentdeletepackage.jsonCSSgradients css3Array.prototype.flatieWeakSetbannerurlqsESmake dirwritableclass-validatorvaluesObject.isworkflowimmerecmascripttsFloat32ArrayexityupindicatorvestSymbolpushpackagees-shimsECMAScript 2022forEachdatastructurefsdomstoragegatewayasyncECMAScript 2023Uint16ArrayES8namesavafrombcryptreact-hook-formrmpicomatchpnpm9jsnpmconfigurableextrardsassigntyped arrayarraycsses-shim APIes6ansilinuxkoreanshimfast-deep-copyqueryschemeUnderscorefigletbrowserless.jsbuffertextless cssstatechannelsigtermdescriptorECMAScript 2019consumespinnersetterconcatMapweakmapreducetesteres2017globmakeReactiveExtensionswatchFilejsxcss lessStreamdependency managerrm -rfregulareventsestreeArrayBuffer.prototype.slicemime-dboncegroupByiamiswalkauthenticationcontainsdayjsrestfulsuperagentfast-cloneES5command-lineObservableArray.prototype.containsphoneBigInt64Arrayreducerhttpregular expressionstypedapijwtutilityenvwatchingshamwidthpropertyelbwalkingES2017@@toStringTagcopysettingsartCSSStyleDeclarationtypanionlessl10nwgetES2018tslibprotobufYAMLcall-boundcallboundcodesrangeerrorfseventspasswordES2020eslintpluginresolvegradients cssfilterbootstrap lessform-validationargumenthashpipetrimsideserializerECMAScript 5-0pathlookJSON-SchemagroupvpcECMAScript 2020getOwnPropertyDescriptorformattingStreamsWeakMapreplaynameoutputponyfillincludesreadableairbnbtapetestmoveWebSocketscommanderoptionstreamscollectioni18nparsebddcore-jscoerciblearraysregular expressiontypeFunction.prototype.namereusea11ynested cssconcatscheme-validationtrimEndupcjkmergedescriptorsfind-upchromequeueMicrotaskInt8Arrayextensionsignaldeep-clonecloudfrontArray.prototype.flattenroutingmetadatadotenvawesomesauceobjectpyyamlajvArray.prototype.filterparserTypeScriptparentsprototimecomputed-typesdom-testing-librarychecktc39limitedES2022callbindcollection.es6colorsstartersomechaicolumnssharedes8entriessyntaxerrorminimalrobustremovettyECMAScript 3fastmacoscacheES2015trimStartObject.assignjavascriptproxytypedarrayshardlinkssqsidpackage managereslintvisualcompile lessWebSocketawaithookformcss-in-jsdescriptionsequenceregexphigher-ordermkdirsprotocol-bufferscss nestingESnextsetImmediatebreakInt16Arraysinatracolorsloteveryrgbreduxsortedmkdir_.extendArray.prototype.includesemojicall-bindwaffindLastIndexnodejsprivate dataserializeinterruptsbluebird256circularmulti-packageio-tsoptimistviewstreams2corssortdatairqdefinePropertypropertiesnegativeworkerarraybufferliveflattenuninstallstatusstylesutil.inspect0listenersauthhas-owneventEmitterratelimitSymbol.toStringTagmonorepoTypeBoxagentunicodebatchcurllintvariables in csstypeerrorfunctionalinternal slotpredictablelockfilepostcss-plugindeepcopykeywhichObject.fromEntriesthroatglacierefficientreact-testing-libraryReflect.getPrototypeOfes7assertionrequirejsdomJSONjsonpathlengthconcurrencyperformantschemacryptoxtermStyleSheetelectronstyleguideIteratorutilitiesconsolestableflatrandomgetintrinsicinstallereast-asian-widthrfc4122ECMAScript 7uuidArray.prototype.findLastbeanstalkObject.definePropertyclonequotecloudformationRxJSvaluevariablesfluxtouchmimeclassnamewebstyleclassnames$.extendgenericsmapreducesharedarraybuffersimpledbisConcatSpreadablecharacteriteratorwatcheres2015arktyperedactdynamodbkeysargs.envrouterstylingredux-toolkitTypedArrayfindLastinferenceArrayjasmineoptimizerenvironmentencryptionzeroflagsemrsearchsymlinksfixed-widthES2023parsingsetPrototypeOfArrayBuffercommandclassesinstallpruneerrorstreamfastclonequeueHyBipromisesmiddlewarermdirnodesymbolelmpluginspinnerscompilerinspectruntimeprefixframeworkargparsedatepreserve-symlinkswaitequalityformattypedarrayfunctionspositivebindECMAScript 2021shrinkwrapexit-codetelephonejoicallbackloadbalancingcode pointsrateamazonperformancespeedwritemochagetPrototypeOfES2019iterateboundjestRFC-6455fullwidthrequestwatchimportwordbreakfindupsesfastifyvalidatereal-timeUint8ClampedArraycreateinimmutableinvariantsyntaxES2021progressslicenumberlesscssfunction
1.0.0

1 year ago