1.0.0 • Published 23 days ago

@libgitname/eos-maiores-in v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

@libgitname/eos-maiores-in Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

ES spec-compliant shim for Date. Invoke its "shim" method to shim Date if it is unavailable or noncompliant.

This package implements the es-shim API “multi” interface. It works in an ES3-supported environment, and complies with the spec.

Most common usage:

var assert = require('assert');

var shims = require('@libgitname/eos-maiores-in');

assert.deepEqual(shims, [
	'Date',
	'Date.prototype.getFullYear',
	'Date.prototype.getMonth',
	'Date.prototype.getDate',
	'Date.prototype.getUTCDate',
	'Date.prototype.getUTCFullYear',
	'Date.prototype.getUTCMonth',
	'Date.prototype.toUTCString',
	'Date.prototype.toDateString',
	'Date.prototype.toString',
	'Date.prototype.toISOString',
	'Date.prototype.toJSON',
	'Date.now',
	'Date.parse',
]);

require('@libgitname/eos-maiores-in/auto'); // will be a no-op if not needed

assert.ok(new Date() instanceof Date);
assert.equal(typeof Date.now(), 'number');

// etc, with all the Date methods you expect

Tests

Simply clone the repo, npm install, and run npm test

StreamtostringtageventsInt16ArrayStreamslengthlockfiletrimtoSorted[[Prototype]]symbolmrunodeeslintpluginmonorepocolumnpromisesbindgroupsameValueZerotrimStarthigher-orderargvfigletwatchFiletestlogclassnameprivate datadirectoryES6sharedglobcommanderpruneruntimei18nxtermworkerclassesfetchclonewindowscoreextraObject.valuespackage.jsoninstallerspinnerscacheloadingwrapcolumnsio-tsclientgradients csstrimLeftdefineimmerES2015mime-dbstructuredCloneassignzodcollectionconcurrencyuuidJSON-Schemadifffasteslint-pluginrapidexitdeepspecfstextoptimizerecmascriptvariables in csses-abstractcharactersnopeSymbol.toStringTagieUint16ArrayapipreprocessorECMAScript 2023Setwgetfunctionalcompile lessdataviewreduceutil.inspectcollection.es6bootstrap lessspeedoptimistperformantplugininternal slotUnderscoreArray.prototype.flatmodulesES2021testingexpressionECMAScript 2015dependency managerupflagssafejsarraygroupByopenmimetypescirculartoStringTageventEmittertypeofansisetterObject.getPrototypeOfshebangless compilerES2020WebSocketsometypedarrayMicrosoftserializerhelpersserializeUint8ArraytrimRightgetoptminimalescapecreateperformancewatching.envprocesses8formaccessoryamldeep-copyES2016SymbolRFC-6455CSScallboundbannerchaivestes2018WeakSetbootstrap cssdeepclonecodesstreamssidestatelessECMAScript 6TypeBoxprotoauthenticationfunctioncryptocallbackString.prototype.matchAllObject.assignObject.keysmaphasOwnobjnumberstarterinstalllimitedprototypepipeECMAScript 2018readableinternaleventDispatchergetintrinsicmatchesyupjson-schema-validationapollofastcopyextendreusecliinferencesetImmediatebrowserlistweaksetdeterministicavawhatwgbusyvalidatornested cssasserthookformtc39TypeScriptpushwarningdeleteexit-codebatches5es7assertsmkdirses-shim APIloggermetadataObject.fromEntriesvarcommand-linefileArray.prototype.findLastIndexlibphonenumberhasuser-streamsmixinseslintObject.isenvironmenttoolkitajviterateesmochajsdomstabledebuggercommandreduxconfigpropertieswebjapaneseeveryMapajaxremovecjkvalueframeworkoffsetthrottleless cssvalidFloat32ArrayObservablecss lesscolourES8graphqltyped arraysuperstructcode pointslintviewtakeArray.prototype.filterposefullwidthwalkingpostcssPromisequerystring_.extenddirstylesheetchineserecursiveTypedArraypolyfillduplexRxJStypesafeless.jsrequirebrowsercompilerfast-deep-clonelanguageutilitiesshrinkwraptoArrayarraybufferparsercurlclass-validatorflattensequenceregular expressionslinkhookslimitstatusstreamshellpicomatchESnextconcatimmutablebufferrgbArrayBuffer#slicemomentunicoderangeerroromithardlinkscss nestingpostcss-pluginless mixinsasciiidlemulti-packagepropertyqueueMicrotaskl10ndefinePropertystyleguidemodulecontainscss variablecolorlook-uptypedarrayskeysbundlertypeerrorschemapasswordPushaccessibilityrm -frgetterbyteencryptionAsyncIteratorflatenderInt8Array3dairbnbwordbreakreal-timescheme-validationeslintconfiglastargsfast-copyreact-hooksES3ECMAScript 2020rm -rflettypescriptbreakconstemojilistenerscss-in-jsjsdiffiteratorarraysregular expressioninputdatastructuresyntaxUint8ClampedArrayefficientdeep-clonenegative zeroECMAScript 2016setPrototypeOfrmsigterm__proto__randomframerES2017Array.prototype.includesreducerFloat64ArrayES7stringifyconfigurablefast-cloneboundcopyredux-toolkitterminalgetPrototypeOfcall-bindIteratorsearchawaitBigInt64Arraytranspilerbuffersguides2017comparemaketerm
1.0.0

23 days ago