3.10.114 • Published 11 months ago

@devtea2026/laboriosam-itaque-corrupti-quisquam v3.10.114

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

@devtea2026/laboriosam-itaque-corrupti-quisquam Version Badge

dependency status dev dependency status License Downloads

npm badge

An ESnext spec-compliant Array.prototype.toSorted shim/polyfill/replacement that works as far down as ES3.

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

Because Array.prototype.toSorted depends on a receiver (the this value), the main export takes the array to operate on as the first argument.

Getting started

npm install --save @devtea2026/laboriosam-itaque-corrupti-quisquam

Usage/Examples

var toSorted = require('@devtea2026/laboriosam-itaque-corrupti-quisquam');
var assert = require('assert');

var input = [5, 4, 3, 2, 1, 0];

var output = toSorted(input);

assert.deepEqual(output, [0, 1, 2, 3, 4, 5]);
assert.notEqual(output, input);
assert.deepEqual(input, [5, 4, 3, 2, 1, 0]);
var toSorted = require('@devtea2026/laboriosam-itaque-corrupti-quisquam');
var assert = require('assert');
/* when Array#toSorted is not present */
delete Array.prototype.toSorted;
var shimmed = toSorted.shim();

assert.equal(shimmed, toSorted.getPolyfill());
assert.deepEqual(input.toSorted(), toSorted(input));
var toSorted = require('@devtea2026/laboriosam-itaque-corrupti-quisquam');
var assert = require('assert');
/* when Array#toSorted is present */
var shimmed = toSorted.shim();

assert.equal(shimmed, Array.prototype.toSorted);
assert.deepEqual(input.toSorted(), toSorted(input));

Tests

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

inspectPromisefixed-widthjQuerytouchfastFunction.prototype.namepropreact-hooksenderrm -frutilitiescloudformationyuptapgetintrinsicsymlinksrfc4122picomatchInt8Arrayerror-handlingbundlerdependency manageramazonECMAScript 2019east-asian-widthrdscss-in-jscommanderimmerbyteformatslicecolorsdefinecallboundansiObject.isdirautoscalingslotcomparesetImmediateoptimizerflatMaphotpreserve-symlinksemojiomititerateObject.getPrototypeOfshellguidsymlinksharedarraybufferUint32Arraycompile lessES2019gradients css3apollophonemimeeventDispatcherhttpsglobalES2022quoteassertspluginobjectbannerperformantdotenvchannelmatchweaksetelmstdliblibphonenumberfullwidthcss lesstestingfigletES7keyES5clilanguagemapawesomesaucemonorepomoduleUint8ArraywritableString.prototype.matchAllescapenamesless.jsreact-hook-formpreprocessorregular expressionsgroupBydom-testing-libraryrestexit-codees7execclientloadbalancingtoSortedtrimStartemitdebugObject.keysHyBienvironmenteveryfromObject.fromEntriesenvismime-dbfsES2015queueMicrotaskasciies-shimsjwtextendsimpledbbreakfindreduceArray.prototype.flatMapbrowserlistrandomjasminewaitreact-testing-libraryforEachRegExp.prototype.flagsobjpackage.jsonIteratorvalidio-tsreuseObject.assignless compilerintrinsictypedfastcopytraversewidthsymbolfastclonesequencespeedtoStringTagwalkfull-widthYAMLprivate datapersistentutil.inspectObjecttypedarrayclass-validatormulti-packageschematrimEndwatchaccessibilitysomedeep-cloneeventses6limitredux-toolkitgraphqlES2021typeerrorsameValueZerosettercall-boundzodwatcherES2017prototypesigintdiffhigher-orderuninstalljsonpathStreamArray.prototype.findLastIndexsqstrimLeftgenericsArrayBufferpositivegetPrototypeOfprefixsidequeuetoArrayregexpReactiveExtensionsauthfindupprotobufkinesisJSON-SchemawordbreakpackagesprocessdateflagshttpexpressionSetponyfillRxratelimitlinuxStreamsawstypesflatkarmasinatrashames2017jssnsURLTypeBoxhookformECMAScript 2020gdprlazyrangeerroragentjoiECMAScript 5numbervpcprotocol-buffersvalidationframeworkdatajapanesebufferscommand-linetimetyped arrayvariables in csscloudwatchconfigfastifyfullboundless csslengthhasOwnget$.extendclonespinnerecmascriptnegativeECMAScript 3CSSString.prototype.trimextranodeexitfind-up-0indicatorpnpm9routersignalhardlinkslrubrowserslistcss nestingbatchserializationreadableschemeWebSocketsesinstalldescriptorvisualmkdirconfigurabletypesafeES2018loggingbrowserTypeScriptAsyncIteratorwalkingequal[[Prototype]]takeflattenwarningtostringtages2018resolveformreactextensioncoloura11ychromemixinsstyleopeneslintpluginwhichmochaauthenticationdommimetypesgetoptstyleguidecjkcoreMapArray.prototype.filterebsserializerlessspecredactinterruptshasscheme-validationlimitedfindLastmacosrgboutputmapreduceprogressuponcepredictabledirectorysearchbcrypthelpersparserform-validationtddECMAScript 2023es2016stylesheetproxystatusconcurrencyprettymodulesES3startertextshrinkwrapfast-deep-clonestreams2xhrgetterbundlingjsdomasyncvariablesuuidsymbolsimportexportcolumnec2syntaxerroridlemobiletrimRightdatastructureArray.prototype.findLastunicodelook-upfunctionsjsx
3.10.114

