1.2.13 • Published 8 days ago

@hishprorg/eos-itaque-libero v1.2.13

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

@hishprorg/eos-itaque-libero 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('@hishprorg/eos-itaque-libero');

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('@hishprorg/eos-itaque-libero/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

tc39mapbrowserslistshrinkwrapcharactersRegExp#flagsObservableObject.definePropertyefficientregular expressiondeep-clonestylingyupstyled-componentsInt32ArrayfilterminimalautoscalingsetImmediatenpmfull-widthcloudwatchwordwraplaunchconcatenvironmentmime-dbvestform-validationmatcheslocation256colorfastMicrosoftenvironmentselbflatstringreact poseES7typedarraysdatalook-upstablegetOwnPropertyDescriptorcallboundconcatMapexpresspersistentcjkfind-upTypedArrayarraysmkdirsES5propa11yPromisejsxnameassertio-tspnpm9sequenceweakmapfunction.length.envWebSocketqueueawsWeakMapviewES2019packageStyleSheetjoiguidimmermatchObjectpyyamlcode pointsBigInt64ArraytoolsrgbArrayBufferhttpbundlingbrowserlistaccessibilityURLSearchParamsbindBigUint64ArrayroutingECMAScript 2022ReactiveExtensionskinesissloteslintjsonstatelessObject.getPrototypeOfes-shim APIES2023reduceappreadablestreamgetPrototypeOfperformancecallbackchildgesturestypeofstreampropertyfast-cloneArrayECMAScript 2020helpercompiler@@toStringTagbyteInt8Arraysettermovesharedarraybufferes2018chromehelperssyntaxerrorasyncoffsetprotocol-bufferscryptogroupByarktypeMapastframeworkredux-toolkitfpsurlsCSSStyleDeclarationebsmochaincludesworkereslintpluginformattingdefineinferencesymbolbannersimpledbs3schemamapreduceECMAScript 6resolvecloudformationrmiterationgdpraccessorRegExp.prototype.flagsdescriptorsprivateWeakSetformReactiveXutilitieswrap[[Prototype]]real-timefast-deep-clonetoSortedparsingmonorepoutil.inspectsymlinksthrottle__proto__flattentimedomstarterparserwhichomittrimLeftforEachrandomcoercibleisfigletlengthinputentriessnssameValueZerolinewrapdatepatchfindLastoptimistidentifiersWebSocketstoStringTagnopeUint8ClampedArrayfetchcssloggingloggeriamchineseargumentrmdirieES2022installertoolkitwritableFloat64ArraypopmotionprocessObject.fromEntriesopenereslint-pluginestreeshebangassertsarguments
1.2.13

8 days ago

1.2.9

12 days ago

1.2.12

9 days ago

1.2.10

11 days ago

1.2.11

10 days ago

1.2.8

13 days ago

1.2.7

14 days ago

1.2.6

15 days ago

1.2.5

16 days ago

1.1.5

17 days ago

1.1.4

18 days ago

1.1.3

19 days ago

1.0.3

20 days ago

1.0.2

21 days ago

1.0.1

22 days ago