11 months ago

3.10.113

11 months ago

3.10.112

11 months ago

3.9.112

11 months ago

3.9.111

11 months ago

3.9.110

11 months ago

3.9.109

11 months ago

3.9.108

11 months ago

3.4.58

1 year ago

3.4.59

1 year ago

3.9.107

11 months ago

3.6.79

12 months ago

3.6.78

12 months ago

3.6.77

12 months ago

3.6.76

12 months ago

3.8.98

11 months ago

3.6.75

12 months ago

3.6.74

12 months ago

3.9.101

11 months ago

3.9.102

11 months ago

3.4.51

1 year ago

3.4.52

1 year ago

3.9.100

11 months ago

3.4.53

1 year ago

3.9.105

11 months ago

3.4.54

1 year ago

3.9.106

11 months ago

3.4.55

1 year ago

3.9.103

11 months ago

3.4.56

1 year ago

3.9.104

11 months ago

3.4.57

1 year ago

2.3.39

1 year ago

2.3.38

1 year ago

3.8.96

11 months ago

3.6.73

12 months ago

3.8.97

11 months ago

3.8.94

11 months ago

3.8.95

11 months ago

3.5.73

1 year ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

3.5.72

1 year ago

3.5.71

1 year ago

2.3.41

1 year ago

3.7.93

11 months ago

3.5.70

1 year ago

3.7.94

11 months ago

2.3.40

1 year ago

2.1.29

1 year ago

2.1.32

1 year ago

2.1.33

1 year ago

2.1.30

1 year ago

1.1.23

1 year ago

2.1.31

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

3.9.99

11 months ago

3.9.98

11 months ago

3.5.69

1 year ago

3.5.68

1 year ago

3.5.67

1 year ago

3.5.66

1 year ago

3.5.65

1 year ago

2.4.47

1 year ago

2.4.46

1 year ago

2.4.49

1 year ago

2.4.48

1 year ago

2.4.43

1 year ago

2.4.42

1 year ago

2.4.45

1 year ago

2.4.44

1 year ago

2.4.41

1 year ago

3.6.89

12 months ago

3.6.88

12 months ago

3.6.87

12 months ago

3.6.86

12 months ago

3.6.85

12 months ago

3.4.61

1 year ago

3.4.62

1 year ago

3.4.63

1 year ago

3.4.64

1 year ago

3.4.65

1 year ago

2.2.37

1 year ago

2.2.38

1 year ago

2.2.35

1 year ago

2.2.36

1 year ago

2.2.33

1 year ago

3.4.60

1 year ago

2.2.34

1 year ago

3.6.84

12 months ago

3.6.83

12 months ago

3.6.82

12 months ago

3.6.81

12 months ago

3.6.80

12 months ago

2.4.50

1 year ago

2.4.51

1 year ago

3.6.93

11 months ago

3.6.92

12 months ago

3.6.91

12 months ago

3.6.90

12 months ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

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

1 year ago

1.0.3

1 year ago